Step 19Hooking up the head
(If you bought an SRF005 or similar instead, you should look here on how to hook this up, it is different from this!)
There are a million ways to hook up a thing like the Sharp IR-sensor, but here are clues:
Red needs to be connected to V1, that is (in this setup) anything marked ââ¬ÂVââ¬Â, or is connected to this.
Black goes to G, anywhere on the board.
White is to be connected to Analogue input 1.
If you read the documentation that comes with the project-board, you can read how to attach the accompanying ribbon-cable, and use this.
What I have done on the picture, is to cut off a cable from an old burned out servo, soldered in a pin, and connected the whole thing just as a servo. You can use it to see which colors of the Sharp goes to which row on the board.. or one way to do this.
Weather you use the ribbons or ââ¬Âmy methodââ¬Â of connecting the Sharp IR, you should also connect the 3 remaining analogue input to V. (look at the little pins connected on the picture, next to the plug)
I had some jumpers laying, and you can see that all 3 connections left are short cut. (The last pair, not touched, are just two ââ¬ÂGroundââ¬Â, no need to short cut these). If you use the ribbon, you can just connect the inputs to V (or ground for that matter) by connecting the wires in pairs.
The reason it is important to shortcut the unused analogue inputs here is that the are ââ¬Âleft floatingââ¬Â. This means that you will get all sorts of weird readings where you try to read if these are not connected. (to put it short, this is a semi-fast paced walkthrough, we must get to the end ;)
| « Previous Step | Download PDFView All Steps | Next Step » |



























































The software is working because the motors can be programmed.
So far I've tried 2 different servo plug locations.
Any idea what might be wrong?
Thanks
and my motors work great too.
FRITSL, HELP US!!!
thx in advance.