Step 4: Soldering Components

Solder all parts on the boards.
Be careful of the correct direction of components.
Use a socket for PIC16F84A IC.
Solder motors and battery holder on the back side of the Bottom board and put some pieces of paper around motors to avoid unexpected contacts in the circuit.
Solder C4 and C5 right on the motors.
Put a piece of paper among potentiometers legs to avoid contacts.


<p>i have seen the entire circuit thoroughly.......it needs only 3 AA batteries right..........i don't see the use of a 4th AA battery because it will just be left unconnected.......and the circuit only requires one 3V Supply and one 1.5V Supply.</p>
No, the circuit supply is 6V. The power comes from ends of battery holder and its mid-pins only used for fastening it.
<p>then the 3V and 1.5V terminals on silkscreen are for??also./...where do i wire the 6V +,- terminals on the circuit??</p>
<p>Solder + of your battery holder to +3V on the bottom board, and + on the top board.</p><p>Solder - of your battery holder to -3V on the bottom board, and - on the top board.</p><p>Solder + on the back of bottom board to to + on the rear board.</p><p>Solder - on the back of bottom board to to - on the rear board.</p><p>IGNORE +1.5V, -1.5V and 0V terminal they are not connected to anywhere.</p>
<p>Hi</p><p>How can I increase speed of motor? (robot should follow the line at the same time.)</p><p>There should be some methods. Can you enlighten me?</p>
Use a faster motor &amp; gearbox. Less gears, less power, more speed.
<p>I'd like to know that if I could achieve the same level of line following by using an Adruino ; because it's been only about an year or two since I have started electronics and I actually don't know anything about using PIC microcontrolers. :-)</p>
You can use any microcontroller you want, design a new circuit for your arduino and change the code for it, it's very easy!
<p>Is it going to affect the performance of the robot I mean PIC microcontrolers v/s Arduino . Besides, I'm a bit new to electronics and don't actually know how to program the PIC microcontrolers so, I'll not be able to understand the program for them that you have given in the instructable. Please explain me the logic of your program of the line follower :-)</p>
<p>Both work same. The code is written in Basic language, and all variables and symbols names are obviousse. The symbols are ti micro pins. Other parts of code that you don't understand is for configuring PIC and you don't need them for Arduino. Only parts that you understand is enough.</p>
<p>Thanks a lot! :-)</p>
<p>sir, i'm little confused with the battery connections. some explanation would be great :-)</p>
<p>Just use battery holder ends. (posetive pole is +3V and negetive pole is -3V) I marked others (+1.5V, -1.5V, 0V) just for fastening battery holder.</p>
<p>Please tell me the &quot;cheaper &quot;alternatives for TCRT5000 which are not hard to find online.......</p>
<p>Make your own, with a 3mm IR transmitter LED, a 3mm IR phototransistor, and a piece of plastic strip as a well between them.</p>
So it's just that basic???.... Only an infrared led and phototransistor simply held by a piece of plastic??? If that's so.... Does usage of tcrt5000 give any advantages???..... Alsoi would like to have a real-time chat with you regarding this project.... Please take some of your precious time out for me. I just want to have a 5 min chat with you.... Be it Gmail or whatsapp.... My email Id:<br>utkarsh.naveen@gmail.com
<p>Yes, That's it. You can make it yourself. Look at its datasheet.</p>
<p>yep....just took a close look at it......it really is nothing but a pair of ir leds......:) thnx for being so helpful.............</p>
<p>is it necessary for the motor to have a gearbox??</p>
If you can get enough torque of the motor at desired speed, no, but most motors have low torque and high speed.
<p>i have a lot of toy motors in spare..they don't have a gearbox...Will they work??</p>
<p>Just search the internet for &quot;minimotor with gearbox&quot;, to find the motor I used.</p><p>If you have lot of toy motors why don't you make your own motor with gearbox. Take a look at my balancing robot (http://www.instructables.com/id/Balancing-Robot/), I made its gearbox myself.</p><p>If you can't find gears just place a narrow rubber tube on motor shaft, place another rubber band on a large wheel and simply place motor shaft and the wheel in contact.</p>
<p>thnx</p><p>i will do that</p>
<p>thnx for your quick reply....would you please provide me with the link for buying this motor...also you may find the most cheap motor compatible with this line follower.....Sorry to bother you , but i just dont have enough money to try out things....it has to be perfect in the first purchase.....Thanks in advance</p>
<p>Hi .help me plz im in a compete </p><p>0911 462 45 22</p>
hey im newbie in here,how can i upload the code to PIC16F84A ,what tool must i have to upload the code ? ,please i need this for my school project
Use any PIC programmer. https://www.google.com/?ion=1&amp;espv=2#q=pic%20programmer
I have a question.<br>Can i make it using PIC16F877A??<br>Is there any code to change?
<p>Yes. You can use any PIC but you need a few modifictions in PCB and code depending on the pins of PIC you use in your project.</p>
<p>another question sir.</p><p>when i choose geared motor set,</p><p>i can't find 60rpm 6v geared motor.</p><p>then can i use another geared motor like</p><p>200rpm???</p><p>less than 60rpm is recommended or more is no problem?</p>
<p>It is a DIY project, so you can make any changes you need. The motor speed depends on your robot size and its wheels diameter. Test motors to find your ideal speed.</p>
<p>Can you tell me the role of capacitors..?? and how their values are found..??</p>
<p>C1 and C2 are for microprocessor oscillator, C3 are for voltage stabilization, C4 and C5 are for motors noise reduction. All of these are basic electronic blocks can be found in datasheets and atricles.</p>
<p>just one more thing... what does &quot;&lt;&gt;&quot; stands in the .bas file.</p>
<p>It is like != in C and means not equal, &quot;if a&lt;&gt;b&quot; means &quot;if a not equals b&quot;.</p>
<p>Can u help me?? sent me a full circuit about this project please..</p><p>Sent complete circuit diagram in here or just email me at sk94_epul@hotmail.com</p><p>Please I realy need it ASAP</p>
Please read step 3, specially the last line.
<p>Hi your project is very good and I want to make this robot, but in the proteus schematic, there is no complete circuit I mean there is no ic324 mentioned in there and there is no motor driver shown in that circuit so please send complete circuit to my email &quot;maheshjshetty@gmail.com&quot;</p>
<p>sorry but can you send me the pic program in a other kind of format because i cannot open the program (Code.hex) </p><p> -thank you so much -</p>
<p>Download &quot;Code.zip&quot; from step 7, you can see 4 files in the zip. The .hex file is the compiled file you must program to PIC. The program source code that is written by PicBasic PRO is the file with .bas extension, you can open it with any text editor software like notepad.</p>
<p>Could you please tell me what are those 1N4148 Diodes used for? Thanks.</p>
<p>I see diodes on your real car are not 1N4148, please tell me which is the right one, thank you, sir</p>
I used 1N4007, but 1N4148 is better, they are for back EMF damping (for more info refer to L298 datasheet).
<p>Nice build! I always wondering, where can I get that kind of skinny wheel?</p>
thanks, you can find them in toys.<br>
<p>Other replacement for 10k potentiometers? <br>Because I think the motor state of my work is not really that accurate in terms of turning left or right. like if it's suppose to go right the left motor is in stop mode. What can probably be the cause? thanks. </p>
no need to change potentiometers, when to robot is going to turn left the left motor stops or run reverse depending on the turn. there may be some problems with your sensors, comparator ic, pcb make, ...<br>you can make any changes to program source code and recompile it if needed or test your sensors and motors. it wrote using PicBasic PRO. maybe you soldered left motor wires to the right motor on pcb,
<p>how its work on white line</p>
It is exactly the same as black line. No changes needed.
<p>I want schematic....I tried but I m unable to load the previous comments. I'll be grateful.thanks </p>

About This Instructable



Bio: I'm a mechanical engineer, and I like computer programming, mechanics, electronics and specially the robotics.
More by vahid_you2004:Serial Port over WiFi Cheap Logic Analyzer Cheap STK500 AVR programmer for Atmel Studio 
Add instructable to: