Motion tracking electric watergun
jonathanrandall·motion_tracking_electric_watergun·kicad_stuff/watergun_pcb.kicad_pcb
About the Motion tracking electric watergun PCB
Motion tracking electric watergun is an open source ESP32 PCB design by jonathanrandall, published on GitHub under the MIT license. It is a 2-layer board measuring 142.8 × 99.5 mm, with 76 components from 31 distinct parts.
Its main chip is the ESP32-S3-WROOM-1, from the ESP32 family. Other key parts include the USBLC6-2SC6 and AP63203WU-7. By type, the board carries 26 resistors, 14 capacitors, 10 connectors, 8 switches, 5 diodes and 3 ICs.
It belongs with the robotics & motion, iot & wireless and displays & leds designs in this gallery.
From the project
motion tracking electric watergun
An ESP32-based automatic water gun that tracks motion using an array of ultrasonic sensors and can be remote-controlled via a wireless joystick. Built around a custom KiCad PCB with a 3D-printed enclosure.
The gun mounts on a pan/tilt servo gimbal. Five ultrasonic sensors span the field of view (far-left, left, center, right, far-right). When a target enters range, the gun snaps its pan servo to the closest detected sensor — blending between adjacent sensors for smoother interpolation — and begins auto-firing the water pump in timed on/off pulses. A wireless joystick remote (ESP32 DEVKIT V1)…
Main components on the Motion tracking electric watergun
Motion tracking electric watergun bill of materials (BOM)
76 components, 31 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | ESP32-S3-WROOM-1 | ESP32-S3-WROOM-1 | U1 |
| 1 | USBLC6-2SC6 | SOT-23-6 | U2 |
| 1 | AP63203WU-7 | TSOT-23-6 | U3 |
| 1 | C20917 Q_NMOS_GDS | SOT-23 | Q2 |
| 1 | C20917 Q_NMOS_GSD | SOT-23 | Q3 |
| 1 | USB_C_RECEPTACLE_USB2.0_16P USB_C_Receptacle_USB2.0_16P | USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |
| 1 | Conn_01x09 | PinHeader_1x04_P2.54mm_Vertical | J2 |
| 1 | Conn_01x02 | TerminalBlock_Phoenix_MKDS-3-2-5.08_1x02_P5.08mm_Horizontal | J5 |
| 5 | Conn_01x04 | JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | J7, J8, J9, J10, J11 |
| 2 | IN OUT | PinHeader_2x02_P2.54mm_Vertical | J16, J17 |
| 2 | Conn_02x04_Top_Bottom | PinHeader_2x04_P2.54mm_Vertical | 3V3_rail1, V5_rail1 |
| 1 | Conn_02x04_Odd_Even | PinHeader_2x04_P2.54mm_Vertical | I2C1 |
| 3 | 330R | R_0805_2012Metric | R_LED1, R_LED2, R_LED3 |
| 1 | C318884 SW_Boot | SW_SPST_TL3342 | SW1 |
| 1 | C318884 SW_RESET | SW_SPST_TL3342 | SW2 |
| 3 | BUTTON_1 button_1 | SW_SPST_TL3342 | SW3, SW5, SW7 |
| 3 | BUTTON_2 button_2 | SW_SPST_TL3342 | SW4, SW6, SW8 |
| 1 | Conn_02x04_Odd_Even | PinHeader_2x03_P2.54mm_Vertical | Servo_in1 |
| 2 | C2480 D_Schottky | D_SMA | D4, D5 |
| 1 | C2286 RED LED | LED_0805_2012Metric | D6 |
Show 11 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | C2296 Orange LED | LED_0805_2012Metric | D7 |
| 1 | C2297 GREEN LED | LED_0805_2012Metric | D8 |
| 1 | 4.7UH 4.7uH | L_7.3x7.3_H4.5 | L1 |
| 2 | 22UF 22uF | C_0805_2012Metric | C1, C2 |
| 10 | 100NF 100nF | C_0805_2012Metric | C5, C19, C21, C22, C23, C24, C25, C26 +2 |
| 2 | 10UF 10uF | C_0805_2012Metric | C17, C20 |
| 2 | 5.1K | R_0805_2012Metric | R1, R2 |
| 2 | 27R | R_0805_2012Metric | R3, R4 |
| 15 | 10K | R_0805_2012Metric | R8, R9, R10, R11, R12, R13, R14, R15 +7 |
| 2 | 100R | R_0805_2012Metric | R20, R22 |
| 5 | 20K | R_0805_2012Metric | R25, R26, R27, R28, R29 |
Motion tracking electric watergun design files
The KiCad project lives in the jonathanrandall/motion_tracking_electric_watergun repository on GitHub; these links point at the commit this page was built from.
Motion tracking electric watergun: common questions
What microcontroller does the Motion tracking electric watergun use?
The Motion tracking electric watergun is built around the ESP32-S3-WROOM-1, from the ESP32 family.
How big is the Motion tracking electric watergun PCB?
The Motion tracking electric watergun measures 142.8 × 99.5 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Motion tracking electric watergun?
76 components, from 31 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the Motion tracking electric watergun design files?
From the jonathanrandall/motion_tracking_electric_watergun repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the Motion tracking electric watergun design in my own project?
Yes, under the terms of its MIT license, which jonathanrandall chose for the repository.
Can I test firmware for the Motion tracking electric watergun without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug ESP32 firmware against it before you order a PCB.
Similar boards
ESP32
OSO-BOOK-B1
joeycastillo
85 × 115 mm65 parts2LCC-BY-SA-4.08.1kESP32
Powertrain
byrantech
64 × 45.4 mm171 parts4LMIT4.3kESP32
Badge
atopile
56.3 × 39 mm239 parts4LMIT4.0kESP32
Esp32 minimal
atopile
36.2 × 26.8 mm20 parts2LMIT4.0kESP32
Racer
StuckAtPrototype
36 × 50.2 mm70 parts4LApache-2.03.8kESP32
Controller
StuckAtPrototype
29 × 74 mm58 parts4LApache-2.03.8k