Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.62 KB

README.md

File metadata and controls

23 lines (17 loc) · 1.62 KB

CAN-bus gauge cluster for BMW E12

alt text

This is repository for CAN-bus instrument cluster for BMW E12. This is meant to replace the stock 70's mechanics/electronics inside the cluster with x27 steppers and OLED screens to make the cluster to work with modern ECUs through CAN-bus, but retain original look. Even though this project is meant only for E12 BMW, the code and basic circuit design can be used for other cars too.

X27.589 steppers are used to move the needles and two black and white SH1122 OLED screens are used to display odometer and trip. The board and code can use dedicated AX1201728SG stepper driver to drive the stepper motors or TB6612FNG H-bridge driver. Both work well, but the AX1201728SG stepper driver has micro stepping, so it will provide smoother needle movement. And allows up to 4 gauges. MCU controlling the cluster is STM32F103C8T6 "blue pill" because of the cheap price, good availability and integrated CAN-interface. For CAN-interface I'm using STM32 CAN library written by me: https://github.com/pazi88/STM32_CAN

CAN-bus currently supports reading data in BMW e46/e39 CAN-bus format (can11h) and also in OBD2 format.

EasyEda