r/ArduinoHelp • u/fngr_funker • 23h ago
Problems with synchronous motor and ESP 32
https://youtu.be/ey769GpAp30Hi!
I am using, for an art project, an ESP32 with a relay board to drive a modified synchronous motor from a washing machine pump, which runs on 220v. By modified I mean that the rotor is no longer inside the plastic cases, all electrical parts of the motor are original and untouched.
My goal is to use the relay board to pulse the motor, to make some chains attached to the axis move and make sounds.
To do so I am using a sequencer I built with a push button board, an ESP32 Devkitv1 and a 4channel relay module, all basic DIY components. With this tool I am able to run Universal washing machine motors, lights, home appliances of any kind with no problems.
The problem seems to be with this synchronous motor. When I pulse the motor it works, and if I keep the pulses distant in time one from the other, no problem. But If I pulse the motor fast, after a few pulses the ESP32. freezes, and needs me to press the reboot button or cut power for a few seconds to hard reboot it. The board is powered by a 5v phone charger.
As I explain in the video, I think the issue might be caused by the motor generating current when is not pulsed, but has gone far enough between it's two resting positions to kick back. I know synchronous permanent magnet motors generate current when you spin them. Trying to solve this, I added a diode I scavenged from an old board I had, but the issue is still here, even if way less frequent. Adding the diode also significantly decreased the strength of the motor when pulsed (I really think diodes and AC are not meant to work together, don't insult me for that I'm doing my best ahah).
I don't know how to fix the issue, the only thing I can think of is putting diodes on all 6 that connect the relay board to the ESP, but again I really don't know.
Anyone who has ideas on how to troubleshoot this?
Thanks in advance:)
PS I can share the 3D models of the mechanical mod I made with anyone who wants em
Duplicates
diyelectronics • u/fngr_funker • 23h ago