Skip to content

small esp32-c3 based pwm fan controller which powers from usb

Notifications You must be signed in to change notification settings

ansemjo/luftctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

luftctl

Small ESP32-C3 controller board to power two 12V PWM fans from a single USB plug.

hardware

Schematic and PCB design can be found in hardware/. It is a KiCAD 6 project.

The schematic is available as a PDF.

firmware

The first simple test just loops through {5V/off, 5V/on, 12V/off, 12V/on} with every button press.

Download MicroPython from micropython.org/download/esp32c3-usb/ and flash it with:

esptool.py --chip esp32c3 --port /dev/ttyACM0 erase_flash
esptool.py --chip esp32c3 --port /dev/ttyACM0 --baud 460800 write_flash -z 0x0 esp32c3-*.bin

Then install a virtualenv with adafruit-ampy and upload the main.py:

ampy -p /dev/ttyACM0 put main.py
ampy -p /dev/ttyACM0 reset --hard

The red LED will blink upon every state change.

images

About

small esp32-c3 based pwm fan controller which powers from usb

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages