# ESPRSSO32 Smart Scale AI Auto Layout [Example] ki4D ## Description I want to make the hardware and software for a 5.2 inch diameter capacitive touch screen display. Please give me all of the information the enable me to do this, I have NO experience of code or PCB design or manufacture. I want to measure a battery voltage and amps used via a coulomb counter to indicate a fuel level indicator icon I just want two connections + and - Its not single cell, its a battery of 20 cells LIFEPO4 each cell is 3.2v nominal and 100a I also want to include a can bus controller to read and display motor rpm And can bus temperature Also a GPS speedometer, odometer and trip. Toggle between knots, mph and kmh by touchscreen, Also toggle between nautical miles, km and miles with a Trip meter reset. Startup screen animation, Speed Incremental bar Plus a digital reading, And an animated compass heading STM32 or ESP32 Please recommend all hardware, I have the can protocol for the motor controller but not with me right now Connection via a 4 pin military connector can high can low +v and –v Top middle of screen incremental speed bar that fills 120 degrees with 60 degrees being top dead centre in an arc Dead middle of screen DIGITAL SPEED To the left of dead middle a Compass To the right of dead centre DIGITAL RPM Next line with a space between dead centre will be the ODOMETER, Trip and Battery level Below those are the Toggle buttons Heading compass by GPS, no WiFi or Bluetooth Write full GPS parsing code for my firmware Can you write the code with all of your recommendations for smoother bug free operation Can a FRAM replace the sd card ALL components must fit onto one board into an enclosure directly behind the screen that measures 5.0 inches diameter x 13mm deep inside dimensions ## Project Details - **Owner:** nickinhk - **Created:** 8/11/2025 - **Last Updated:** 8/11/2025 - **Visibility:** Public ## Key Components ### IC1 — [ESP32-C3FH4 (no gnd vias)](https://www.flux.ai/ryanf/esp32-c3fh4-no-gnd-vias~lqh.md) - Datasheet URL: https://www.lcsc.com/datasheet/lcsc_datasheet_2312201733_Espressif-Systems-ESP32-C3_C2838500.pdf - Manufacturer Part Number: ESP32-C3 - Manufacturer Name: Espressif Systems - Part Type: Integrated Circuit **Pins:** - CHIP_EN [pin 7] - GND [pin 33] - GPIO10 [pin 16] - GPIO18 [pin 25] - GPIO19 [pin 26] - GPIO2 [pin 6] - GPIO3 [pin 8] - GPIO8 [pin 14] - GPIO9 [pin 15] - LNA_IN [pin 1] - MTCK [pin 12] - MTDI [pin 10] - MTDO [pin 13] - MTMS [pin 9] - SPICLK [pin 22] - SPICS0 [pin 21] - SPID [pin 23] - SPIHD [pin 19] - SPIQ [pin 24] - SPIWP [pin 20] - U0RXD [pin 27] - U0TXD [pin 28] - VDD_SPI [pin 18] - VDD3P3 [pin 2] - VDD3P3__1 [pin 3] - VDD3P3_CPU [pin 17] - VDD3P3_RTC [pin 11] - VDDA [pin 31] - VDDA__1 [pin 32] - XTAL_32K_N [pin 5] - XTAL_32K_P [pin 4] - XTAL_N [pin 29] - XTAL_P [pin 30] ### J1 — MSD-4-A - Datasheet URL: https://www.cuidevices.com/product/resource/msd-4-a.pdf - Manufacturer Part Number: MSD-4-A - Manufacturer Name: CUI Devices - Part Type: Connector **Pins:** - CD [pin CD1] - CD/DAT3 [pin 2] - CLX [pin 5] - CMD [pin 3] - DAT0 [pin 7] - DAT1 [pin 8] - DAT2 [pin 1] - G1 [pin G1] - G2 [pin G2] - G3 [pin G3] - G4 [pin G4] - VDD [pin 4] - VSS [pin 6] ### J2 — [694101308002](https://www.flux.ai/jecstronic/694101308002~8fo.md) - Manufacturer Name: Würth Elektronik - Datasheet URL: https://www.we-online.com/katalog/datasheet/694101308002.pdf - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] ### J3 — [0532610471](https://www.flux.ai/vasyl/0532610471~vm.md) - Part Type: Connector - Datasheet URL: https://www.molex.com/pdm_docs/sd/532610471_sd.pdf - Manufacturer Name: Molex - Manufacturer Part Number: 0532610471 **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] - SHIELD [pin S1] - SHIELD__1 [pin S2] ### J4 — [Pin Header 01x03 2.54mm Vertical](https://www.flux.ai/adrian95/pin-header-01x03-254mm-vertical~cp4.md) - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Connector **Pins:** - Pin_1 [pin 1] - Pin_2 [pin 2] - Pin_3 [pin 3] ### J5 — [Pin Header 01x03 2.54mm Vertical](https://www.flux.ai/adrian95/pin-header-01x03-254mm-vertical~cp4.md) - Part Type: Connector - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - Pin_1 [pin 1] - Pin_2 [pin 2] - Pin_3 [pin 3] ### MCU_BOOT — 1.5 mm Test Pad - Manufacturer Name: Foootprint Fitz Industries - Manufacturer Part Number: R0707 **Pins:** - TP [pin 1] ### MCU_RXD — 1.5 mm Test Pad - Manufacturer Part Number: R0707 - Manufacturer Name: Foootprint Fitz Industries **Pins:** - TP [pin 1] ### MCU_TXD — 1.5 mm Test Pad - Manufacturer Name: Foootprint Fitz Industries - Manufacturer Part Number: R0707 **Pins:** - TP [pin 1] ### U1 — [NAU7802SGI](https://www.flux.ai/ryanf/nau7802sgi~7y.md) - Manufacturer Name: Nuvoton Technology Corporation - Manufacturer Part Number: NAU7802SGI - Part Type: Integrated Circuit - Datasheet URL: https://www.nuvoton.com/export/resource-files/NAU7802%20Data%20Sheet%20V1.7.pdf - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - AVDD/LDO [pin 16] - AVSS [pin 8] - DRDY [pin 12] - DVDD [pin 15] - DVSS [pin 9] - R-EFN [pin 7] - R-EFP [pin 1] - SCLK [pin 13] - SDIO [pin 14] - VBG [pin 6] - VIN1N [pin 2] - VIN1P [pin 3] - VIN2N [pin 4] - VIN2P [pin 5] - XIN [pin 10] - XOUT [pin 11] ### U2 — [NCP176BMX330TCG](https://www.flux.ai/ryanf/ncp176bmx330tcg~l72.md) - Manufacturer Part Number: NCP176BMX330TCG - Package or Case Code: XDFN6 - Part Type: Linear Voltage Regulator - Datasheet URL: https://www.mouser.com/datasheet/2/308/1/NCP176_D-2316728.pdf - Manufacturer Name: onsemi **Pins:** - EN [pin 4] - FB [pin 2] - GND [pin 3] - IN [pin 6] - N/C [pin 5] - OUT [pin 1] ### U3 — [TPS62130ARGTR](https://www.flux.ai/ryanf/tps62130argtr~8k9.md) - Manufacturer Part Number: TPS62130ARGTR - Manufacturer Name: Texas Instruments - Datasheet URL: https://www.ti.com/lit/ds/symlink/tps62130a.pdf?ts=1716649051225&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FTPS62130A - Part Type: Switching Regulator - License: https://creativecommons.org/licenses/by/4.0/ - Package or Case Code: QFN50P300X300X50-17N **Pins:** - AGND [pin 6] - AGND [pin 17] - AVIN [pin 10] - DEF [pin 8] - EN [pin 13] - FB [pin 5] - FSW [pin 7] - PG [pin 4] - PGND [pin 16] - PGND [pin 15] - PVIN [pin 12] - PVIN [pin 11] - SS/TR [pin 9] - SW [pin 2] - SW [pin 3] - SW [pin 1] - VOS [pin 14] ### Y1 — RH100-40.000-18-F-2030-EXT-TR-NS1 - Frequency: 40MHz - Datasheet URL: https://mm.digikey.com/Volume0/opasdata/d220001/medias/docus/6146/RH100-40.000-18-F-2030-EXT-TR-NS1.pdf - Manufacturer Part Number: RH100-40.000-18-F-2030-EXT-TR-NS1 - Part Type: Oscillator - Manufacturer Name: Raltron Electronics **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] ### Y2 — [2450AT18B100E](https://www.flux.ai/jecstronic/2450at18b100e~oki.md) - Manufacturer Name: Johanson Technology - Part Type: Antenna - License: https://creativecommons.org/licenses/by/4.0/ - Datasheet URL: https://www.snapeda.com/parts/2450AT18B100E/Johanson%20Technology/datasheet/ - Manufacturer Part Number: 2450AT18B100E **Pins:** - 1 [pin 1] - 2 [pin 2] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/nickinhk/esprsso32-smart-scale-ai-auto-layout-example-ki4d~er](https://www.flux.ai/nickinhk/esprsso32-smart-scale-ai-auto-layout-example-ki4d~er).* --- *Generated from [https://www.flux.ai/nickinhk/esprsso32-smart-scale-ai-auto-layout-example-ki4d~er](https://www.flux.ai/nickinhk/esprsso32-smart-scale-ai-auto-layout-example-ki4d~er)*