Shop OBEX P1 Docs P2 Docs Learn Events
multiplexers in Javelin? — Parallax Forums

multiplexers in Javelin?

mongoosemongoose Posts: 2
edited 2005-02-04 20:53 in General Discussion
Hello all,

I am a fluent java programmer looking to tinker with hardware, maybe write a driver or two.· So Javelin seemed like a good choice.· While I havent bought one yet I need to find out if it is right for my application.

I want to have 3 antennas in different parts of a room.· I thought I could use Javelin to build a cyclical multiplexer.(so the antenna wires would all lead right into the mux built on javaelin.· Then every second or so, all the antennas are "listened" to by cycling through each one of them via the mux.· This way, after capturing the data and pushing it into a PC, I can then use java to manipulate it and push it(the data)·to a higher level of a java application.· Does this idea sound feasable or is it a crackpot idea?· Thanks your opinions and advice in advance.

Best,
Jeff

Comments

  • allanlane5allanlane5 Posts: 3,815
    edited 2005-02-04 20:53
    The javelin can easily 'listen' to 3 serial streams all at the same time. Its 'UART' class is a buffered 'virtual peripheral' that captures data in the background (an interrupt context) and makes it available in a buffer for your 'main' program.

    If you are multiplexing your antenna's, then you have the risk of losing data from one when recieving from the other.
Sign In or Register to comment.