
P2 Kevinbot Board
Kevinbot-Robotics/kevinbot_p2_board
Parallax Propeller 2 Edge robot control system with 32 servo ports

Mainboard for Kristian's stargate projects, based on ESP32-S3
StarGate MainBoard is an open-source printed circuit board by plhsystems, from the plhsystems/stargate-mainboard-esp32 repository on GitHub. It is a 4-layer board of 146.1 × 55 mm with 171 parts on 210 nets, routed with 1,869 tracks and 300 vias.
It is built around the ESP32-S3-WROOM-1-N16R2, PCA9685PW and FM6124, with the MC33063ADRE4, TPA6017A2PWP and SN74LVC1T45DBV among its other parts. Its parts include 51 capacitors, 39 resistors, 34 connectors, 19 ICs and 6 diodes. It belongs with the computers and single-board computers boards and the ESP32 boards of this library.
A fully functional Stargate replica controller based on ESP32, designed to replace Raspberry Pi-based solutions with a more cost-effective and integrated approach.
This project provides a complete embedded system for controlling Stargate props designed by Kristian and the "Build The Stargate" community. The ESP32-based solution offers:
Note: Pablo Board HAL is not yet ready to work and should not be used.
mkdir -p ~/esp
cd ~/esp
git clone -b v5.3.1 --recursive https://github.com/espressif/esp-idf.git esp-idf-5.3
cd esp-idf-5.3
./install.shgit clone https://github.com/user/stargate-mainboard-esp32.git
cd stargate-mainboard-esp32cd firmware/stargate-fw/pinky-board
. ~/esp/esp-idf-5.3/export.sh
idf.py build
idf.py -p /dev/ttyUSB0 flash monitorStargate-Universehttp://192.168.4.1The system consists of multiple firmware components:
stargate-fw: Main controller (ESP32-S3)
ring-fw: Smart ring controller (ESP32)
ring-factory: Factory test firmware
For detailed architecture information, see doc/architecture.md.
Comprehensive documentation is available in the doc/ directory:
Specifications:
Connections:
Stepper Motor: GPIO 25 (Step), GPIO 33 (Dir), GPIO 26 (Sleep)
Servo Motor: GPIO 4 (MCPWM)
Hall Sensor: GPIO 32 (Input)
Wormhole LEDs: GPIO 27 (WS2812B - 48 LEDs)
Ramp LED: GPIO 23 (PWM)
Status LED: GPIO 5Specifications:
Connections:
NeoPixel Ring: GPIO 13 (48 LEDs in 4 concentric rings)curl -X POST http://stargate.local/api/gate/dial \
-H "Content-Type: application/json" \
-d '{
"address": [27, 7, 15, 32, 12, 30, 1],
"galaxy": "milky_way"
}'curl http://stargate.local/api/system/statuscurl -X POST http://stargate.local/api/ring/animation \
-H "Content-Type: application/json" \
-d '{"animation": "fade_in"}'For complete API documentation, see doc/api-reference.md.
stargate-mainboard-esp32/
├── firmware/
│ ├── stargate-fw/ # Main controller
│ │ ├── main-app/ # Application logic
│ │ └── pinky-board/ # Hardware implementation
│ ├── ring-fw/ # Ring controller
│ └── ring-factory/ # Factory test firmware
├── esp32-components/ # Shared utilities
│ └── misc-formula/ # Math functions
├── sgc-components/ # Stargate-specific
│ └── sgu-ringcomm/ # BLE protocol
└── doc/ # DocumentationMain Controller:
cd firmware/stargate-fw/pinky-board
idf.py buildRing Firmware:
cd firmware/ring-fw
idf.py buildFactory Test:
cd firmware/ring-factory
idf.py build| Feature | ESP32 | Raspberry Pi |
|---|---|---|
| Cost | ~$5-10 | ~$35-75 |
| Availability | Readily available | Frequent shortages |
| Real-time Control | Yes (FreeRTOS) | Limited (Linux) |
| Power Consumption | ~80mA | ~500mA+ |
| Boot Time | <1 second | 20-40 seconds |
| Integration | Single PCB possible | Requires breakouts |
| GPIO | 34 pins | 28 pins (40-pin header) |
| Reliability | No SD card corruption | SD card wear issues |
MCPWM API errors:
BLE compilation errors:
#undef min / #undef max after includesIRAM overflow:
CONFIG_COMPILER_OPTIMIZATION_SIZE=y in sdkconfigRing won't connect:
idf.py monitorStepper doesn't move:
Homing fails:
Contributions are welcome! Please:
See doc/copyright.md for licensing information.
Current Version: 1.0.0 ESP-IDF Version: 5.3.1 Last Updated: 2026-01-22
For detailed documentation, visit the doc/ directory.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 21 | Conn_01x02_Pin | Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J3, J10, J12, J13, J14, J15, J16, J17, J18, J19, J20, J21, J22, J28, J29, J30 +5 |
| 10 | 100nF | Capacitor_SMD:C_0603_1608Metric | C8, C9, C11, C13, C19, C25, C29, C38, C40, C44 |
| 9 | 10nF | Capacitor_SMD:C_0603_1608Metric | C12, C20, C22, C23, C26, C30, C32, C39, C41 |
| 8 | 22k | Resistor_SMD:R_0603_1608Metric | R2, R14, R33, R34, R35, R36, R37, R38 |
| 7 | 10k | Resistor_SMD:R_0603_1608Metric | R9, R10, R16, R17, R18, R19, R28 |
| 6 | MountingHole | MountingHole:MountingHole_2.5mm | H1, H2, H3, H4, H5, H6 |
| 6 | TB6612FNG | Package_SO:SSOP-24_5.3x8.2mm_P0.65mm | IC1, IC2, IC3, IC4, IC5, IC6 |
| 4 | 100uF 10V | Capacitor_SMD:C_1210_3225Metric | C17, C18, C45, C46 |
| 4 | 1uF | Capacitor_SMD:C_0603_1608Metric | C15, C16, C42, C43 |
| 4 | 47uF/16V | Capacitor_SMD:CP_Elec_6.3x7.7 | C2, C4, C5, C7 |
| 3 | 0.1uF | Capacitor_SMD:C_0805_2012Metric | C1, C3, C33 |
| 3 | 120R | Resistor_SMD:R_0603_1608Metric | R20, R21, R22 |
| 3 | 1K | Resistor_SMD:R_0603_1608Metric | R7, R13, R15 |
| 3 | 22uF 25V | Capacitor_SMD:C_0805_2012Metric | C49, C52, C53 |
| 3 | Conn_01x02_Pin | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J23, J31, J33 |
| 3 | Conn_01x03_Male | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J11, J27, J32 |
| 3 | FIDUCIAL"" | Fiducial:Fiducial_1mm_Mask2mm | FID1, FID2, FID3 |
| 3 | LED | LED_SMD:LED_0805_2012Metric | D1, D3, D4 |
| 3 | PCA9685 | Package_SO:TSSOP-28_4.4x9.7mm_P0.65mm | U2, U3, U4 |
| 2 | 0.1uF | Capacitor_SMD:C_0603_1608Metric | C48, C50 |
| 2 | 10uF | Capacitor_SMD:C_0805_2012Metric | C6, C10 |
| 2 | 10uF 25V | Capacitor_SMD:C_0805_2012Metric | C21, C47 |
| 2 | 15uH | Inductor_SMD:L_0805_2012Metric | L1, L4 |
| 2 | 220uF | Capacitor_SMD:CP_Elec_6.3x7.7 | C27, C28 |
| 2 | 2k2 | Resistor_SMD:R_0603_1608Metric | R23, R24 |
| 2 | 5.1k | Resistor_SMD:R_0603_1608Metric | R26, R27 |
| 2 | 6.8k | Resistor_SMD:R_0603_1608Metric | R1, R5 |
| 2 | Conn_01x03_Socket | Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | J2, J24 |
| 2 | SW_Push_Dual | PLH:SW_PUSH_6mm | SW1, SW2 |
| 1 | 0.1uF 50V | Capacitor_SMD:C_0603_1608Metric | C51 |
| 1 | 0R | Resistor_SMD:R_0603_1608Metric | R29 |
| 1 | 0R33 | Resistor_SMD:R_1210_3225Metric | R30 |
| 1 | 100k | Resistor_SMD:R_0603_1608Metric | R8 |
| 1 | 100uF | Capacitor_SMD:CP_Elec_6.3x7.7 | C24 |
| 1 | 10uF | Capacitor_SMD:C_1210_3225Metric | C54 |
| 1 | 120pF | Capacitor_SMD:C_0603_1608Metric | C31 |
| 1 | 13k | Resistor_SMD:R_0603_1608Metric | R4 |
| 1 | 1M | Resistor_SMD:R_0603_1608Metric | R25 |
| 1 | 1k | Resistor_SMD:R_0603_1608Metric | R45 |
| 1 | 2.2uH 6x6 | Inductor_SMD:L_Coilcraft_XAL6060-XXX | L3 |
| 1 | 220uH | Inductor_SMD:L_12x12mm_H4.5mm | L2 |
| 1 | 22uF | Capacitor_SMD:C_1210_3225Metric | C55 |
| 1 | 348k | Resistor_SMD:R_0603_1608Metric | R11 |
| 1 | 3k | Resistor_SMD:R_0603_1608Metric | R3 |
| 1 | 3k9 | Resistor_SMD:R_0603_1608Metric | R32 |
| 1 | 4u7F | Capacitor_SMD:C_0603_1608Metric | C14 |
| 1 | 649k | Resistor_SMD:R_0603_1608Metric | R12 |
| 1 | 6k2 | Resistor_SMD:R_0603_1608Metric | R31 |
| 1 | AZ1084-1.8 | Package_TO_SOT_SMD:TO-252-2 | U10 |
| 1 | Conn_01x04_Pin | Connector_JST:JST_XH_B4B-XH-A_1x04_P2.50mm_Vertical | J4 |
| 1 | Conn_02x05_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x05_P2.54mm_Vertical | J25 |
| 1 | D | Diode_SMD:D_SOD-123 | D6 |
| 1 | D | Diode_SMD:D_SMA | D5 |
| 1 | ESP32-S3-WROOM-1-N16R2 | PLH:XCVR_ESP32-S3-WROOM-1-N16R2 | U6 |
| 1 | FDN337N | Package_TO_SOT_SMD:SOT-23 | Q2 |
| 1 | FDN340P | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | FM6124 | Package_SO:SSOP-24_3.9x8.7mm_P0.635mm | U5 |
| 1 | MC33063ADR | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U7 |
| 1 | Micro_SD_Card_Det | PLH:microSD_HC_Hirose_DM3AT-SF-PEJM5 | J26 |
| 1 | N0400P-ZK-E1-AY | PLH:TO-252-3_TabPin2 | Q3 |
| 1 | PJ-037A | PLH:CUI_PJ-037A | J1 |
| 1 | PMOS | PLH:TO-252-3_TabPin2 | Q12 |
| 1 | Phonejack_Stereo_SW | PLH:StereoJack_3.5mm_Switch_Cliff_JY039-5P_Horizontal | LINEOUT1 |
| 1 | Polyfuse | Fuse:Fuse_0805_2012Metric | F2 |
| 1 | R | Resistor_SMD:R_0603_1608Metric | R6 |
| 1 | RT6219 | Package_DFN_QFN:WDFN-10-1EP_3x3mm_P0.5mm_EP1.8x2.5mm_ThermalVias | U9 |
| 1 | SG-210SDF (11.2896MHz) | Oscillator:Oscillator_SMD_SeikoEpson_SG210-4Pin_2.5x2.0mm | X1 |
| 1 | SGTL5000 | Package_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.6x3.6mm_ThermalVias | IC7 |
| 1 | SN74LVC1T45DBV | Package_TO_SOT_SMD:SOT-23-6 | U1 |
| 1 | STMPS2151STR | Package_TO_SOT_SMD:SOT-23-5 | U12 |
| 1 | STPS2150A | Diode_SMD:D_SMA | D2 |
| 1 | TPA6017A2 | Package_SO:TSSOP-20-1EP_4.4x6.5mm_P0.65mm_EP2.15x3.35mm | U8 |
| 1 | USBLC6-4SC6 | Package_TO_SOT_SMD:SOT-23-6 | U11 |
| 1 | USB_C_Receptacle | Connector_USB:USB_C_Receptacle_G-Switch_GT-USB-7010ASV | J34 |

Kevinbot-Robotics/kevinbot_p2_board
Parallax Propeller 2 Edge robot control system with 32 servo ports






sneakylizard123-4/Mega2560plus
Mega 2560+ is an upgraded version of the Arduino Mega 2560. It keeps the same form factor and pinout as the original so it still works with every Mega shield, but it adds an onboard sensor suite and an ESP32-S3…

It measures 146.1 × 55 mm and has 4 copper layers, 1.6 mm thick.
171 parts, built around the ESP32-S3-WROOM-1-N16R2, PCA9685PW, FM6124 and MC33063ADRE4. 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.
From the plhsystems/stargate-mainboard-esp32 repository on GitHub, at the commit this page was made from: the board is hardware/StarGate-MainBoard.kicad_pcb and its schematic hardware/StarGate-MainBoard.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask plhsystems before reusing the design.