Search found 2 matches

by lam.le
Thu Nov 30, 2023 5:01 am
Forum: ESP32 Arduino
Topic: Use ESP32 PWM (ledc) to control electromagnetic coils
Replies: 3
Views: 9549

Re: Use ESP32 PWM (ledc) to control electromagnetic coils

Thank you very much @ESP_Sprite. If I call ledcWrite(output_pin, 127) (given resolution is 8) only one time (probably in setup() or with an if check in loop()), the ESP32 board still constantly outputs the square wave pattern (of duty cycle ~50%), doesn't it, if I understand correctly? So, what I'm ...
by lam.le
Wed Nov 29, 2023 5:30 pm
Forum: ESP32 Arduino
Topic: Use ESP32 PWM (ledc) to control electromagnetic coils
Replies: 3
Views: 9549

Use ESP32 PWM (ledc) to control electromagnetic coils

Hi everyone, Previously, I followed this tutorial here ( https://www.hackster.io/mircemk/diy-cheap-and-super-simple-pemf-magnetic-therapy-device-bd972d ) to make a simple pulsed electromagnetic field therapy device. It has a Gaqqee PWM module (to generate the PWM signals), feeding to a potentiometer...