Skip to the content
PCBKitNew board
2 layers147 × 92 mmVan, the printed circuit board in 3D

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

10

README

README.md

vandal

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.

schematic Full size PNG PDF

board top Full size PNG

board bottom Full size PNG

Parts

227
QtyValueFootprintReferences
3210kResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR3, R4, R11, R16, R19, R20, R21, R25, R26, R27, R28, R29, R40, R41, R42, R43 +16
151kResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR9, R10, R17, R18, R33, R34, R35, R36, R39, R47, R48, R58, R69, R77, R82
14D_SchottkyDiode_SMD:D_SOD-323_HandSolderingD13, D15, D17, D18, D19, D20, D21, D22, D23, D24, D25, D26, D27, D28
12LEDLED_SMD:LED_1206_3216MetricLED1, LED2, LED3, LED4, LED5, LED6, LED7, LED8, LED9, LED10, LED11, LED12
110.1uFCapacitor_SMD:C_1206_3216MetricC2, C4, C5, C9, C11, C13, C14, C15, C16, C19, C22
1122uFCapacitor_SMD:C_1206_3216MetricC1, C3, C6, C10, C12, C17, C18, C20, C21, C23, C24
11SMBJ30A-13-FUL5:SMBJ30A-13-FTVS1, TVS2, TVS3, TVS4, TVS5, TVS6, TVS7, TVS9, TVS10, TVS11, TVS12
104k7Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR1, R2, R12, R13, R14, R15, R37, R38, R52, R53
10BSS138Package_TO_SOT_SMD:SOT-23Q5, Q6, Q11, Q12, Q15, Q16, Q18, Q19, Q20, Q21
10OPTResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR22, R23, R24, R59, R60, R61, R62, R63, R64, R74
9SUD50P04-08Package_TO_SOT_SMD:TO-252-2Q1, Q2, Q3, Q4, Q9, Q10, Q13, Q14, Q17
8100Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR51, R54, R66, R70, R71, R72, R76, R80
812VDiode_SMD:D_SOD-323_HandSolderingZ1, Z2, Z3, Z4, Z5, Z6, Z7, Z8
7AHEF500UL4:AHEF500F2, F3, F4, F5, F6, F7, F8
2100kResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR5, R8
2330uFCapacitor_THT:CP_Radial_D10.0mm_P5.00mmC7, C8
2BC817Package_TO_SOT_SMD:SOT-23Q7, Q8
2LED3_INConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ14, J22
120AFuse:Fuseholder_Blade_ATO_Littelfuse_Pudenz_2_PinF1
1233-506wago-233:233-506J8
1233-508wago-233:233-508J7
124V INPUTTerminalBlock:TerminalBlock_bornier-2_P5.08mmJ1
15V0 regulator TO220Package_TO_SOT_THT:TO-220-3_VerticalU1
1BD33IA5WEFJ-E2UL3:BD33IA5WEFJ-E2U2
1BOOTConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ10
1CANConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ12
1Conn_CoaxialConnector_Coaxial:SMA_Amphenol_132134_VerticalJ13
1ESP GPIOConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ5
1ESP32-WROOM-32RF_Module:ESP32-WROOM-32U4
1FT232RLPackage_SO:SSOP-28_5.3x10.2mm_P0.65mmU3
1GNDTerminalBlock:TerminalBlock_bornier-2_P5.08mmJ3
1HUMIDITYConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ25
1I2CConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ6
1LED1_INConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ20
1LED2_INConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ21
1LORA DIOConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ19
1NUM1Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ17
1NUM2Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ18
1OUTPUT 1TerminalBlock:TerminalBlock_bornier-2_P5.08mmOUT1
1OUTPUT 2TerminalBlock:TerminalBlock_bornier-2_P5.08mmOUT2
1OUTPUT 3TerminalBlock:TerminalBlock_bornier-2_P5.08mmOUT3
1OUTPUT 4TerminalBlock:TerminalBlock_bornier-2_P5.08mmOUT4
1OUTPUT 5TerminalBlock:TerminalBlock_bornier-2_P5.08mmOUT5
1OUTPUT 6TerminalBlock:TerminalBlock_bornier-2_P5.08mmOUT6
1OUTPUT 7TerminalBlock:TerminalBlock_bornier-2_P5.08mmOUT7
1RESETConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ9
1RFM95W-868S2RF_Module:HOPERF_RFM9XW_SMDU7
1ROTARY ENCODERConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ26
1SMBJ5.0A-13-FUL1:SMBJ5.0A-E3&slash_52TVS8
1SN65HVD230Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU5
1SPIConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ27
1SX1509QFN-28U8
1TXS0108EPWPackage_SO:TSSOP-20_4.4x6.5mm_P0.65mmU6
1UARTConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
1USB_BConnector_USB:USB_B_OST_USB-B1HSxx_HorizontalJ4

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 layersFlightController, the printed circuit board in 3D

    FlightController

    dylanjacobsun/flight_Controller

    Flight controller for flying wing

    85 parts1
  • 2 layers85 × 40 mmThings 02, the printed circuit board in 3D

    Things 02

    jordibinefa/IoT-02

    Codes and schematics of IoT-02 board

    62 parts3
  • 2 layers47.5 × 50.3 mmEsp32-lora, the printed circuit board in 3D

    Esp32-lora

    rmingon/esp32-lora

    esp32 with lora rfm95 and nunchuck connector

    28 parts
  • 4 layers82 × 100 mmFalcon Edge, the printed circuit board in 3D

    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
  • 4 layers70 × 50 mmTimekeeper, the printed circuit board in 3D

    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 mmHdmilight v3, the printed circuit board in 3D

    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 mmBattery switch, the printed circuit board in 3D

    Battery switch

    eclecticc/BeltPack

    Schematics and CAD for a belt PC

    40 parts5