loading

Step 5: Soldering All Together

Connect terminals with same name on the boards together by some piece of wires (You can use the extra legs of the other components).
Solder the Back board to the Top board.
Solder the Front board to the Top board.
Bend the wires and put three boards on the battery holder and solder Front board and Back board to the Bottom board (Use some long flexible wires to contact terminals of the Back and Bottom boards).
Connect + terminal on the Top board to the battery holders + pole.
<p>I have fully assembled the entire model...PIC also got programmed after a lot of hurdles...But now when i turn on my robot, the custom motion LEDs light up and can be modified through push button switches, but I am not getting any feedback from the motors....Please suggest the specific component or part which should be debugged. BTW, I have checked all the connections of L298, the seem to be fine. Is there any other part related to motor movement?</p>
<p>If the LEDs light up it means the PIC works check L298 connections, test it by applying 5V to its inputs.</p>
<p>picture with white background</p>
<p>i checked my l298 wirings according to the diagram given by you. thanks for that....all my wirings were fine..and like you said, I tried connecting VCC to the logic inputs but nothing happened. What could this mean? Also, please find some time to chat with me regarding this model debugging, I have spent a lot of time debugging this till now and so far everything seems fine, however I would like you to assist me in this. Please chat with me on Google Chat. My email id- utkarsh.naveen@gmail.com</p>
<p>i want to add that whenever I short VCC to the logic input, the respective LED starts glowing which is leading to the conclusion that L298 might be working, but somehow my motors aren't powering up(MAYBE). Please give your opinion on this</p>
<p>when you connect vcc to the l298 inputs leds glowing because the leds are connected the the l298 inputs and pic outputs. pic can turn leds on or off so the pic program works correctrly and connectiong from pic to leds are correct, leds glow when you connect vcc to l298 inputs so connection for l298 to leds are ok and so connection from pic to l298 is ok too. when you connect vcc to l298 inputs and motors are not working it means that your l298 does not power the motors try applying power to your motors and test them, check output power of you l298 when applying vcc to its inputs by a voltmeter. send me the photos of you boards.</p>
<p>i tried measuring the voltage of motors, it was 0.0V, both normal and high input conditions. I think this means that something is faulty in L298 part. A note for the pictures. I have connected all the boards using LED legs and female sockets. Red wire going is the VCC connection of top board with the rear board. </p>
<p>would you test this for me.. in my board.. The two terminals of motor have 0 ohm resistance in between them... Is that the same in your model.</p>
<p>No, It should not be zero.</p>
<p>I have found out what was causing the 0 resistance! It was the motor, which I think is fine. Whenever I disconnect the motors, the inter terminal resistance become infinite. Hence I think that in this aspect too, my &quot;L298&quot; is behaving as it should. But still, it really worries me how after all this testing success, my robot still fails to move. Also I want to tell you that I haven't used &quot;TCRT5000&quot;, instead I have used a pair of IR receivers with the same polarity as defined in the silkscreen. I don't think it is the culprit. How do you think I should proceed. Also, the National Model Selection in my city are going to be coming soon. I want to show this model for the selection and I also need a week to modify this. So as I had requested you earlier, please chat with me through any other MORE CONVENIENT and REAL TIME means. Instructable's chatting system is very slow. I need to finish this ASAP to better my chances of modifying this properly. Please reply to me ASAP. I really want to get selected!</p>
<p>I can't see anything wrong, everything that can be understood from the photos are fine. I advice you to separate back part from the others and try to test it using above L298 circuit diagram and try to run your motors manually. The problem may be solved.</p>
<p>ok thanks for helping me out to this extent ....really thankful.....now i think my main aim will be to debug the 0 resistance problem of l298. i think it may be hindering the running of motors..if that doesnt work. then i'll just use a new l298!</p>
Sir, where is the LS port the bottom board? I cant find it in the pdf that you have given' thanks
Beside L Sensor
<p>thanks sir' can I use 1/2W resistors instead of 1/4W? </p>
<p>yes</p>
<p>sir, can you please show the actual picture on how you solder the rear part of the car? the one with the motor driver part. And also the connections of the batteries and the motors cause I can't figure it out.. thanks!</p>
<p>I just have the photos that exists here, solder terminals with the same name together. The circuit diagram of L298 motor driver (you can find it in above comments) can help you a lot.</p>
<p>Sir, does the motors will start when I placed the battery supply on the circuit board even though there is no PIC? I'm curious if the circuit that I built is already functioning even there is no program yet. thanks'</p>
<p>no, the PIC activates the motors.</p>
<p>is your 4 batteries connected in series?</p>
<p>yes and just end points used for powering, midpoints a just for fastening battery holder to the pcb. you can ignore them.</p>
<p>Sir' is it okay to use a 9V battery? if yes, how to connect it? thanks</p>
<p>yes, (+) --&gt; +3V, (-) --&gt; -3V</p>
<p>i want to make the line follower track the line backwards based on a momentary input switch...is it possible....??</p>
This robot follows any line (black or white) no switch needed. BTW you can change the PIC code to have a customized robot, you can program anything you want. Without the code it is just 4 sensors, 2 motors. The code defines the relation of sensors to motors action.
<p>no, what i meant to ask was that i want to make it start retracing its path backwards when I TAP a momentary/switch..</p>
<p>As I mntioned you must edit the progrm.</p>
<p>please suggest a good ide for pic programming....i think i should learn this programming....It is similar to java ..no???</p>
<p>HiTech C, mikroC for PIC, PIC Basic Pro, ..., Just search the internet for best. C is more similar to java.</p>
<p>ok i will do it....thank you</p>
sry....i just found it
<p>How do I wire the LS port on the front board to the bottom board? Please clarify all the front-bottom board connections.</p>
Just connect LS on the front board to LS on the bottom board with a piece of wire. Take a look at the PDF file of PCB drawings.
there is no LS on the bottom board..........you may check the pdf yourself
<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>

About This Instructable

262,877views

145favorites

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: