Need more I/O ports -
I am building an ROV that will be controlled via PC-Stamp2, and using C# within the Microsoft Robotics framework.··The ROV is done, the basic interface is done, the connection is done, and all appears to be working very well. I spent so much time getting everything to work together and making lots of in-line improvements that I lost track of how many ports that I will need.
·
Basically ........·I am out of I/O ports.
·
This is the·current layout:
0 used
1 used
2 was IR receiver - now is lower light control
3 was IR headlight - now is upper light control
4- Speaker
5 used - system
6 used - system
7·thruster left
8·thruster right
9·ballast control in
10·· ballast control status
11 leak detector lower
12 motor right
13 motor left
14 thrusters up
15 thrusters down
·
·The gotcha is that I need about·10 more I/O ports.
··· ······· Leak detector upper
····· ····· Compass
····· ····· GPS
Camera control left/right/up/down
Temperature
Drive control - land - right
Drive control - land - left
·
·
What is the best way to expand the capacity within the framework of the Parallax controller, and Microsoft Robotics?
·I am open to suggestion.
·
Thx,
·
·
·Jeff
·
Basically ........·I am out of I/O ports.
·
This is the·current layout:
0 used
1 used
2 was IR receiver - now is lower light control
3 was IR headlight - now is upper light control
4- Speaker
5 used - system
6 used - system
7·thruster left
8·thruster right
9·ballast control in
10·· ballast control status
11 leak detector lower
12 motor right
13 motor left
14 thrusters up
15 thrusters down
·
·The gotcha is that I need about·10 more I/O ports.
··· ······· Leak detector upper
····· ····· Compass
····· ····· GPS
Camera control left/right/up/down
Temperature
Drive control - land - right
Drive control - land - left
·
·
What is the best way to expand the capacity within the framework of the Parallax controller, and Microsoft Robotics?
·I am open to suggestion.
·
Thx,
·
·
·Jeff
Comments
Using the ICs Mike suggested I would recommend moving simple on/off control functions such as lights and thrusters to the 74HC595 and the simple on/off input detection such as the leak detectors to the 74HC165. This will allow you to keep 12 I/O pins open for special commands that only work directly on I/O pins. With an SPI bus you could add several of each IC using only 4 I/O lines from the BASIC Stamp. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
I couldn't find the Stampworks book in the Stamps in Class Tutorial downloads. I did find al the rest of the class books - great stuff. Did I miss something or should I just purchase the STampworks book?