3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

How to build your first Robot ($ 85)

Step 19Hooking up the head

Hooking up the head
«
  • how to start a robot_html_m50796509.jpg
  • how to start a robot_html_2805b34a.jpg
Now letôs hook up ââ¬Âthe headââ¬Â, the Sharp IR-sensor. (or SRF05 if you went for that option)

(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 StepDownload PDFView All StepsNext Step »
9 comments
May 28, 2010. 3:06 PMshadofox21 says:
My servo doesn't seem to work correctly. When I put in the batteries, it twitches a little, but it won't take any commands from the program editing software.

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
Oct 15, 2010. 2:55 PMnewbie97 says:
I have the EXACT SAME PROBLEM!
and my motors work great too.

FRITSL, HELP US!!!
thx in advance.
Jul 3, 2009. 4:50 PManthonyjr2 says:
I Really do not understand this Step at all. i dont have an old servo or anything so i cant really do your method. and the way it says in the manual doesnt make sense either. could you please in some way, explain how to do it with the ribbon cable?
Jul 7, 2009. 1:16 PManthonyjr2 says:
Why havent you responded to my above question yet?
Aug 23, 2010. 4:17 AMralph notarte says:
hi... Im ralph Notarte 16 yrs. old.. from philippines.... and I have a question.. how to program the robot????...... and can you say it all???? thanks... REPLY [flag][delete]
Jul 9, 2009. 6:15 AManthonyjr2 says:
so your saying have to make a way to do it? ok. (also, i did ask this on LMR, but i got the wrong answer i wanted
Aug 10, 2009. 12:59 PMtech123456789 says:
i did not short cut the pins do you thinks that is why my robot jerks forward and spins around. any way nice instrutable.
Apr 11, 2008. 5:01 PMmabright99 says:
How else can you short-cut the analogue pins if you don't have jumpers?

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
74
Followers
2
Author:fritsl