Hi!
I've been ripping my hair of trying to get this project to work
, but seemingly no matter what i do i haven't been able to make it work reliably.
It's real simple really, just a atmega328 (non p) -pu + SN754410NE (essentially a l293 quad half-bridge).
The motor is a small 3-6 volt 100mA dc motor. The motor and micro-controller are driven by separate voltage, 6v@500mA and 5v@100mA respectively.
What happens is that i'll connect high or 5v from atmega to the motor controller, the motor spin from 1sec to at best 1min, when suddenly the 5v from atmega will collapse to 0v, and will remain like that until i reboot it.
My instinct was at first to directly connect atmega to motor controller without resistor pulled to ground like i did when prototyping with uno. But that didn't work at all with a raw atmega. At this point i have no idea as to why this isn't working.
Schematic and picture:
https://drive.google.com/drive/folders/1f7N4JG-nSVDko5vl9TXt3NpuTDINw7SS?usp=sharingI'm not sure if this is a incredibly stupid question, but any answers are appreciated!
Thanks in advance!
ManlishPotato