Skip to the content
2 layers67 × 54 mmMp3alarm, the printed circuit board in 3D

This is an ESP32 based alarm clock that plays mp3 files from SD, webstreams or even FM radio. You can configure multiple alarms and add new songs to your sd card with a simple webinterface.

Size
67 × 54 mm
Copper layers
2
Thickness
1.6 mm
Parts
69
Nets
69
Pads
264
Tracks, vias
450, 153
Pours
4
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
2 Sep 2020
Updated
11 Dec 2025

Overview

Mp3alarm is an open-source printed circuit board by fehlfarbe, from the fehlfarbe/ESP32-Alarm-clock repository on GitHub, published under the MIT licence. It is a 2-layer board of 67 × 54 mm with 69 parts on 69 nets, routed with 450 tracks and 153 vias.

It is built around the ESP32-S3-WROOM-1-N8, RDA5807FP and TM1637, with the AMS1117-3.3, UDA1334ATS/N2 and WS2812B among its other parts. Its parts include 22 resistors, 19 capacitors, 11 connectors, 4 ICs and 4 diodes. It belongs with the ESP32 boards of this library.

Main components

6

README

README.md

ESP32 Alarm clock

This is an ESP32 based alarm clock that plays mp3 files from SD, webstreams or even FM radio. You can configure multiple alarms and add new songs to your sd card with a simple webinterface.

Screenshot

Photos of the current PCB version (without assembled radio antenna connector J10):

photo photo

Features

  • designed for ESP32 S3 microcontroller
  • plays audio from different sources:
    • MP3/AAC from SD
    • webstreams via WiFi
    • FM radio via RDA5807FP module
  • output via I2S to a stereo decoder like the UDA1334A.
  • see current time on TM1637 4-Digit Digital LED display
  • see current WiFi state with WS2812 RGB LED
  • simple config and file upload via webinterface

Hardware

The KiCAD project and gerber files are available at hardware/pcb/

Schematic

schematic

2D Plot

Front

PCB front

Back

PCB back

3D Render

Front

PCB front

Back

PCB back

BOM

hardware/pcb/export/BOM.xml

LED States

Status LED

  • red 1Hz blinking: An Error has occurred while mounting LITTLEFS
  • red 0.5Hz blinking: Cannot mount SD card
  • green Everything is fine :)

WiFi LED

  • blue AccessPoint mode: Connect to the ESP's access point and configure your WiFi
  • red...green WiFi signal strength from bad to good

Installation

Just clone the project and open it in platformIO. PIO will download all necessary libs. Connect the ESP32 on your USB port an click "Upload" in PIO. After this open a terminal in PIO and run pio run -t uploadfs to upload the webinterface to ESP32's flash. The ESP32 will reboot and opens an accesspoint where you can connect to your WiFi. The clock is synced over the internet via NTP.

ToDo

  • Add alarm timeout (for webstreams, radio etc.)
  • better web UI based on react
  • pictures of full assembled board
  • complete BOM list

Parts

69
QtyValueFootprintReferences
1410kResistor_SMD:R_1206_3216MetricR2, R3, R8, R11, R12, R13, R14, R15, R19, R20, R21, R22, R23, R24
610uFCapacitor_SMD:C_1206_3216MetricC3, C4, C5, C12, C14, C20
40.1uFCapacitor_SMD:C_1206_3216MetricC10, C11, C13, C19
4MountingHole_PadMountingHole:MountingHole_3.2mm_M3_PadH1, H2, H3, H4
20.01uFCapacitor_SMD:C_1206_3216MetricC17, C18
2100Resistor_SMD:R_1206_3216MetricR17, R18
21nFCapacitor_SMD:C_1206_3216MetricC1, C21
2220kResistor_SMD:R_1206_3216MetricR10, R16
247uFCapacitor_SMD:C_Elec_6.3x5.4C15, C16
25k1Resistor_SMD:R_1206_3216MetricR6, R7
2FerriteBead_SmallResistor_SMD:R_0805_2012MetricFB1, FB2
2WS2812BLED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmD1, D2
11uFCapacitor_SMD:C_1206_3216MetricC7
122nFCapacitor_SMD:C_1206_3216MetricC2
122uFCapacitor_SMD:C_1206_3216MetricC6
1500Resistor_SMD:R_1206_3216MetricR1
15VConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ8
1680Resistor_SMD:R_1206_3216MetricR9
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U4
1ANTConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ9
1AUDIOConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ1
1AudioJack3footprints:PJ-313J4
1Conn_CoaxialConnector:F_Sat_ConnectorJ10
1CrystalCrystal:Crystal_SMD_2012-2Pin_2.0x1.2mmY1
1D_SchottkyDiode_SMD:D_0805_2012MetricD3
1ESP32-S3-WROOM-1PCM_Espressif:ESP32-S3-WROOM-1U3
1I2CConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ5
1PWRLED_SMD:LED_0805_2012MetricD4
1RDA5807FPPackage_SO:SOP-16_3.9x9.9mm_P1.27mmIC1
1SW0Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1SW1Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ3
1SW_BOOTButton_Switch_SMD:SW_SPST_CK_RS282G05A3SW2
1SW_RSTButton_Switch_SMD:SW_SPST_CK_RS282G05A3SW1
1TM1637Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ6
1UDA1334ATSPackage_SO:SSOP-16_4.4x5.2mm_P0.65mmU2
1USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_JAE_DX07S016JA1R1500J11
1microSDpcb:105162-0001J7

Similar boards

  • 4 layers24 × 45 mmRadianite uFM, the printed circuit board in 3D

    Radianite uFM

    RadianiteComputers/RadianiteBoards

    A collection of Radianite boards we have designed so far. All are licensed under CC BY-SA 4.0

    68 parts
  • 4 layers83.1 × 50.9 mmPCB Kurs, the printed circuit board in 3D

    PCB Kurs

    fstrs/PCB-Kurs

    Repository for FH Dortmund - Choiceduty-Module 4th Semster

    53 parts
  • 2 layers250 × 96 mmDRO Final, the printed circuit board in 3D

    DRO Final

    kc099/kicad

    134 parts
  • 2 layers76.2 × 76.2 mmSdram hat, the printed circuit board in 3D

    Sdram hat

    brandonpelfrey/ice40-nes

    NES implementation in a Lattice Ice40 FPGA

    35 parts9MIT
  • 2 layers155 × 60 mmEsplay, the printed circuit board in 3D

    Esplay

    andykarpov/karabas-esplay

    A custom PCB with 3.2" TFT screen for the ESPlay project

    123 parts1
  • 2 layers42 × 49.5 mmI2S AUDIO DAC, the printed circuit board in 3D

    I2S AUDIO DAC

    rick0x00/I2S_AUDIO_DAC

    Module for play sound using I2S

    32 parts1Apache-2.0
  • 4 layers111.8 × 71.1 mmPCB Kurs Yildirim, the printed circuit board in 3D

    PCB Kurs Yildirim

    ruken-yildirim/PCB-Kurs-Yildirim

    51 partsCC0-1.0
  • 4 layers98.6 × 92.1 mmVideo+Sound, the printed circuit board in 3D

    Video+Sound

    aslak3/MAXI030

    MC68030 based expandable computer design

    102 parts38GPL-2.0

Questions

How big is the Mp3alarm PCB?

It measures 67 × 54 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Mp3alarm use?

69 parts, built around the ESP32-S3-WROOM-1-N8, RDA5807FP, TM1637 and AMS1117-3.3. 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 Mp3alarm KiCad files?

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

Can I use the Mp3alarm 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).