Propeller Sequencer Help
CaliforniaKids
Posts: 2
I am trying to build a basic sequencer. I would like to ripple a high output through 20 output pins. The time duration could be about .5 seconds dwell at each pin before moving on. It could loop forever. It would start when it received an input trigger and stop when it received a pulse on another input pin. I would like to remotely control it from about 50 feet away: Ethernet, USB I2C, RS 232, wireless? Any suggestions?
Thanks, CK
Thanks, CK
Comments
For the remote control you could do it with Xbee using the I/O pins (through the obex xbee object). ~$20/xbee
or you could go simpler and cheaper and use something from linx wireless. LC series transmitter & receiver. Then throw on a 'splatch' antenna or 1/4 wave whip or JJB antenna. ~<$4/ radio + <$3/ antenna
or http://www.sparkfun.com/products/691
This is NOT a full program, just demo code to help you get up and running
Also, if you need some precision note that flipping a pin high or taking it low takes about 6 microseconds when you're running the prop at 80 MHz (according to my logic analyzer)
...was a clue that this could be handled in Spin. It would be nearly as easy in PASM, though.
Wow, talk about an easy app.
Might as well just run the prop at 20kHz off the internal oscillator and save some batteries too. :-)
So, it really depends on your app. The pasm code to run this is extremely simple.