doing a school project to make a boat move using compass. Everything works great until the dc motor turns on. The servo goes crazy. when the dc motor is off the servo does what is supposed to. I have everything connected to the same ground. I think is noise but I dont know how to fix it. I put a capacitor in the motor and did nothing.
Should I change to a brushless motor? Any ideas?
ilovepie:
doing a school project to make a boat move using compass. Everything works great until the dc motor turns on. The servo goes crazy. when the dc motor is off the servo does what is supposed to. I have everything connected to the same ground. I think is noise but I dont know how to fix it. I put a capacitor in the motor and did nothing.
Should I change to a brushless motor? Any ideas?
Thank you
Is the DC motor on a separate power supply? A schematic would certainly help someone with suggestions, as well as a picture showing how you have all the wiring is done. Did you place the capacitor directly at the motor terminals?
Paul
I can clearly see your project, you are using the Arduino as a Power Supply which it is NOT! Others have asked for a schematic showing all power and ground connections including interconnections, not a frizzy thing. Capacitors can create problems as well as solve them. How well decoupled is the power supplies?
Seperate supply for motor and servo from the Arduino, good decoupling on that supply, twisted pair
for all high current connections: these are fundamental precautions you need if you don't have them already.
It does sound like the power supply is inadequate for both motor and servo. Motors and servos take loads
of current, its very common for people to not provide adequate power when starting out.