ESP32 OBD2 Gauge

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 เม.ย. 2023
  • --This is ESP32 OBD2 Gauge for vehicles that compatible with obd2
    Project resource github.com/VaAndCob/ESP32-OBD...
    ESP32 TFT2.8 320x240 with "RESISTIVE" touch board. buy here s.click.aliexpress.com/e/_DB8...
    Highly recommend ELM327 bluetooth adaptor s.click.aliexpress.com/e/_oo3...
    Features:
    Show vehicle data 7 pids
    *MAP - manifold air pressure (PSI)
    *PCM - PCM voltage (volt)
    *ENG LOAD - engine load (%)
    *ENG SPD - engine speed (RPM)
    *Coolant - coolant temperature (c)
    *Oil Temp - engine oil temperature (c)
    *TFT - Ford transmission fluid temperature (c)
    - 5 layout page selectable display
    - Warning when parameter reaches setting value
    - Adjustable warning value for each PIDs
    - CPU overheat protection
    - Auto turn on/off
    - Auto screen brightness
    - Change off screen to user screen with micro SDcard
    - Firmware updatable with micro SDcard
    Buy me coffee ☕ paypal.me/vaandcob?country.x=...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 87

  • @wordsofarebel5704
    @wordsofarebel5704 2 หลายเดือนก่อน +2

    Fantastic work, I love it! I think these CYDs are gonna be popular for years!

    • @vacob6494
      @vacob6494  2 หลายเดือนก่อน

      Thank you.

  • @robinrai4973
    @robinrai4973 6 หลายเดือนก่อน +1

    That's really impressive man, awesome stuff

  • @Demolick
    @Demolick 7 หลายเดือนก่อน +1

    Awesome!!! 🎉🎉🎉 Ill give it a try after some adjustment

  • @user-xj6up4gz8l
    @user-xj6up4gz8l 2 หลายเดือนก่อน +1

    Thank you very much for everything. It is a great project and I am sure it will work, in my case I am trying with an ILI 9341 TFT screen and an ESP32-WROOW-32 and this must be the problem. I will continue studying. Thank you

  • @dayarao1555
    @dayarao1555 2 หลายเดือนก่อน +1

    great design...

  • @ckosmic
    @ckosmic 10 หลายเดือนก่อน +2

    This is awesome dude I want to see if I can make something similar

  • @snaieto1
    @snaieto1 2 หลายเดือนก่อน +1

    Hi, great project!. Do you use flash 25q32? my board does not have it soldered.

    • @vacob6494
      @vacob6494  2 หลายเดือนก่อน

      There is not psram on this board but the esp32 module itself has 4mb flash rom

  • @esc4x4
    @esc4x4 8 หลายเดือนก่อน +1

    Hello, I was watching your videos and I wanted to know if you can replace an lcd of a radio transmitter because its lcd is smeared and I can't find an answer, the model is Yaesus Systen 600 and I ask, can the change be made for something more up-to-date? ??

    • @vacob6494
      @vacob6494  8 หลายเดือนก่อน +1

      This is not radio transceiver, it's OBD2 Gauge for car base on ESP32. In case the lcd screen is smeared or burned . You can change screen polyfilm. Google it.

  • @PedroLeBoursicoteur
    @PedroLeBoursicoteur 4 หลายเดือนก่อน +1

    Thanks for all your videos, if I want to get started with ESP32 programming, which one would you advise me to buy please, I saw that the ESP32 C6 I think was the model, but I didn't understand some people say there aren't enough compatible libraries?

    • @vacob6494
      @vacob6494  4 หลายเดือนก่อน +1

      I prefer ESP32 wroom dev kit, since this module has lot of gpio pins and most of esp32 feature.
      Also support Arduino IDE with many libraries and example sketchs.

    • @PedroLeBoursicoteur
      @PedroLeBoursicoteur 4 หลายเดือนก่อน

      tks you, do you have a link pls ?@@vacob6494

  • @Athenasarch
    @Athenasarch 10 หลายเดือนก่อน +1

    Hello friend, I'm from Brazil.
    Did you use the standard bluetooth library? because the esp32-s3 uses low energy bluetooth, i'm having trouble getting the library to work.
    Is the software compatible with ELMDuino? with all the commands? could you inform?
    I have the same display board, but the display I'm using is 7 inches.

    • @vacob6494
      @vacob6494  10 หลายเดือนก่อน +1

      the sketch uses the standard Bluetooth classic library, not BLE. and is not compatible with ELMDuino. I wrote a sketch from scratch to minimize code size.
      you can see the code from the GitHub URL.

  • @pehata6726
    @pehata6726 2 หลายเดือนก่อน +1

    Hey, really good project! I am makeing graduate work about OBD2 conection etc. I bought OBD-II CAN-BUS DEV KIT. My question is it is possible to connect your device with this kit or work only via elm327 bluethoot device? Thank you so much!

    • @vacob6494
      @vacob6494  2 หลายเดือนก่อน

      as long as your KIT is an obd2 interpreter and compatible with ELM327, it'd work. the connection depends on your design. If you want to connect over serial instead of Bluetooth. you must modify the sketch.

    • @pehata6726
      @pehata6726 2 หลายเดือนก่อน +1

      @494 Thanks for the response, yes I want to connect it via cable to the car

  • @mohamedsadokjomaa5579
    @mohamedsadokjomaa5579 12 วันที่ผ่านมา +1

    hi ! great work, what did you use for the ui ?

    • @vacob6494
      @vacob6494  12 วันที่ผ่านมา

      create my own UI in Sketch, you can see the source code URL in the description.

  • @user-xj6up4gz8l
    @user-xj6up4gz8l 2 หลายเดือนก่อน +1

    Good morning, it is possible to adapt it for the BMW 3 Series brand. Since the OBD2 recognizes me but it does not connect. Thank you very much

    • @vacob6494
      @vacob6494  2 หลายเดือนก่อน

      Yup should work

  • @saulleg
    @saulleg 3 หลายเดือนก่อน +1

    Hi! Thanks by the project, I have esp32-2432s028r the esp32 is wroom versión, have you any idea why the touchscreen not work?

    • @vacob6494
      @vacob6494  3 หลายเดือนก่อน +1

      Ther aee modified touch library files in source code. Did you replace touch.cpp & touch.h files ?

  • @NotPeti
    @NotPeti 4 หลายเดือนก่อน +1

    Hello, could you make a video explaining a little the operation of everything, because I for example I have doubts on how to link the bluetooth between the esp32 and obd2, I also do not know where to install the button. Thanks

    • @vacob6494
      @vacob6494  4 หลายเดือนก่อน

      My github sorce code is in the video description. So you can learn how it works and what pin that button is connected to.

  • @BlondieSL
    @BlondieSL 7 หลายเดือนก่อน

    Do you provide schematics or instructions of how to connect the ESP32 to the OBD2 connection port?

    • @vacob6494
      @vacob6494  7 หลายเดือนก่อน

      please follow github URL in the description.

  • @_der_pinguin_2463
    @_der_pinguin_2463 3 หลายเดือนก่อน +1

    Hi I tried to write a comment but I think it was deleted because it had a Link in it. I tried to copy your project but sadly it isnt working right. Somehow the Background ist white instead of black and the Touch doesent work. I tried skipping the calibration by uncommenting the calibration Part and now it connects to the obd reader but doesent show any values.
    I bought a Board that looks exactly the same as yours. Is there any advice you could give me to solve my issues?

    • @vacob6494
      @vacob6494  3 หลายเดือนก่อน

      I recommend not use cheap obd2 adaptor. (I have recommend good elm327 adaptor on my github.)
      Please recheck the following
      - Is your board exactly the same model and manufacturer. There are module that almost the sam but something different.
      - there is modified touch.h cpp in tft_espi extension folder.
      Did u copy and replace those files?

    • @_der_pinguin_2463
      @_der_pinguin_2463 3 หลายเดือนก่อน +1

      @@vacob6494 I copied the modified Version. For the obd2 Adapter i bought a Elm327 from aliexpress and made shure that it was the Version you described on your github. The Adapter works withy my Phone but not the device. Maybe i bought the wrong Display. Mine has one of those cheaper touchscreens which can be operated with a plastic pencil. Could that be the Problem and is there a way to get this screen working?
      I checked again and it seems like all colors are inverted. I am gonna test it again later with a different car. Maybe that will make it display some values.
      Edit. The only difference i could see is that my board has a USB-C port next to the micro usb port

    • @vacob6494
      @vacob6494  3 หลายเดือนก่อน

      ah, that's a different one. it'd work, but you need to edit display and touch part to get it to work. @@_der_pinguin_2463

    • @_der_pinguin_2463
      @_der_pinguin_2463 3 หลายเดือนก่อน

      @@vacob6494 Thanks. Do you know what I exactly would have to change? Sadly I am not that good at programming.

    • @saulleg
      @saulleg 3 หลายเดือนก่อน

      ​@@_der_pinguin_2463 same problem. Did you found solution?

  • @Joke90
    @Joke90 6 หลายเดือนก่อน

    Hello is it possible to change/replace info displayed with something else besides ones shown in video

    • @RatthaninWartcheeranon
      @RatthaninWartcheeranon 6 หลายเดือนก่อน

      Yes it's possible, you need to modify sketch to work with that display

    • @Joke90
      @Joke90 6 หลายเดือนก่อน

      @@RatthaninWartcheeranon lovely fhanks for reply

  • @mr_mnky
    @mr_mnky 7 หลายเดือนก่อน +1

    what's the name of the song?

    • @vacob6494
      @vacob6494  7 หลายเดือนก่อน

      tbh it's radio station, I really don't know what song.

  • @oida6802
    @oida6802 หลายเดือนก่อน +1

    Hello,
    Is there any way to measure the level of braking with the OBD device?
    Thanks,

    • @vacob6494
      @vacob6494  หลายเดือนก่อน

      You mean brake fluid level or brake force level?

    • @oida6802
      @oida6802 หลายเดือนก่อน +1

      @@vacob6494 brake force level. Best Regards

    • @vacob6494
      @vacob6494  หลายเดือนก่อน

      @oida6802 in standard pids, there is no brake force , but extend pid could or couldn't. Up to car manufacturers.

    • @lohikarhu734
      @lohikarhu734 หลายเดือนก่อน

      You could put an accelerometer on the system.

  • @nhandu2304
    @nhandu2304 11 หลายเดือนก่อน

    Can you share the code using canbus? if i use iso 9141-1 and iso 9141-2 is it ok?

    • @vacob6494
      @vacob6494  11 หลายเดือนก่อน

      I haven't developed canbus interface yet but it is possible .

  • @nhandu2304
    @nhandu2304 11 หลายเดือนก่อน

    can i connect the serial to obd ? Dont use elm327

    • @vacob6494
      @vacob6494  11 หลายเดือนก่อน

      yes, but that needs more work, CANBUS interface chip + canbus communication.

    • @nhandu2304
      @nhandu2304 11 หลายเดือนก่อน

      ​@@vacob6494 Can you share the code using canbus? if i use iso 9141-1 and iso 9141-2 is it ok?

  • @javedhussain9514
    @javedhussain9514 11 วันที่ผ่านมา

    Very good project.
    I am a new bee with this CYD.
    How to use your code to upload to CYD?
    Any detail instructions will be helpful along with how to connect the push button?
    A schematics will be helpful.
    Thanks.

    • @vacob6494
      @vacob6494  11 วันที่ผ่านมา

      Hello thank you for your interesting, there are source code URL in the description.

    • @javedhussain9514
      @javedhussain9514 11 วันที่ผ่านมา +1

      @@vacob6494 Yes I see the source code but it does not show how to connect the push button and how to load the code to CYD.

    • @vacob6494
      @vacob6494  11 วันที่ผ่านมา

      @javedhussain9514 in schematic diagram show how to connect speaker and a button.
      In sketch also defined button pin number.

  • @nhandu2304
    @nhandu2304 11 หลายเดือนก่อน

    use the type of wire to interface with obd is not ?

    • @vacob6494
      @vacob6494  11 หลายเดือนก่อน

      Yes just direct connect to serial from elm327 to esp32 uart. But need hardware modify on obd2 adaptor too

    • @cinemahub8888
      @cinemahub8888 11 หลายเดือนก่อน

      @@vacob6494 I really need your help. I have an ELM327 v1.5 OBD reader and I'm wondering what kind of modifications are needed to connect it directly to an ESP32 board to OBD reader. I attempted to establish a direct connection by wiring the OBD2 Bluetooth module's TX and RX pins to the corresponding TX and RX pins on the ESP32, but I didn't receive any data. If I remove the Bluetooth module and connect the OBD2 pin directly to the removed TX and RX pins on the OBD2 reader, will it work? thank u

    • @vacob6494
      @vacob6494  11 หลายเดือนก่อน

      Yes, that should work. Eemove bluetooth module on elm327 adaptor. Connect ESP32 RX TX pin to adaptor TX RX pin
      If it doesn't work, try swap pin.
      One thing should consider. Esp32 logic level is 3.3v but the adaptor might be 5.0v
      Direct connect should work, but I prefer level shifter .

    • @cinemahub8888
      @cinemahub8888 11 หลายเดือนก่อน

      @@vacob6494 thanks u so much for your assistance. i will let u know the result. can u have your email please🙂

    • @vacob6494
      @vacob6494  11 หลายเดือนก่อน

      @@cinemahub8888 if you have FB account please IM me here, more convenience for me. facebook.com/VaAndCob

  • @cslee6353
    @cslee6353 3 หลายเดือนก่อน

    How do I customise a different PID?

    • @vacob6494
      @vacob6494  3 หลายเดือนก่อน

      In the sketch. There is PIDs table and formula table for each PIDs. Start from there.

  • @javedhussain9514
    @javedhussain9514 9 วันที่ผ่านมา +1

    I was finally able to compile this sketch and uploaded to my ESP32 CYD 2.8 inch board.
    Screen now shows Touch Screen Calibration and asks to touch the corner as indicated.
    I tried that but nothing happens. Any clue what to do to fix that?
    Also during compilation I got the following message.
    Library SPI has been declared precompiled:
    Precompiled library in "C:\users\jhuss\Documents\Arduino\libraries\SPI\src\esp32" not found.
    Similar message for SDI
    Anyone who successfully used this sketch, please, give me some help.
    Thanks.

    • @vacob6494
      @vacob6494  8 วันที่ผ่านมา

      comment out this line at 343
      // touch_calibrate();
      to skip screen calibration. I guess it's bug since TFT_eSPI update, will fix it later.

    • @javedhussain9514
      @javedhussain9514 8 วันที่ผ่านมา

      @@vacob6494 Thanks. That worked.
      I connected my OBDII to my Ford Energi 2017 and on screen it says one device found and gives a Mac address but then in next line it say No OBDII device found and just cycle the same message.
      Anything else I have to do to get it going?

    • @vacob6494
      @vacob6494  8 วันที่ผ่านมา

      @@javedhussain9514 from the sketch, gauge will scan all nearby Bluetooth devices, but connect to Bluetooth device that name "OBDII" only. by this case, your ELM327 Bluetooth adaptor name must be exactly OBDII. or if not u can modify sketch to connect to another name Bluetooth device.

    • @javedhussain9514
      @javedhussain9514 7 วันที่ผ่านมา

      @@vacob6494 Thanks for the help so far. I am so close to get it going but still may be one issue left.
      My OBDII works fine with an app on my Samsung 7 phone. I checked under Bluetooth and the device is named as OBDII. When I pair the unit with app it asks for the pin to pair and then it works fine.
      So I am not sure why the sketch is not finding the unit. It does find my other BT devices and list them but not this OBDII.

    • @vacob6494
      @vacob6494  7 วันที่ผ่านมา

      @@javedhussain9514 Perhaps ELM327 connect to your Samsung 7, so try unpair OBDII in Samsung 7 phone first. to prevent OBDII keep connecting to the phone, that's why Gauge cannot see in the scanning list

  • @muhammadmudassir6343
    @muhammadmudassir6343 5 หลายเดือนก่อน +1

    is this system compatible with ford EEC V?

    • @vacob6494
      @vacob6494  5 หลายเดือนก่อน

      what is ford EEC?

    • @3dddart
      @3dddart 4 หลายเดือนก่อน

      @@vacob6494 J1850. PWM

    • @flymetothemoon5138
      @flymetothemoon5138 4 หลายเดือนก่อน +1

      @@vacob6494 an old Ford ECU system, EEC V supports OBD2 so I would expect this to work

    • @vacob6494
      @vacob6494  4 หลายเดือนก่อน

      @@flymetothemoon5138 I guess it should work.

  • @gordonfinlayson8100
    @gordonfinlayson8100 ปีที่แล้ว

    Github link gives 404

    • @vacob6494
      @vacob6494  ปีที่แล้ว

      sorry I forgot to set public, it's ok now

    • @gordonfinlayson8100
      @gordonfinlayson8100 ปีที่แล้ว

      @@vacob6494 Very cool thank you!

  • @javedhussain9514
    @javedhussain9514 11 วันที่ผ่านมา

    I tried to compile the sketch but got the following error.
    Please help me correct the errors. Thanks.
    Arduino: 1.8.19 (Windows 10), Board: "ESP32 Dev Module, Disabled, Huge APP (3MB No OTA/1MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None"
    VaAndCobOBD2Gauge:37:10: fatal error: JPEGDecoder.h: No such file or directory
    #include
    ^~~~~~~~~~~~~~~
    Multiple libraries were found for "SPI.h"
    compilation terminated.
    Used: C:\Users\jhuss\Documents\Arduino\libraries\SPI
    Not used: C:\Users\jhuss\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\libraries\SPI
    exit status 1
    JPEGDecoder.h: No such file or directory
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

    • @vacob6494
      @vacob6494  11 วันที่ผ่านมา

      The library file "JPEGdecoder.h" is missing. Pls check if all needed library files were added to arduino ide.

    • @javedhussain9514
      @javedhussain9514 11 วันที่ผ่านมา +1

      @@vacob6494 Not very clear to me. Can you please give some more detail on adding all files to ide?

    • @vacob6494
      @vacob6494  11 วันที่ผ่านมา

      @@javedhussain9514 well. Perhaps this project is for those who have skill and familiar with arduino ide. You can search how to work with arduino ide , how to add libraries and boards. You can do it.

    • @javedhussain9514
      @javedhussain9514 10 วันที่ผ่านมา

      @@vacob6494 well, at least you can point me where this .h file is located and I can then figure out why it is causing an error.

    • @vacob6494
      @vacob6494  10 วันที่ผ่านมา

      @@javedhussain9514 you don't need to find .h file, all u can do is add missing library .h file from arduino ide (library manager) and there will be many libraries u need to add to compile this sketch.

  • @user-xj6up4gz8l
    @user-xj6up4gz8l 2 หลายเดือนก่อน +2

    Good morning, it is possible to adapt it for the BMW 3 Series brand. Since the OBD2 recognizes me but it does not connect. Thank you very much

    • @vacob6494
      @vacob6494  2 หลายเดือนก่อน

      as long as our BMW 3 is compatible with obd2. it'd work