Giter Site home page Giter Site logo

vaandcob / esp32-obd2-gauge Goto Github PK

View Code? Open in Web Editor NEW
146.0 9.0 35.0 20.66 MB

DIY bluetooth obd2 gauge with ESP32

Home Page: https://www.facebook.com/vaandcob

License: Other

C 96.48% C++ 3.52%
arduino car display elm327 esp32 gauge meter obd2 tft touch

esp32-obd2-gauge's People

Contributors

vaandcob avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp32-obd2-gauge's Issues

Instructions how to use

Hello. Im tryping to make a OBD2 project with my Lexus GS300 2001 with a ESP32 and ELM327 bluetooth adapter 2.1. I want to use your lib to connect to the ELM327 and retrieve RPM values; but which code do i use exactly to do this?

Question: Enclosure design files

First of all, congrats for such a great project! I have one question for you. I really like the enclosure shown in your photos. Is 3d printed? Do you have the design files? Thank you!

Incompatibility with BluetoothSerial library on LilyGo T-Display-S3

i am working on similar project and when i attempting to use the BluetoothSerial library with the LilyGo T-Display-S3 board results in compilation errors. The same code compiles and runs as expected on a standard ESP32 board, indicating the issue is specific to the LilyGo T-Display-S3 board.

Here is the code:

#include "BluetoothSerial.h"

BluetoothSerial SerialBT; // Object for Bluetooth

void setup() {
Serial.begin(115200); // Start the built-in serial port, possibly to communicate with the host computer
//SerialBT.begin("ESP32test"); // Start BluetoothSerial with the name "ESP32test"

Serial.println("Bluetooth device is ready to pair");
}

void loop() {
if (SerialBT.available()) { // Check if we receive anything from Bluetooth
Serial.write(SerialBT.read()); // Send what we receive to the built-in serial port
}

if (Serial.available()) { // Check if anything is coming from the built-in serial port
SerialBT.write(Serial.read()); // Send what we receive to Bluetooth
}
}

Here is the error:

c:/users/talha/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL8_stop_btv+0x18): undefined reference to esp_spp_disconnect' c:/users/talha/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: libraries\BluetoothSerial\BluetoothSerial.cpp.o:(.literal._ZL8_stop_btv+0x1c): undefined reference to esp_spp_deinit'
c:/users/talha/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: libraries\BluetoothSerial\BluetoothSerial.cpp.o: in function _stop_bt()': C:\Users\Talha\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.14\libraries\BluetoothSerial\src/BluetoothSerial.cpp:714: undefined reference to esp_spp_disconnect'
c:/users/talha/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32s3-elf/8.4.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:\Users\Talha\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.14\libraries\BluetoothSerial\src/BluetoothSerial.cpp:715: undefined reference to `esp_spp_deinit'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board LilyGo T-Display-S3.

Please elaborate on "New device must flash "gauge_factory_init.ino" first to get it work by checking 'serialno' in pref."

I'm trying to flash your project to my new device. It is identical to the one you linked to. After building and flashing i just get a black screen and the text "Touch screen calibration..." on the serial monitor.

You mention in the notes: "New device must flash "gauge_factory_init.ino" first to get it work by checking 'serialno' in pref."

Is this related to the issue I am having?

I do not see this particular file in the source tree and google cant find it either.
Could you explain where I can find this file and what it does to the board to prepare it for you firmware?

Many thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.