Description
In this project, I decided to create a small-sized printed PCB that can be connected to an OBD2 connector and communicate with a CAN transceiver module. This PCB will be controlled by an ESP32 microcontroller, which will communicate with an Android device via Bluetooth. The Android application will be able to read information from the car and send commands to it.
Using the CAN High and CAN Low lines of the OBD2 port, we have access to a variety of information about the current state of the vehicle and the ability to send limited commands to it.
Hardware Design
Component | Description |
---|---|
ESP32-S3-WROOM-1 | Microcontroller with Wi-Fi and Bluetooth capabilities. |
LM1117 Linear Regulator | Provides a stable 3.3V power supply. |
MAX3051 3.3V CAN Transceiver | Facilitates communication over the CAN bus. |
CAN bus ESD protection diode | Protects the CAN bus from electrostatic discharge. |
Micro USB ESD protection | Protects the Micro USB port from electrostatic discharge. |
OBD2 Connector | Connects to the vehicle's OBD2 port. |
Micro USB B Connector | Provides a connection for power and data transfer. |
Transistor BJT NPN 2N2222A | Used for switching and amplification. |
Resistors, capacitors, diodes, etc. | Various passive components for circuit functionality. |