Single White Line Detector for SUMO ROBOT

by FernandoS24 in Circuits > Robots

3097 Views, 22 Favorites, 0 Comments

Single White Line Detector for SUMO ROBOT

IMG_20160511_105331.jpg
IMG_20160511_163911.jpg
White line detector for SUMO ROBOT

Every ROBOT entering a SUMO contest needs a white line detector not to fall out of the DOJO (Arena with a white border ! Build this circuit and get ready for combat !

This circuit uses 1/2 of a LM358 OpAmp so if you decide to do a line follower instead of a single line detector you'll just need to add components to it's right side !

I used a stripboard as this is a easy method to build a circuit and it doesn't require acids and special equipment !

Cut the Stripboard

IMG_20160511_090141.jpg

Cut a 9x14 piece of stripboard. Solder a conductor from line 1 to 7. This will bring the positive to one edge of the variable resistor.

Minus OpAmp

IMG_20160511_090752.jpg

Solder a conductor from line 6 to 8. This will bring the negative to pin 4 of opAmp.

Cuts for Variable Resistor

IMG_20160511_091131.jpg

Cut the strips near where you are going to solder the variable resistor.

Enlarge Hole for Variable Resistor

IMG_20160511_091038.jpg

You will have to enlarge the too holes for the variable resistor.

Solder the Variable Resistor

IMG_20160511_091557.jpg

Put the variable resistor in place and solder it's 3 pins !

Solder the 10k Pull-down Resistor

IMG_20160511_092037.rotacionado.jpg

This is to keep the output at a low state if you are going to connect it to a microcontroller.

Solder the 560 Ohm Resistor to IR LED

IMG_20160511_094207.rotacionado.jpg

Solder the resistor which will connect to the IR LED

Solder the 10K Resistor (pull-down to Non-inverting Ampop Input)

IMG_20160511_095000.jpg

Solder a 10k resistor between line 5 and line 8 (minus)

Solder the 560 Ohm Resistor for Output Red Led

IMG_20160511_095217.jpg

Solder the 560 ohm resistor between line 3 and 9 that will limit the current through the output led (white line indicator)

Solder the Led Indicator

IMG_20160511_095336.jpg
IMG_20160511_095717.jpg

Now that you have the 560 ohm in place solder the red led indicator !

Solder the 8 Pin Socket for the OpAmp

IMG_20160511_100426.jpg
IMG_20160511_100323.jpg

Solder the OpAmp socket and make the cuts on each of the 4 lines

Solder the IR Emitter (Transparent) and the IR Photodiode (Filtered)

IMG_20160511_100920.jpg
IMG_20160511_101119.jpg
IMG_20160511_103918.jpg
IMG_20160511_104430.jpg

This step is critical. As the line detector will be facing down you will have the solder the IR LED and the IR Photodiode on stripside of the board !

Solder the + Shunt

IMG_20160511_102710.jpg

Pin 8 (line 3) of the OpAmp needs to be connected to + rail (line 1)

Cut 3 Double Headers and Solder

IMG_20160511_101846.jpg
IMG_20160511_102722.jpg
IMG_20160511_104826.jpg

You will need to connect you line detector circuit to power and microcontroller so solder the headers to - line 8, + line 1 and output line 3

Put the LM358 in Place and Power the Circuit !

IMG_20160511_105331.jpg
IMG_20160511_105914.jpg
IMG_20160511_110528.jpg
IMG_20160511_110538.jpg
IMG_20160511_105928.jpg

You will have to test it pointing the board to a white surface and a black surface and adjusting the variable resistor ! Remember it is a good practice to indicate on you board the out header, the minus and the positive.

Protect You Sensors !

IMG_20160511_123414.jpg
IMG_20160511_123437.jpg
IMG_20160511_123621.jpg

Your SUMO ROBOT will have fierce combats ! You better put some PVC pipes to protect the sensors and glue it with hot glue !