Hi,
1) My zero-cross detection works pretty well, I've already checked that. I'm pretty sure its an issue with timers.
2) I haven't tried high resolution timers but Ive already tried timers from esp32 library and they dont work. I uploaded my code using these timers.
Thanks a lot!
Search found 2 matches
- Tue Jun 09, 2020 10:33 pm
- Forum: General Discussion
- Topic: Using timers and interrupts - AC dimmer application
- Replies: 2
- Views: 4461
- Sun Jun 07, 2020 8:05 pm
- Forum: General Discussion
- Topic: Using timers and interrupts - AC dimmer application
- Replies: 2
- Views: 4461
Using timers and interrupts - AC dimmer application
Hello to everyone, I want to build an AC dimmer with rotary enconder using the esp32, and add WiFi or bluetooth capability later. So far, I'm able to use timers and interrupts to read my rotary encoder, as well, pin interrupts to switch on/off the lamp. My code goes like this: 1) I have a dimmer boa...