When i made the diagram monochrome it turned out like this. And the black rectangle is actually the ISP port which consists of 6 pins.
#L293d motor driver circuit board driver
I am not able to understand that when the uc is giving out 0 Volts on the pin how is the motor driver getting 1.6 Volts ?And how is the motor driver showing the same voltage on all four output pins ?Has this got anything to do with the diodes?
On checking the voltages at all the pins of l293d motor driver without the motors connected this is what they read. The motors were also not moving(not even a bit). Then I connected 1N4007 diodes between the mircocontroller output pins and the the motor driver input pins. The motor was only slightly faster but it was still jerking and the LEDs were still flickering. What country are you in?I had connected two different power sources. Try running the motor & MCU on separate battery banks es, if you have carried out all the steps above! This is generally not a good idea as it will discharge the bottom cells more then the top cells and the voltage from the top of the cells will be modulated with internal voltage drop from the bottom cells and noise from the motor. As I understand it, you are getting the power for the motors from the bottom cells of your battery.
A second order filter using some inductance & capacitance may be required.ĥ. Have you decoupled the motor from the battery. Have you decoupled the voltage regulator, the MCU and the motor driver correctly?Ĥ. In fact do a measurement with a DVM and then have a look with an oscilloscope to see how much noise there is.ģ. With motors connected( and playing up) measure the voltage at Vcc of the controller and at the input of the regulator. Check the signals out of the motor driver, without the motors connected.
#L293d motor driver circuit board code
The code might be OK, but the controller is resetting due to brown out detector detecting low voltage.ġ. Your code is putting out a chaff cutter signal.Ģ. When you run them via the motor driver and they run like chaff cutters, it could be because.ġ. Obviously when you power the motors direct they will run very smoothly. Quote: But when the motor is connected to the battery directly and not thru the l293d motor driver it rotates without jerking and is fast. The motor is rotating very slowly and jerking and the all the LEDs are flickering on the board.But when the motor is connected to the battery directly and not thru the l293d motor driver it rotates without jerking and is fast.What could be the reason for this?Sorry for the grammatical errors in my first post.I was in a hurry.Hope you find it easier to read this time around.Thanks for your patience and your help I am giving a voltage of 8.6V to drive the motors from the same power source(it being a 3 cell NiCd ) and a voltage of 12.6v to the 7805 regulator. No-load current = 60 mA, Stall current = 700 mA
I am making a line follower.I am using a comparator(lm324),a uc(atmega8L) and a motor driver(l293d).There are 4 white LEDs connected to the output of the comparator and 4 red LEDs connected to the output of the micro controller to the motor driver and 4 pairs of IR sensors connected to the input of the comparator.The power source is a 12.6v 2000mAh(2C).To the motor driver I have connected two motors.The specifications of the motors are