Search found 56 matches

by MCUism
Tue Jan 14, 2025 2:42 pm
Forum: General Discussion
Topic: Slow PWM's with ESP32-S3
Replies: 9
Views: 4459

Re: Slow PWM's with ESP32-S3

Thanks for your guidance, for anyone who's coming here later here's the code that worked perfectly fine for me. Just load the code and press 'o' to start the pwm and press 'f' to stop the pwm. The duty cycle is 50%, you can change it when needed.


#include "driver/mcpwm.h"

#define GPIO_PWM0A_OUT ...
by MCUism
Sun Jan 12, 2025 7:52 pm
Forum: General Discussion
Topic: Slow PWM's with ESP32-S3
Replies: 9
Views: 4459

Re: Slow PWM's with ESP32-S3


Ran your question an example if MCPWM can be used as a normal PWM signal? through AI, and this is what It shot back.

#include "driver/mcpwm.h"
// Now the LED should be blinking with 50% brightness at 1kHz frequency

// If you want to dynamically change the brightness:
while (1 ...
by MCUism
Sat Jan 11, 2025 8:05 pm
Forum: General Discussion
Topic: Slow PWM's with ESP32-S3
Replies: 9
Views: 4459

Re: Slow PWM's with ESP32-S3

Thanks alot for the response, so I'll use the all 8 native PWMs and then I'll use one PDM channel using this code https://github.com/espressif/esp-idf/blob/v5.4/examples/peripherals/sigma_delta/sdm_led/main/sdm_led_example_main.c

Can you also point me to an example if MCPWM can be used as a normal ...
by MCUism
Sat Jan 11, 2025 5:15 pm
Forum: General Discussion
Topic: Slow PWM's with ESP32-S3
Replies: 9
Views: 4459

Slow PWM's with ESP32-S3

Hi all,

I have ESP32-S3 and I am trying to generate some slow PWM's around 500Hz to 1Khz for a LED driver project. I am reading mixed things about number of PWM's possible, some say only 8 channels are possible but this github repo says 16 are possible https://github.com/khoih-prog/ESP32_PWM?tab ...
by MCUism
Sun Feb 07, 2021 8:43 pm
Forum: Hardware
Topic: ESP32 PICO D4 PCB schematic
Replies: 0
Views: 2102

ESP32 PICO D4 PCB schematic

Hi all,

I have been recently working on the ESP32-PICO-D4 modules and made my own schematics. However I am still skeptical whether I can proceed with this schematics and that would be enough for my design?

I want to keep my design as small as possible. Hence I extended the Rx, Tx lines.

here is ...
by MCUism
Wed Sep 02, 2020 7:01 pm
Forum: Hardware
Topic: ESP32 Wroom custom PCB not working
Replies: 0
Views: 2348

ESP32 Wroom custom PCB not working

Hello all,

I have made a design with ESP32 Wroom and CP2102-GM UART bridge. My board is getting recognized by the PC but the code is not being uploaded to the board. I am getting timed out error on the ESP32 as shown below.
https://photos.app.goo.gl/HSmkPfCd1qq74Fi68

The CP2102 circuitry and the ...
by MCUism
Wed Jun 17, 2020 1:05 pm
Forum: Hardware
Topic: Custom PCB Not working
Replies: 7
Views: 9859

Re: Custom PCB Not working


Take a good look at how your CP2104 is connected... if any, REGIN should be connected to Vbus, not 3.3V. You're also missing decoupling capacitors on Vbus.


https://www.silabs.com/content/usergenerated/asi/cloud/attachments/siliconlabs/en/community/groups/interface/forum/jcr%3Acontent/content ...
by MCUism
Tue Jun 16, 2020 7:02 pm
Forum: Hardware
Topic: Custom PCB Not working
Replies: 7
Views: 9859

Re: Custom PCB Not working

Without posting a schematic, its all guesswork.
Hi mikemoy. I have posted the schematic in the first post in the same thread. Please find the attachments with the name
"Rev_1.pdf". I have attached it here also.
by MCUism
Tue Jun 16, 2020 9:03 am
Forum: Hardware
Topic: Custom PCB Not working
Replies: 7
Views: 9859

Re: Custom PCB Not working

Are D+/D- on the USB receptacle correct?
Yes boarchuz, they are correct. I even tested by interchanging the D+ and D- in the USB cable externally too. Even then it did not recognize the chip. I'm not knowing why it isn't working.
by MCUism
Mon Jun 15, 2020 7:03 pm
Forum: Hardware
Topic: Custom PCB Not working
Replies: 7
Views: 9859

Custom PCB Not working

Rev_1.pdf Hi guys,

I have made a custom PCB using ESP32-Wroom 32 SoC. I have used a CP2104 USB-UART bridge to program the SoC. But when I connect my board into the computer it is not getting recognized and the says an error like "Device Descriptor request failed" . I had searched a lot regarding ...

Go to advanced search