

An ESP32-based lighting control system for campervans (or anything else)
- Size
- 147 × 92 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 227
- Nets
- 157
- Pads
- 726
- Tracks, vias
- 1,419, 417
- Pours
- 5
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 23 Nov 2020
- Updated
- 25 Feb 2021
Overview
Van is an open-source printed circuit board by blinken, from the blinken/vandal repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 147 × 92 mm with 227 parts on 157 nets, routed with 1,419 tracks and 417 vias.
It is built around the ESP32-WROOM-32, SN65HVD230D and FT232RL, with the BD33IA5WEFJ-E2, RFM95W-868S2 and TXS0108EPW among its other parts. Its parts include 77 resistors, 26 diodes, 24 capacitors, 22 connectors and 21 transistors. It belongs with the radio and wireless and lEDs and displays boards and the ESP32 boards of this library.
Main components
10ESP32-WROOM-32
SMD,18x25.5mm-40℃~+85℃ -98dBm 2.4GHz 2.7V~3.6V 20dBm Bluetooth4.2 ESP32-DOWDQ6 UART、SDIO、SPI、I2C、GPIO、PWM、ADC、DAC SMD,25.5x18mm WiFi Modules ROHSEspressif SystemsWiFi ModulesSN65HVD230D
SOIC-8-40℃~+85℃ 1 17mA 1Mbps 370uA 3V~3.6V CAN Transceiver Low-power mode、Wake-up function、ESD protection、Thermal shutdown protection、Bus fault protection、Hot-swap protection SOIC-8 CAN Transceivers ROHSTexas InstrumentsCAN TransceiversFT232RL
SSOP-28-208mil-40℃~+85℃ 3.3V~5.25V、4V~5.25V USB 2.0 USB to UART SSOP-28-208mil USB Converters ROHSFTDIUSB ConvertersBD33IA5WEFJ-E2
HTSOP-J8-EP-25℃~+85℃@(Ta) 1 3.3V 5.5V 500mA 500uA 600mV@(500mA) Fixed Over Current Protection、Over Temperature Protection Positive HTSOP-J8-EP Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSROHM SemiconductorVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsRFM95W-868S2
16-SMD16-SMD New Arrivals ROHSHopeRF Micro-electronicsUncategorisedTXS0108EPW
TSSOP-20-40℃~+85℃ 1 1.4V~3.6V 1.65V~5.5V 60Mbps 8 Automatic direction detection、Output enable high-impedance、Integrated pull-up resistor Bidirectional Level translator Push-Pull、Open-drain TSSOP-20 Translators, Level Shifters ROHSTexas InstrumentsTranslators, Level ShiftersBSS138
SOT-23-55℃~+150℃ 1 N-channel 1.1Ω@10V、1.2Ω@4.5V 1.2V 1.7nC@10V 17.5pF 340mA 350mW 50V 6.5pF N-Channel SOT-23 MOSFETs ROHShongjiachengMOSFETsSUD50P04-08-VB
TO-252-2-55℃~+175℃ 1 P-Channel 1.5V 136W 3.95nF 40V 440pF 50A 80nC@10V TO-252-2 MOSFETs ROHSVBsemi ElecMOSFETsAHEF500
插件-40℃~+125℃ 100A 10A 15mΩ 25s 32V 40mΩ 5.3W 5A Plugin Resettable Fuses ROHSLittelfuseResettable FusesBC817
SOT-231 NPN 100nA 150MHz 300mW 40 45V 500mA 5V 700mV NPN SOT-23 Bipolar (BJT) ROHSShikuesBipolar (BJT)
README
README.mdvandal
A lighting and fan control system for campervans (or anything else)
vandal is an ESP32-based 10-channel smart switch module with LoRa, CANBus, a display, and a rotary encoder. For 12-24V DC systems, intended to control camper or RV lighting. It features
- 7 switched-positive output channels, capable of each sourcing 5A at Vin (up to 27V) . All channels support fade, blink, breathe modes via an SX1509 driver.
- 3 switched-negative channels, capable of each sinking 200mA at up to 30V.
- 6 protected IO lines, 5V-tolerant and operating at a 3.3V logic level
- CANBus interface (via a SN65HVD230 transceiver)
- Protected 1Wire bus, operating at 5V, for temperature sensors (DS1820B and others)
- LoRa transceiver (HopeRF RFM95) with SMA antenna connection
- USB programming for the ESP32 (using a FT232R)
- Numeric/text display: footprints and headers to support 2x Adafruit 0.54" LED backpacks
- 8x32 LED matrix: footprints and headers to support 4x MAX7219-based 8x8 LED arrays Amazon AliExpress 1 AliExpress 2
- Rotary (quadrature) encoder to allow control by the user
- Protected power supply supporting 12V and 24V lead-acid and LiFePO4 battery systems
Protected lines feature diode clamping to 5V and 0V, and high-current lines include TVS diodes on the output to protect against overvoltage and back-EMF. The input has reverse polarity protection. All outputs (and the input) are individually fused.
This project is a work in progress, and the software for the ESP32 doesn't exist yet. It's intended to control LED lighting in my van, and is a bit of an excuse to play with CANBus and the RFM95 LoRa module.
The PCB was created in KiCad. I have a few spare - if you're interested, shoot me an email and I can post you one for a small fee. Alternatively, the gerber files are available here.
The hardware and software for this project are copyright 2020 Patrick Coleman. They are released under the GNU General Public License, version 3.0.
Schematic and board renders
See this spreadsheet for the BOM for board revision v1.0.
Parts
227| Qty | Value | Footprint | References |
|---|---|---|---|
| 32 | 10k | Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolder | R3, R4, R11, R16, R19, R20, R21, R25, R26, R27, R28, R29, R40, R41, R42, R43 +16 |
| 15 | 1k | Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolder | R9, R10, R17, R18, R33, R34, R35, R36, R39, R47, R48, R58, R69, R77, R82 |
| 14 | D_Schottky | Diode_SMD:D_SOD-323_HandSoldering | D13, D15, D17, D18, D19, D20, D21, D22, D23, D24, D25, D26, D27, D28 |
| 12 | LED | LED_SMD:LED_1206_3216Metric | LED1, LED2, LED3, LED4, LED5, LED6, LED7, LED8, LED9, LED10, LED11, LED12 |
| 11 | 0.1uF | Capacitor_SMD:C_1206_3216Metric | C2, C4, C5, C9, C11, C13, C14, C15, C16, C19, C22 |
| 11 | 22uF | Capacitor_SMD:C_1206_3216Metric | C1, C3, C6, C10, C12, C17, C18, C20, C21, C23, C24 |
| 11 | SMBJ30A-13-F | UL5:SMBJ30A-13-F | TVS1, TVS2, TVS3, TVS4, TVS5, TVS6, TVS7, TVS9, TVS10, TVS11, TVS12 |
| 10 | 4k7 | Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolder | R1, R2, R12, R13, R14, R15, R37, R38, R52, R53 |
| 10 | BSS138 | Package_TO_SOT_SMD:SOT-23 | Q5, Q6, Q11, Q12, Q15, Q16, Q18, Q19, Q20, Q21 |
| 10 | OPT | Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolder | R22, R23, R24, R59, R60, R61, R62, R63, R64, R74 |
| 9 | SUD50P04-08 | Package_TO_SOT_SMD:TO-252-2 | Q1, Q2, Q3, Q4, Q9, Q10, Q13, Q14, Q17 |
| 8 | 100 | Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolder | R51, R54, R66, R70, R71, R72, R76, R80 |
| 8 | 12V | Diode_SMD:D_SOD-323_HandSoldering | Z1, Z2, Z3, Z4, Z5, Z6, Z7, Z8 |
| 7 | AHEF500 | UL4:AHEF500 | F2, F3, F4, F5, F6, F7, F8 |
| 2 | 100k | Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolder | R5, R8 |
| 2 | 330uF | Capacitor_THT:CP_Radial_D10.0mm_P5.00mm | C7, C8 |
| 2 | BC817 | Package_TO_SOT_SMD:SOT-23 | Q7, Q8 |
| 2 | LED3_IN | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J14, J22 |
| 1 | 20A | Fuse:Fuseholder_Blade_ATO_Littelfuse_Pudenz_2_Pin | F1 |
| 1 | 233-506 | wago-233:233-506 | J8 |
| 1 | 233-508 | wago-233:233-508 | J7 |
| 1 | 24V INPUT | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J1 |
| 1 | 5V0 regulator TO220 | Package_TO_SOT_THT:TO-220-3_Vertical | U1 |
| 1 | BD33IA5WEFJ-E2 | UL3:BD33IA5WEFJ-E2 | U2 |
| 1 | BOOT | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J10 |
| 1 | CAN | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J12 |
| 1 | Conn_Coaxial | Connector_Coaxial:SMA_Amphenol_132134_Vertical | J13 |
| 1 | ESP GPIO | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J5 |
| 1 | ESP32-WROOM-32 | RF_Module:ESP32-WROOM-32 | U4 |
| 1 | FT232RL | Package_SO:SSOP-28_5.3x10.2mm_P0.65mm | U3 |
| 1 | GND | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J3 |
| 1 | HUMIDITY | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J25 |
| 1 | I2C | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J6 |
| 1 | LED1_IN | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J20 |
| 1 | LED2_IN | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J21 |
| 1 | LORA DIO | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J19 |
| 1 | NUM1 | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J17 |
| 1 | NUM2 | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J18 |
| 1 | OUTPUT 1 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | OUT1 |
| 1 | OUTPUT 2 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | OUT2 |
| 1 | OUTPUT 3 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | OUT3 |
| 1 | OUTPUT 4 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | OUT4 |
| 1 | OUTPUT 5 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | OUT5 |
| 1 | OUTPUT 6 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | OUT6 |
| 1 | OUTPUT 7 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | OUT7 |
| 1 | RESET | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J9 |
| 1 | RFM95W-868S2 | RF_Module:HOPERF_RFM9XW_SMD | U7 |
| 1 | ROTARY ENCODER | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J26 |
| 1 | SMBJ5.0A-13-F | UL1:SMBJ5.0A-E3&slash_52 | TVS8 |
| 1 | SN65HVD230 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U5 |
| 1 | SPI | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J27 |
| 1 | SX1509 | QFN-28 | U8 |
| 1 | TXS0108EPW | Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm | U6 |
| 1 | UART | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J2 |
| 1 | USB_B | Connector_USB:USB_B_OST_USB-B1HSxx_Horizontal | J4 |
The 213 most common of 227 parts.
Questions
How big is the Van PCB?
It measures 147 × 92 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Van use?
227 parts, built around the ESP32-WROOM-32, SN65HVD230D, FT232RL and BD33IA5WEFJ-E2. 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 Van KiCad files?
From the blinken/vandal repository on GitHub, at the commit this page was made from: the board is pcb/van.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Van 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).
Similar boards
- 2 layers

- 2 layers85 × 40 mm

- 2 layers47.5 × 50.3 mm

- 4 layers82 × 100 mm

Falcon Edge
rmingon/Falcon-Edge
A 3D-printable flying-wing airframe with a custom ESP32 flight computer—open hardware you can solder, screw together, and fly.
48 parts11 - 2 layers67.8 × 86.9 mm

- 4 layers70 × 50 mm

Timekeeper
liam-tirpitz/TickTock
A custom ESP32-based clock platform driving WS2812B/NeoPixel LED displays. Firmware and PCB are display-agnostic, supporting any addressable LED clock with minimal adjustments.
57 parts - 2 layers100 × 100 mm

Hdmilight v3
esar/hdmilight-v3
HDMI Light v3 - FPGA based Ambilight clone with direct HDMI input
259 parts8GPL-2.0 - 2 layers51.1 × 58.7 mm
