Tutorial: Learn how to use your Arduino, Teensys or ESP32's to write analog signals for varying the brightness of an LED or controlling the speed of a fan using PWM or pulsed width modulation. In this tutorial you will learn the commands, and see how to implement analogWrite.
Other useful tutorials
Temperature sensor shootout: • Temperature sensor shootout
Using 7-segment LED's: • Using 7-segment display LED's
Writing and reading to SD cards: • Tutorial: Writing and reading to SD cards
Saving settings even during MCU power down: • Tutorial: How to save settings to MCU's EE...
Getting those darn TFT LCD displays to work: • Tutorial: Getting TFT LCD displays working
Turning stuff on or off: • Tutorial: Use your MCU to turn stuff on or...
Using digital sensors: • Tutorial: Use digitalRead to monitor digit...
Using analog sensors: • Tutorial: Use analogRead to monitor analog...
Talking to your Arduino: • Tutorial: How to talk to your Arduino or T...
Some fun projects to build
Build a 3D printer filament meter: • Build a 3D printer filament meter
Homemade motorized table saw fence • DIY motorized table saw fence
High"er" res homemade Thermal Camera for $100: • DIY high-er res Thermal Camera for $100
DIY Garage Parking Assistant: • DIY Garage Parking Assistant