2 For One I/O
EverQurious
Posts: 48
Am I'm currently working with my young grandson on a Bot which at first was a multisensor bot that did a fine job of roaming the house avoiding collisions with inanimate objects and moving objects. My grandson wanted to add an arm ( I had an OWI OO7 arm trainer which I quickly modified for our use) so we bolted it on and all was well and he was delighted with out FRANKENBOT.
Now to my problem. Since the drive motors tie up 4 I/O lines the arm 8 lines and 3 are used for PING sensors. This leaves only one line open and we had to sacrifice some sensors to control the arm. I am thinking I might be able to use this open line to connect the I/O lines to the arm controller when the BOT is stationary and the switch them to the sensors when the robot is mobile.
I could do it with a relay board but I'm sure there is probably a chip out there that would do the job. Can anyone tell me where to find a solution for this. Any help would be a Godsend.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
EverQurious
Try not to fret and worry bout the things that you have not...
Just remember to be thankful for the things you've got !!!
Now to my problem. Since the drive motors tie up 4 I/O lines the arm 8 lines and 3 are used for PING sensors. This leaves only one line open and we had to sacrifice some sensors to control the arm. I am thinking I might be able to use this open line to connect the I/O lines to the arm controller when the BOT is stationary and the switch them to the sensors when the robot is mobile.
I could do it with a relay board but I'm sure there is probably a chip out there that would do the job. Can anyone tell me where to find a solution for this. Any help would be a Godsend.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
EverQurious
Try not to fret and worry bout the things that you have not...
Just remember to be thankful for the things you've got !!!
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
EverQurious
Try not to fret and worry bout the things that you have not...
Just remember to be thankful for the things you've got !!!
The Propeller Servo Controller would be a good way to handle this (if you are talking about lots of servos). It can be used with a BS2 and can handle up to 16 servos. The interface to the BS2 is just a pair of serial lines (Tx and Rx).
As I said I could do it with SPDT relays but this is a rather awkward way to go.
Thanks Mike for replying.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
EverQurious
Try not to fret and worry bout the things that you have not...
Just remember to be thankful for the things you've got !!!
NXP makes a 4PDT analog switch: www.standardics.nxp.com/products/nx/datasheet/nx5dv330.pdf
It only comes in a surface mount package.
I may bug ya again but this will give me something to work on.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
EverQurious
Try not to fret and worry bout the things that you have not...
Just remember to be thankful for the things you've got !!!
Thanks in advance.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
EverQurious
Try not to fret and worry bout the things that you have not...
Just remember to be thankful for the things you've got !!!
-Phil
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
EverQurious
Try not to fret and worry bout the things that you have not...
Just remember to be thankful for the things you've got !!!