Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I connected my ATmega8 to a 12V Stepper Motor via ULN2803. The motor worked fine but the ULN2803 heats up so fast.
Why is this happening ?
Should i use some Zener diode or something ?
By the way, providing a fan for a drive chip of a motor that takes less than 0.25A load, we travel nowhere, i fear.Hi,
The motor needs about the maximum of what the ULN2803 can give. Using a small computer fan will help to remove excessive heat. The schematic posted before show a ULN2003 witch is a 16 pins IC. The ULN2803 has 18 pins and it is possible to parallel inputs and outputs in order to use all the 8 inputs and outputs available for a single motor.
Alain
so switch to an Allegro FET based chip that will do all your stepper logic and current source it for you.In order to obtain the maximum torque from the motor it should be run in full step mode, that is 2 phases (coils) energized at the same time. The current through the chip is then more near 0.5 A. I suppose that this is the way sith108 is driving is motor. Otherwise the chip would not heat so fast.
Anyways, I know a small fan will work. I experimented it. Heat sink would probably work too but I find it more complicated.
Alain
of course it is. it is asked and answered between 2 and 4 times every month, and is always asked because there are so many hobbyist sites, new and old, praising the stupid thing as a godsend.Yes, of course, this will cure his ULN2803 problem. Once in the drawer, the chip will not heat a bit.
I am sure that we could add 100 more replies to this post stating how not to use the chip. But what is the point? This chip is a nice chip to learn about, not only for controlling a small stepper motor, and the question, witch is about overheating, worth an answer in my opinion.
Alain
Do you have personal experience that confirms this?Internal protection diodes are not enough
The flyback diode is to protect the switch, not the motor. Therefore, the diode needs to be as close to the switch as possible. This way, it will also protect against stray wiring inductance.let there be additional protection diodes (like FR 306) close to the windings.. then it would behave better.
Do you have personal experience that confirms this?
The flyback diode is to protect the switch, not the motor. Therefore, the diode needs to be as close to the switch as possible. This way, it will also protect against stray wiring inductance.
I see your point. I hadn't thought about EMI problems that would be exacerbated by having the diode located far from the inductive load, so I now understand the need for mounting it close. In the case where there are long wires between the switch and the inductive load, a diode near the switch (built into the ULN series, but not into most other devices) is also desirable.Yes I have experiences
The reason for mounting it close to motor is, any back emf return path should generally be closer to the source of such back emf (obviously the inductive component)
. So I am sure, Ron, that the device be closer to the generator so that it needs to travel minimum to get a return path.