What should I use for this robot?
Dan Hoskin
Posts: 5
Hi,
I am building a machine that controls the locations of very small paint heads and I need to accomplish the following:
-Control 12 continuous rotation servos and 6 standard servos
-Monitor 3 simple switch conditions (like a whisker-type contact sensor)
-Control 3 relays switching 120v (not sure what amperage, for pneumatic valve solenoids)
-System cannot be battery powered, even the micro.
-Control the whole works with a Visual Basic interface running in a standard PC.
I have tinkered with the Boe-bot for a while now and a pair of these could do the trick, but I was hoping to get some suggestions on a nice, clean solution for this from someone who has some experience with PC driven robotics.
Any suggestions would be greatly appreciated.
Thanks,
Dan Hoskin
I am building a machine that controls the locations of very small paint heads and I need to accomplish the following:
-Control 12 continuous rotation servos and 6 standard servos
-Monitor 3 simple switch conditions (like a whisker-type contact sensor)
-Control 3 relays switching 120v (not sure what amperage, for pneumatic valve solenoids)
-System cannot be battery powered, even the micro.
-Control the whole works with a Visual Basic interface running in a standard PC.
I have tinkered with the Boe-bot for a while now and a pair of these could do the trick, but I was hoping to get some suggestions on a nice, clean solution for this from someone who has some experience with PC driven robotics.
Any suggestions would be greatly appreciated.
Thanks,
Dan Hoskin
Comments
You could also use a Board of Education and a Parallax Servo Controller (PSC) board (rather than two Boards of Education). A single PSC can control up to 16 servos and the Stamp itself could easily manage the other two. I wouldn't recommend trying to control more than two or three servos using a Stamp without an external servo controller.
In either case, I'd suggest using SSRs for the pneumatic valve solenoids rather than conventional relays. They're easier to drive and can be driven directly from an I/O pin.
I would also suggest something other than a whisker-type contact sensor. Unless the conditions are just right, they may very well fail when you need them. At least use a microswitch of some kind.
I am an industrial maintenance mechanic and am familiar with SSR's, but I was unaware of the advantage that you mentioned, thanks for the tip.
That won't help you with the switch closures or pneumatic valve control and there's no way to do that using the PSC. Truthfully, the easiest way to do this is with some kind of microcontroller and a USB to serial adapter. Any of the Parallax microcontrollers could do the job.
This could be used with the outputs controlling the SSRs and the inputs hooked up to the contact closures.
If I were you, I'd use two bits for each SSR and run them through gates so one bit has to be a zero and one has to be a one,
then use the extra two bits (out of 8) as a similar global enable for all 3 SSRs. This would prevent false triggering if the
FIFO outputs were all one bits or all zero bits.
The inputs can be internally triggered to be sent to the PC periodically, then read whenever your program got around to reading them.
You'd need to look at FTDI's PC drivers to see how you'd go about reading and writing from your VB program, but one of these modules
and a pair of USB PSCs in tandem would provide the interfacing you need without a separate microcontroller.