Skip to the content
2 layers41 × 79.3 mmLiControl, the printed circuit board in 3D

Mudders Take on Manual IMA Control in the G1 Honda Insight

Size
41 × 79.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
84
Nets
59
Pads
238
Tracks, vias
663, 50
Pours
9
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
9 Aug 2022
Updated
27 Jul 2025

Overview

LiControl is an open-source printed circuit board by doppelhub, from the doppelhub/MuddersMIMA repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 41 × 79.3 mm with 84 parts on 59 nets, routed with 663 tracks and 50 vias.

It is built around the BTS5030-1EJA and RJ45. Its parts include 37 resistors, 21 capacitors, 8 transistors, 7 diodes and 5 connectors. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

2

README

README.md

MuddersMIMA

Mudders Take on Manual IMA Control in the G1 Honda Insight

Firmware directory

File descriptions

Main Ardiuno file

muddersMIMA_firmware.ino

Opening this file in the Arduino IDE will suck in all the other files that the project uses, and present them in separate tabs in the IDE.

It pulls in an h file, muddersMIMA.h, which is discussed below and which draws in all other constant, variable and function definitions.

The main loop calls methods to output status, parse commands, and do work depending on which of three modes is selected by a toggle switch. This is a MITM for MAMODE1, MAMODE2 and CMD_PWR signals from ECM to MCM.

The code is largely self-explanatory if you read the code starting with this ino file, then the H files as below. Operation is summarized in "How it works", at the end of this page.

H Files

muddersMIMA.h

This short file pulls in other .H definition files:

config.h - Firmware version and build date.

cpu_map.h - Really a mapping the names of each analog and digital signal to a corresponding pin on the Arduino. It's not really specific to a particular CPU.

debugLED.h, debugUSB.h - functions for turning the LED on and off; functions to display stats. debugUSB provides calls that output status to the user through the serial USB interface. Most interesting: a call to ecm_getMAMODE1_state() (in ecm_signals.h/cpp) lists the different states the car may be in.

gpio.h - Defines and handles other analog and digital pin inputs and outputs.

adc.h - provides access to joystick inputs.

USB_userinterface.h - parses user's commands and has calls to do the requested work.

mcm/ecm_signals.h - provides accessors for reading ECM commands and sending them to the MCM (these are called from the main loop based on DIP switch position and joystick position.)

How it works

This is a MITM for three lines: MAMODE1, MAMODE2 and CMDPWR. These come from the ECM and are sent to the MCM. Basically, the current state of each signal is read using accessors in ecm_signals.h, cpp and the desired state output using functions in mcm_signals.h, cpp.

MAMODE1 in particular communicates desired states using PWM. The signal for each PWM amount is defined in ecm_signals.h. MAMODE2's signals, on or off, are defined there too.

The rest of the code is many small files doing individual things - "gpio" is for buttons and digital signals, "adc" is for the joystick, etc.

The user interface is supported by USB_userinterface's command parser.

Parts

84
QtyValueFootprintReferences
13100nCapacitor_SMD:C_0805_2012MetricC1, C2, C3, C4, C5, C6, C7, C11, C16, C17, C18, C20, C21
111k24Resistor_SMD:R_0805_2012MetricR1, R3, R4, R5, R15, R20, R22, R26, R27, R32, R33
7100Resistor_SMD:R_0805_2012MetricR8, R9, R12, R17, R24, R25, R41
77k32Resistor_SMD:R_0805_2012MetricR6, R7, R10, R13, R19, R34, R35
61uCapacitor_SMD:C_0805_2012MetricC10, C12, C13, C14, C15, C19
510kResistor_SMD:R_0805_2012MetricR36, R37, R38, R39, R40
5DDiode_SMD:D_SOD-123D1, D2, D3, D6, D7
4Q_NMOS_GSDPackage_TO_SOT_SMD:SOT-23Q2, Q6, Q10, Q12
4Q_PMOS_GSDPackage_TO_SOT_SMD:SOT-23Q7, Q8, Q9, Q11
3768Resistor_SMD:R_0805_2012MetricR11, R21, R23
3DNPResistor_SMD:R_0805_2012MetricR2, R14, R44
21uInductor_SMD:L_0805_2012MetricL1, L2
2Conn_01x08Connector_Phoenix_MC:PhoenixContact_MCV_1,5_8-G-3.5_1x08_P3.50mm_VerticalJ1, J4
2DNPCapacitor_SMD:C_0805_2012MetricC8, C9
171k5Resistor_SMD:R_0805_2012MetricR16
1Arduino_Nano_v3.xModule:Arduino_NanoA1
1BTS5030-1EJAPackage_SO:Infineon_PG-DSO-8-43U1
1Conn_01x04Connector_Phoenix_MC:PhoenixContact_MCV_1,5_4-G-3.5_1x04_P3.50mm_VerticalJ2
1Conn_02x03_Odd_EvenConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ6
1DDiode_SMD:D_SMCD4
1D_Zener_ALTDiode_SMD:D_SOD-123D5
1Heatsink_PadHeatsink:Heatsink_AAVID_573300D00010G_TO-263HS1
1RJ45Connector_RJ:RJ45_Amphenol_54602-x08_HorizontalJ5

The 83 most common of 84 parts.

More from doppelhub/MuddersMIMA

1
  • 2 layers56 × 59 mmLiControl, the printed circuit board in 3D

    LiControl

    doppelhub/MuddersMIMA

    Mudders Take on Manual IMA Control in the G1 Honda Insight

    83 parts5GPL-3.0

Similar boards

  • 2 layers40.6 × 30.5 mmCpuPrint, the printed circuit board in 3D

    CpuPrint

    tpotechnix/TraktorAllrad

    62 parts1
  • 2 layers109.1 × 100.1 mmSterownik DC, the printed circuit board in 3D

    Sterownik DC

    lologog/RowSeederController

    This project is a row seeder controller featuring DC motor control and CAN communication for efficient and precise seeding operations

    134 partsMIT
  • 2 layers33.7 × 97.8 mmHAN ESP TSS721, the printed circuit board in 3D

    HAN ESP TSS721

    UtilitechAS/amsreader-firmware

    ESP8266 and ESP32 compatible firmware to read, interpret and publish data to MQTT from smart electrical meters, both DLMS and DSMR is supported

    29 parts470
  • 4 layers84 × 82 mmToad, the printed circuit board in 3D

    Toad

    travisgoodspeed/goodfet

    An embedded bus adapter for various microcontrollers and radios.

    241 parts333
  • 2 layers100 × 100 mmCANBuster, the printed circuit board in 3D

    CANBuster

    GBert/misc

    miscellaneous stuff / unsorted

    182 parts99
  • 2 layers50 × 55.4 mmCasserole, the printed circuit board in 3D

    Casserole

    puddly/casserole

    Control GE appliances

    23 parts94Apache-2.0
  • 2 layers67.9 × 47.8 mmPlatine, the printed circuit board in 3D

    Platine

    nv1t/standing-desk-interceptor

    I wanted to intercept the communication between my Flexispot standing desk buttons. This is the progress on the project

    11 parts52CC0-1.0
  • 4 layers90 × 75 mmCM4 2 Backup, the printed circuit board in 3D

    CM4 2 Backup

    olvint/CM4-NAS-MiniPCIE

    Raspberry Pi CM4 based NAS solution board

    21 parts51

Questions

How big is the LiControl PCB?

It measures 41 × 79.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the LiControl use?

84 parts, built around the BTS5030-1EJA and RJ45. 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 LiControl KiCad files?

From the doppelhub/MuddersMIMA repository on GitHub, at the commit this page was made from: the board is Electronics/RevB/KiCAD/LiControl/LiControl.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the LiControl 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).