Skip to the content
2 layers107.7 × 85.1 mmCcd can bridge, the printed circuit board in 3D

Ccd can bridge

xerootg/CAN-CCD_bus12

Implements a CAN translator to CCD via a Intersil CDP68HC68S1

Size
107.7 × 85.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
86
Nets
82
Pads
338
Tracks, vias
917, 0
Pours
8
Routed
Yes
KiCad
KiCad 4
Created
28 Feb 2017
Updated
20 Nov 2018

Overview

Ccd can bridge is an open-source printed circuit board by xerootg, from the xerootg/CAN-CCD_bus repository on GitHub. It is a 2-layer board of 107.7 × 85.1 mm with 86 parts on 82 nets, routed with 917 tracks and 0 vias.

It is built around the MCP2561-E/P, MCP6002-I/P and TC4427EOA, with the ERZ-V20D220 among its other parts. Its parts include 43 resistors, 19 capacitors, 10 ICs, 4 diodes and 2 connectors. It belongs with the interfaces and adapters boards and the NXP (LPC, Kinetis, i.MX RT) boards of this library.

Main components

4

README

README.md

CAN->CCD Bus Translator V2

I am designing an interface for my current engine swap project in my Jeep. I am starting with a 1998 Jeep Cherokee, 4.0L I6, AX15 manual transmission, and a NP242 transfer case, and I am replacing the engine with a VW TDI from a 2005 VW Passat (2.0L 8v, code: BHW) and a 6 speed manual from a late model TJ Rubicon (NSG370).

This project is made up of two parts:

  • a board designed to interface with the Jeep CCD protocol and VW CAN v2.0
  • a event driven application to handle the needed events to translate between buses

Things needed to get started:

  • KiCAD
  • PlatformIO
  • MinGW or GCC installed and on your $PATH (for tests)

Hardware Concept

  • Teensy 3.2 at the core - extra I/O available for further expansion
  • dedicated CCD interface IC - CDP68HC68S1
  • CAN handled by teensy/MPC2551
  • I/O for all circuits missing from engine/Jeep
  • BOM at Mouser

The VW ECU expects a handful of things the Jeep does not handled

  • fuel level (leters)
  • speed at 8200 pulses/mile (need to confirm voltage EDC expects)
  • cruise control is array of switches
  • alternator is monitored by gauge cluster

Likewise, the Jeep expects a couple things the VW ECU does not provide

  • speed at 8000 pulses/mile from VSS, CCD expects 8388 bits/mile for odometer
  • oil pressure (PSI)
  • fuel level (%)
  • cruise control is resistor bus
  • glow plug lamp needs CAN->physical output translation

Software Concept

  • Unit tests are written in unity syntax
  • Events are handled by Eventually
  • Arduino API does hardware interface, with TeensyDuino additions
  • Each interface gets its own class: CCD, CAN, distance/speed, fuel level... etc.

To run tests, run pio test -e native To compile ELF for teensy, run pio run

I'm a web developer so this is gonna be MVCish.

  • Model: Holds some state
  • View: Puts state, I.E. does the actual interface with HW
  • Controller: translates between model and view, and viceversa

The counter class implements logic to read the hardware model, so by this definition it is a Controller. The VehicleState class is just a holder of state, so it is squarely a Model. The CCD hardware interface gets/sets values on the HardwareSerial interface, so it is a view.

This will likely morph.

TODO

  • implement CAN class
  • implement fuel level
  • translate cruise buttons
  • rewrite CCD class to respect bus status (currently it blindly transmits)
  • write tests so they can run on teensy

Parts

86
QtyValueFootprintReferences
181kResistors_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_VerticalR7, R10, R11, R19, R20, R21, R22, R23, R25, R27, R30, R31, R33, R35, R36, R37 +2
810uFCapacitors_THT:C_Disc_D7.0mm_W2.5mm_P5.00mmC7, C8, C9, C10, C11, C12, C13, C14
60.1uFCapacitors_THT:C_Disc_D7.0mm_W2.5mm_P5.00mmC1, C3, C6, C17, C18, C19
6100Resistors_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_VerticalR38, R39, R40, R41, R42, R43
620Resistors_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_VerticalR12, R13, R14, R16, R17, R18
410kResistors_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_VerticalR24, R26, R28, R29
3MCP6002Housings_DIP:DIP-8_W7.62mm_Socket_LongPadsU3, U4, U5
3TC4427Housings_DIP:DIP-8_W7.62mm_Socket_LongPadsU8, U9, U10
2130Resistors_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_VerticalR4, R5
21N4728Diodes_THT:D_DO-41_SOD81_P2.54mm_Vertical_KathodeUpD2, D4
2560Resistors_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_VerticalR6, R15
260Resistors_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_VerticalR1, R3
2CCapacitors_THT:C_Disc_D7.0mm_W2.5mm_P5.00mmC15, C16
2MountingHole_2.5mm_Pad_ViaMounting_Holes:MountingHole_2.5mm_Pad_ViaHOLE1, HOLE2
1100uFCapacitors_THT:C_Disc_D7.0mm_W2.5mm_P5.00mmC5
1100uFCapacitors_THT:CP_Radial_D10.0mm_P3.50mmC4
1100uHmx150:Inductor_Radial_D13.0mm_P5.00mmL1
11066keystone_1067:keystone_1067B1
115kResistors_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_VerticalR34
11N5819Diodes_THT:D_DO-41_SOD81_P2.54mm_Vertical_KathodeUpD1
1300Resistors_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_VerticalR2
137kResistors_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_VerticalR32
14700pFCapacitors_THT:C_Disc_D7.0mm_W2.5mm_P5.00mmC2
1CDP68HC68S1CDP68HC68S1:CDP68HC68S1U6
1CONN_01X02Pin_Headers:Pin_Header_Straight_1x02_Pitch2.54mmP1
1CONN_01X12Pin_Headers:Pin_Header_Straight_2x06_Pitch2.54mmJ1
1DDiodes_THT:D_DO-41_SOD81_P2.54mm_Vertical_KathodeUpD3
1ERZ-V20D220Varistors:RV_Disc_D21.5_W5_P10RV1
1LM2576HVS-5.0/NOPBTO_SOT_Packages_THT:TO-220-5_Pentawatt_Multiwatt-5_VerticalU1
1MCP2561Housings_DIP:DIP-8_W7.62mm_Socket_LongPadsU2
1Modice_ME-MX_32mx150:modice_ME-MX-32-positionH1
1OSCILLATOR-VDD-4Housings_DIP:DIP-8_W7.62mm_LongPadsX1
1Teensy3.2Teensy:Teensy30_31_32_LCU7

The 85 most common of 86 parts.

Similar boards

  • 4 layers53 × 39 mmAvclan mockingboard rounded, the printed circuit board in 3D

    Avclan mockingboard rounded

    halleysfifthinc/AVCLAN-Mockingboard

    Emulate a CD Changer on a Toyota AVC LAN network

    43 parts65GPL-3.0
  • 2 layers100 × 100 mmCANBuster, the printed circuit board in 3D

    CANBuster

    GBert/misc

    miscellaneous stuff / unsorted

    182 parts99
  • 2 layers47.6 × 36.8 mmAdapter, the printed circuit board in 3D

    Adapter

    araobp/can-bus

    CAN adapter to UART

    30 parts12GPL-3.0
  • 4 layers72 × 78.5 mmDashSight Mezzanine Card, the printed circuit board in 3D

    DashSight Mezzanine Card

    DashSight/Pine64-Mezzanine-Card

    A PineA64 mezzanine card for adding support to communicate with a vehicle's OBD2 port, obtain GPS location and determine acceleration, designed in KiCAD

    88 parts3
  • 2 layers80 × 49 mmObd2, the printed circuit board in 3D

    Obd2

    kevinkrieger/CAN

    CAN repository containing my CAN project, kicad files, firmware, datasheets, references, etc.

    64 parts3
  • 2 layers24 × 27.9 mmCanankaFEC, the printed circuit board in 3D

    CanankaFEC

    medo64/CanankaFEC

    CAN bus framework expansion card.

    28 parts2MIT
  • 2 layers50 × 50 mmBoards.design lecture, the printed circuit board in 3D

    Boards.design lecture

    Gonke0606/Personal_production_circuit

    This repository is for my personal production of circuit.

    61 parts

Questions

How big is the Ccd can bridge PCB?

It measures 107.7 × 85.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Ccd can bridge use?

86 parts, built around the MCP2561-E/P, MCP6002-I/P, TC4427EOA and ERZ-V20D220. 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 Ccd can bridge KiCad files?

From the xerootg/CAN-CCD_bus repository on GitHub, at the commit this page was made from: the board is board/ccd_can_bridge.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Ccd can bridge design in my own project?

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