ES-56IntermediatePremium

ESP32 Smart Curtain (NEMA 17 + A4988 + LDR + OLED)

The curtain opens by itself when the sun comes up and closes after dark! An LDR measures the light, an A4988 driver turns a NEMA 17 stepper with a soft start and stop, and the 0.96 inch OLED shows a window drawing, how open the curtain is and a sun or moon. Two buttons open and close it by hand, and holding one stops it halfway. The position is saved to flash, so after a power cut the curtain knows where it is.

0.0(0)
ESP32 Smart Curtain (NEMA 17 + A4988 + LDR + OLED)
When the sun comes up in the morning the curtain opens by itself, and when it gets dark in the evening it closes; a passing car's headlights or a cloud won't make it move for nothing. The little screen shows a drawing of the window, how far the curtain is open and a sun or moon. With two buttons you can open or close it by hand whenever you like, or hold one to stop it halfway.

Source Code

Premium Content

The source code, block version and FAQ of this project are open to Premium members.

  • All Project Code
  • Block version
  • Frequently Asked Questions