

Caligula
👑 Caligula is long project to research and create automatic tofu coagulant machine.
- Size
- 84.6 × 108.3 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 109
- Nets
- 120
- Pads
- 488
- Tracks, vias
- 1,980, 109
- Pours
- 724
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 23 Mar 2025
- Updated
- 1 Jun 2026
Overview
Caligula is an open-source printed circuit board by ahsanu123, from the ahsanu123/caligula repository on GitHub. It is a 2-layer board of 84.6 × 108.3 mm with 109 parts on 120 nets, routed with 1,980 tracks and 109 vias.
It is built around the CH340C, ESP32-S3-WROOM-1-N8 and ADS1115IDGS, with the ICL7660N, SS8050 and MST22D18G2 among its other parts. Its parts include 38 resistors, 27 capacitors, 9 connectors, 8 ICs and 7 switches. It belongs with the ESP32 boards of this library.
Main components
6CH340C
SOP-16-20℃~+70℃ 2Mbps 3.3V、5V 50uA 7mA Transceiver USB 2.0 SOP-16 USB Converters ROHSWCH (Nanjing Qinheng Microelectronics)USB ConvertersESP32-S3-WROOM-1-N8
SMD,25.5x18mm-40℃~+85℃ -98.2dBm 2.4GHz 20.5dBm 355mA 3V~3.6V 95mA Bluetooth5.0 ESP32-S3 Chip On-board PCB Antenna UART、SPI、I2C、I2S、USB SMD,25.5x18mm WiFi Modules ROHSEspressif SystemsWiFi ModulesADS1115IDGS
MSOP10Ultra-Small, Low-Power, 4 Channels 16-Bit Analog-to-Digital Converter with Internal ReferenceTexas InstrumentsUncategorisedICL7660N
DIP-83V~9.5V DIP-8 Charge Pumps ROHSHGSEMIDC-DC ConvertersSS8050
SOT-323-55℃~+150℃ 1 NPN 1.5A 100MHz 100nA 200 25V 300mW 500mV 5V NPN SOT-23 Bipolar (BJT) ROHSJiangsu Changjing Electronics Technology (CJ)Bipolar (BJT)MST22D18G2
SMD,9.1x3.6mm-30℃~+80℃ 10000 times 12V 3.45mm 3.6mm 50mA 9.1mm DPDT SMD(SMT) Tab Surface Mount,Vertical SMD,9.1x3.6mm Slide Switches ROHSSHOU HANSlide Switches
README
README.md🥡 Introduction
🎶 Useful Notes
To get started, you need to set up some environment variables by running: '. /home/ah/export-esp.sh'
This step must be done every time you open a new terminal.
See other methods for setting the environment in https://esp-rs.github.io/book/installation/riscv-and-xtensa.html#3-set-up-the-environment-variables-
to use usb from windows inside wsl you need bridge usb device from windows to wsl with
usbipdshell C:\Windows\System32> usbipd list Connected: BUSID VID:PID DEVICE STATE 1-1 feed:0ffa USB Input Device Not shared 1-2 0000:3825 USB Input Device Not shared 1-4 0bda:0129 Realtek USB 2.0 Card Reader Not shared 1-5 13d3:56cb USB2.0 HD IR UVC WebCam Not shared 1-6 1366:0101 J-Link driver Not shared 1-10 8087:0026 Intel(R) Wireless Bluetooth(R) Not shared Persisted: GUID DEVICE C:\Windows\System32> usbipd bind --busid 1-6 C:\Windows\System32> usbipd attach --wsl --busid 1-6 usbipd: info: Using WSL distribution 'Arch' to attach; the device will be available in all WSL 2 distributions. usbipd: info: Detected networking mode 'nat'. usbipd: info: Using IP address 172.27.144.1 to reach the host. C:\Windows\System32>then you can access the usb device as in linux
-
run
get_esprsto add needed compiler to system PATH (alias get_esprs='export-esp.sh') -
to build release, flash, and monitor run
cargo run --release, it will run runnerespflash flash --monitor -L defmtfrom Config.toml inside.cargofolder -
to run monitor only (no build) run
espflash monitor -L defmt --elf target/xtensa-esp32-none-elf/release/caligula, you need add -L for logging format, and add --elf for defmt know about program. -
run
espflash board-infoto get connected board information -
to flash and run,
cargo run --release --bin rust_file_name.rs -
embassy-sync blog -> https://blog.theembeddedrustacean.com/sharing-data-among-tasks-in-rust-embassy-synchronization-primitives
🧑🍳 Recipes
- esp-generate -> to scafold esp32 project repo
- espup -> setup rust esp32 toolchain repo
- defmt -> test like std rust in no_std repo
- espflash -> to flashing firmware
- probe-rs -> to debugging also able to flash
🪗 TODO Log
learn rust embassy ecosistem with esp-rs
map all predefined SORE button and ledread multithread chapter in rust booklearn to make peripheral with hal- learn about interupt and
dma learn how embassy and esp-hal is connectedlearn and explore embassy docs for esp32read embassy_sync for multithread in embassylearn embassy feature and learn embassy async- search for match sensor and actuator
- make TMC2209 Stepper motor driver for actuator
🌴 Project Log
- 23 march 2025 20:02, basic esp rust setup with embassy, esp-println and defmt for logging is work
- ⛑️ TOOD: make project to have test like std rust with defmt, so its easier to create and unit testing in no_std
- 10 Mei 2025 13:06, done skiming https://docs.esp-rs.org/book
- 1 Mei 2026 18:10, finish routing phase one
🌼 Reference
Parts
109| Qty | Value | Footprint | References |
|---|---|---|---|
| 15 | 100nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1, C2, C3, C4, C5, C6, C7, C8, C9, C12, C18, C19, C20, C25, C29 |
| 9 | 1k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1, R2, R3, R4, R7, R8, R9, R13, R14 |
| 4 | 10K | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R23, R25, R30, R33 |
| 4 | 51k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R10, R26, R27, R28 |
| 4 | 5K1 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R5, R6, R35, R37 |
| 4 | MountingHole | MountingHole:MountingHole_2mm | H1, H2, H3, H4 |
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H5, H6, H7, H8 |
| 3 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R11, R12, R24 |
| 3 | 10uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C13, C16, C17 |
| 3 | SS8050 | Package_TO_SOT_SMD:SOT-23_Handsoldering | Q1, Q2, Q3 |
| 3 | lcd jumper | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | J5, J6, J7 |
| 2 | 1K5 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R20, R21 |
| 2 | 1uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C11, C15 |
| 2 | 22 / 33 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R38, R39 |
| 2 | 4.7uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C22, C23 |
| 2 | 4k7 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R19, R22 |
| 2 | IN4 | keyswitches.pretty-master:Kailh_socket_MX_reversible_platemount | SW5, SW6 |
| 2 | USB2UART | Connector_USB:USB_C_Receptacle_GCT_USB4110 | J1, J4 |
| 1 | 0.1uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C14 |
| 1 | 1.13k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R18 |
| 1 | 1.47 IPS LCD | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | J2 |
| 1 | 100 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R15 |
| 1 | 10uF / >10V | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C27 |
| 1 | 10uF / >5V | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C26 |
| 1 | 1K | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R31 |
| 1 | 22uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C10 |
| 1 | 22uH 1A | Inductor_SMD:L_Bourns_SRP7028A_7.3x6.6mm | L1 |
| 1 | 2K2 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R17 |
| 1 | 2_Wire | Jumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mm | JP3 |
| 1 | 2n2F | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C28 |
| 1 | 3_OR_2_Wire | Jumper:SolderJumper-3_P1.3mm_Open_RoundedPad1.0x1.5mm | JP2 |
| 1 | 430 1% | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R40 |
| 1 | 46.4K | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R16 |
| 1 | 4M7 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R29 |
| 1 | 4k5 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R32 |
| 1 | ADS1115IDGS | Package_SO:TSSOP-10_3x3mm_P0.5mm | U6 |
| 1 | BQ24075RGT_DPPM | Package_DFN_QFN:VQFN-16-1EP_3x3mm_P0.5mm_EP1.6x1.6mm | U5 |
| 1 | Boot | Button_Switch_SMD:SW_SPST_EVQP7A | SW3 |
| 1 | CH340C | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U1 |
| 1 | ConnBattery | Connector_JST:JST_XH_S3B-XH-A_1x03_P2.50mm_Horizontal | J3 |
| 1 | ESP32-S3-WROOM-1 | RF_Module:ESP32-S3-WROOM-1 | U2 |
| 1 | ICL7660 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U4 |
| 1 | IN1 | keyswitches.pretty-master:Kailh_socket_MX_reversible_platemount | SW2 |
| 1 | IN2 | keyswitches.pretty-master:Kailh_socket_MX_reversible_platemount | SW4 |
| 1 | INDICATOR | LED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolder | D1 |
| 1 | MAX31865xTP | Package_DFN_QFN:TQFN-20-1EP_5x5mm_P0.65mm_EP3.25x3.25mm | U7 |
| 1 | MST22D18G2 | easyeda2kicad:SW-SMD_MST22D18G2 | SW7 |
| 1 | OPA2197xD | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U8 |
| 1 | PH Sensor | Connector_Coaxial:BNC_Amphenol_B6252HB-NPP3G-50_Horizontal | J8 |
| 1 | PT100_CONN | Connector_Audio:Jack_XLR_Neutrik_NC3FAH-0_Horizontal | J9 |
| 1 | RST | Button_Switch_SMD:SW_SPST_EVQP7A | SW1 |
| 1 | TF PUSH | easyeda2kicad:TF-SMD_TF-PUSH | Card1 |
| 1 | TPS63001_SEPIC_3V3 | Package_SON:Texas_DRC0010J_ThermalVias | U3 |
| 1 | TS_unused | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP1 |
| 1 | VDD | LED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolder | D2 |
| 1 | green | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D3 |
| 1 | red | LED_SMD:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D4 |
Similar boards
- 2 layers56.9 × 51.1 mm

- 2 layers37 × 32.6 mm

Heart badge
polaracep/soldering-kits
A collection of easy-to-solder boards for learning soldering
18 parts8AGPL-3.0 - 4 layers241.3 × 180.3 mm

- 4 layers152.5 × 161.6 mm

MB PCB ControladorESP32
Miguel-Barcelos/Electronics-Projects
Este repositório contém projetos de eletrônica, incluindo circuitos eletrônicos, simulações e design de PCBs.
203 parts - 2 layers113.4 × 65 mm

- 2 layers76.6 × 141.1 mm

Oniondao badge
OnionDAO-git/oniondao-badge
An open-source, hacker-conference-style electronic badge built around the ESP32-S3-WROOM-1-N8R8 (8 MB flash + 8 MB Octal PSRAM), with swappable RF / audio / storage modules, an e-paper (or TFT) display socket, a secure…
190 parts17 - 4 layers99.5 × 56.5 mm

EKG licenta
AlexMirt2/EKG-signal-acquisition-and-processing-system
The diploma project focuses on designing and implementing an ECG signal acquisition and processing system. It includes smart devices capable of transmitting data to the cloud.
107 parts - 2 layers98 × 56.3 mm

ESP32 HUB
ANSHUMANDOCX/ESP32-Touch-Hub
This is a Esp32 Hub that has a 3.5 inch tft touch screen
77 parts
Questions
How big is the Caligula PCB?
It measures 84.6 × 108.3 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Caligula use?
109 parts, built around the CH340C, ESP32-S3-WROOM-1-N8, ADS1115IDGS and ICL7660N. 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 Caligula KiCad files?
From the ahsanu123/caligula repository on GitHub, at the commit this page was made from: the board is hardware/prototype/caligula.kicad_pcb and its schematic hardware/TMC2209-Breakout/TMC2209-Breakout.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Caligula design in my own project?
Its repository states no licence, so its author keeps all rights: ask ahsanu123 before reusing the design.