ESP32 for this project suitable?
Posted: Wed Oct 23, 2024 11:38 am
Hello,
I would like to control several electromagnets, whereby the magnets should have a variable strength, depending on a specified signal (received and processed by a higher-level controller). The higher-level instance should communicate wirelessly with the group.
Due to a lack of experience, I'm not sure whether the ESP32 is suitable for this, but the possibility of working via Bluetooth seemed sensible to me. If I have understood it correctly so far, I can control the strength of a magnet via a PWM pin. I would then implement this via a mosfet, while I regulate the 12V voltage source down to 3.3V with a buck converter.
There is also a rough circuit diagram at the bottom of the picture.
Would you say that I can build it this way, or would you recommend something else?
I would like to control several electromagnets, whereby the magnets should have a variable strength, depending on a specified signal (received and processed by a higher-level controller). The higher-level instance should communicate wirelessly with the group.
Due to a lack of experience, I'm not sure whether the ESP32 is suitable for this, but the possibility of working via Bluetooth seemed sensible to me. If I have understood it correctly so far, I can control the strength of a magnet via a PWM pin. I would then implement this via a mosfet, while I regulate the 12V voltage source down to 3.3V with a buck converter.
There is also a rough circuit diagram at the bottom of the picture.
Would you say that I can build it this way, or would you recommend something else?