Kids OK with adultArduino NanoLevel 1/3
Auto Curtain Opener
When morning light stays bright, a stepper motor pulls the curtain cord open.

Kids OK, with an adult
DIY project. Children must build this only with an adult (16+ years) beside them at all times. Not suitable for children under 8 years.
Strictly follow the description given with this video.
Video
The video link will be added here soon.
How it works
- The LDR module reads the daylight level.
- If it stays bright for a while, the Nano runs the stepper through the ULN2003 driver.
- A 3D-printed pulley on the stepper pulls the curtain cord.
- The button opens or closes the curtain by hand.
Parts you need
Kit for this projectPrice on request
Get the kitWiring

PowerGroundSignal
| # | From | Connect to |
|---|---|---|
| 1 Signal | LDR AO | Nano A0 |
| 2 Power | LDR VCC | Nano 5V |
| 3 Ground | LDR GND | Nano GND |
| 4 Signal | Button | Nano A1 (INPUT_PULLUP) |
| 5 Ground | Button other leg | Nano GND |
| 6 Signal | ULN2003 IN1–IN4 | Nano A2, A3, A4, A5 |
| 7 Ground | Driver − | Nano GND |
| 8 Power | Driver + | Nano 5V |
| 9 Signal | 28BYJ-48 cable | Driver socket |
3D print files
- stepper_pulley.stlPLA / PETG · 0.2 mmLink at launch
- motor_mount.stlPLA / PETG · 0.2 mmLink at launch
Code
The tested Arduino / ESP32 code for this project will be posted here, ready to copy.