Skip to the content
2 layersPerfboardPrototype, the printed circuit board in 3D

PerfboardPrototype

jostsalathe/focan-uart8

Reverse engineering effort for the UART protocol used between Focan E-Scooter/-Bike displays (GZ3 is the actual test subject) and motor controllers..

Copper layers
2
Thickness
1.6 mm
Parts
24
Nets
46
Pads
104
Tracks, vias
21, 0
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
29 Jun 2022
Updated
3 Nov 2023

Overview

PerfboardPrototype is an open-source printed circuit board by jostsalathe, from the jostsalathe/focan-uart repository on GitHub. It is a 2-layer board with 24 parts on 46 nets, routed with 21 tracks and 0 vias.

It is built around the ESP32-WROOM-32 and DM01. Its parts include 12 resistors, 5 diodes, 2 ICs and 1 capacitor. It belongs with the robots and motor control boards and the ESP32 boards of this library.

Main components

2

README

dataLogger/perfboardPrototype/README.md

Perfboard Prototype

Used Parts

  • ESP32-WROOM-32D module (U2)
  • SPI MicroSD card module (J_SD1)
  • DM01 V2.0 fixed voltabe buck converter module (52 V max input, 3.3 V out) (U1)
  • 70 mm * 30 mm perforated prototyping board
  • 470k 1% axial 1/4 W resistor (R2), 12k 1% 0603 1/10W SMD resistor (R3) and 100nF 0603 SMD capacitor (C1) for measuring battery voltage
  • 10k 1% axial 1/4 W resistor (R4) and some 3V zener diode (D1) for wakeup pin
  • 10k 1% axial 1/4 W resistor for EN pin pullup (R1)
  • JST-SM 5 pin connectors, one of each gender (J_DU1 and J_MCU1)
  • 5 pin socket for flashing firmware and debugging (J_PRG1)

Pinout

connectorpin#signal nameESP32 pindescription
J_PRG11GNDGNDground connection of programmer
J_PRG12TX_DBGIO1UART TX to programmer
J_PRG13RX_DBGIO3UART RX from programmer
J_PRG14BOOTIO0boot mode with internal pullup
J_PRG15ENENenable with external pullup (R1)
J_DU1/J_MCU11+BATTIO39battery voltage that supplies this unit
J_DU1/J_MCU12PWR_MCUIO34The DU feeds battery power to the MCU via this connection when it is on. Use this signal to wake from deep sleep.
J_DU1/J_MCU13GNDGNDground connection for external hardware
J_DU14TX1IO17UART TX to DU
J_DU15RX1IO16UART RX from DU
J_MCU14RX2IO19UART RX from MCU
J_MCU15TX2IO18UART TX to MCU
J_SD113V3VDDsupply voltage for MicroSD card
J_SD12CSIO32chip select for MicroSD card
J_SD13MOSIIO33serial data to MicroSD card
J_SD14CLKIO26serial clock for MicroSD card
J_SD15MISOIO14serial data from MicroSD card
J_SD16GNDGNDground conneciton for MicroSD card

Notes on Measuring +BATT

Due to the chosen voltage devider you should call analogSetAttenuation(ADC_2_5db);.

With this attenuation setting you should use double vBat = (analogRead(39) + 272.5) / 77.95; to calculate the actual battery voltage.

Parts

24
QtyValueFootprintReferences
81kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR3, R4, R5, R6, R7, R8, R9, R10
5D_Z3VDiode_THT:D_A-405_P2.54mm_Vertical_AnodeUpD1, D2, D3, D4, D5
210kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR1, R12
2Conn_01x05Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ_DU1, J_MCU1
1100nFCapacitor_SMD:C_0603_1608MetricC1
1390kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR11
139kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P2.54mm_VerticalR2
1Conn_01x05Connector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_HorizontalJ_PRG1
1DM01MyParts:DM01U1
1ESP32-WROOM-32RF_Module:ESP32-WROOM-32U2
1Micro_SD_Card_SPIMyParts:microSD_SPI_moduleJ_SD1

Similar boards

  • 2 layers24.1 × 36.2 mmEsp32miniBT, the printed circuit board in 3D

    Esp32miniBT

    asterics/esp32_mouse_keyboard

    ESP32 implementation for HID over GATT Keyboard and Mouse (Bluetooth Low Energy). Including serial API for external modules (similar to Adafruit EZKey HID)

    28 parts911GPL-3.0
  • 4 layers99.6 × 76.2 mmE TKT, the printed circuit board in 3D

    E TKT

    andreisperid/E-TKT

    open source embossed label maker

    110 parts481MIT
  • 4 layers46.8 × 34.8 mmSmartWatch V4, the printed circuit board in 3D

    SmartWatch V4

    Bellafaire/ESP32-Smart-Watch

    An open source smartwatch based on the ESP32 compatible with the Arduino IDE.

    74 parts258MIT
  • 2 layers90 × 76.5 mmLCDZapperPro, the printed circuit board in 3D

    LCDZapperPro

    charcole/LCDZapper

    Device for making light gun games playable on LCD TVs

    126 parts163
  • 2 layers57.2 × 35.1 mmMainBoard Rev2, the printed circuit board in 3D

    MainBoard Rev2

    lzrtag/LZRTag

    AVR-Based easily modifyable DIY Lasertag!

    70 parts111GPL-3.0
  • 2 layers85 × 56 mmHB RF ETH, the printed circuit board in 3D

    HB RF ETH

    alexreinert/PCB

    Some of my PCBs

    96 parts104
  • 2 layersSmp7c, the printed circuit board in 3D

    Smp7c

    likeablob/slow-movie-player-7c

    Yet another "Slow Movie Player" implementation with 7-color E-Paper module and ESP32.

    18 parts51MIT
  • 2 layers30.8 × 24.4 mmWii Bluetooth Replacement, the printed circuit board in 3D

    Wii Bluetooth Replacement

    JSnowden33/Wii-Bluetooth-Replacement

    This project is a full replacement for the Nintendo Wii's Bluetooth module. Emulation of the Bluetooth module is performed on the PIC32 based on rnconrad's emulator, while controller connectivity on the ESP32 is based…

    50 parts48GPL-3.0

Questions

What parts does the PerfboardPrototype use?

24 parts, built around the ESP32-WROOM-32 and DM01. 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 PerfboardPrototype KiCad files?

From the jostsalathe/focan-uart repository on GitHub, at the commit this page was made from: the board is dataLogger/perfboardPrototype/perfboardPrototype.kicad_pcb and its schematic dataLogger/perfboardPrototype/perfboardPrototype.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the PerfboardPrototype design in my own project?

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