Search found 1194 matches: pwm
Searched query: pwm
- Mon Nov 07, 2022 7:28 pm
- Forum: ESP-IDF
- Topic: LEDC (hpoint, demo issues)
- Replies: 1
- Views: 1168
Re: LEDC (hpoint, demo issues)
P.S. It seems as when I set the max duty cycle to 8192 - that made the "fade" work full scale (0% to 100% PWM). But that actually help reveal that the following code doesn't seem to be doing anything: printf("3. LEDC set duty = %d without fade\n", LEDC_TEST_DUTY); for (ch = ...
- Mon Nov 07, 2022 10:00 am
- Forum: Hardware
- Topic: How to use LEDC PWM in low speed mode?
- Replies: 11
- Views: 20153
Re: How to use LEDC PWM in low speed mode?
The esp32_technical_reference_manual is still very unclear about this, is there any additional documentation?
- Mon Nov 07, 2022 2:44 am
- Forum: ESP-IDF 中文讨论版
- Topic: esp32 idf-v4.4 ledc light-sleep 工作不正常。
- Replies: 0
- Views: 820
esp32 idf-v4.4 ledc light-sleep 工作不正常。
如题所说,ledc 配置如下, led pwm在light-sleep模式下没有PWM输出。 在切换rtc_clk_slow_freq_set(RTC_SLOW_FREQ_8MD256)后,PWM输出才正常,但是电流明显增大。 请问,是否可以在rtc_clk_slow_freq_set(RTC_SLOW_FREQ_32K_XTAL)条件下,进入light-sleep后正常工作? // Prepare and then apply the LEDC PWM timer ...
- Mon Nov 07, 2022 1:15 am
- Forum: Hardware
- Topic: ESP32-S3 GPIO Functions List
- Replies: 1
- Views: 831
Re: ESP32-S3 GPIO Functions List
The ESP32 series chips all have a GPIO matrix, which means that (with the exception of some very specific peripherals) you can route any peripheral signal to any GPIO. In practice, this means you can use any GPIO (that is not otherwise occupied) as a LED_PWM output.
- Sun Nov 06, 2022 10:16 am
- Forum: Hardware
- Topic: ESP32-S3 GPIO Functions List
- Replies: 1
- Views: 831
ESP32-S3 GPIO Functions List
I'm new in ESP32 and want to use the LED_PWM unit in the ESP32-S3 using ESP-IDF. I've read the document about it on this link. But I don't know which GPIOs can be connected to those PWM outputs. I just need a document with a table of ESP32-S3 ...
- Tue Oct 25, 2022 12:46 pm
- Forum: ESP32 Arduino
- Topic: Why my ESP32 burned?
- Replies: 2
- Views: 2305
Re: Why my ESP32 burned?
... to drive the mosfet). This video can give a good reference: https://www.youtube.com/watch?v=vudSUDFWoQE Try checking if when you kill the PWM output the servo goes to idle, if it does, you wont need any additional circuit, just use detach (if you are using the arduino library) or disable ...
- Fri Oct 21, 2022 10:16 pm
- Forum: ESP32 Arduino
- Topic: Uart and VESC motor controller
- Replies: 2
- Views: 5656
Re: Uart and VESC motor controller
Hi McEsp32
The FSESC and VESC do not use PPM, they use PWM. It's just named wrong in their documents.
The FSESC and VESC do not use PPM, they use PWM. It's just named wrong in their documents.
- Wed Oct 19, 2022 6:09 am
- Forum: ESP32 Arduino
- Topic: ESP32-S2 High Frequency PWM Issues
- Replies: 0
- Views: 623
ESP32-S2 High Frequency PWM Issues
I'm having issues getting PWM above 30khz, I'm using the Arduino Framework and using the LEDC functions. Resolution is 10bit and should be able to get 78khz. If I run the same code on standard ESP32 I can get the 78khz. So it seems to ...
- Wed Oct 19, 2022 4:11 am
- Forum: ESP32 Arduino
- Topic: ESP32-S2 High Frequency PWM Issues
- Replies: 0
- Views: 590
ESP32-S2 High Frequency PWM Issues
I'm having issues getting PWM above 30khz, I'm using the Arduino Framework and using the LEDC functions. Resolution is 10bit and should be able to get 78khz. If I run the same code on standard ESP32 I can get the 78khz. So it seems to ...
- Tue Oct 18, 2022 6:53 am
- Forum: General Discussion
- Topic: The square-wave-output generated by timer can't greater 40000Hz
- Replies: 5
- Views: 1297
Re: The square-wave-output generated by timer can't greater 40000Hz
Our control must can control the number of pulse and the frequency of output pulse at the same time.
So, can not use PWM and only can utilize the ISR of timer that priority is more high.
So, can not use PWM and only can utilize the ISR of timer that priority is more high.