

Wfred rev6
wiThrottle-compatible hardware controller
- Size
- 124 × 35 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 87
- Nets
- 57
- Pads
- 282
- Tracks, vias
- 829, 73
- Pours
- 4
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 2 Jan 2018
- Updated
- 30 Aug 2026
Overview
Wfred rev6 is an open-source printed circuit board by newHeiko, from the newHeiko/wiFred repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 124 × 35 mm with 87 parts on 57 nets, routed with 829 tracks and 73 vias.
It is built around the ESP32-S2-WROOM-N4, HX4004A and TP4054, with the XC6220B331MR and BAT54C among its other parts. Its parts include 24 resistors, 19 capacitors, 16 switches, 12 diodes and 4 ICs. It belongs with the ESP32 boards of this library.
Main components
5ESP32-S2-WROOM-N4
SMD,31x18mm-40℃~+85℃ -97dBm 19.5dBm 2.4GHz 310mA 3V~3.6V 63mA ESP32-S2 On-board PCB Antenna UART、SPI、I2C、GPIO、I2S SMD,31x18mm WiFi Modules ROHSEspressif SystemsWiFi ModulesHX4004A
SOT23-6SOT23-6 New Arrivals ROHSHEXINUncategorisedTP4054
SOT-23-5L-40℃~+85℃ 1 25uA 4.2V 4.2V~6.5V 500mA Charging IC Lithium Battery Not supported 恒流充电、恒压充电、涓流充电、自动再充电、充电终止、可编程充电电流、软启动、欠压锁定 SOT-23-5L Battery Management ROHSUMWBattery ManagementXC6220B331MR
SOT-23-5-40℃~+85℃@(Ta) 1 25uA 3.3V 400mV@(800mA) 5.5V 50dB@(10kHz) 900mA Fixed Over Current Protection、Over Temperature Protection Positive SOT-23-5 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSTECH PUBLICVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsBAT54C
SOT-231 Pair Common Cathode 200mA 2uA@25V 30V 600mA 800mV@100mA SOT-23 Schottky Diodes ROHSNexperiaSchottky Diodes
README
README.mdwiFred
wiThrottle-compatible hardware controller
This repo contains schematics, PCB and documentation for the wiFred, a wiThrottle-compatible WiFi hardware controller developed to unchain the Fremo Fred 1 / Fredi 2 from its loconet cable.

Branch information
Several versions are contained in different branches:
- master branch: Designed to fit into Strapubox 2090 housing, powered by a lithium battery, hardware: ESP32-S2-WROOM, THT pushbuttons
- rev0.6 (initial)
- rev0.62 (switched USB connector to USB-C)
- rev0.63 (replaced constant current source for flashlight with charge pump, replaced a few out-of-stock parts)
- rev0.64 (added silk-screen text for LEDs and colored buttons, moved flashlight LEDs further apart, added twist protection for direction switch)
- Latest Firmware: https://github.com/newHeiko/wiFred/blob/master/software/pre-compiled/2026-08-30-5456979-master.bin
- esp12 branch: Designed to fit into Strapubox 2090 housing, powered by a lithium battery, hardware: AVR ATMega328P plus ESP12F, SMD pushbuttons
- rev0.4 (no flashlight prototype)
- rev0.5 (Added flashlight)
- rev0.51 (Fixed silkscreen on PCB)
- rev0.52 (Moved LEDs out of the key matrix to get rid of double function key presses)
- Latest Firmware: https://github.com/newHeiko/wiFred/blob/master/software/pre-compiled/2026-08-30-b6b983a-esp12.bin to go with AVR firmware https://github.com/newHeiko/wiFred/blob/master/software/pre-compiled/2025-03-26-ddf1322-esp12.hex
- esp12-old branch: No longer developed. Mostly the same hardware as esp12 branch before the rev0.52 fix, but with old protocol between AVR and ESP12F and key presses often activating multiple functions. See the documentation at https://newHeiko.github.io/wiFred/documentation/fix05matrix_en.html for fixing the PCB to work with firmware from esp12-branch.
- newAgeEnclosures branch: No longer developed, designed for New Age Enclosures Compact AA housing, powered by 2x AA cells, hardware: AVR ATMega328P plus ESP12F, SMD pushbuttons
- AABatteryPrototype branch: No longer developed, designed for Strapubox 6090 housing, powered by 2x AA cells, hardware: AVR ATMega328P plus ESP12F, SMD pushbuttons, very tight fit requires multiple modifications to Strapubox housing
Parts
87| Qty | Value | Footprint | References |
|---|---|---|---|
| 9 | 22u | Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C103, C203, C204, C205, C304, C305, C306, C307, C308 |
| 9 | 4k7 | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R201, R202, R203, R204, R205, R206, R211, R303, R304 |
| 6 | 4u7 | Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C101, C102, C104, C201, C202, C302 |
| 5 | 680R | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R103, R104, R207, R208, R209 |
| 5 | BAT54C | Package_TO_SOT_SMD:SOT-23 | D103, D201, D202, D203, D204 |
| 4 | , , , | ||
| 3 | 4M7 | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R212, R301, R302 |
| 2 | 100n | Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C301, C303 |
| 2 | 150R | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R210, R213 |
| 2 | 22R | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R101, R102 |
| 2 | 22p | Capacitor_SMD:C_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C105, C106 |
| 2 | 5k1 | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R106, R107 |
| 1 | 10k lin P160KNPD-4FC20B10K | myFootprints:P160KNPD | RV201 |
| 1 | 2k2 | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R105 |
| 1 | BATT | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Horizontal | P101 |
| 1 | Conn_02x03_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical | J301 |
| 1 | Cree C543A-WMN-CCCKK141 | myFootprints:LED_D5.0mm_Horicontal_FLIPPED_O1.27mm | D208 |
| 1 | Cree C543A-WMN-CCCKK141 | LED_THT:LED_D5.0mm_Horizontal_O1.27mm_Z3.0mm_Clear | D209 |
| 1 | DIRECTION | myFootprints:100SP1T1B1M1QEH | SW216 |
| 1 | ESP32-S2-WROOM | myFootprints:ESP32-S2-WROVER-HandSoldering | U301 |
| 1 | ESTOP | myFootprints:SW_PUSH_6mm_H9.5mm_red | SW204 |
| 1 | F0 | Button_Switch_THT:SW_PUSH_6mm_H9.5mm | SW205 |
| 1 | F1 | Button_Switch_THT:SW_PUSH_6mm_H9.5mm | SW201 |
| 1 | F2 | Button_Switch_THT:SW_PUSH_6mm_H9.5mm | SW206 |
| 1 | F3 | Button_Switch_THT:SW_PUSH_6mm_H9.5mm | SW213 |
| 1 | F4 | Button_Switch_THT:SW_PUSH_6mm_H9.5mm | SW202 |
| 1 | F5 | Button_Switch_THT:SW_PUSH_6mm_H9.5mm | SW207 |
| 1 | F6 | Button_Switch_THT:SW_PUSH_6mm_H9.5mm | SW214 |
| 1 | F7 | Button_Switch_THT:SW_PUSH_6mm_H9.5mm | SW203 |
| 1 | F8 | Button_Switch_THT:SW_PUSH_6mm_H9.5mm | SW208 |
| 1 | FORWARD - green | myFootprints:LED_D3.0mm_green | D206 |
| 1 | HX4004A | Package_TO_SOT_SMD:SOT-23-6_Handsoldering | IC201 |
| 1 | LED - green | myFootprints:LED_D3.0mm_green | D102 |
| 1 | LED - red | myFootprints:LED_D3.0mm_red | D101 |
| 1 | LOCO1 | myFootprints:OS102011MS2Q | SW209 |
| 1 | LOCO2 | myFootprints:OS102011MS2Q | SW210 |
| 1 | LOCO3 | myFootprints:OS102011MS2Q | SW211 |
| 1 | LOCO4 | myFootprints:OS102011MS2Q | SW212 |
| 1 | REVERSE - green | myFootprints:LED_D3.0mm_green | D207 |
| 1 | SHIFT | myFootprints:SW_PUSH_6mm_H9.5mm_yellow | SW215 |
| 1 | STOP - red | myFootprints:LED_D3.0mm_red | D205 |
| 1 | TP4054 | Package_TO_SOT_SMD:SOT-23-5_HandSoldering | IC101 |
| 1 | USB_C_Receptacle_USB2.0 | Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J101 |
| 1 | XC6220B331MR | Package_TO_SOT_SMD:SOT-23-5_HandSoldering | IC102 |
The 83 most common of 87 parts.
Similar boards
- 2 layers13.7 × 7.9 mm

- 2 layers61 × 30.5 mm

- 2 layers27.9 × 92.7 mm

- 4 layers51.3 × 23.4 mm

20210211 eduino
ccadic/HackZeGarage
ESP32-S2 and CC1101S 433Mhz usb stick to record and send car gates/garages data keys and open stuff
33 parts19 - 2 layers51.5 × 157.3 mm

BTCPOS
ccadic/LightningNetworkPCB
This is a lightning network esp32S2 experimentation PCB (POS/ATM)
40 parts3 - 2 layers27.9 × 88.9 mm

Morphesp240template
hwreverse/MorphESP240_Shields
HWR0's Shield Designs for the MorphESP 240 by @ccadic
37 parts13MIT - 4 layers46 × 29.5 mm

- 2 layers17.8 × 33.1 mm

Questions
How big is the Wfred rev6 PCB?
It measures 124 × 35 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Wfred rev6 use?
87 parts, built around the ESP32-S2-WROOM-N4, HX4004A, TP4054 and XC6220B331MR. 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 Wfred rev6 KiCad files?
From the newHeiko/wiFred repository on GitHub, at the commit this page was made from: the board is hardware/wfred_rev6.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Wfred rev6 design in my own project?
Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).