Skip to the content
2 layers40 × 59.1 mmWeightingScales, the printed circuit board in 3D

WeightingScales

puddletowntom/Wscales

The weight scales is a modern take on a kitchen scales with a more up to date display. It displays up to 3KG and the load can bear up to 5KG.

Size
40 × 59.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
60
Nets
83
Pads
273
Tracks, vias
698, 61
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
3 Aug 2023
Updated
10 Oct 2023

Overview

WeightingScales is an open-source printed circuit board by puddletowntom, from the puddletowntom/Wscales repository on GitHub, published under the Unlicense licence. It is a 2-layer board of 40 × 59.1 mm with 60 parts on 83 nets, routed with 698 tracks and 61 vias.

It is built around the ESP32-S3R8, CAT4004AHU2-GT3 and W25Q32JVSSIQ, with the AP2112K-3.3, PTS810SJM250SMTRLFS and AO3401A among its other parts. Its parts include 22 capacitors, 9 resistors, 6 ICs, 3 diodes and 3 connectors. It belongs with the ESP32 boards of this library.

Main components

8

README

README.md

Kitchen Scales

pic1

Introduction

The weight scales is a modern take on a kitchen scales with a more up to date display. It displays up to 3KG and the load can bear up to 5KG. An animation also rotates around the circumference of the display with increasing weight for presentation. At the rear of the device is a power switch. The device contains a 1.8Ah rechargable battery. The front of the device contains a USB-C port for battery charging. You can turn the device on while charging if needs be. You can print the case with various parts to assemle this yourself. 3D print files are included in the 3mf folder.

Parts Included

For the 3D printed case I have included the 3mf files. This project includes the following,

  • RGB (565) display with ST7701s IC driver,
  • ESP32-S3 R8 (8MB PSRAM) and 4MB of flash memory,
  • ADS1230 20-bit precision ADC (Texas Instruments),
  • 5KG load cell (Adafruit),
  • Lithium Polymer Rechargeable Battery, 1.8Ah
  • Charging circuitry on PCB,
  • USB-C,
  • Lever Tactile Switch, DPDT,
  • 3D print case

Development Board

pic2

Software

  • Kicad for PCB files,
  • Fusion 360 for STL files,
  • ESP-IDF for development environment,
  • SquareLine Studio for display graphics

Pinout

You can find the entire pinout with the schematic provided. But a brief overview is as follows,

Load Cell Pins

  • TP2 - 3.3V,
  • TP3 - GND,
  • TP4 - AINP,
  • TP5 - AINN

Buttons

  • TP6 to TP7 for Power button,
  • SW3 - Reset button,
  • SW4 - Boot button

Calibration

Due to the sensitivity of the load cell, the screw tightness of the load cells and the potential subtle minor variations of every printed case, its necessary to do a calibration of each scales. This is done by using a known weight as a reference so that an offset can be used to compensate for small difference. I include the weight of the metal plate in the calibration. The metal plate weights 55 grams so the metal plate plus a fixed 1kg weight is used for getting the reference.

Programming the device

There are two modes for the ESP32-S3, download mode (upload program) and run mode (code running). To put the board in program mode press and hold the button SW4 (boot) and while this is still being held press the SW3 (reset) button. To put the board into run mode just press SW3 (reset) button once or alternatively just unplug the device.

  • idf.py set-target ESP32-S3 (only need to do this once)
  • idf.py build (rebuild when you make changes to code)
  • idf.py flash -p COM8 -b 921600 monitor (download code while monitoring)

Further Work/Problems

There are inaccuracies occuring for small weight values. eg an item less than 10 grams might not register as a load. This could be to do with the plastic materials having a damping effect where load is not apparent on cantilever and is dampened into soft plastic. More rigid plastic for the base plate would be recommended instead of PLA. I purposefully put 1 end of cantilever in the middle of the base plate to minimise the edges of the plastic being pulled/bent upwards from the load applied. In addition, there seems to be around 2 grams difference for different charge levels of the battery. The ADC code is very surface level and could use more filtering/considerations for noise.

Parts

60
QtyValueFootprintReferences
6TestPointConnector_Pin:Pin_D0.7mm_L6.5mm_W1.8mm_FlatForkTP2, TP3, TP4, TP5, TP6, TP7
50.1uFCapacitor_SMD:C_0402_1005MetricC9, C12, C14, C23, C24
51uFCapacitor_SMD:C_0402_1005MetricC6, C10, C11, C17, C19
4MountingHoleMountingHole:MountingHole_2.2mm_M2H2, H3, H4, H5
310kResistor_SMD:R_0805_2012MetricR3, R6, R8
2100nFCapacitor_SMD:C_0402_1005MetricC5, C16
210uFCapacitor_SMD:C_0603_1608MetricC7, C8
21kResistor_SMD:R_0805_2012MetricR7, R10
222pFCapacitor_SMD:C_0402_1005MetricC1, C2
23p3Capacitor_SMD:C_0402_1005MetricC3, C4
24.7uFCapacitor_SMD:C_0603_1608MetricC18, C21
25.1kResistor_SMD:R_0805_2012MetricR2, R4
2LEDLED_SMD:LED_0603_1608MetricD1, D3
2PTS810_SJM_250_SMTR_LFSPTS810_SJM_250_SMTR_LFS:SW_PTS810_SJM_250_SMTR_LFSSW3, SW4
11uFCapacitor_SMD:C_0805_2012MetricC15
12.2uFCapacitor_SMD:C_0402_1005MetricC20
12kResistor_SMD:R_0805_2012MetricR9
12n2Inductor_SMD:L_0402_1005MetricL1
12nHInductor_SMD:L_0402_1005MetricL2
13.74kResistor_SMD:R_0805_2012MetricR1
140MHzCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1ADS1230IPWRADS1230IPWR:SOP65P640X120-16NIC2
1AO3401APackage_TO_SOT_SMD:SOT-23Q1
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-5U4
1CAT4004AHU2-GT3CAT4004A-libraries:SON50P200X200X55-9NIC1
1Conn_01x02Connector_JST:JST_PH_S2B-PH-SM4-TB_1x02-1MP_P2.00mm_HorizontalJ3
1D_SchottkyDiode_SMD:D_0603_1608MetricD2
1ESP32-S3R8ESP32-S3R8:QFN40P700X700X90-57N-DIC3
1FH34SRJ-40S-0.5SH(50)FH34SRJ-40S-0.5SH_50_:HRS_FH34SRJ-40S-0.5SH(50)J2
1MCP73831-3-OTPackage_TO_SOT_SMD:SOT-23-5U3
1PCB_ANTPassives:PCB_Antenna_2_4_GHz_ESP32ANT1
1TYPE-C-31-M-12TYPE-C-31-M-12:HRO_TYPE-C-31-M-12J4
1W25Q32JVSSPackage_SO:SOIC-8_5.23x5.23mm_P1.27mmU2

Similar boards

  • 6 layers80 × 60 mmIce core, the printed circuit board in 3D

    Ice core

    enkhbold470/ice-core

    iCE40UP5K FPGA board with 8 MB PSRAM and three Pmods, programmed over USB-C by an RP2040. 6-layer KiCad 10 board.

    78 partsCERN-OHL-S-2.0
  • 4 layersCABadge V2 1, the printed circuit board in 3D

    CABadge V2 1

    nbtca/CABadge

    CABadge 计协电子吧唧:基于 ESP32-S3 的开源圆屏互动徽章,支持动态壁纸、触摸交互、Wi-Fi/BLE 和趣味小应用,提供 PCB、3D 打印外壳、固件及配套工具。

    110 parts15MIT
  • 2 layers214 × 174 mmSoundBoxSTM32 cheap, the printed circuit board in 3D

    SoundBoxSTM32 cheap

    DominikNeugebauer/PCB

    All of my pcb projects i have made so far

    134 parts
  • 4 layers257 × 117.5 mmTeacup carrier, the printed circuit board in 3D

    Teacup carrier

    thingino/teacup-neo

    Universal Ingenic SoC development platform: one carrier + per-SoC interposer modules (T10 through A1, any package) on a DDR4 card edge, with an ESP32-S3 BMC for autonomous LLM-driven development.

    157 parts1GPL-3.0
  • 4 layers68 × 60 mmRoboCore, the printed circuit board in 3D

    RoboCore

    Plastal-Bot-Builders/RoboCoreDocumentation

    RoboCore is a classroom robot kit and coding platform, designed and built in Zambia by Plastal-Bot Builders (Lusaka).

    104 partsMIT
  • 2 layers395.3 × 121.1 mmMK98, the printed circuit board in 3D

    MK98

    MondeCok/MK98-Key

    377 parts1
  • 2 layers151 × 95 mmDeneme, the printed circuit board in 3D

    Deneme

    g210101021/OpenStylophone-RP2040

    Overview • Technical Summary • Architecture • Hardware Audit & Remediation • Schematic Subsystems • PCB Layout • Firmware Roadmap • Bill of Materials • Author

    143 parts
  • 2 layers112.7 × 121.4 mmPCBOFBEATPAD, the printed circuit board in 3D

    PCBOFBEATPAD

    Axe-1st/OrphBeatPad

    A custom Beat pad with awesome design!

    74 parts2

Questions

How big is the WeightingScales PCB?

It measures 40 × 59.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the WeightingScales use?

60 parts, built around the ESP32-S3R8, CAT4004AHU2-GT3, W25Q32JVSSIQ and AP2112K-3.3. 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 WeightingScales KiCad files?

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

Can I use the WeightingScales design in my own project?

Its repository publishes it under the Unlicense licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).