

Control v1.5
All things sole.
- Size
- 84.5 × 43.8 mm
- Copper layers
- 2
- Thickness
- 1.58 mm
- Parts
- 50
- Nets
- 66
- Pads
- 200
- Tracks, vias
- 207, 21
- Pours
- 9
- Routed
- Yes
- KiCad
- KiCad 8.0 (file 20240108)
- Created
- 1 May 2025
- Updated
- 19 Aug 2025
Overview
Control v1.5 is an open-source printed circuit board by miketrombley, from the miketrombley/Sole-Pod repository on GitHub. It is a 2-layer board of 84.5 × 43.8 mm with 50 parts on 66 nets, routed with 207 tracks and 21 vias.
It is built around the ESP32-S3-WROOM-1-N16R8, LD1117S33CTR-HXY and USBLC6-2SC6, with the FMMT617, 1N4001W and SMBJ13A among its other parts. Its parts include 12 connectors, 9 resistors, 8 diodes, 5 capacitors and 4 transistors. It belongs with the ESP32 boards of this library.
Main components
6ESP32-S3-WROOM-1-N16R8
SMD,25.5x18mm-103.5dBm -40℃~+65℃ 2.4GHz 20.5dBm 355mA 3V~3.6V 95mA ESP32-S3R8 On-board PCB Antenna UART、SPI、I2C、GPIO、I2S、USB SMD,25.5x18mm WiFi Modules ROHSEspressif SystemsWiFi ModulesLD1117S33CTR-HXY
SOT-223-20℃~+85℃ 1.3V@(800mA) 15V 2mA 3.3V 800mA Fixed Over Temperature Protection SOT-223 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSHXY MOSFETVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsUSBLC6-2SC6
SOT-23-60.35pF、0.8pF 100nA 150W@8/20us 15V 2 5V 6A@8/20us 6V ESD SOT-23-6 ESD and Surge Protection (TVS/ESD) ROHSUMWESD And Surge Protection (TVS/ESD)FMMT617
SOT-231 NPN 100nA 150MHz 15V 200 3A 500mV 5V 625mW NPN SOT-23 Bipolar (BJT) ROHSPJSEMIBipolar (BJT)1N4001W
SOD-123FLDiodes - General PurposehongjiachengSMBJ13A
DO-214AA(SMB)-55℃~+150℃ 13V 15.9V 21.5V 27.91A@10/1000us 5uA 600W@10/1000us IEC 61000-4-2 TVS Unidirectional DO-214AA(SMB) ESD and Surge Protection (TVS/ESD) ROHShongjiachengESD And Surge Protection (TVS/ESD)
README
README.mdSole Pod Control System
An ESP32-based firmware for controlling a smart pod system with motorized door and tray, LED lighting, and wireless connectivity.
🚀 Features
Core Functionality
- Motorized Door & Tray Control: Automated opening/closing sequence with precise position control
- Smart LED Lighting: Full-color NeoPixel LED with adjustable brightness and color
- Hall Sensor Feedback: Precise position detection for door and tray states
- Safety Systems: Motor stall detection with automatic shutdown
- Persistent Settings: All configurations saved to flash memory
Connectivity
- Bluetooth Low Energy (BLE): Local device control via mobile app
- WiFi Integration: Network connectivity with credential management
- AWS IoT Core: Cloud connectivity for remote monitoring and control
- MQTT Communication: Real-time state updates and commands
User Interface
- Physical Buttons: Manual door and LED control
- Child Lock: Safety feature to prevent accidental operation
- Status Indicators: Real-time feedback on device state
📋 Hardware Requirements
Compatible Hardware
- Control Board: v1.4
- LED Board: v1.2
- Hall Sensor Board: v1.0
- Microcontroller: ESP32
Pin Configuration
// Motor Control
#define DOOR_MOTOR 46 // Door motor control
#define DOOR_DIRECTION 3 // Door motor direction
#define TRAY_MOTOR 10 // Tray motor control
#define TRAY_DIRECTION 11 // Tray motor direction
// Sensors
#define SW_DOOR_CLOSED 45 // Door closed sensor
#define SW_DOOR_OPENED 48 // Door opened sensor
#define SW_TRAY_CLOSED 35 // Tray closed sensor
#define SW_TRAY_OPENED 36 // Tray opened sensor
// User Interface
#define DOOR_BTN 47 // Door control button
#define LED_BTN 21 // LED control button
#define LED_DATA_PIN 14 // NeoPixel data pin
// Safety
#define VOLTAGE_PIN 9 // Motor current monitoring🏗️ Architecture
System States
The pod operates in 5 distinct states:
- CLOSED (0): Door closed, tray closed
- DOOR_MIDWAY (1): Door transitioning, tray closed
- DOOR_OPEN (2): Door open, tray closed
- TRAY_MIDWAY (3): Door open, tray transitioning
- OPEN (4): Door open, tray open
Operation Sequence
Opening: CLOSED → DOOR_MIDWAY → DOOR_OPEN → TRAY_MIDWAY → OPEN Closing: OPEN → TRAY_MIDWAY → DOOR_OPEN → DOOR_MIDWAY → CLOSED
📱 BLE Interface
Service UUID
7d840001-11eb-4c13-89f2-246b6e0b0000
Characteristics
| Function | UUID | Type | Range | Description |
|---|---|---|---|---|
| Door Status | 7d840002-...0001 | R/W | 0-1 | 0=Closed, 1=Open |
| Door Position | 7d840003-...0002 | R/W | 50,100 | Partial/Full open |
| LED Status | 7d840004-...0003 | R/W | 0-1 | 0=Off, 1=On |
| LED Brightness | 7d840005-...0004 | R/W | 0-100 | Brightness percentage |
| LED Color | 7d840006-...0005 | R/W | Hex | 6-digit hex color code |
| WiFi Credentials | 7d840007-...0006 | W | String | Format: SSIDENDNETWORKPASSWORDENDPASSWORD |
| WiFi Status | 7d840008-...0007 | R/N | String | Connection status |
☁️ AWS IoT Integration
Device Shadow Topics
- Publish:
$aws/things/pod_1/shadow/update - Subscribe:
$aws/things/pod_1/shadow/update/accepted
Shadow Document Structure
{
"state": {
"reported": {
"is_open": true,
"nightlight": false,
"color": "FF0000",
"nightlight_brightness": 75
},
"desired": {
"is_open": false,
"nightlight": true,
"color": "0000FF",
"nightlight_brightness": 50
}
}
}🔧 Configuration
AWS Configuration
Update aws_config.h with your AWS IoT settings:
#define AWS_IOT_ENDPOINT "your-endpoint-ats.iot.region.amazonaws.com"
#define DEVICE_NAME "your_device_name"Replace the certificate and key constants with your device-specific credentials.
WiFi Configuration
Default credentials can be set in main.cpp:
const char* defaultSSID = "your_network";
const char* defaultPassword = "your_password";🛡️ Safety Features
Motor Stall Detection
- Threshold: 0.2V (configurable in
VoltageReader.h) - Sampling: 50-sample average for noise reduction
- Response: Immediate motor shutdown and system lockout
- Recovery: Requires power cycle after stall detection
Child Lock
- Prevents accidental button operation
- Configurable via software flag
- Applies to both door and LED controls
📊 Debug Output
Enable debug mode in main.cpp:
#define DEBUG_MODE trueDebug Information Includes:
- Current pod state and target
- Sensor readings (door/tray positions)
- LED status (state, brightness, color)
- WiFi connection status and signal strength
- Motor voltage readings
- Safety system status
🔄 State Persistence
The system automatically saves and restores:
- LED color and brightness settings
- Door position preference (50% or 100% open)
- LED on/off state
- Door open/closed status
Settings are stored in ESP32 flash memory using the Preferences library.
🚦 Status Codes
Safety Status
0: OK - Normal operation1: Motor stall detected2: Obstacle detected3: Overcurrent condition4: System error
WiFi Status
- "Connected" - Successfully connected
- "Disconnected" - Not connected
- "Connection failed" - Failed to connect
- "SSID not available" - Network not found
🛠️ Development
Dependencies
- Arduino ESP32 Core
- WiFiClientSecure
- PubSubClient (MQTT)
- ArduinoJson
- Adafruit NeoPixel
- ESP32 BLE Arduino
- Preferences
Building
- Install ESP32 board package in Arduino IDE
- Install required libraries
- Configure AWS certificates in
aws_config.h - Upload to ESP32 device
Testing
- Use serial monitor at 115200 baud for debug output
- Test BLE connectivity with compatible mobile app
- Verify AWS IoT connection in AWS Console
- Test all physical controls and sensors
📝 License
TBD
🤝 Contributing
[Add contribution guidelines if applicable]
📞 Support
[Add support contact information]
Hardware Compatibility: Control Board v1.4, LED Board v1.2, Hall Sensor Board v1.0
Parts
50| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | 220R | Resistors:R603 | R4, R7, R8, R9 |
| 4 | FMMT617 | General Sizes:SOT-23-3 | Q1, Q2, Q3, Q4 |
| 4 | MountingHole | MountingHole:MountingHole_3mm | H1, H2, H3, H4 |
| 3 | 10u 25V | Capacitors:C603 | C1, C2, C3 |
| 3 | JST-B2B-PH-K | Connector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_Vertical | J1, J3, J4 |
| 3 | JST-B3B-PH-K | Connector_JST:JST_PH_B3B-PH-K_1x03_P2.00mm_Vertical | J6, J7, J8 |
| 2 | 100n 50V | Capacitors:C603 | C4, C5 |
| 2 | 10k | Resistors:R603 | R1, R5 |
| 2 | 1N4001W | Diodes:SOD-123 | D7, D8 |
| 2 | 1N5819 | Diodes:D805 | D1, D4 |
| 2 | 1N914 | Diodes:D805 | D5, D6 |
| 2 | 5k1 | Resistors:R603 | R2, R3 |
| 2 | G6K-2F-Y-TR DC12 | Relay_SMD:Relay_DPDT_Omron_G6K-2F-Y | K1, K2 |
| 2 | JST-B2B-XH-A | Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_Vertical | J10, J11 |
| 1 | TYPE-C 16PIN 2MD(073) | USB:USB_C_TYPE-C_16PIN_2MD | J5 |
| 1 | 1R | Resistor_SMD:R_1206_3216Metric | R6 |
| 1 | BOOT | Button_Switch_SMD:SW_SPST_B3U-1000P | SW2 |
| 1 | Conn_01x04_Pin | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J12 |
| 1 | ESP32-S3-WROOM-1-N16R8 | RF_Module:ESP32-S3-WROOM-1 | U3 |
| 1 | JST-B3B-XH-A | Connector_JST:JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | J2 |
| 1 | JST-B4B-PH-K | Connector_JST:JST_PH_B4B-PH-K_1x04_P2.00mm_Vertical | J9 |
| 1 | LD1117S33CTR | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U1 |
| 1 | LED | Diodes:D603 | D3 |
| 1 | LOGO | LOGO | G*** |
| 1 | RESET | Button_Switch_SMD:SW_SPST_B3U-1000P | SW1 |
| 1 | SMBJ13A | Diode_SMD:D_SMB | D2 |
| 1 | USBLC6-2SC6 | Package_TO_SOT_SMD:SOT-23-6 | U2 |
More from miketrombley/Sole-Pod
2- 2 layers14 × 24 mm

- 2 layers10 × 10 mm

Similar boards
- 6 layers187 × 109 mm

- 4 layers82.6 × 47.6 mm

ESP32 VESC Controller
jawedhakimi/Hiking_trailer
Custom 4-layer PCB, 82.65 × 47.63 mm, 4 × M2.5 mounting holes (75 × 40 mm).
108 parts - 4 layers12 × 31.2 mm

- 2 layers64.9 × 38.1 mm

MSPM0L1105 Dev Board
sarthakchikte0312/MSPM0L1105_Dev_Board
Custom MSPM0L1105 development board designed in KiCad with USB, UART, SWD, and GPIO support.
50 parts - 2 layers60 × 90 mm

- 4 layers100 × 100 mm

- 4 layers160 × 80 mm

- 2 layers

Questions
How big is the Control v1.5 PCB?
It measures 84.5 × 43.8 mm and has 2 copper layers, 1.58 mm thick.
What parts does the Control v1.5 use?
50 parts, built around the ESP32-S3-WROOM-1-N16R8, LD1117S33CTR-HXY, USBLC6-2SC6 and FMMT617. 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 Control v1.5 KiCad files?
From the miketrombley/Sole-Pod repository on GitHub, at the commit this page was made from: the board is Control v1.5/Control v1.5.kicad_pcb and its schematic Control v1.5/Control v1.5.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Control v1.5 design in my own project?
Its repository states no licence, so its author keeps all rights: ask miketrombley before reusing the design.