Skip to the content
2 layers102.6 × 42 mmAlarm Clock, the printed circuit board in 3D

Hello there. This project is an alarm clock that opens and closes my curtains for me because im too lazy to open them myself.

Size
102.6 × 42 mm
Copper layers
2
Thickness
1.6 mm
Parts
24
Nets
46
Pads
148
Tracks, vias
136, 1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
24 May 2025
Updated
19 Jun 2025

Overview

Alarm Clock is an open-source printed circuit board by Taran-the-Idiot, from the Taran-the-Idiot/Alarm-Clock repository on GitHub, published under the MIT licence. It is a 2-layer board of 102.6 × 42 mm with 24 parts on 46 nets, routed with 136 tracks and 1 via.

Its parts include 11 connectors and 4 switches. It belongs with the lEDs and displays boards of this library.

README

README.md

Curtain Manager Alarm Clock

hi

Hello there. This project is an alarm clock that opens and closes my curtains for me because im too lazy to open them myself.

Why I made this

This project came to mind after the 3rd day in a row I was unbothered to open my curtains in the morning and came home to a dark room.(darkness is scary)
What? you expected some deep reason with an emotional backstory?
Well too bad, everything I make is on a whim, boredom, or for the funnies.

What this does

This is an alarm clock(shocker I know) that opens my curtains when it goes off.
It has the following features:\

  • Alarm Clock(You could have never guessed)
  • Outside weather
  • Inside weather
  • Customisable Ring tone
  • Opens Curtains for you

It is made up of 3 main sections:

  • The Motor
  • The Alarm body
  • The Off Button

The Motor

The motor I used for this is a NEMA17 Stepper and I designed a frame and gear for the motor to pulled my beaded curtain string.
I chose this motor for 3 main reasons:

  • The curtain is quite heavy and I dont believe a 5V motor could pull that much weight
  • This stepper is quite cheap and I have used it before with it being simple to use.
  • Steppers are cooler than 5V motors

I use a PCB to connect it to an A4988 stepper motor driver. This driver simplifies the firmware and wiring needed to control the motor.
I also put a Buck Coverter inside because the stepper requires 12V whereas the alarm body needs 5, so the step down from a 12V power supply is what I felt would be easiest.
If you want to use any other methods, it should be pretty easy to do.

The Alarm Body

The alarm body features a 3d printed body, OLED SSD1306 128X64 Screen to view the current time, set alarm time, and view the weather. It also has 4 buttons that you czn use to change the time and do other cool programable things.

Inside there are

  • 4 Buttons
  • An SSD1306 OLED screen
  • An ESP32
  • An RTC
  • 2 Buzzers
  • A DHT22 sensor

The Alarm Body and the Motor are connected through a USBA-A cable as that allows for power transmission and for the 2 datalines for the stepper to transmit between the 2 modules in one clean cable.

pcb

The Off Button

The off Button connects to the Alarm Body with wires and can be placed basically anywhere.
I personally like to use a big red button but if you wish to use something else like a motion sensor, I have left the pins available to use so that it is possible to use either option with no change to the firmware.

Why no snooze button?

Snooze buttons are for losers. If your alarm goes off, get your ass out of bed.

How to make it

Wow you also wanna make this. I am honoured to hear that.

First thing you wanna do is download the cad folder and get all those files printing.

boo

This is the anoying part

annoying

I made this part to fit my own curtains. You will have to edit it to fit your own curtains. Everything else should be kept the same.

Order all the parts and the pcb. Once they arrive, you can get to soldering it all together. I will include photos of the finished version once I build it myself so you have a reference.

You need to put 3 heatsets per pcb and then 4 for the front panel of the Alarm Body.

The button connects via wires going through the back hole. the placement of the USBA hole is hopefully correct, If not, I can just change it.

After that you can flash the esp with firmware listed in the firmware folder(WIP FOR NOW) and screw everything in.

Design files

Here are photos of the design files and models

p
p
p
p
p
p

Bill Of Materials

List Of all materials needed to make this.

  • Nema17 Stepper Motor - x1 - $13 - source
  • Buzzer - x2
  • SSD1306 128X64 OLED display - X1 - $3.15 - Preowned
  • Buck Converter - X1 - $3.09 - source
  • RTC - X1 - $2.27 - source
  • ESP32-WROOM Dev Board - X1 - $4.24 - source
  • PCB - X2 - $12.06 - JLCPCB
  • M3X05X06 Heatsets - X10 - $2.49 - source
  • M3X6mm Screws - X14 - $1 - source
  • 12V Battery - X1 - $16.06 - source
  • DHT22 Sensor - X1 - $1.73 - source
  • A4988 Motor Driver - X1 - $2.12 - source
  • DS1095 USBA female port - X2 - $1.38 - source
  • USBA-A Cable - X1 - $1.29 - source
  • 6mm Buttons - X4
  • Wire - 1m

Total: $56.01

Parts

24
QtyValueFootprintReferences
4SW_PushTaranium-libs:Button-6mm-2pin-thtSW2, SW3, SW4, SW5
2BuzzerBuzzer_Beeper:Indicator_PUI_AI-1440-TWT-24V-2-RBZ1, BZ2
2Conn_01x02_PinConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ4, J6
2Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ9, J10
2Conn_01x15_SocketConnector_PinHeader_2.54mm:PinHeader_1x15_P2.54mm_VerticalJ1, J5
2USB_AConnector_USB:USB_A_Connfly_DS1095J7, J8
1Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2
1Conn_01x04_SocketConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ3
1Conn_01x06_PinConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ11
1Pololu_Breakout_A4988Module:Pololu_Breakout-16_15.2x20.3mmA1

The 18 most common of 24 parts.

Similar boards

  • 2 layers56 × 65 mmSeaTalk1, the printed circuit board in 3D

    SeaTalk1

    dotnet/iot

    This repo includes .NET Core implementations for various IoT boards, chips, displays and PCBs.

    24 parts2.4kMIT
  • 2 layers26.2 × 45.5 mmPL18 multiprotocol, the printed circuit board in 3D

    PL18 multiprotocol

    pascallanger/DIY-Multiprotocol-TX-Module

    Multiprotocol TX Module (or MULTI-Module) is a 2.4GHz transmitter module which controls many different receivers and models.

    24 parts1.9kGPL-3.0
  • 2 layers58 × 35.5 mmHat, the printed circuit board in 3D

    Hat

    menloresearch/asimov-1

    v1 of Asimov, an open-source humanoid robot

    24 parts1.4kCERN-OHL-S-2.0
  • 2 layers21.6 × 19.5 mmMicron Logo LED, the printed circuit board in 3D

    Micron Logo LED

    DraftShift/StealthChanger

    Tool changing system for Vorons and other front mount printer motion systems, not just stealthburner.

    24 parts1.2kGPL-3.0
  • 2 layers158 × 11 mmRainbow Matchstick, the printed circuit board in 3D

    Rainbow Matchstick

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    24 parts1.1kGPL-3.0
  • 2 layers85.6 × 54 mmTRACED wio1262-carrier, the printed circuit board in 3D

    TRACED wio1262-carrier

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    24 parts915
  • 2 layers36 × 20 mmCombined, the printed circuit board in 3D

    Combined

    adamb314/ServoProject

    Getting the most out of your hobby servo

    24 parts545

Questions

How big is the Alarm Clock PCB?

It measures 102.6 × 42 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Alarm Clock use?

24 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Alarm Clock KiCad files?

From the Taran-the-Idiot/Alarm-Clock repository on GitHub, at the commit this page was made from: the board is pcb/pcb.kicad_pcb and its schematic pcb/pcb.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Alarm Clock design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).