Dual sensor schematic problem
I am new to electronics, breadboards,·and Boe Bot's but have progressed nicely with the book that came with my Boe Bot. I would like to integrate the IR sensors and the Whiskers that came with the kit. Basically, I would like to combine RoamingWithWiskers.bs2 and FastIrRoaming.bs2. However, due to my "rookie" status, I can't figure out how to wire the breadboard because some of the slots used with the IR sensors in the book·are used for the Whiskers. I know that there are alot of I/O ports and·slots in the breadboard and this should not be a problem, but like I said, I am new to this. Does anyone have a schematic or diagram (I prefer a diagram) that would show me the way?
Thanks,
Thanks,
Comments
I think it's very easy to do. You dont need the schematic for that. What you should do just change the whiskers input pin to any free i/o pin then change the input pin number in your code to the new one. Try that. That's a way you can learn.
by the way, welcome to the forum.
Whisker1 PIN 5
Whisker2 PIN 7
Then, whenever you would have put in 5 for a pin argument, you can now put in Whisker1. So if you ever need to change pins, you only need to change one line in the code.
Thanks for the help guys,