I'm having trouble regarding motor control in a project I'm working on.
It uses an ATMega328 DIP package on a PCB. The motors I'm using are small coreless motors and I'm trying to control them using Si2302ds N-MOS FETs. For the power supply I'm using a 3.7V(4.2V on full charge) Lipo. I've tested this setup with a promini before and the motors turned on and off just fine.
This time I'm having problems with controlling 1 motor out of the 4. I've attached 0.1uF caps across each motor terminal (see schematic). Them control pins used for the motors are pins 3,5,6,9. The problem occurs at pin 3. I tried running the blink program on pin 3 to pulse the motor on and off through the FET but all I get is a bit of clicking from the motor.
Things I've already checked relating to the circuit :
- FETs are soldered on correctly and made sure they aren't defective.
- Motor works fine prior to connecting it to the circuit.
- Disconnected the FET and motor from pin 3 and checked the output. It works fine on its own.
The puzzling thing is that only 1 motor (at pin 3) seems to struggle to come on. The rest work just fine. Also if I try and turn all 4 motors ON, it doesn't work. But if I turn only the 3 working ones on and keep the non-working one off they turn on perfectly.
Is the problem occuring due to noise generated by the motor? What could be the problem? I've attached the schematic to this post below.