Skip to the content
2 layers56 × 59 mmLiControl, the printed circuit board in 3D

Mudders Take on Manual IMA Control in the G1 Honda Insight

Size
56 × 59 mm
Copper layers
2
Thickness
1.6 mm
Parts
83
Nets
49
Pads
224
Tracks, vias
669, 50
Pours
10
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 56 × 59 mm with 83 parts on 49 nets, routed with 669 tracks and 50 vias.

It is built around the RJ45. Its parts include 40 resistors, 21 capacitors, 12 transistors, 5 connectors and 3 diodes. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

1

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

83
QtyValueFootprintReferences
171k24Resistor_SMD:R_0805_2012MetricR1, R3, R4, R6, R12, R13, R17, R19, R20, R22, R24, R25, R26, R27, R32, R33 +1
14100nCapacitor_SMD:C_0805_2012MetricC1, C2, C3, C4, C5, C6, C7, C12, C13, C16, C17, C18, C20, C21
10DNPResistor_SMD:R_0805_2012MetricR2, R5, R10, R11, R14, R15, R16, R18, R28, R29
8Q_NMOS_GSDPackage_TO_SOT_SMD:SOT-23Q1, Q2, Q3, Q4, Q5, Q6, Q10, Q12
510kResistor_SMD:R_0805_2012MetricR36, R37, R38, R39, R40
41uCapacitor_SMD:C_0805_2012MetricC10, C14, C15, C19
47k32Resistor_SMD:R_0805_2012MetricR8, R9, R34, R35
4Q_PMOS_GSDPackage_TO_SOT_SMD:SOT-23Q7, Q8, Q9, Q11
3DDiode_SMD:D_SOD-123D1, D2, D3
2100pCapacitor_SMD:C_0805_2012MetricC8, C9
220Resistor_SMD:R_0805_2012MetricR30, R31
2768Resistor_SMD:R_0805_2012MetricR21, R23
2Conn_01x03Connector_Phoenix_MC:PhoenixContact_MCV_1,5_3-G-3.5_1x03_P3.50mm_VerticalJ2, J3
2Conn_01x07Connector_Phoenix_MC:PhoenixContact_MCV_1,5_7-G-3.5_1x07_P3.50mm_VerticalJ1, J4
1Arduino_Nano_v3.xModule:Arduino_NanoA1
1DNPCapacitor_SMD:C_0805_2012MetricC11
1RJ45Connector_RJ:RJ45_Amphenol_54602-x08_HorizontalJ5

The 82 most common of 83 parts.

More from doppelhub/MuddersMIMA

1
  • 2 layers41 × 79.3 mmLiControl, the printed circuit board in 3D

    LiControl

    doppelhub/MuddersMIMA

    Mudders Take on Manual IMA Control in the G1 Honda Insight

    84 parts5GPL-3.0

Similar boards

  • 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
  • 4 layers73.9 × 84.5 mmAei, the printed circuit board in 3D

    Aei

    Severson-Group/AMDC-Hardware

    Circuit board designs for controlling advanced motor systems

    54 parts51
  • 2 layers99 × 60 mmPwr, the printed circuit board in 3D

    Pwr

    mfkiwl/KiwiSDR_PCB

    KiCAD PCB files for KiwiSDR project including active antenna and bias tee

    64 parts46

Questions

How big is the LiControl PCB?

It measures 56 × 59 mm and has 2 copper layers, 1.6 mm thick.

What parts does the LiControl use?

83 parts, built around the 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/RevA/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).