Skip to the content
2 layers69.1 × 73.9 mmAlarm Clock V1, the printed circuit board in 3D

Design class project where I worked in a group of 3 to implement a music playing alarm clock using a microcontroller board.

Size
69.1 × 73.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
88
Nets
148
Pads
295
Tracks, vias
617, 6
Routed
Yes
KiCad
KiCad 4
Created
1 May 2017
Updated
7 Jun 2017

Overview

Alarm Clock V1 is an open-source printed circuit board by alexandercote, from the alexandercote/Alarm_Clock_Audio_Amp repository on GitHub. It is a 2-layer board of 69.1 × 73.9 mm with 88 parts on 148 nets, routed with 617 tracks and 6 vias.

It is built around the LM358N, LM386 and IRLIB9343PBF. Its parts include 33 resistors, 15 transistors, 12 capacitors, 6 connectors and 5 switches. It belongs with the lEDs and displays boards of this library.

Main components

3

README

PCB/README.md

The Circuit

Design Limitation:
  • Have the following capacitors: 1nF, 10uF, 470uF and 100 nF
  • Resistors: 5% Resistors.
  • Input Voltage for audio input: [0-3V], DC voltage = 1.5V, with AC voltage = ± 0.3V.
  • The audio input has source impedance of 20kΩ and has a maximum current source of 25mA.
  • From the data sheet, the impedance of the speaker is 8Ω.

Schematic view of the top hierarchy view, including push button debouncing, with an audio amplifier and LED multiplexer in lower hierarchy schematics. image

Audio Amplifier:
  • Cascaded Low-Pass and High-Pass Filter to create a BandPass Filter with a pass band of 19.85Hz to 19.4kHz
  • Using the LM386 without its gain pins connected will result in a voltage gain of 20. Since (20 * 0.5V) = 10V, which is higher than our source voltage, we need to voltage divide the input of LM386. (0.5V is the maximum input AC swing). Here, we chose a maximum voltage of 4.5V to make sure the gain stays linear. From that, we found our values for resistors in the voltage divider. A 100kΩ potientiometer was used to dynamically set the gain (and therefore the volume)The potentiometer will always show 100 kΩ to the High-Pass Filter, with the LM386 only seeing the resistance set in order to set the volume.

Schematic view of the audio amplifier schematic. Includes a low pass filter cascaded with a high-pass filter, a potentiometer for input voltage control, and an LM386 to amplify. image

The schematic view of the LED multiplexing circuit: image

The PCB (Two layer):

Top layer PCB view:

top pcb

Top layer view from the manufacturer (OshPark):

image

Bottom layer PCB view:

bottom pcb Bottom layer view from the manufacturer:

image

Parts

88
QtyValueFootprintReferences
141 kΩResistors_SMD:R_1206_HandSolderingR5, R7, R8, R9, R10, R11, R12, R13, R14, R15, R16, R17, R18, R27
10100 nFCapacitors_ThroughHole:C_Rect_L7_W2.5_P5C2, C3, C4, C5, C6, C7, C8, C9, C11, C12
8100 ΩResistors_SMD:R_1206_HandSolderingR19, R20, R21, R22, R23, R24, R25, R26
82N3906TO_SOT_Packages_THT:TO-92_Inline_Narrow_OvalQ2, Q4, Q5, Q7, Q8, Q9, Q11, Q12
8TEST_1PPin_Headers:Pin_Header_Straight_1x01W1, W2, W3, W4, W5, W6, W7, W8
62N3904TO_SOT_Packages_THT:TO-92_Inline_Narrow_OvalQ3, Q6, Q10, Q13, Q14, Q15
547 kΩResistors_SMD:R_1206_HandSolderingR29, R30, R31, R32, R33
5SW_PUSHPin_Headers:Pin_Header_Straight_1x02SW1, SW2, SW3, SW4, SW5
2ECE:STM32_F4_ConnV2P4, P5
2120 kΩResistors_SMD:R_1206_HandSolderingR2, R3
2CONN_01X02Pin_Headers:Pin_Header_Straight_1x02P1, P6
110 uFCapacitors_ThroughHole:C_Disc_D3_P2.5C1
110 ΩResistors_SMD:R_1206_HandSolderingR6
1100 kΩResistors_SMD:R_1206_HandSolderingR4
1470 uFCapacitors_ThroughHole:C_Disc_D7.5_P5C10
16.2 kΩResistors_SMD:R_1206_HandSolderingR28
182 ΩResistors_SMD:R_1206_HandSolderingR1
1CONN_01X05Pin_Headers:Pin_Header_Straight_1x05P2
1CONN_01X08Pin_Headers:Pin_Header_Straight_1x08P3
1IRLIB9343Power_Integrations:TO-220Q1
1LM358NHousings_DIP:DIP-8_W7.62mm_LongPadsU1
1LM386Housings_DIP:DIP-8_W7.62mm_LongPadsU2
1POT: 100 kΩPin_Headers:Pin_Header_Straight_1x03RV1

The 82 most common of 88 parts.

Similar boards

  • 2 layers56.5 × 64.8 mmOPL2 VGM Player, the printed circuit board in 3D

    OPL2 VGM Player

    AidanHockey5/YM3812_VGM_Player

    A Video Game Music player based on the YM3812 (OPL2) and Teensy 3.5

    14 parts72AGPL-3.0
  • 2 layers140 × 65 mmLunchbeat PCB, the printed circuit board in 3D

    Lunchbeat PCB

    buranelectrix/lunchbeat-PCB

    1 bit groovebox - printed circuit board version

    72 parts33
  • 2 layers97.6 × 76.8 mm12f675-mppt, the printed circuit board in 3D

    12f675-mppt

    rasberryrabbit/PIC12F675MPPT

    Solar MPPT circuit.

    45 parts9GPL-3.0
  • 2 layers127 × 127 mmHvsupply, the printed circuit board in 3D

    Hvsupply

    xunil/hvsupply

    Design files for an adjustable high-voltage bench supply.

    70 parts5
  • 2 layers95.9 × 129.5 mmSolderin Station, the printed circuit board in 3D

    Solderin Station

    kr4fty/DiySolderingStation

    Diy Soldering Stations with Atmega (Arduino UNO). Firmware and hardware design included

    73 parts3GPL-2.0
  • 2 layers50 × 50 mmBreadbox, the printed circuit board in 3D

    Breadbox

    cillian64/blueboxes

    Exciting bass guitar orientated DIY effects pedals

    51 parts2
  • 2 layersH bridge, the printed circuit board in 3D

    H bridge

    Miceuz/h-bridge

    High voltage H-bridge driver

    93 parts2Apache-2.0

Questions

How big is the Alarm Clock V1 PCB?

It measures 69.1 × 73.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Alarm Clock V1 use?

88 parts, built around the LM358N, LM386 and IRLIB9343PBF. 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 V1 KiCad files?

From the alexandercote/Alarm_Clock_Audio_Amp repository on GitHub, at the commit this page was made from: the board is PCB/Alarm Clock V1.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

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

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