Follow the Line Robot


DSC00669.JPGScreen Shot 2016-07-23 at 1.31.59 PM.png

You may have seen this little line following robot on ebay they are very cheap and great for kids. This instructable is aimed at little kids or big kids who want to make a simple robot. Once you have some success with with your robot and a have had enough of it following lines everywhere, the chassis makes a great base for an arduno robot that will be able to do much more interesting things. That however will have to be an instructable for another day.

Step 1: Stuff you will need :

Screen Shot 2016-07-23 at 1.30.51 PM.png  Screen Shot 2016-07-23 at 1.31.08 PM.png

Ebay does a follow the line robot kit for around $10. It comes instructions which wont be much use unless you can read Chinese but the PCB is well labeled, and it is a reasonably simple kit to put together. To assemble the kit you will need.
  • Robot kit
  • Soldering iron
  • Solder
  • Side cutters
  • Heat shrink.
  • 2X AAA batteries
  • You can also use header pins and plugs on the motor leads, so you can modify your robot easily if you wish.
You will also need to be able to identify electronic components and understand if they are polarity sensitive and know how to read component values. You will also have to have good soldering skills, as many of the pins are very close together and poor soldering will ruin your project very quickly.

Step 2: How good are your soldering skills :

Screen Shot 2016-07-23 at 1.53.35 PM.png Screen Shot 2016-07-23 at 1.53.44 PM.png
Screen Shot 2016-07-23 at 1.53.54 PM.pngScreen Shot 2016-07-23 at 1.54.06 PM.png

If you have never done any soldering before, this is not the project to practice on. A good way to learn to solder is practicing on a piece of vero board and some header pins. Tips for good soldered joins are.
  • Make sure the soldering Iron is clean, melt a little solder on the tip and clean off with a wet sponge.
  • Soldering iron need to be up to temperature before you start.
  • Use proper resin core 60/40 electrical solder. (Lead free solder can be difficult to work with)
  • Heat the pad and the wire with the solder iron Bring the solder in from the opposite side of the iron
  • Melt the solder onto the pad and wire.
  • Avoid putting the solder directly on the soldering iron when soldering
  • Lots of practice.

Step 3: Do you know your componets :

Do you know your componets?
Screen Shot 2016-07-23 at 2.10.56 PM.png

There are a number of components you need to get familiar with before you start you have to be able identify the components and understand if they are polarity sensitive and know how to read component values. If you solder a component in the wrong place or around the wrong way your robot will likely not work.
This can easily be done with a google search, here are some names to get you started. Draw up a grid in your folio with a row for for each of the following
  • Resistor
  • Electrolytic capacitor
  • Transistor
  • PCB
  • IC
  • IC socket
  • Switch
  • Trim pot
  • LDR
  • Electric motor
In your grid you need 5 columns for for each of the following.
  • Name of component
  • photo
  • symbol
  • Brief description on how to read the components value.
  • Is it polarity sensitive, how can you tell which way around it fits into the PCB

Step 4: Making a start ;

Making a start.
Screen Shot 2016-07-23 at 3.20.11 PM.png  Screen Shot 2016-07-23 at 3.41.37 PM.png
Screen Shot 2016-07-23 at 3.41.51 PM.png  Screen Shot 2016-07-23 at 3.42.01 PM.png

The resistors are a good place to start, There are four different values and they need to be in the right place. You can use a resistor colour chart to identify the values, but that method is only as good as your eyesight. My preferred method is to use a multi-meter, which is much easier to read than the colors on a resistor. The reading you get may be slightly different to the resistor value due to tolerances. You can see the multi-meter reads 45.7Ω on the 51Ω resistor this is quite normal.
  • There are four 51Ω resistors and you can see in the PCB and photos where they are fitted.
  • Two 10Ω
  • Two 1KΩ
  • Two 3.3KΩ
Once your sure all the resistors are in the right place bend the leads so they dont fall out, and solder them in.

Step 5: Adding more componets :

Adding more componets
Screen Shot 2016-07-23 at 7.25.08 PM.png Screen Shot 2016-07-23 at 7.25.16 PM.png
Screen Shot 2016-07-23 at 7.25.23 PM.pngScreen Shot 2016-07-23 at 7.25.40 PM.pngScreen Shot 2016-07-23 at 7.25.32 PM.png

  Screen Shot 2016-07-23 at 7.26.07 PM.png 

Next the transistors and capacitors can be fitted, they both need to be fitted around the right way.
The trim pots, switch and IC socket are next. Take care with the IC socket as the legs are often bent and will need to be straightened. Both the switch and IC socket have pins that are close together so care must be taken to ensure the solder doesn't bridge the leads.
The IC can then be fitted to the socket and this has to go in the right way around.
The 2 red LEDs can go in next and these are polarity sensitive and have to go in the right way around. The long lead is + and goes in the wide side of the triangle on the diode symbol.
Finally you can solder header pins to the pads for the motors, this will make it possible to unplug the motors without using the soldering iron.

Step 6: Fitting the motors and battery :

Fitting the motors and battery
Screen Shot 2016-07-23 at 7.26.50 PM.png Screen Shot 2016-07-23 at 7.26.57 PM.png
Screen Shot 2016-07-23 at 7.27.06 PM.pngScreen Shot 2016-07-23 at 7.27.33 PM.pngScreen Shot 2016-07-23 at 7.27.41 PM.png

Screen Shot 2016-07-23 at 7.27.49 PM.png

Wires with header plugs can then soldered to the motors and the wheels fitted with a self tapping screws. The battery pack wire are threaded through a hole in the circuit board and solder on to the pads on the PCB. The pads are very close together and the red wire goes to the +
The motors and battery pack can then be fitted with double sided tape. Make sure the motors are around the correct way and are straight. There are makings on the PCB to help locate the parts correctly.

Step 7: Fiting the LDRs and LEDs :

Fiting the LDRs and LEDs
Screen Shot 2016-07-23 at 7.28.10 PM.png Screen Shot 2016-07-23 at 7.28.02 PM.png
Screen Shot 2016-07-23 at 7.28.21 PM.pngScreen Shot 2016-07-23 at 7.28.51 PM.pngScreen Shot 2016-07-23 at 7.28.39 PM.png

Screen Shot 2016-07-23 at 7.28.29 PM.png

The last four components form the line detecting sensor and have to be fitted into the PCB upside down and in the correct position. The easiest way to do this is to fit the bolt that is use as a skid an leave off the domed nut.Fit the LDRs as shown in the photos so they sit flat on the work surface and solder into position. Now refit the domed nut and the LDRs will be at the correct height.
The LEDs to be fitted a little lower than the LDRs about flush with the bottom of the domed nut.

Step 8: Trouble shooting and what next :

Trouble shooting and what next?

If your robot has a problem, it will most likely be either a component in the wrong place or around the wrong way or a badly solder joint. (dry joint)
Once you get your robot working, You can make a big track with insulation tape, you can also experment with your bot.
What do those trimpots do if you adjust them? What happens if the motors are wired in reverse? What happens if there is a fork in the black line? When your have had enough of it following lines, you could mod your bot with a micro controller like an arduino and add some sensors. Maybe even use your phone to control your bot.


EmoticonEmoticon