codeeater
Newbie level 3
- Joined
- Jun 2, 2013
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,306
Hi,
I am trying to drive this DC motor with an LMD18200 motor controller controlled by an Atmega644p, however I am having big issues.
My projects runs on a 12v 5A supply. 5v is produced by a Voltage Regulator which is used to power the uC. There are 10uF capacitors from 12v>GND and from 5v>GND. The motor controller is connected to the 12v (but controlled by 5v logic) which is used to drive the motor. There is a 2200uF cap from 12v>GND right beside the motor controller.
However, when I try to run the motor, the uC just stops working correctly and the motor makes a click but doesn't move. Using another motor works fine, and if I use separate power supplies for the motor and the uC there is no issue, the motor runs just fine.
This indicates to me that there is an issue with voltage spikes from the DC motor. However, with all of this in place, I can't think of much else I can do to reduce these spikes.
Can someone please help!
Thanks
I am trying to drive this DC motor with an LMD18200 motor controller controlled by an Atmega644p, however I am having big issues.
My projects runs on a 12v 5A supply. 5v is produced by a Voltage Regulator which is used to power the uC. There are 10uF capacitors from 12v>GND and from 5v>GND. The motor controller is connected to the 12v (but controlled by 5v logic) which is used to drive the motor. There is a 2200uF cap from 12v>GND right beside the motor controller.
However, when I try to run the motor, the uC just stops working correctly and the motor makes a click but doesn't move. Using another motor works fine, and if I use separate power supplies for the motor and the uC there is no issue, the motor runs just fine.
This indicates to me that there is an issue with voltage spikes from the DC motor. However, with all of this in place, I can't think of much else I can do to reduce these spikes.
Can someone please help!
Thanks