FL0WL0W / ESP32C3-CAN-Extender

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP32C3 CAN Extender

This module uses an ESP32C3 with WiFi and BLE. It has 3 configurable outputs (5V push pull, Open Drain, 12V pullup), 4 analog or digital inputs, CAN transceiver, and an automotive power supply so it can be installed directly into a vehicle. It can be programmed and debugged using the edge connector that connects to any standard USBC cable. If you decide to order a PCB yourself, make sure to order it as 0.6mm thickness so that the PCB will fit in the USBC connector.

The purpose of this module will be to add cruise control, AC control, tachometer output, speedometer output, and fuel consumption output to my LS3 swapped BMW E30. The LS3 is currently controlled by the stock GM E38 PCM. This PCM (Powertrain Control Module) uses the CAN bus for the aforementioned items, and this is meant to be a bridge from CAN, to discrete signals. This job is originally handled by the BCM (Body Control Module), However the BCM includes alot of items that are not needed for a typical swap, and there is not very good documentation on the various BCMs available in cars (compatibility, pinout, etc.). In the future, this car will run on an EFIGenie PCM once the software is more mature. This module will then be useful as a CAN extension module.

A demo program will be added soon that has all of the aforementioned features hardcoded, but the eventual goal is to utilize the work from my other repositories to create a configurable module that can be programmed through a web UI for various tasks. Another potential feature would be to implement an emulation of the ubiquitous ELM327 bluetooth module that can be used to connect to a phone or tablet to read diagnostic codes, read sensors, or create a digital dash.

A 3d model of the enclosure will be uploaded soon as well. The plan is to epoxy pot the pcb inside the enclosure to make it waterproof. image image image

About