Skip to the content
2 layers165 × 55 mmSleepBud, the printed circuit board in 3D

An ESP32-based Mood Light/Alarm Clock with Wi-Fi Time Updating (Arduino)

Size
165 × 55 mm
Copper layers
2
Thickness
1.6 mm
Parts
111
Nets
101
Pads
437
Tracks, vias
905, 149
Pours
1
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
11 Oct 2024
Updated
14 Dec 2024

Overview

SleepBud is an open-source printed circuit board by tnl3pdx, from the tnl3pdx/SleepBud repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 165 × 55 mm with 111 parts on 101 nets, routed with 905 tracks and 149 vias.

It is built around the ESP32-S3-WROOM-1-N8, AMS1117-3.3 and DS3231SN#T&R, with the TXS0108EPW, WS2812B and AO3400A among its other parts. Its parts include 32 diodes, 23 resistors, 14 capacitors, 6 connectors and 5 ICs. It belongs with the lEDs and displays boards and the ESP32 boards of this library.

Main components

8

README

README.md

ECE 411 Team 3 - SleepBud

Members

  • Ameer Melli
  • Cristian Gomez
  • Paul Nguyen
  • Truong Le

Product Overview

Sleep Bud transcends the functionality of a simple alarm clock, serving as a comprehensive sleep companion designed to enhance your sleep quality. It features mood-inducing lights and gentle non-intrusive waking sounds. Essentially, this innovative device is a hybrid between a traditional alarm clock and a multi-color lamp. Why?? Because according to the CDC 70 million Americans have chronic sleep problems and the current market solutions are too expensive.

User Manual for SleepBud

Mode 0: (normal mode indicated by teal colored colon)

  • This will be where the clock will display the appropriate time.

  • (mode button) Button 0 pressed in mode 0 will change the mode.

  • (plus button) Button 1 pressed in mode 0 will increase the brightness of the lamp.

  • (minus button) Button 2 pressed in mode 0 will decrease the brightness of the lamp.

  • (select button) Button 3 pressed in mode 0 will cycle through lamp colors.

  • In mode 0, when the alarm is set the bottom colon will be purple indicating the alarm is set.

  • In mode 0, when the alarm is set, button 3 (the select button) acts as a snooze button.

  • In mode 0, when in AM time (00:00 - 12:00) the digits will be a warm color (orange).

  • In mode 0, when in PM time (12:00 - 24:00) the digits will be a cool color (white).

  • In mode 0, when waving your hand over the alarm, the PIR sensor will automatically turn off the lamp if it is on and if it is off, it will turn it on.

Mode 1: (configuration time mode indicated by red colored colon)

  • This will be where the user can manually set the clock time.
  • (mode button) Button 0 pressed in mode 1 will cycle to the next mode and set the new time.
  • (plus button) Button 1 pressed in mode 1 will increase the value of the selected section for the manual time.
  • (minus button) Button 2 pressed in mode 1 will decrease the value of the selected section for the manual time.
  • (select button) Button 3 pressed in mode 1 will cycle through the digits.

Mode 2: (enable alarm mode indicated by green colored colon)

  • This will be for toggling the alarm on and off.
  • (mode button) Button 0 pressed in mode 2 will cycle to the next mode and set the alarm.
  • (plus button) Button 1 pressed in mode 2 will toggle on (1).
  • (minus button) Button 2 pressed in mode 2 will toggle off (0).

Mode 3: (configuration alarm mode indicated by purple colored colon)

  • This is for setting the alarm time.
  • (mode button) Button 0 pressed in mode 3 will cycle to the next mode and set the new alarm time.
  • (plus button) Button 1 pressed in mode 3 will increase the value of the selected section for the alarm time.
  • (minus button) Button 2 pressed in mode 3 will decrease the value of the selected section for the alarm time.
  • (select button) Button 3 pressed in mode 3 will cycle through the digits colors.

Mode 4: (select UTC mode indicated by yellow colored colon)

  • This sets the UTC offset.

  • (mode button) Button 0 pressed in mode 4 will cycle to the next mode and set the new UTC offset.

  • (plus button) Button 1 pressed in mode 4 will increase the value of the selected section for the UTC offset.

  • (minus button) Button 2 pressed in mode 4 will decrease the value of the selected section for the UTC offset.

  • In mode 4, when indicating what UTC offset you want when adding a positive offset the digits will be green.

  • In mode 4, when indicating what UTC offset you want when adding a negative offset the digits will be red.

Mode 5: (enable NTP update mode indicated by pink colored colon)

  • This enables time fetch from wifi and applies UTC offset.
  • (mode button) Button 0 pressed in mode 5 will cycle to the next mode and set enable NTP.
  • (plus button) Button 1 pressed in mode 5 will toggle on (1).
  • (minus button) Button 2 pressed in mode 5 will toggle off (0).

Parts

111
QtyValueFootprintReferences
30WS2812BCustom Pads:WB2812BD1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +14
16TestPoint_FlagCustom Pads:Testpoint PadTP1, TP2, TP3, TP4, TP5, TP6, TP7, TP8, TP9, TP10, TP11, TP12, TP13, TP14, TP15, TP22
710kResistor_SMD:R_1206_3216MetricR1, R2, R6, R7, R9, R10, R23
7470Resistor_SMD:R_1206_3216MetricR4, R15, R16, R17, R18, R19, R20
60.1uFCapacitor_SMD:C_0603_1608MetricC6, C8, C11, C12, C13, C14
6TestPoint_SmallCustom Pads:Testpoint PadTP16, TP17, TP18, TP19, TP20, TP21
30Resistor_SMD:R_1206_3216MetricR3, R5, R8
322uFCapacitor_SMD:C_0805_2012MetricC2, C4, C5
210uFCapacitor_SMD:C_0805_2012MetricC1, C3
222pFCapacitor_SMD:C_0603_1608MetricC9, C10
23.3kResistor_SMD:R_0805_2012MetricR11, R12
2WL-SMCW_0603150060RS75000:WL-SMCW_0603D79, D80
1100Resistor_SMD:R_0805_2012MetricR21
110kOhmResistor_SMD:R_1206_3216MetricR14
112V Barrel Jack1984769:CONN_1984769_PXCJ1
1180Resistor_SMD:R_0805_2012MetricR22
11uFCapacitor_SMD:C_0603_1608MetricC7
14.7kResistor_SMD:R_0603_1608MetricR13
1AM312 Connector1984772:CONN_1984772_PXCJ4
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1AO3400APackage_TO_SOT_SMD:SOT-23Q2
1AZ1084CDCustom Pads:AZ1084CDU2
1Battery_Cell_3VBH74G5P:BH-74G-5-P_ADMBT1
1Boot ButtonButton_Switch_SMD:SW_Tactile_SPST_NO_Straight_CK_PTS636Sx25SMTRLFSSW7
1Button Connector1984798:CONN_1984798_PXCJ3
1Connector to Buzzer1984769:CONN_1984769_PXCJ6
1DMG3415U-7DMG3415U_7:SOT95P240X105-3NQ1
1DS3231SN_DS3231SN_:SOIC127P1032X265-16NU4
1EN ButtonButton_Switch_SMD:SW_Tactile_SPST_NO_Straight_CK_PTS636Sx25SMTRLFSSW1
1ESP32-S3-WROOM-1RF_Module:ESP32-S3-WROOM-1U3
1JTAGConnector_PinHeader_1.00mm:PinHeader_2x02_P1.00mm_Vertical_SMDJP3
1LED Lamp Connector1984772:CONN_1984772_PXCJ5
1MBR120LSFT3Gfootprints:SDO_SOD-123FL498_OSICR1
1Reset ButtonButton_Switch_SMD:SW_Tactile_SPST_NO_Straight_CK_PTS636Sx25SMTRLFSSW2
1TXS0108EPWPackage_SO:TSSOP-20_4.4x6.5mm_P0.65mmU5
1UARTConnector_PinHeader_1.00mm:PinHeader_2x02_P1.00mm_Vertical_SMDJP1
1USB_B_MicroConnector_USB:USB_Micro-B_Molex-105017-0001J2

Similar boards

  • 4 layers70.7 × 55.5 mmOversoon, the printed circuit board in 3D

    Oversoon

    malikhubb/Oversoon

    Custom PCB design for geolocation sensing, wifi communications, and LED display

    64 parts
  • 2 layers141.6 × 70 mmHandheld GS, the printed circuit board in 3D

    Handheld GS

    Queens-Rocket-Engineering-Team/av-hardware

    ECAD for SRAD Avionics hardware

    130 parts1
  • 2 layers155 × 75 mmHacklock-2137, the printed circuit board in 3D

    Hacklock-2137

    p-durlej/hswaw-hscloud

    Controller board for next gen hacklock door / lock / access control system.

    119 parts
  • 4 layers150 × 80 mmScheduleKeeper, the printed circuit board in 3D

    ScheduleKeeper

    smegg99/ScheduleKeeper

    234 partsMIT
  • 2 layers96.2 × 129.6 mmPendant, the printed circuit board in 3D

    Pendant

    cumhuronat/mr-1-openpendant

    An opensource pendant project MR-1 CNC

    62 parts1
  • 2 layers99.7 × 100 mmBadge Tropicon 2026, the printed circuit board in 3D

    Badge Tropicon 2026

    ElectronicCats/Badge_Tropicon-2026

    Badge Oficial Tropicon 2026

    64 parts1
  • 2 layers82 × 50 mmESP S3 MONITOR V 1 2, the printed circuit board in 3D

    ESP S3 MONITOR V 1 2

    electromotif208/pcb-portfolio

    👨‍💻 Electronics Engineer 📺 YouTube: ELECTROMOTIF 🔧 Tools: KiCad, EasyEDA 📡 Domains: Power Supply, ESP32, IoT, Embedded Hardware

    90 parts

Questions

How big is the SleepBud PCB?

It measures 165 × 55 mm and has 2 copper layers, 1.6 mm thick.

What parts does the SleepBud use?

111 parts, built around the ESP32-S3-WROOM-1-N8, AMS1117-3.3, DS3231SN#T&R and TXS0108EPW. 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 SleepBud KiCad files?

From the tnl3pdx/SleepBud repository on GitHub, at the commit this page was made from: the board is KiCad Schematics/SleepBud/SleepBud.kicad_pcb and its schematic KiCad Schematics/SleepBud/SleepBud.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the SleepBud design in my own project?

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