Arduino Dashboard (full tutorial - with Nextion Intelligent Display, OBDII ELM327, Arduino Leonardo)
ฝัง
- เผยแพร่เมื่อ 18 ต.ค. 2024
- PCBWay: www.pcbway.com...
Source Files: github.com/upi...
Do you like this video? You can buy me a coffee ☕: www.buymeacoff...
-----------------------------------------------------
Links from the video:
Do you like this video? You can buy me a coffee ☕: www.buymeacoff...
Sparkfun OBDII to UART board: www.sparkfun.c...
Sparkfun OBDII board on AliExpress: s.click.aliexp...
Sparkfun OBDII guide: learn.sparkfun...
OBDII to DB9 cable: s.click.aliexp...
OBDII simulator: s.click.aliexp...
Arduino Leonardo: s.click.aliexp...
Breadboard wires: s.click.aliexp...
Arduino UNO: s.click.aliexp...
Arduino breadboard prototyping shield: s.click.aliexp...
Photopea (online graphics editor like Photoshop): www.photopea.com/
RealTerm terminal application: sourceforge.ne...
USB to UART (cheap): s.click.aliexp...
USB to UART (better): s.click.aliexp...
USB to UART (best): s.click.aliexp...
Nextion Intelligent 5" display: s.click.aliexp...
Nextion Intelligent 7" display: s.click.aliexp...
Nextion USB to TLL UART board: s.click.aliexp...
Nextion Editor: nextion.tech/n...
Glyphr studio for creating fonts: www.glyphrstud...
Nextion Instruction set: nextion.tech/i...
Related videos:
Digifiz Nextion dashboard: • DO NOT buy this displa...
DWIN display: • Ford RS gauges with Ar...
Arduino Gear Indicator: • Arduino Gear Indicator
Temperature gauge: • Arduino Temperature Gauge
Pitch and roll indicator: • Inclinometer -YOU- can...
Boost gauge: • CHEAP DIY BOOST GAUGE
Pitch and Roll with Nextion display: • Homemade Pitch Roll In...
Parking sensor: • Arduino Parking Sensor...
Speedometer: • Arduino GPS Speedomete...
Boost gauge with OLED: • Turbo pressure gauge w...
------------------------------------------------------
Learn how to create a simple dashboard using Arduino, Nextion display, and Sparkfun OBDII to UART board for getting a realtime data from your car using the OBDII connector.
------------------------------------------------------
PCBWay is a service for manufacturing custom PCBs. If you click the link above, you will get a coupon for $5, which is exactly the price of 10 pieces of custom PCBs. In that case, you will only pay for shipping. Do you have any experience doing this? Please let me know in the comment section!
------------------------------------------------------
Do you have any questions? Suggestions for the next video? Please put those down in the comment section. I try to answer as many questions as I can. Thank you for watching, reading the video description and I hope to see you next time. Good luck with your projects!
------------------------------------------------------
#arduino #OBDII #nextion
------------------------------------------------------
All the source files are on GitHub: github.com/upiir/arduino_dashboard
Do you have an email? Thanks!!
This is a very interesting topic, please continue about OBD2 !!!
I will. Next step is to take a look at those cheap Chinese elm boards, first wired and also Bluetooth connection, and of course getting more data than just speed and rpm. What would be the most interesting for you?
Konnwei KW901 would be interesting ELM327 dongle. It is small and have on/off switch
@@upir_upir thanks for sharing. voltage level with an alarm if the alternator fails. A way to determine if the odb2 can tell if the aux is on or off.
Definitely NOT too long. A lot of very useful info presented. Sad that the attention span of some people is minimal.
Thank you!
now we need a car reveal with all the projects about cars combined
insane work bro
The problem is that all the cars that I would like to get are pre-OBDII era..
This is by fare the best video online regarding OBD and arduino
Thank you, I’m glad you like it!
That's soo interesting, your videos inspire and motivate me to work on my projects, thanks ☺
That´s great to hear, thank you and good luck with your projects!
As always, an exceptional job with lots of detail and a high technical level. A marvel. Congratulations. A warm greeting from Spain
Thank you for your nice comment, I really appreciate it!
WOW! OBD Protocol has been one of the few areas I have not ventured in. Thanks to you I am feeling much more confident to start an OBD gauge project now. I have already adapted your VW DIGIFIS to display RPM, temperature voltage and fuel data from an old 1965 Mustang. Works very nice indeed.
That´s great to hear, thank you for your nice comment, and good luck with your project!
Como siempre un canal refinado que se preocupa por dar las mejores explicaciones de todo el proceso. Felicitaciones de nuevo. ¡Gracias!
Thank you!
This is more than I thought. It's an incredible job. Thanks for all the information.
Thank you for your nice comment
Great vid as always, you deserve more views. Your videos always inspire me to learn more about coding. Thanks for uploading your projects to github; that makes it a lot easier to learn from when I can mess with the code
Thank you for your nice words, I really appreciate it. Good luck with your projects!
this is my favorite content in all of youtube
That´s great to hear, thank you!
This is awesome! I'm looking forward to what's to come, I hope it has an aversion with elm bt!
Thank you, and yes, I would like to explore that topic a little bit more.
Nice project UPIR, many thanks for this mega tutorial!! You just kicked my butt to move and do something similar for some project waiting for me to decide doing them! And you just confirmed my thoughts on using Nextion displays on cars, their brightness is soo low. I have tested some little 2 inch IPS displays with 300nit (300 cd) brightness and they work very well even on sunlight shining on them, but those are not easy to use as the nextions, but thanks to your previous tutorials on those DWIN, maybe I will have a change to do something.
Thank you for your nice comment, yes, using DWIN displays with this project would be a good idea. I do plan to cover it in the next video.
YES, THAT'S WHAT I WAS WAITING FOR, THANKS DUDE!
right, like I was just looking into making one
That´s perfect!
Thank you for your videos. One of the best arduino/tech guide youtube channels out here
Thank you for your nice comment, I’m glad you like it!
There is a library to work directly from elm327 via esp32 own bluetooth.
Made a lilygo esp32 oled display for displaying the temperature in my opel van 😊.
Link for library pls? Thanks
Probably he means Elmduino
Thanks my re got cancelled
Cool. What kind of temperature are you displaying in your van?
@@upir_upir
Watertemp because the van has none displayed and its on obd.
Actually I am trying to merge it with Your very nice temperature gauge on the round display esp32s3 HW next. Thanks for Your work and inspiration.
This is incredible
Thank you!
Hey, that is the video i was waiting for :D
Perfect, that’s great to hear!
It would be nice that you make more videos about bringing Arduino to the car, maybe even Raspberry Pi 4 or 5, I would really like to watch how you make a GPS for the car using some Display and some gps module! Just keep doing what you are doing!
GREAT MAN . ty you have read my comment. many thanks
You are welcome, hopefully it was understandable.
Finally some cool canbus stuff !!! 😀
Thank you!
Helllll yesss brother! I want to do something like this for an OBD1.5 vehicle as well.
Perfect, good luck with your project!
Dobrá práce :)
jak svině!! 🔥🔥
Diky diky!
Awesome display ! almost a year ago you showed how to use the ATTINY85 and of course WOKWI and now winter is here I get the urge to program, so if you find yourself with nothing to do (LOL !) I would like to see another game written for that set up please. Something simple like squash or breakout, I hope you don't think me to cheeky ! cheers !!
Thank you. I have a few game-related videos for ATTINY85 in progress, but they are on hold for now, with all the other projects going on. Perhaps during the winter I will be able to get to it. We will see..
@@upir_upir :)
This is awesome work, can you do OBD2 car temps like air intake temps with a sensor?
Thank you. If you google OBD PIDs, there is a wikipedia page that shows a lot of them, so you can take a look if you see what you are looking for.
Super video as usual. So a suitable Dwin screen will be needed in a 10” size for my needs then, along with a uno of some flavour. Don’t need the odb2 part, I’ll be reading from analog signals.
Cool. Could you perhaps share more details how you interface those analog sensors? Thank you!
@@upir_upir well they all have feeds to the dash on individual wires anyway, so it should just be a case of measuring some resistances and counting pulses. I’m not 100% sure the exact method for each of them yet.
If it weren't for the possibility of bricking your only car, this would be a fun project.
That´s why it´s a good idea to start with the simulator. That said, there is very low probability to brick your car with OBDII port.
Amazing as always, can u do a leanangle display?
Could you do a tutorial with realdash and can-bus output of OBDII conector?
I’m sorry but I don’t have a knowledge for such tutorial yet.
I m in process of developing a motorbike version and I want to make a fully personalized pcb to have everything really compact and make the code have condition alerts, I would like to discuss with you some things about it. Thanks!!!!
I will reply to your email soon. Thanks!
Oh man! I have always wanted to replace my cluster with an electronic one!
Cool! For which car?
@@upir_upir originally I wanted to replace a 2003 Jeep Wrangler, but I have a 1996 Honda del Sol that would be amazing!
Just a heads-up to hopefully save you some frustration. Those cheap OBD2 readers use a cloned/counterfeit version of an older ELM chip revision.
Thank you for letting me know, I have a bunch of those cheap ELM boards, let´s see if any of those will work. Are you using it for any of your projects?
to smoothen out the display refresh rate, is it viable to add an extra frame in between two frames that displays the average of the previous and next values. this would give you twice the fps using the same report rate.
Yes, I will cover smoothing the animations in the next video. Thank you!
You could just use a while (true) {} for your character skipping and exit it with a break.
What would be the advantage of such code?
@@upir_upir Well. "break" is the standard way to exit a loop, so it's not exotic. As you are looping forever and exit on a condition that is not a thing like a ... countdown (like "while (counter--) {}", it is the most obvious way. And you save a (in your case unnecessarily global) variable. And yes, a tiny faster execution though that's irrelevant here. Another option to skip until target character (when sure that it will arrive) would be a "while (readchar() != '>') { /*empty*/ }" ... I don't have your exact code in mind now, but as far as I remember, this is basically what you do.
👍👍👍
Thanks!
YES !! 😊 🙏👍
Thank you!
I think I can use this to make integrated dashboard on my s60 because the said car will not work without dashboard
Cool, that sounds like an interesting project!
Can you make an interface that will sent OBD2 signals to a fanatec sim racing wheel or other sim racing wheels with displays and buttons on it??
I don’t have such knowledge yet, but perhaps in the future..
Is the display you specified daylight readable, or readable inside a car in daylight?
It´s mentioned at the end of the video, with some in-car footage driving during sunny day, so you can see it by yourself.
@@upir_upir Thank you, I cannot believe I missed the end of your video... apologies.
i would love to build something like a hud with a projector of some kind maybe a new projekt?
That’s an interesting idea! I just need to find a proper projector…
Can you make that obd2 simulator drive the real car dashboard like amstudio showed in his video with arduino?
Not yet, I don’t have the required knowledge how to make it work. But perhaps in the future..
great! exactly whjat i need for my project! if u can get that to work with the bluetooth dongle, than it would be 100% perfect!
Thank you. What are you working on? I will try the Bluetooth dongle soon.
Thnx.
You are welcome !
Wish it wasn't so laggy
Projects like this should be built on more powerful MCUs, like TI, STM, ESP.
It's not only faster, it's cheaper.
@@The_Novo the question is if the speed is really a limitation of the MCU and not the ELM chip itself. I am pretty sure the uno could request the data far more often but it takes time for the ELM to respond.
@@The_Novo All OBD apps that give speed rpm etc are roughly this laggy, this is more of a OBD issue other than anything else.
@@PatalJunior yea you're right, I've also experienced some lag with my bluetooth obd reader using torque but I assumed it was the cheap reader and the bluetooth causing the lag, Idk about wired reader's speed
You could program an animation that counts down to the new value received from to obd port to make it seem smoother
are the bottom two bits of the rpm significant in some way?
Probably not for the driver, but I’m sure the ECU is probably using it for calculations.
Is the arduino interpreting CAN signals?
No, there is a board in between.
What about old cars there only K lain?
It won’t be fast enough.
I’m sorry but I don’t know how you would proceed in that case.
I want turbo boost, water and oil temp
I believe all of those should be accessible via OBD.
Do it with DPID because this is too slow
What is DPID?
❤❤❤❤❤❤❤❤❤❤😊🎉
Thank you!
Hi Upir!!! I m trying to find a mail to talk with you in private but I cant find it. Can u send me a way to chat we you. Thanks in advance
You can try utuber.upir(at)gmail.com
Ok now you have my full attention. Its something i wanted to have in my car for a while now. Maybe a way for this to work with generic bluetooth obd adapters as well? Might be a delay thought.
Edit: I got excited and commented before you said about the ELM 🥲
Thank you for your comment, and yes, I will look at those cheap ELM boards soon.