Search found 6 matches
- Wed Oct 09, 2019 7:49 am
- Forum: ESP32 Arduino
- Topic: PWM with sync input
- Replies: 6
- Views: 9625
Re: PWM with sync input
Any updates could we use mcpwm for dimming without flickering?
- Mon Sep 23, 2019 9:06 am
- Forum: ESP32 Arduino
- Topic: PWM with sync input
- Replies: 6
- Views: 9625
Re: PWM with sync input
Hi, after some experiments I was able to set PWM/SYNC with mcpwm in Arudino, seems this works fine but I also try to setup Capture mode, I follow example for mcpwm but I stuck on reading/setting registers, problem is with this lines: static mcpwm_dev_t *MCPWM[2] = {&MCPWM0, &MCPWM1}; it end with er...
- Mon Sep 23, 2019 9:04 am
- Forum: ESP32 Arduino
- Topic: PWM with sync input
- Replies: 6
- Views: 9625
Re: PWM with sync input
//#include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_system.h" #include "esp_spi_flash.h" #include "driver/gpio.h" #include "mcpwm1.h" #include "string.h" #include "freertos/queue.h" #include "esp_attr.h" #include "soc/rtc.h" #include "soc/mcpwm_reg.h" #includ...
- Mon Sep 23, 2019 9:00 am
- Forum: General Discussion
- Topic: Mcpwm Flickering
- Replies: 3
- Views: 3692
Re: Mcpwm Flickering
no ihave not tried but i directly connected a bulb , but its flickering a lotESP_Sprite wrote: ↑Thu Sep 19, 2019 3:32 amHave you tried looking at the signal with an oscilloscope?
- Wed Sep 18, 2019 8:07 am
- Forum: General Discussion
- Topic: Mcpwm Flickering
- Replies: 3
- Views: 3692
Mcpwm Flickering
I am trying to make a ac dimmer using esp32 via mcpwm . I have used 4n35 to get zero crossing using it as sync and via phase dimmer i am able to dim the lights but there is lot of flickering . What can i do ? any suggestion is it the fault in esp32? beacause i have tried it with Mega and its working...
- Mon Sep 16, 2019 7:51 am
- Forum: ESP32 Arduino
- Topic: PWM with sync input
- Replies: 6
- Views: 9625
Re: PWM with sync input
Hey I am too trying to make a ac dimmer using mcpwm but their is lot of flickering !, I am using 4n35 optocoupler and getting a smooth wave .