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

Car control

andieh/carpc1

digitalization of an old VW T3 Bulli

Size
116.1 × 85.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
57
Nets
53
Pads
203
Tracks, vias
645, 64
Pours
2
Routed
Yes
KiCad
KiCad 4
Created
6 Dec 2017
Updated
1 Mar 2019

Overview

Car control is an open-source printed circuit board by andieh, from the andieh/carpc repository on GitHub. It is a 2-layer board of 116.1 × 85.3 mm with 57 parts on 53 nets, routed with 645 tracks and 64 vias.

It is built around the MP1584EN, LTV-847 and IRF9540NS, with the IRLB8721PBF among its other parts. Its parts include 22 resistors, 11 connectors, 6 transistors and 2 ICs. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

4

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

57
QtyValueFootprintReferences
11220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R2, R11, R12, R15, R16, R18, R19, R20, R21, R22
610kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR5, R6, R7, R8, R9, R10
34.7kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR3, R4, R13
2BS107Package_test:TO-92_InlineQ1, Q3
2IRF9540NPackage_test:TO-220-3_VerticalQ2, Q4
2IRLB8721PBFPackage_test:TO-220-3_VerticalQ5, Q6
1120Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR14
1680Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR17
1Alarm ControlConnector_IDC:IDC-Header_2x03_P2.54mm_VerticalJ6
1Arduino_Nano_v3.xModule:Arduino_NanoA1
1LTV-847Package_DIP:DIP-16_W7.62mmU2
1MP1584mp1584_andieh:SG053-SZU1
1Misc ConnTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3-5.08_1x03_P5.08mm_HorizontalJ10
1Power_ConnTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-3-5.08_1x03_P5.08mm_HorizontalJ8
1RGBW HutablageConnector_IDC:IDC-Header_2x03_P2.54mm_VerticalJ2
1RGBW SitzbankConnector_IDC:IDC-Header_2x03_P2.54mm_VerticalJ1
1RGBW Universell 1Connector_IDC:IDC-Header_2x03_P2.54mm_VerticalJ7
1RPi Front #1Connector_IDC:IDC-Header_2x05_P2.54mm_VerticalJ3
1RPi Front #2Connector_IDC:IDC-Header_2x03_P2.54mm_VerticalJ4
1Sig_inTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ9
1Sig_outTerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-4-5.08_1x04_P5.08mm_HorizontalJ11
1Touch PanelConnector_IDC:IDC-Header_2x05_P2.54mm_VerticalJ5
1act_5vled:LED_D3.0mm_Clear5v
1act_eisled:LED_D3.0mm_Cleareis
1blueled:LED_D3.0mm_Clearblue
1greenled:LED_D3.0mm_Cleargreen
1hornled:LED_D3.0mm_Clearhorn
1lockled:LED_D3.0mm_Clearlock
1radioled:LED_D3.0mm_Clearradio
1redled:LED_D3.0mm_Clearred
1unlockled:LED_D3.0mm_Clearunlock
1whiteled:LED_D3.0mm_Clearwhite

The 52 most common of 57 parts.

More from andieh/carpc

1
  • 2 layers77 × 36.6 mmLed control, the printed circuit board in 3D

    Led control

    andieh/carpc

    digitalization of an old VW T3 Bulli

    18 parts1

Similar boards

  • 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
  • 2 layers130 × 95 mmPlantBreakoutBoard, the printed circuit board in 3D

    PlantBreakoutBoard

    sirihallqvist/PlantBreakoutBoard

    Run the following commands to update and download dependencies.

    61 parts1
  • 2 layers291.8 × 265.6 mmLaser driver v3, the printed circuit board in 3D

    Laser driver v3

    scular-HCC/DualLaserPDHDriver

    Dual laster Pound-Dreaver-Hall driver setup. 1550 nm DFBs. Q=10^-5. Less than 20 GHz difference

    198 parts
  • 2 layers226.6 × 64 mmBMS MK2 attempt 1-using Tp4506, the printed circuit board in 3D

    BMS MK2 attempt 1-using Tp4506

    Wierdwizard2587/ElectricGuitarMK1

    This is the repository for the Research and Development, Production, and assembly of the Electric Guitar MK1.

    42 parts1
  • 2 layers160 × 100 mmMPCNC Nano Estlcam Shield, the printed circuit board in 3D

    MPCNC Nano Estlcam Shield

    tnn85/MPCNC-Nano-Estlcam-Shield

    Ein CNC Shield für die MPCNC in Verwendung mit Estlcam

    96 parts70
  • 2 layers83.8 × 120.7 mmAtu100wifi, the printed circuit board in 3D

    Atu100wifi

    ftl/atu100wifi

    A wifi adapter device for David Fainitski's ATU-100 antenna tuner (https://github.com/Dfinitski/N7DDC-ATU-100-mini-and-extended-boards)

    31 parts28MIT
  • 2 layers63 × 80 mmBrakeOutBoard, the printed circuit board in 3D

    BrakeOutBoard

    gmoccapy/T4-MFA

    This is a color MFA designed to be used in a Volkswagen T4 Van

    65 parts9

Questions

How big is the Car control PCB?

It measures 116.1 × 85.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Car control use?

57 parts, built around the MP1584EN, LTV-847, IRF9540NS and 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 Car control KiCad files?

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

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

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