Skip to the content
PCBKitNew board
2 layers86 × 73.5 mmTest pcb, the printed circuit board in 3D

Alarm clock with mp3 support

Size
86 × 73.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
7
Nets
45
Pads
68
Tracks, vias
88, 0
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
24 Mar 2024
Updated
26 Nov 2024

Overview

Test pcb is an open-source printed circuit board by jons63, from the jons63/alarm_clock repository on GitHub. It is a 2-layer board of 86 × 73.5 mm with 7 parts on 45 nets, routed with 88 tracks and 0 vias.

It is built around the 74HC595. Its parts include 4 resistors and 1 IC. It belongs with the lEDs and displays boards of this library.

Main components

1

README

README.md

Alarm clock with mp3 song support

This project spawned when my sister was looking to switch out her phone for an alarm clock. She said that she easily wakes up in the morning so the normal alarm sounds are to harsh and she would instead like to have nature sound like the ones usually available in wake up light alarm clocks. I did a modest effort in trying to find what she wanted but when I finally found an alarm clock that had nature sounds and no light the sound was horrible. And now im here after thinking "how hard can it be to make an alarm clock that sounds decent?".

The display

Any seven segment display with four digits should work for an alarm clock. I went with the largest available one.

Below is the wiring for the display + one button for incrementing the value shown.

display

Display with shift register

A seven segment display require a lot of pins to operate, twelve for a display with four digits. To get around this I use a shift register to only use seven pins on the arduino instead of twelve. display with shift register But even when using a shift register the amount of digital pins on one Arduino Uno is not enough when adding the MP3 player and buttons. Also, when adding logic to handle button presses and the alarm functionality the update frequence of the display gets low enough for it to be visibly flickering. To combat this I will add another Arduino Uno that will only refresh the display and the second arduino will handle the logic. They will use i2c communication to change what time should be displayed and other functoin that might be needed.

Dual Arduino Uno with i2c communication.

i2c is an easy communication interface with good Arduino support from the Wire library. I copied a simple example of i2c communication between two Arduinos to test it out. Minimal Arduino i2c example

Parts

7
QtyValueFootprintReferences
4RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R2, R3, R4
174HC595Package_DIP:DIP-16_W7.62mm_SocketU1
1ATA8401ARBJLocal_Library:ATA8401ARBJhttps://www.electrokit.com/upload/product/41013/41013527/1LEDREDCC.pdf1
1~Local_Library:Arduino UNO R3 OutlineUNO1

Questions

How big is the Test pcb PCB?

It measures 86 × 73.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Test pcb use?

7 parts, built around the 74HC595. 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 Test pcb KiCad files?

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

Can I use the Test pcb design in my own project?

Its repository states no licence, so its author keeps all rights: ask jons63 before reusing the design.

Similar boards

  • 2 layers45.7 × 31.8 mmLEDx16 board, the printed circuit board in 3D

    LEDx16 board

    tardate/LittleArduinoProjects

    a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

    36 parts803MIT
  • 2 layers228.6 × 100 mmMongus48, the printed circuit board in 3D

    Mongus48

    ChrisChrisLoLo/beyblock20

    The magnetic, modular, 20-key macropad that can join together to form an ortholinear board

    124 parts335GPL-3.0
  • 2 layers245.1 × 160 mm8-Bit CPU 32k, the printed circuit board in 3D

    8-Bit CPU 32k

    slu4coder/Minimal-64x4-Home-Computer

    My DIY TTL home computer with VGA and PS/2 and 4x the processing power of a Commodore C64 or Apple II.

    139 parts326
  • 2 layers100 × 95.1 mmProtoboard-6x4-breakout, the printed circuit board in 3D

    Protoboard-6x4-breakout

    electroniceel/protoboard

    Advanced protoboard layout with 1.27mm pitch for smd parts

    4,745 parts311CC-BY-4.0
  • 4 layers140 × 100 mmDc usv, the printed circuit board in 3D

    Dc usv

    TobleMiner/DC-UPS

    A small DC UPS, designed to keep small appliances like consumer network equipment running during power outages

    351 parts223CERN-OHL-P-2.0
  • 2 layers100.5 × 218.3 mmTraktorino, the printed circuit board in 3D

    Traktorino

    silveirago/traktorino

    The open-source DIY MIDI Controller for DJs.

    96 parts220
  • 2 layers287.8 × 126.7 mmNoName, the printed circuit board in 3D

    NoName

    AlaaSaadAbdo/battoota

    Keyboards

    267 parts188
  • 2 layers100 × 100 mmTommyPROM32-595, the printed circuit board in 3D

    TommyPROM32-595

    TomNisbet/TommyPROM

    Simple Arduino-based EEPROM programmer

    36 parts187