Author Topic: ESP32 PWM options for a new user  (Read 749 times)

0 Members and 1 Guest are viewing this topic.

Offline djsbTopic starter

  • Frequent Contributor
  • **
  • Posts: 981
  • Country: gb
ESP32 PWM options for a new user
« on: November 25, 2024, 10:30:56 am »
I've started by using standard analogWrite on an ESP32 DevKitC V4, and I'd like to know what my options are when using PWM for LED and motor control. I've tried one example that uses LEDC to fade up/down a single LED, and I have another example that drives an RGB LED. I've read a little about the ESP32 having multiple channels, but I'm a bit confused as to what this means in detail. Also, what options open up for the use of simple DC (3v to 6v) motors and simple 4 wire stepper motors? Is there a separate motor control section, and is it worth using at all for simple motor applications? Is the LED section sufficient for this? Thanks.
David
Hertfordshire, UK
University Electronics Technician, London, PIC16/18, CCS PCM C, Arduino UNO, NANO,ESP32, KiCad V8+, Altium Designer 21.4.1, Alibre Design Expert 28 & FreeCAD beginner. LPKF S103,S62 PCB router Operator, Electronics instructor. Credited KiCad French to English translator
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf