Skip to the content
2 layers136 × 69 mmSchematics, the printed circuit board in 3D

My actual undergrad thesis project

Size
136 × 69 mm
Copper layers
2
Thickness
1.6 mm
Parts
24
Nets
46
Pads
102
Tracks, vias
142, 0
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
5 Apr 2025
Updated
9 Apr 2025

Overview

Schematics is an open-source printed circuit board by dhupee, from the dhupee/dhupee-fall-detection-thingy-thesis repository on GitHub. It is a 2-layer board of 136 × 69 mm with 24 parts on 46 nets, routed with 142 tracks and 0 vias.

It is built around the LM2596T-ADJ. Its parts include 4 resistors, 4 ICs, 3 diodes, 2 capacitors and 2 connectors. It belongs with the ESP32 boards of this library.

Main components

1

README

README.md

Dhupee Fall Detection Thingy Thesis

Wait, Thesis?

I decided to open up my undergrad thesis project just to expose what my research is, but without really share the paper since I'm not sure if it's okay, and my Journal isn't published just yet, not sure also if it will be.

My thesis involve few skills that I learned over the years which is Electronics, Embedded System Programming, Machine Learning, and 3D Designs/Printing.

My thesis itself is titled Perangkat Wearable Untuk Deteksi Orang Jatuh Berbasis Edge Computing Dan Machine Learning or Edge Computing And Machine Learning Based Fall Detection Wearable Device in english.

But Why?

I believe my thesis is quite 'novel' among my peers in my Uni, especially during the rise of Computer Vision and LLM during that time, doing small is in my opinion a unique path, not only because the recent LLM advancement actually cause computing demand to the roof, and those melting GPU, bla bla bla, its nice to keep things small.

What the project gonna looks like

What my thesis looks like

Tools I use

This thesis uses few tools i know, it actually squeeze my brain like sponge.

  • Kicad to design PCB.
  • PlatformIO as sort of IDE/Compiler for coding the firmware, with C++ as the code, and Arduino as the Platform
  • Onshape to create the strap
  • Neovim to edit the codes
  • Tectonic to compile the LaTeX (YES I USE LATEX BITCH)
  • Edge Impulse so i can easily train the model and convert it to Arduino library

Abstrak (ID)

Penelitian mengenai deteksi jatuh sudah pernah dilakukan sebelumnya, salah satu penelitian yang dilakukan menggunakan Xbox Kinect dan metode AdaBoost dan Thresholding yang dimana Kinect yang digunakan memiliki area deteksi yang terbatas, penelitian lain menggunakan perangkat wearable yang dimana mengatasi permasalahan tersebut, akan tetapi metode Detection Threshold yang digunakan menghasilkan akurasi yang cukup rendah dan tidak memiliki metode untuk mengenali pola.

Penelitian ini dilakukan dengan merancang perangkat wearable lalu mengaplikasikan TinyML untuk memungkinkan mikrokontroler menggunakan Machine Learning secara langsung. Penelitian ini menggunakan ESP32 sebagai mikrokontroler dan juga MPU6050 sebagai sensor utamanya dengan Arduino sebagai framework untuk merancang firmware. Dataset yang digunakan merupakan dataset yang dikumpulkan secara pribadi. Model machine learning dirancang menggunakan Edge Impulse dan Tensorflow sebagai framework, model menggunakan Spectral Analysis dari Edge Impulse sebagai Feature Extractor dan juga Artificial Neural Network sebagai metode klasifikasi.

Dari hasil penelitian yang diperoleh, ESP32 dapat digunakan untuk memproses Machine Learning secara langsung, dengan akurasi sebesar 70.83% ketika menggunakan dataset yang digunakan, dan ESP32 dapat memproses data dalam waktu 11ms, dan juga dapat digunakan untuk mengirimkan notifikasi ketika pengguna jatuh.

Kata Kunci: Machine Learning, Mikrokontroler, ESP32, TinyML, Tensorflow.

Abstract (EN)

Research on fall detection has been conducted previously. One such study utilized the Xbox Kinect with the AdaBoost and Thresholding methods. However, the Kinect used in that study had a limited detection area. Another study employed wearable devices which resolved such issue, although the Detection Threshold method the study used resulted in relatively low accuracy and lacked the capability to recognize patterns.

This research involves designing a wearable device and implementing TinyML to enable microcontrollers to directly utilize Machine Learning. The study uses the ESP32 microcontroller and the MPU6050 as its primary sensor, with Arduino as the framework for developing the firmware. The dataset used was collected independently. The Machine Learning model was designed using Edge Impulse and TensorFlow as the frameworks. The model utilizes Spectral Analysis from Edge Impulse as the Feature Extractor and Artificial Neural Networks (ANN) as the classification method.

The results of the research show that the ESP32 can process Machine Learning directly, achieving an accuracy of 70.83% with the dataset used. The ESP32 is capable of processing data in 11 milliseconds and can also send notifications when a fall is detected.

Keywords: Machine Learning, Microcontroller, ESP32, TinyML, TensorFlow.

File Structure

Since this is a monorepo consist of few different seperate projects for this thesis, I will explain the directories started from the one i'm working on the first.

  • schematics is the electronics, component footprints, etc. Fabricate yourself its just single layer PCB, I make sure that way.
  • data-gathering-firmware is the first firmware, to gather the data, that will be stored to the Micro SD card.
  • printed-strap is the...strap for the PCB, simple shit so I can wear it, 3D printed.
  • static-buffer-firmware is the firmware to test the model once I get it trained, to make sure the ESP32 is able to infer the data.
  • inference-firmware the actual shit.

What I Intentionally left out

Pretty sure my lecturer will lecture me get it if i share the whole thing, so there are few things i left out.

  • the dataset i create
  • the model
  • the thesis draft LOL

Parts

24
QtyValueFootprintReferences
5MountingHole_PadMountingHole:MountingHole_3.2mm_M3_DIN965_PadH1, H2, H3, H4, H5
2220Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P2.54mm_VerticalR3, R4
11N5820Diode_THT:D_DO-201AD_P5.08mm_Vertical_AnodeUpD3
11kResistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P2.54mm_VerticalR1
12.2kPotentiometer_THT:Potentiometer_Bourns_3296W_VerticalR2
1220uCapacitor_THT:CP_Radial_D8.0mm_P2.50mmC2
1470uCapacitor_THT:CP_Radial_D8.0mm_P2.50mmC1
168uInductor_THT:L_Radial_D7.8mm_P5.00mm_Fastron_07HCPL1
1Antenna_ConnectorConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ3
1Battery_CellConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalBT1
1ESP32-DEVKIT-V1ESP32-DEVKIT-V1:MODULE_ESP32_DEVKIT_V1U1
1GY-521GY-521:GY-521U2
1LED1LED_THT:LED_D5.0mmD1
1LED2LED_THT:LED_D5.0mmD2
1LM2596T-ADJPackage_TO_SOT_THT:TO-220-5_VerticalU4
1MicroSD_ModuleConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ2
1SIM800L-CORESIM800L-Core-Module-KiCad-Footprint-main:SIM800L-COREU3
1SW_Push1Button_Switch_THT:SW_PUSH_6mmSW1
1SW_Push2Button_Switch_THT:SW_PUSH_6mmSW2

Similar boards

  • 2 layers213 × 65.1 mmSizif512, the printed circuit board in 3D

    Sizif512

    UzixLS/zx-sizif-512

    ZX Spectrum CPLD-based clone for rubber case

    214 parts195MIT
  • 2 layers91 × 186.5 mmDendy, the printed circuit board in 3D

    Dendy

    UzixLS/dendy

    Yet another Dendy (Famicom) clone - 8-bit home video game console

    141 parts19
  • 2 layers78.7 × 53.3 mmElectronic Laboratory PSU LM2596-IC, the printed circuit board in 3D

    Electronic Laboratory PSU LM2596-IC

    andres-garcia-alves/electronics-laboratory-psu-lm2596-ic

    Electronic adjustable laboratory power supply unit based on LM2596-ADJ. Output 1.4-33V@2.5A, with current limitation feature.

    29 parts1GPL-3.0
  • 2 layers180 × 58 mmHandheld sstc, the printed circuit board in 3D

    Handheld sstc

    automagicle/handheld-sstc

    A handheld SSTC project on PCB, designed for a large magic wand form factor, entirely powered from 8s 18650. Uses direct secondary feedback with gate driver and MOSFETs, and 555 interrupter

    66 parts1
  • 2 layers96.8 × 67.3 mmPCB prototipo, the printed circuit board in 3D

    PCB prototipo

    Leojohvi/Prototipo-Seguilinea

    PCB y esquemático para prototipo de vehículo seguilinea mediante sensores infrarrojos

    30 parts
  • 4 layers55.9 × 78.7 mmESP32 BUCK WLED NO BOARD, the printed circuit board in 3D

    ESP32 BUCK WLED NO BOARD

    lepetidozo/wledController_V1

    I wanted to make a custom WLED controller for my bedroom's ledstrip and to learn more about electronics and PCB design

    40 parts
  • 2 layers151.8 × 95.4 mmControl unit, the printed circuit board in 3D

    Control unit

    LoZioo/Domoticata

    Custom domotic home system.

    137 partsMIT
  • 2 layers44.9 × 72.7 mmEsp32 smth, the printed circuit board in 3D

    Esp32 smth

    PTIT-Open-Source/LoaChuyenKhoan_nhom9

    34 parts

Questions

How big is the Schematics PCB?

It measures 136 × 69 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Schematics use?

24 parts, built around the LM2596T-ADJ. 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 Schematics KiCad files?

From the dhupee/dhupee-fall-detection-thingy-thesis repository on GitHub, at the commit this page was made from: the board is schematics/schematics.kicad_pcb and its schematic schematics/schematics.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Schematics design in my own project?

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