Search found 346 matches: pwm

Searched query: pwm

by zliudr
Tue Aug 11, 2020 4:01 am
Forum: ESP32 IDF
Topic: Is there an esp-idf equivalent call like arduino IDE's tone() function to beep on a pin?
Replies: 5
Views: 170

Re: Is there an esp-idf equivalent call like arduino IDE's tone() function to beep on a pin?

... dur_hms) { ledc_timer_config_t ledc_timer; ledc_channel_config_t ledc_channel; ledc_timer.duty_resolution = LEDC_TIMER_13_BIT; // resolution of PWM duty ledc_timer.freq_hz = notes[key_num]; // frequency of PWM signal ledc_timer.speed_mode = LEDC_HS_MODE; // timer mode ledc_timer.timer_num = ...
by zliudr
Fri Aug 07, 2020 5:13 pm
Forum: ESP32 IDF
Topic: Is there an esp-idf equivalent call like arduino IDE's tone() function to beep on a pin?
Replies: 5
Views: 170

Is there an esp-idf equivalent call like arduino IDE's tone() function to beep on a pin?

... I'm looking into but it's not esp-idf so needs some adaptation. https://techtutorialsx.com/2017/07/01/esp32-arduino-controlling-a-buzzer-with-pwm/
by matthew798
Fri Aug 07, 2020 3:25 am
Forum: ESP32 IDF
Topic: Timer keeps failing when trying to register ISR within an ISR
Replies: 2
Views: 349

Timer keeps failing when trying to register ISR within an ISR

Hi all, I have a timer that I use to trigger 3 different ISRs. So: ISR_1 must run every x uSec, ISR_2 must run every x + 30 uSec, ISR_3 must run every x + y uSec (where y > 30) So I set it up like this: ISR_1 does it's thing then registers ISR_2 on the timer. ISR_2 does the same for ISR_3, and 3 doe...
by johnlerrington
Thu Aug 06, 2020 7:42 am
Forum: General Discussion
Topic: ESP32WROOM32-DEVKIT C V4 Definitive pin connections
Replies: 4
Views: 353

ESP32WROOM32-DEVKIT C V4 Definitive pin connections

... site but I cant find a "definitive" pin connection diagram, and I'm not sure some I've found online are correct - particularly in regard to pwm pins. I'm writing a web page abut my experiments so I'd like to put a link to the "approved" pin diagram. Can anyone provide a link I can use please?
by AlexESP32
Tue Aug 04, 2020 7:54 am
Forum: ESP32 IDF
Topic: LEDC Fade
Replies: 2
Views: 328

Re: LEDC Fade

... LEDC_TEST_FADE_TIME (1000) QueueHandle_t xQueue = NULL; ledc_timer_config_t ledc_timer = { .duty_resolution = LEDC_TIMER_13_BIT, // resolution of PWM duty .freq_hz = 1000, // frequency of PWM signal .speed_mode = LEDC_HS_MODE, // timer mode .timer_num = LEDC_HS_TIMER // timer index }; ledc_channel_config_t ...
by yexiaojun
Tue Aug 04, 2020 7:36 am
Forum: ESP IoT Solution 中文讨论版
Topic: esp-aliyun sdk compile error
Replies: 0
Views: 258

esp-aliyun sdk compile error

... defconfig make menuconfig make but compile error, log see below: /home/jack/work/esp/esp-aliyun/examples/solutions/smart_light/components/pwm/include/xpwm.h:18:10: fatal error: esp8266/gpio_register.h: No such file or directory #include "esp8266/gpio_register.h" ^~~~~~~~~~~~~~~~~~~~~~~~~ ...
by AlexESP32
Sat Aug 01, 2020 2:09 pm
Forum: ESP32 IDF
Topic: LEDC Fade
Replies: 2
Views: 328

LEDC Fade

... sizeof(uint32_t)); // never more than one event ledc_timer_config_t ledc_timer = { .duty_resolution = LEDC_TIMER_13_BIT, // resolution of PWM duty .freq_hz = 5000, // frequency of PWM signal .speed_mode = LEDC_HS_MODE, // timer mode .timer_num = LEDC_HS_TIMER, // timer index .clk_cfg = ...
by mutumandingo
Tue Jul 07, 2020 6:54 pm
Forum: Hardware
Topic: Esp Erasing Software Automatically
Replies: 9
Views: 590

Re: Esp Erasing Software Automatically

... said thats a circuit problem not a code erasing. When battery voltage is not enough to supply voltage regulator, the ESP not not powered on and pwm pins of led driver becomes floating positon and gives as much power as they can to leds, so i have one more question that problem can be solved ...
by mutumandingo
Mon Jul 06, 2020 9:07 pm
Forum: Hardware
Topic: Esp Erasing Software Automatically
Replies: 9
Views: 590

Re: Esp Erasing Software Automatically

I dont look serial values, but i think thats not a battery issue because my schematic based on AL8805 led drivers and when no pwm signal is enter the driver leds lights at maximum, and when 'erased status' occurs, leds running on maximum value, i think that no pwm means that no active ...
by hhelmbold
Sat Jul 04, 2020 8:08 am
Forum: ESP32 Arduino
Topic: ESP32 Serial communication with A1 Lidar
Replies: 0
Views: 255

ESP32 Serial communication with A1 Lidar

... I am attaching my wiring diagrams for Arduino and for ESP32, and also my sketch for the ESP32. The lidar is not spinning, which makes me think the PWM is not working or not connected correctly? Running the sketch I get the below results which tells me the Lidar is detected, so I do think the Tx ...

Go to advanced search