Simple Serial Slave Output Module
Jon Williams
Posts: 6,491
Per a discussion on the Methodz of Madness Halloween props forum I created this project; a very simple serial slave module for expanding outputs on BS1 and compatible controllers (hence the baud limited to 2400).· The program is written in SX/B version 1.2 (available soon!) and shows how declaring subroutines in SX/B 1.2 makes them easier to use -- in fact, no more "jump tables" or page boundary issues.· A very simple BS1 test program is also attached to verify all module features.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
Post Edited (Jon Williams) : 3/27/2005 11:19:43 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
Post Edited (Jon Williams) : 3/27/2005 11:19:43 PM GMT
Comments
1. You show the SX MCLR tied high, with NO resistor. Is this correct?
2. You don't show the ULN2803 connection to +5. Is there one?
There is no +5 connection on the ULN2803 -- its inputs are to the bases of Darlingtons and the outputs are the collectors; the emitters are tied to ground.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA