Skip to the content
2 layers77 × 36.6 mmLed control, the printed circuit board in 3D

Led control

andieh/carpc1

digitalization of an old VW T3 Bulli

Size
77 × 36.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
18
Nets
18
Pads
58
Tracks, vias
95, 11
Routed
Yes
KiCad
KiCad 4
Created
6 Dec 2017
Updated
1 Mar 2019

Overview

Led control is an open-source printed circuit board by andieh, from the andieh/carpc repository on GitHub. It is a 2-layer board of 77 × 36.6 mm with 18 parts on 18 nets, routed with 95 tracks and 11 vias.

It is built around the IRLB8721PBF. Its parts include 6 connectors, 4 resistors and 4 transistors.

Main components

1

README

README.md

carpc

Digitalization of an old VW T3 Bulli

My old VW bulli needs some fancy power control. Mainly control of lights inside the van, disconnecting 5V power supply, theft control and so on. As an Add-on, my van has a "new" engine. The subaru EJ22 is also a boxer engine, but with way more power. And as this engine has some sort of diagnostics (pre-ODB2) included, it would be nice to visualize those informations as well.

so this project consists mainly of 3 parts:

  • An Arduino (only for the easy for programming, code is plain C) (work in progress)
  • A Raspberry Pi with Touchscreen and CarPC Kodi Interface (work in progress)
  • ESP8266 IoT Chip for Wireless control of the functionality (t.b.d)

Atmega328

This is the main part of the projects. Located in the back, this device will be always on. controlled by a 3x2 button interface, it enables the LED stripes in the back, starts the heater, turn on or off the 5V supply and so on. A horn is connected for alarm purposes. It checks the door state, or if the car was locked or not.

Raspberry Pi

Mainly for music, but also displays diagnostics from the engine, shows a navigation plugin or shows a rear cam. i currently implemented 3 plugins:

  • GPIO service (enable rear cam, power enable, etc).
  • Rear cam display: shows an overlay for the connected camera (usb analog s-video grabber and v4l2 / mplayer)
  • Display of the EJ22 data (finished, but connection missing)

Used Components

  • Raspberry PI v.3
  • Optocoupler ltv847 for detecting 12V / 5V voltages
  • Servo for open and closing the display lid
  • Switch for detecting the state of the display lid
  • electromagnet for holding the display lid
  • Levelshifter TE291 for USART communication between Arduino / Raspbi
  • IRLB8721 N-Channel Mosfets for LED stripes (controlled by the arduino)
  • IRF9Z P-Channel (and BS107 Transistor) switch the 12V rail for the rear cam
  • DHT 22 / AM2302 Temperature sensor

rasp_schem

Power supply

First try was with a 18650 Battery pack, but the Raspi, including 7'' touch screen and GPS / Stick / S-Video consumes a lot of power (about 2-3 Amps max), i decided to build some analog voodoo, since there is a very big battery already included in my (every) car. There are several ways to enable the 12V supply:

  • button on the Arduino
  • the arduino itself (with a GPIO, so power is guaranteed as long it is running)
  • over the ignition If all requests were removed, a big cap (220u) is still providing power for some time (>10s) for the N-PMOS gate to ensure the Raspi has enough time to shutdown. There are 3 MP1584 Buck Converter (step down) modules, which power the raspberry itself, one for the display and one for the USB hub.

power_schem

ESP8266

Nice small thing to play with. Is directly connected to the EJ22 engine and sends data via broadcast. but currently not work in progress. to be implemented later.

Schematics (created with kicad) will be updated on time, details and more to come soon.

Parts

18
QtyValueFootprintReferences
410kResistor_THT:R_Axial_DIN0411_L9.9mm_D3.6mm_P12.70mm_HorizontalR1, R2, R3, R4
4IRLB8721PBFPackage_test:TO-220-3_VerticalQ1, Q2, Q3, Q4
1LED Stripe 1Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ3
1LED Stripe 2Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ4
1LED Stripe 3Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ5
1Power SupplyTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3-5.08_1x03_P5.08mm_HorizontalJ1
1Signal_InputConnector_IDC:IDC-Header_2x03_P2.54mm_VerticalJ2
1USB_ConnectorConnector_IDC:IDC-Header_2x05_P2.54mm_VerticalJ7

The 14 most common of 18 parts.

More from andieh/carpc

1
  • 2 layers116.1 × 85.3 mmCar control, the printed circuit board in 3D

    Car control

    andieh/carpc

    digitalization of an old VW T3 Bulli

    57 parts1

Similar boards

  • 2 layers50.8 × 28.6 mmBeaglebone obd, the printed circuit board in 3D

    Beaglebone obd

    KoffeinFlummi/rustbucket

    Access your car's diagnostics with a BeagleBone Blue and Rust.

    20 parts60GPL-3.0
  • 2 layers99.1 × 99.1 mm3D Scanner, the printed circuit board in 3D

    3D Scanner

    nazzrim/Open3DScanner

    Open3DScanner 3D Scanner design

    33 parts60
  • 2 layers36 × 31 mmESPDimmer, the printed circuit board in 3D

    ESPDimmer

    stelioskat/esp8266-led-dimmer

    Wifi enabled LED strip dimmer that is controlled using MQTT messages.

    11 parts20MIT
  • 2 layers70.3 × 30.2 mmControl pcb, the printed circuit board in 3D

    Control pcb

    kbob/filabilly-humidor

    Dehumidifier cabinet for printer filament

    16 parts9
  • 4 layers104.2 × 77.7 mmDc26, the printed circuit board in 3D

    Dc26

    dodgymike/dc26-monero-badge-pcb

    Defcon 26 Monero badge PCB

    714 parts6
  • 4 layers69.9 × 44.5 mmDoughLee2, the printed circuit board in 3D

    DoughLee2

    chl33/Dough133

    A temperature-controlled container for proofing and fermenting soughdough

    62 parts3MIT
  • 2 layers61 × 78.7 mmESP RGB LED, the printed circuit board in 3D

    ESP RGB LED

    Sean-AP/ESP-RGB-LED

    MicroPython module for controlling an RGB LED strip

    10 parts2
  • 2 layers33.8 × 49.5 mmEspAtomizerpcbv3rev1, the printed circuit board in 3D

    EspAtomizerpcbv3rev1

    Adamibus/ESPAtomizer-iOS

    This is a minimal KiCad 6/7 project skeleton. Open ESPAtomizer.kicadpro in KiCad.

    21 parts1

Questions

How big is the Led control PCB?

It measures 77 × 36.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Led control use?

18 parts, built around the IRLB8721PBF. 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 Led control KiCad files?

From the andieh/carpc repository on GitHub, at the commit this page was made from: the board is schematic/led-control/led_control.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Led control design in my own project?

Its repository states no licence, so its author keeps all rights: ask andieh before reusing the design.