Skip to the content
PCBKitNew board
4 layers64 × 43 mmDalws, the printed circuit board in 3D

This project is my attempt to learn about microcontroller and PCB design. Now I realize that making a full, complete electronic project is super hard.

Size
64 × 43 mm
Copper layers
4
Thickness
1.61 mm
Parts
83
Nets
80
Pads
290
Tracks, vias
663, 106
Pours
1
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
6 Jul 2024
Updated
29 Jul 2024

Overview

Dalws is an open-source printed circuit board by anhldptit2610, from the anhldptit2610/dalws repository on GitHub, published under the MIT licence. It is a 4-layer board of 64 × 43 mm with 83 parts on 80 nets, routed with 663 tracks and 106 vias.

It is built around the AP2112K-3.3, DS3231MZ+TRL and LIS3DH, with the MCP73831T-2ACI/OT-HXY, USBLC6-2SC6 and 1N5819WS among its other parts. Its parts include 23 resistors, 21 capacitors, 8 ICs, 6 diodes and 4 transistors. It belongs with the STM32 boards of this library.

Main components

12

README

README.md

dalws

A portable handheld device.

This project is my attempt to learn about microcontroller and PCB design. Now I realize that making a full, complete electronic project is super hard. I made all the steps in this project, from designing the PCB to program the firmware. To be honest, the PCB design process is harder. Choose components, read the datasheets and lots of schematics, make a design, review and fix errors, quite a lot of work. But it's worth all the pennies and efforts I spent for this project.

Features

  • The MCU: STM32F411CEU6.
  • Display the time/date(you can change it of course) on a ST7735's 80x160 screen. The UI is achieved using LVGL and SquareLine's Studio
  • Time of day alarm
  • Pomodoro timer(I use this a lot. Now only support 25/5/15 format)
  • Multiple power source(either USB-C or a LiPo battery. When USB-C and LiPo battery is both present, the USB-C will be chosen. If needed the system will charge the battery, taking power from the USB-C.)

Demo

See this

How to compile and flash

Hardware requirements

See BOM. The BOM doesn't contain ST7735's LCD screen and buttons.

Software

  • SquareLine Studio. It's free for personal use.
  • arm-none-eabi-gcc(my version is 10.3.1)
  • make

You can install above dependencies by using these commands(Ubuntu/any Debian based Linux distro):

text
$ sudo apt update
$ sudo apt install arm-none-eabi-gcc build-essential

Compiling

text
$ git clone --recurse-submodules https://github.com/anhldptit2610/dalws.git
$ cd dalws/firmware/dalws
$ make

Use the ST's STM32CubeProgrammer to flash the binary.

TODO

  • Reduce the size of the PCB(still quite big)
  • Bigger screen so I can have more fun
  • Raise to wake
  • Design a reset mechanism(I whacked a prototype and can't recover just because the design doesn't have a way to reset...)
  • Maybe some games?

Parts

83
QtyValueFootprintReferences
9100nCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC1, C3, C5, C6, C7, C8, C12, C18, C22
7LOGOLOGOG***, G***, G***, G***, G***, G***, G***
5100kResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR1, R2, R4, R7, R13
54.7kResistor_SMD:R_0805_2012MetricR10, R11, R18, R19, R20
40.1uCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC2, C13, C16, C17
4MountingHoleMountingHole:MountingHole_2.7mm_M2.5_DIN965H1, H2, H3, H4
4SW_Pushalcato:GT-TC060A-H025-L1SW1, SW2, SW3, SW5
210kResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR9, R15
210uCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC9, C11
215pCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC4, C10
21N5819WSDiode_SMD:D_SOD-323D2, D6
21kResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR12, R17
21uCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC14, C15
24.7uCapacitor_SMD:C_0805_2012MetricC19, C20
25k1Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR5, R6
2AO3401APackage_TO_SOT_SMD:SOT-23Q1, Q2
2KT-0603RLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD1, D4
10Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR8
11MResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR3
122Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR14
125MHzCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
12kResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR21
1330Resistor_SMD:R_0805_2012MetricR24
1330Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR16
1470Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR22
1AO3400APackage_TO_SOT_SMD:SOT-23Q3
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-5U1
1B5819WB5819W:B5819WD3
1BATTConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalBT2
1BLM18AG601SN1Ddigikey-footprints:0603FB2
1Buzzerspeaker:TMB09A05BZ1
1DS3231MZ+TRLPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU2
1HDC1080Package_SON:Texas_PWSON-N6U6
1KT-0805GLED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolderD5
1LIS3DHalcato:LIS3DHTRU3
1MCP73831T-2ACI/OTdigikey-footprints:SOT-753U5
1MMBT2222A 1PPackage_TO_SOT_SMD:SOT-23Q5
1STM32F411CEUxPackage_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mmU8
1SWDConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ3
1USBCConnector_USB:USB_C_Receptacle_G-Switch_GT-USB-7010ASVJ1
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U4
1~alcato:OLED-SMD_ST7735SU7

Questions

How big is the Dalws PCB?

It measures 64 × 43 mm and has 4 copper layers, 1.61 mm thick.

What parts does the Dalws use?

83 parts, built around the AP2112K-3.3, DS3231MZ+TRL, LIS3DH and MCP73831T-2ACI/OT-HXY. 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 Dalws KiCad files?

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

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

Similar boards

  • 2 layers60 × 45 mmTracker lite, the printed circuit board in 3D

    Tracker lite

    Sanu0910/RFMW-ANT

    109 parts
  • 4 layers110 × 90 mmFilMachine Mainboard, the printed circuit board in 3D

    FilMachine Mainboard

    yesnoj/FilMachine_Reworked

    FilMachine is an automated film processing machine designed for photographic film development. It handles the entire process: chemical baths, water rinses, temperature regulation, and motor-driven film agitation — all…

    205 parts
  • 2 layers64 × 46 mmWeatherframe, the printed circuit board in 3D

    Weatherframe

    amselgesang/weatherframe_v01

    My weather station hardver

    50 partsMIT
  • 2 layers100 × 100 mmHour meter board microfit can handroute, the printed circuit board in 3D

    Hour meter board microfit can handroute

    ilomon10/embedded-totalizer-hour-meter

    ESP32 engine hour meter & totalizer: firmware, SensorFrame protocol, Node host tools, KiCad PCB and a Deno device simulator

    152 parts
  • 4 layers32 × 74 mmFrankless, the printed circuit board in 3D

    Frankless

    arlaneenalra/pi-pico-boards

    A place to keep various pi-pico-board experiments

    124 parts
  • 4 layers130 × 105 mmHomeDeck, the printed circuit board in 3D

    HomeDeck

    Kilan777/HomeDeck

    Jarvis HomeDeck: a Raspberry Pi CM4 carrier board and voice-assistant software for a 7-inch smart display (KiCad hardware, generated from Python, plus the Python/JS assistant)

    228 parts1
  • 2 layers76.2 × 50.8 mmAltusCharger, the printed circuit board in 3D

    AltusCharger

    bnparks001/AltusCharger

    Multi-Output charger for AltusMetrum batteries.

    71 parts
  • 4 layers60 × 60 mmUNSW Rocketry Senior Flight Computer, the printed circuit board in 3D

    UNSW Rocketry Senior Flight Computer

    DashiellRussell/UNSW_Rocketry_Senior_Flight_Computer

    KiCad project for the senior flight computer used by UNSW Rocketry.

    132 parts