Тёмный

ESP32 OBD2 Gauge  

Va&Cob
Подписаться 396
Просмотров 35 тыс.
50% 1

--This is ESP32 OBD2 Gauge for vehicles that compatible with obd2
Project resource github.com/VaAndCob/ESP32-OBD...
Parts:
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...
Full box short demo • OBD2 gauge with enclos...
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=...

Наука

Опубликовано:

 

11 апр 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 126   
@wordsofarebel5704
@wordsofarebel5704 4 месяца назад
Fantastic work, I love it! I think these CYDs are gonna be popular for years!
@vacob6494
@vacob6494 4 месяца назад
Thank you.
@robinrai4973
@robinrai4973 8 месяцев назад
That's really impressive man, awesome stuff
@Demolick
@Demolick 9 месяцев назад
Awesome!!! 🎉🎉🎉 Ill give it a try after some adjustment
@user-xj6up4gz8l
@user-xj6up4gz8l 5 месяцев назад
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
@gregoriolujan99
@gregoriolujan99 Месяц назад
Great, I'm just starting my project and I was thinking of using the same components, did you achieve something?
@dayarao1555
@dayarao1555 4 месяца назад
great design...
@ckosmic
@ckosmic Год назад
This is awesome dude I want to see if I can make something similar
@Athenasarch
@Athenasarch Год назад
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 Год назад
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.
@snaieto1
@snaieto1 4 месяца назад
Hi, great project!. Do you use flash 25q32? my board does not have it soldered.
@vacob6494
@vacob6494 4 месяца назад
There is not psram on this board but the esp32 module itself has 4mb flash rom
@NotPeti
@NotPeti 6 месяцев назад
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 6 месяцев назад
My github sorce code is in the video description. So you can learn how it works and what pin that button is connected to.
@esc4x4
@esc4x4 11 месяцев назад
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 11 месяцев назад
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.
@user-xj6up4gz8l
@user-xj6up4gz8l 5 месяцев назад
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 5 месяцев назад
as long as our BMW 3 is compatible with obd2. it'd work
@saulleg
@saulleg 5 месяцев назад
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 5 месяцев назад
Ther aee modified touch library files in source code. Did you replace touch.cpp & touch.h files ?
@pehata6726
@pehata6726 5 месяцев назад
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 5 месяцев назад
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 5 месяцев назад
@494 Thanks for the response, yes I want to connect it via cable to the car
@PedroLeBoursicoteur
@PedroLeBoursicoteur 7 месяцев назад
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 7 месяцев назад
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 7 месяцев назад
tks you, do you have a link pls ?@@vacob6494
@BlondieSL
@BlondieSL 9 месяцев назад
Do you provide schematics or instructions of how to connect the ESP32 to the OBD2 connection port?
@vacob6494
@vacob6494 9 месяцев назад
please follow github URL in the description.
@andre-th2rw
@andre-th2rw 10 дней назад
How did you figure out which CAN values to read? lets say i want to build my own version of this for an audi and connect my esp to a obd2 adapter. i can use apps like torque. how did you know what specific values to read for RPM / MAP etc for you model car?
@vacob6494
@vacob6494 8 дней назад
@andre-th2rw OBD2 mode 01 is a standard. So every vehicle that compatible with obd2 could read standard parameters (rpm, speed,etc..) but not all For custom pid, it's different and upto each car maker.
@mohamedsadokjomaa5579
@mohamedsadokjomaa5579 2 месяца назад
hi ! great work, what did you use for the ui ?
@vacob6494
@vacob6494 2 месяца назад
create my own UI in Sketch, you can see the source code URL in the description.
@fabiopesenti
@fabiopesenti 14 дней назад
Hi, I managed to get the OBD gauge to work well with a blue OBD2 marked ELM327. Now I'm trying to use an OBD vLinker MC+ because ELM327 does not transmit parameters with PID2218E4. At startup it sees the vLinker MC+ with address e0:ff:f1:6f:aa:45 but it does not connect. Do you have any suggestions? Thank you very much
@vacob6494
@vacob6494 14 дней назад
@fabiopesenti in the sketch. I fixed it to connect to the obd2 adaptor that has the name "obd2" only. But you can change it.
@fabiopesenti
@fabiopesenti 4 дня назад
@@vacob6494 Hi, now the "vLinker MC+" at startup is recognized and the program run but after 5 seconds the application closes and restarts this continuously . This problem did not happen with blue OBDII marked ELM327. How can I modify the code? Thank you very much
@vacob6494
@vacob6494 3 дня назад
@@fabiopesenti could u please connect gauge to laptop and see debug message on serial terminal?
@oida6802
@oida6802 4 месяца назад
Hello, Is there any way to measure the level of braking with the OBD device? Thanks,
@vacob6494
@vacob6494 4 месяца назад
You mean brake fluid level or brake force level?
@oida6802
@oida6802 4 месяца назад
@@vacob6494 brake force level. Best Regards
@vacob6494
@vacob6494 4 месяца назад
@oida6802 in standard pids, there is no brake force , but extend pid could or couldn't. Up to car manufacturers.
@lohikarhu734
@lohikarhu734 3 месяца назад
You could put an accelerometer on the system.
@Joke90
@Joke90 9 месяцев назад
Hello is it possible to change/replace info displayed with something else besides ones shown in video
@RatthaninWartcheeranon
@RatthaninWartcheeranon 9 месяцев назад
Yes it's possible, you need to modify sketch to work with that display
@Joke90
@Joke90 9 месяцев назад
@@RatthaninWartcheeranon lovely fhanks for reply
@_der_pinguin_2463
@_der_pinguin_2463 6 месяцев назад
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 6 месяцев назад
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 6 месяцев назад
@@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 6 месяцев назад
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 6 месяцев назад
@@vacob6494 Thanks. Do you know what I exactly would have to change? Sadly I am not that good at programming.
@saulleg
@saulleg 5 месяцев назад
​@@_der_pinguin_2463 same problem. Did you found solution?
@nhandu2304
@nhandu2304 Год назад
Can you share the code using canbus? if i use iso 9141-1 and iso 9141-2 is it ok?
@vacob6494
@vacob6494 Год назад
I haven't developed canbus interface yet but it is possible .
@fabiopesenti
@fabiopesenti Месяц назад
Hi I'm looking for an application to monitor the parameters of my car. Yours is perfect. I compiled the code and modified some functions no longer supported on ESP32 ver3.0. I compile the code but end getting an error. The sketch uses 2162777 bytes (110%) of the space available for programs. The maximum is 1966080 bytes. Global variables use 65696 bytes (20%) of dynamic memory, leaving another 261984 bytes free for local variables. The maximum is 327680 bytes. Compilation error: The text section exceeds the available space on the tab. Thank you very much
@vacob6494
@vacob6494 Месяц назад
Please roll back to ESP32 Ver 2.0.17 , and select partition scheme to huge APP 3MB instead. (OTA won't work) but you can successfully compile and flash.
@fabiopesenti
@fabiopesenti Месяц назад
@@vacob6494It's greate 🙂 i am able to build on ESP Ver.3.0 ...... the problem was on partition scheme. The correct selection is as you suggest (No OTA/1Mb). Now purchasing the ESP3 TFT card you suggested and would like to contribute to the development of this project
@samuelestrappazzon4384
@samuelestrappazzon4384 День назад
hi, I'm having some problems loading the code onto the esp32, it tells me that ledcSetup has not been defined, any advice?
@vacob6494
@vacob6494 14 часов назад
please downgrade esp32 arduino core to 2.0.7. I guess you are using core 3.0.x
@cslee6353
@cslee6353 6 месяцев назад
How do I customise a different PID?
@vacob6494
@vacob6494 6 месяцев назад
In the sketch. There is PIDs table and formula table for each PIDs. Start from there.
@nhandu2304
@nhandu2304 Год назад
can i connect the serial to obd ? Dont use elm327
@vacob6494
@vacob6494 Год назад
yes, but that needs more work, CANBUS interface chip + canbus communication.
@nhandu2304
@nhandu2304 Год назад
​@@vacob6494 Can you share the code using canbus? if i use iso 9141-1 and iso 9141-2 is it ok?
@javedhussain9514
@javedhussain9514 2 месяца назад
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 2 месяца назад
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 2 месяца назад
@@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 2 месяца назад
@@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 2 месяца назад
@@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 2 месяца назад
@@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
@javedhussain9514
@javedhussain9514 2 месяца назад
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 2 месяца назад
Hello thank you for your interesting, there are source code URL in the description.
@javedhussain9514
@javedhussain9514 2 месяца назад
@@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 2 месяца назад
@javedhussain9514 in schematic diagram show how to connect speaker and a button. In sketch also defined button pin number.
@Rafael-ed4np
@Rafael-ed4np 2 месяца назад
Hello, what software can I use to create custom buttons and icons?
@vacob6494
@vacob6494 2 месяца назад
there is link to source code (github) in description.
@Rafael-ed4np
@Rafael-ed4np 2 месяца назад
@@vacob6494 I saw the code friend, but I wanted to know if you know any software to convert png to binary, and create custom buttons in the sketch itself.
@vacob6494
@vacob6494 2 месяца назад
@@Rafael-ed4np notisrac.github.io/FileToCArray/
@Rafael-ed4np
@Rafael-ed4np 2 месяца назад
@@vacob6494 Thanks
@vacob6494
@vacob6494 Месяц назад
Hi Folks, a new source code update (full version) .
@MateusLeonardoMendes
@MateusLeonardoMendes Месяц назад
I have successfully edited your code to read an analog input + touch screen instead of button and come pids for Subaru. however, i can't manage to read my transmission fluid temperature (i have the pids, ECU address and mode but it doesn't work). If you have the time, could you kindly help me solving this issue?
@vacob6494
@vacob6494 Месяц назад
@@MateusLeonardoMendes you've gotta know PID and fcalculation fornula to read Subaru TFT. Just change pid 221E1C (for Ford) to 22xxyy something and the right formula. It should work.
@MateusLeonardoMendes
@MateusLeonardoMendes Месяц назад
@@vacob6494 I believe its 221017 for Subaru and I have the formula, however it seems to be different header, it should be 7E1 instead of usual 7E0
@vacob6494
@vacob6494 Месяц назад
And it gave wrong value?
@MateusLeonardoMendes
@MateusLeonardoMendes Месяц назад
@@vacob6494 ir gives the same answer regardless of the temperature changes
@nhandu2304
@nhandu2304 Год назад
use the type of wire to interface with obd is not ?
@vacob6494
@vacob6494 Год назад
Yes just direct connect to serial from elm327 to esp32 uart. But need hardware modify on obd2 adaptor too
@cinemahub8888
@cinemahub8888 Год назад
@@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 Год назад
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 Год назад
@@vacob6494 thanks u so much for your assistance. i will let u know the result. can u have your email please🙂
@vacob6494
@vacob6494 Год назад
@@cinemahub8888 if you have FB account please IM me here, more convenience for me. facebook.com/VaAndCob
@mr_mnky
@mr_mnky 10 месяцев назад
what's the name of the song?
@vacob6494
@vacob6494 10 месяцев назад
tbh it's radio station, I really don't know what song.
@muhammadmudassir6343
@muhammadmudassir6343 7 месяцев назад
is this system compatible with ford EEC V?
@vacob6494
@vacob6494 7 месяцев назад
what is ford EEC?
@3dddart
@3dddart 7 месяцев назад
@@vacob6494 J1850. PWM
@flymetothemoon5138
@flymetothemoon5138 6 месяцев назад
@@vacob6494 an old Ford ECU system, EEC V supports OBD2 so I would expect this to work
@vacob6494
@vacob6494 6 месяцев назад
@@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 2 месяца назад
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 2 месяца назад
The library file "JPEGdecoder.h" is missing. Pls check if all needed library files were added to arduino ide.
@javedhussain9514
@javedhussain9514 2 месяца назад
@@vacob6494 Not very clear to me. Can you please give some more detail on adding all files to ide?
@vacob6494
@vacob6494 2 месяца назад
@@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 2 месяца назад
@@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 2 месяца назад
@@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.
@lohikarhu734
@lohikarhu734 2 месяца назад
Hi, Thai guy! Or girl? Nice looking app..I'd like to do it on STM32..
@user-xj6up4gz8l
@user-xj6up4gz8l 5 месяцев назад
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 4 месяца назад
Yup should work
Далее
CAN Gateway: Monitoring Cars Wirelessly!
8:02
Просмотров 127 тыс.
DIY speed gauge with ESP32 and LVGL
12:16
Просмотров 21 тыс.
Как вам наш дуэт?❤️
00:37
Просмотров 1 млн
CYD-Klipper on a ESP32-2432S08 wifi display.
1:36
Просмотров 2 тыс.
DIY Raspberry Pi Racecar Dashboard: The Ultimate Guide
15:11
Arduino OBD2 gauge display elm327
7:04
Просмотров 57 тыс.
ESP32 + MCP2515 use CANHacker on CAN Bus system
5:38
LVGL Demo on ESP32-S3 4.3" TFT & ESP32 2.8" TFT
1:55
How to read the CanBus in any car. (Can Bus) Part #1
17:03
Flipper Zero: WiFi Dev Board Alternatives
11:14
Просмотров 75 тыс.
#engineering #diy #amazing #electronic #fyp
0:59
Просмотров 2,3 млн