Circuits and schematics
The control board, the schematic, the PCB layout and the list of components.
The Smart Toolbox control board, soldered and assembled by the team.
Why a 74HC4067 multiplexer
Each drawer holds several tools, and wiring every microswitch to its own pin would use up the ESP32's GPIOs. The 74HC4067 is a 16-channel selector: with 4 control pins (S0–S3) the microcontroller reads the 16 microswitches one after another.
Power stage and 5V alarm
A workshop or hangar is noisy, so the alarm has to be loud. We used a 5V buzzer. The MT3608 boost converter raises the battery voltage to 5V, and a BJT transistor driven by the ESP32 switches the buzzer on and off.
Bill of materials
On the control board
- ESP-WROOM-32Microcontroller
- Dual-core 240 MHz, Wi-Fi and Bluetooth. Reads the sensors, drives the alarm and talks to the server.
- 74HC4067 multiplexerReads the microswitches
- 16 channels selected with 4 pins (S0–S3).
- MT3608 step-up moduleBoost converter
- Raises the battery's 3.7V to the 5V the buzzer needs.
- BJT transistorSwitches the buzzer
- Drives the 5V buzzer so the ESP32 pin doesn't have to supply the current.
- Pull-up / pull-down resistorsStable inputs
- Keep the microswitch inputs at a defined level so vibration doesn't cause false readings.
- Screw terminal blocksDrawer wiring
- Connect the cables coming from the drawers to the board.
In the toolbox
- Lever microswitchesTool detection
- Under each tool's slot in the foam. The tool's weight closes the switch.
- Magnetic reed switchesDrawer detection
- On the drawer slides. Detect whether each drawer is open or closed.
- 5V buzzerAlarm
- Sounds when a drawer is closed with a tool missing.
- 18650 Li-Ion battery (3.7V)Power
- Rechargeable, so the toolbox doesn't need to be plugged in.
- BMS charging and protection moduleBattery management
- Charges the battery and protects it from overcharge and deep discharge.
- Battery holderMount
- Holds the 18650 cell in place.
