design requirements
tblunt
Posts: 3
Im in the process of designing a comm system for use in theatre and need to know if the propeller will be able to handle my requirments. I think it will but i want to be sure.
What i need is a box with a qwerty keyboard attached and a screen LCD/TFT and another box exactly the same and on one box i type a message and then press enter it gets displayed on the other box's screen.
They can only communicate by 2 wires at this stage if I find a suitable RF device that wont intifer with any other current systems ten i may upgrade to a wireless link.
I would also like the ability to add more boxes in the future and heve then display on 1 master screen only.
If this all possable with the propeller or would i need to get another chip? also has anything like this been done before I have done some searching but I havent found anything like it so far.
thanks
What i need is a box with a qwerty keyboard attached and a screen LCD/TFT and another box exactly the same and on one box i type a message and then press enter it gets displayed on the other box's screen.
They can only communicate by 2 wires at this stage if I find a suitable RF device that wont intifer with any other current systems ten i may upgrade to a wireless link.
I would also like the ability to add more boxes in the future and heve then display on 1 master screen only.
If this all possable with the propeller or would i need to get another chip? also has anything like this been done before I have done some searching but I havent found anything like it so far.
thanks
Comments
I was more thinking of a small LCD screen (2*16) or a few osram DLG1414's for the output.
What is the best place to start for someone that knows nothing abuot this particular chip or language?
www.parallax.com/StoreSearchResults/tabid/768/List/0/SortField/4/ProductID/541/Default.aspx?txtSearch=propeller+education+kit
There are all sorts of programming tools available from Spin and the Propeller Tool to Catalina, a C compiler and 12Blocks, a graphical programming system. There's also PropBasic which is a Basic subset based on SX/B for the SX microcontroller just recently released in "beta" form ... still under development.
A Propeller could handle either a generic small LCD screen or some DLG1414s. Rather than the Demo Board, I'd suggest a Protoboard with the Accessory Kit to give you the PS/2 connectors. There's also a VGA connector, but you don't have to use that.
The nice thing about most electronics wireless gear is that it is well out of the way of wireless mics. There are some, though, in the 433MHz area that may interfere with cheap walkie-talkies (and at least one audience hearing assisted device that I've seen is in that band).
If you wanted to stay with wired communication, you could use XLR and have a male and female jack on each box and create two serial ports on the Prop. Then you could form a daisy-chain in the same way as a ClearCom. If you went the wire route, though, I'd suggest building in some electrical protection so nothing fries if it accidentally gets plugged into a mic feed with phantom power, a ClearCom feed, or a DMX feed...
The reason i've chosen 2 wire is some places i work in only have pins 2 & 3 wired up in there sound cabling. go figure. Eventually I will get 2 boxes either side of stage for cast to pass on messages to the mic tech and also one for the SM for me.
On Youtube, a video called "Home Make Keyboards" shows some old junk including a pair of terminals
based on old 1KB (?) PIC15C54. They look like calculators but can also be QWERTY and have 40x2 display.
Designed as universal interactive remote controls and communicators, many extra features packed into a chip
that barely can be a watch or calculator. Many ctrl characters including BEEP, clear, 4-direction cursor.
Chips might be available VERY CHEAP within USA. Mostly posted to show it has been done and how it works.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
VIRAND, If you spent as much time SPINNING as you do Trolling the Forums,
you'd have tons of awesome code to post! (Note to self)
However, what you could do is make the male XLR connector be a slave and the female connector be a master (or vice-versa). The master transmits 10 bits while the slave receives, then there's a gap, then the slave transmits 10 bits while the master receives. That gives you the 8 bits for a character, one bit for parity, and one "valid" bit. The master would *always* transmit a 10 bit chunk when it has its turn. If it has nothing to transmit, it clears the valid bit. That way, the slave always knows when it has a turn to transmit. That way, you can use differential signaling, which will increase your max cable length significantly and still only requires the hot and cold pair in the XLR connector. You could also do signal/ground. This probably (definitely?) isn't the most efficient protocol on the planet, but would be trivial to whip up in the Prop and since all you're sending is text, you'll be fine.
If you want to get all fancy, you could add a real-time clock so the messages could be timestamped so your mic tech knows how long ago you sent the message.
I'm actually kinda thinking about building a few of these myself now [noparse]:)[/noparse]
You can download and test object of keyboard, VGA text out and serial comunication
http://obex.parallax.com/objects/
For the comunication link you can use RS485 (32 nodes over link, new chip allow 256), 9000ft a 9600 baud, in short distance like a theatre 1Mbaud
and the propeller can send data a this speed.
for each station use a address·and you master station cand send a private message a each, or make
a global message if you make·simple protocol in ascii
for example send the next string
··· "S99M hello stations"
or
·· "S01M hello station1"
You have the RS485 in receiving mode get the characters from the link
if you·receive S99M show the message in all station, the address 99·is broadcasting
and if you receive S01M only show the station have the adress 01
If you need power, and you have time to make a diference use propeller
Luis C. Yepiz
XE2NBW
RS_Jim
SparkFun has some RS485 breakout boards you could use to plug into a Prop Proto Board or Prop Demo board for testing.
Your application of the Propeller is great. I think you have a cool project to work on. You are essentially creating a hardware instant messaging system for your theater and shouldn't be too much trouble. Nail down the communication medium (wired or wireless), then create your protocol (how the devices share information), then start diagramming your software. You can probably use objects posted in the exchange already - finally glue the pieces together in software and see the system come alive - you will be addicted.
I also recommend going through the Propeller Labs as Mike said.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
www.tdswieter.com