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
    ------------------------------------------------------

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

  • @upir_upir
    @upir_upir  2 วันที่ผ่านมา +10

    All the source files are on GitHub: github.com/upiir/arduino_dashboard

    • @XxNachilloxX
      @XxNachilloxX 2 วันที่ผ่านมา

      Do you have an email? Thanks!!

  • @LastChanceNow
    @LastChanceNow 2 วันที่ผ่านมา +35

    This is a very interesting topic, please continue about OBD2 !!!

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา +3

      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?

    • @esakujala2949
      @esakujala2949 2 วันที่ผ่านมา

      Konnwei KW901 would be interesting ELM327 dongle. It is small and have on/off switch

    • @LateralNW
      @LateralNW 8 ชั่วโมงที่ผ่านมา +1

      @@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.

  • @schwartzenheimer1
    @schwartzenheimer1 2 วันที่ผ่านมา +8

    Definitely NOT too long. A lot of very useful info presented. Sad that the attention span of some people is minimal.

    • @upir_upir
      @upir_upir  วันที่ผ่านมา

      Thank you!

  • @mehmetemincicek3266
    @mehmetemincicek3266 2 วันที่ผ่านมา +18

    now we need a car reveal with all the projects about cars combined
    insane work bro

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา +5

      The problem is that all the cars that I would like to get are pre-OBDII era..

  • @roedolphlouw7774
    @roedolphlouw7774 2 วันที่ผ่านมา +5

    This is by fare the best video online regarding OBD and arduino

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      Thank you, I’m glad you like it!

  • @bimokayoba
    @bimokayoba 23 ชั่วโมงที่ผ่านมา +2

    That's soo interesting, your videos inspire and motivate me to work on my projects, thanks ☺

    • @upir_upir
      @upir_upir  20 ชั่วโมงที่ผ่านมา +1

      That´s great to hear, thank you and good luck with your projects!

  • @AFSMG
    @AFSMG 2 วันที่ผ่านมา +4

    As always, an exceptional job with lots of detail and a high technical level. A marvel. Congratulations. A warm greeting from Spain

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      Thank you for your nice comment, I really appreciate it!

  • @michaelbruns473
    @michaelbruns473 2 วันที่ผ่านมา +2

    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.

    • @upir_upir
      @upir_upir  20 ชั่วโมงที่ผ่านมา

      That´s great to hear, thank you for your nice comment, and good luck with your project!

  • @goowatch
    @goowatch 2 วันที่ผ่านมา +1

    Como siempre un canal refinado que se preocupa por dar las mejores explicaciones de todo el proceso. Felicitaciones de nuevo. ¡Gracias!

    • @upir_upir
      @upir_upir  วันที่ผ่านมา

      Thank you!

  • @alpertatkan874
    @alpertatkan874 2 วันที่ผ่านมา +1

    This is more than I thought. It's an incredible job. Thanks for all the information.

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      Thank you for your nice comment

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

    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

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

      Thank you for your nice words, I really appreciate it. Good luck with your projects!

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

    this is my favorite content in all of youtube

    • @upir_upir
      @upir_upir  วันที่ผ่านมา

      That´s great to hear, thank you!

  • @gustavopaschoal7882
    @gustavopaschoal7882 2 วันที่ผ่านมา +1

    This is awesome! I'm looking forward to what's to come, I hope it has an aversion with elm bt!

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา +1

      Thank you, and yes, I would like to explore that topic a little bit more.

  • @hiperformance71
    @hiperformance71 2 วันที่ผ่านมา +1

    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.

    • @upir_upir
      @upir_upir  20 ชั่วโมงที่ผ่านมา

      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.

  • @pacsam6369
    @pacsam6369 2 วันที่ผ่านมา +2

    YES, THAT'S WHAT I WAS WAITING FOR, THANKS DUDE!

    • @eggegg6101
      @eggegg6101 2 วันที่ผ่านมา +1

      right, like I was just looking into making one

    • @upir_upir
      @upir_upir  วันที่ผ่านมา

      That´s perfect!

  • @TestoMane
    @TestoMane 2 วันที่ผ่านมา +1

    Thank you for your videos. One of the best arduino/tech guide youtube channels out here

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      Thank you for your nice comment, I’m glad you like it!

  • @edivollgas719
    @edivollgas719 2 วันที่ผ่านมา +8

    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 😊.

    • @LibangF15
      @LibangF15 2 วันที่ผ่านมา +1

      Link for library pls? Thanks

    • @esakujala2949
      @esakujala2949 2 วันที่ผ่านมา +1

      Probably he means Elmduino

    • @edivollgas719
      @edivollgas719 2 วันที่ผ่านมา +1

      Thanks my re got cancelled

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

      Cool. What kind of temperature are you displaying in your van?

    • @edivollgas719
      @edivollgas719 22 ชั่วโมงที่ผ่านมา

      @@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.

  • @Barzar100
    @Barzar100 2 วันที่ผ่านมา +1

    This is incredible

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      Thank you!

  • @MrKingChannel1
    @MrKingChannel1 2 วันที่ผ่านมา +2

    Hey, that is the video i was waiting for :D

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา +1

      Perfect, that’s great to hear!

  • @cubra26
    @cubra26 2 ชั่วโมงที่ผ่านมา

    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!

  • @Helder_Paulo
    @Helder_Paulo 2 วันที่ผ่านมา +1

    GREAT MAN . ty you have read my comment. many thanks

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา +1

      You are welcome, hopefully it was understandable.

  • @mlg779
    @mlg779 2 วันที่ผ่านมา +1

    Finally some cool canbus stuff !!! 😀

    • @upir_upir
      @upir_upir  วันที่ผ่านมา

      Thank you!

  • @CorvusCorps
    @CorvusCorps 2 วันที่ผ่านมา +1

    Helllll yesss brother! I want to do something like this for an OBD1.5 vehicle as well.

    • @upir_upir
      @upir_upir  วันที่ผ่านมา

      Perfect, good luck with your project!

  • @kralhynek
    @kralhynek 2 วันที่ผ่านมา +2

    Dobrá práce :)

    • @itsdamarcello
      @itsdamarcello 2 วันที่ผ่านมา +2

      jak svině!! 🔥🔥

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา +1

      Diky diky!

  • @andymouse
    @andymouse 2 วันที่ผ่านมา +1

    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 !!

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

      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..

    • @andymouse
      @andymouse 19 ชั่วโมงที่ผ่านมา

      @@upir_upir :)

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

    This is awesome work, can you do OBD2 car temps like air intake temps with a sensor?

    • @upir_upir
      @upir_upir  วันที่ผ่านมา

      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.

  • @joelb2660
    @joelb2660 2 วันที่ผ่านมา +1

    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.

    • @upir_upir
      @upir_upir  วันที่ผ่านมา

      Cool. Could you perhaps share more details how you interface those analog sensors? Thank you!

    • @joelb2660
      @joelb2660 วันที่ผ่านมา

      @@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.

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

    If it weren't for the possibility of bricking your only car, this would be a fun project.

    • @upir_upir
      @upir_upir  20 ชั่วโมงที่ผ่านมา

      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.

  • @mariuskroll4293
    @mariuskroll4293 ชั่วโมงที่ผ่านมา

    Amazing as always, can u do a leanangle display?

  • @Fraansanchez
    @Fraansanchez 2 วันที่ผ่านมา +1

    Could you do a tutorial with realdash and can-bus output of OBDII conector?

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      I’m sorry but I don’t have a knowledge for such tutorial yet.

  • @XxNachilloxX
    @XxNachilloxX 2 วันที่ผ่านมา +1

    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!!!!

    • @upir_upir
      @upir_upir  วันที่ผ่านมา

      I will reply to your email soon. Thanks!

  • @chad3814
    @chad3814 2 วันที่ผ่านมา +1

    Oh man! I have always wanted to replace my cluster with an electronic one!

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      Cool! For which car?

    • @chad3814
      @chad3814 2 วันที่ผ่านมา

      @@upir_upir originally I wanted to replace a 2003 Jeep Wrangler, but I have a 1996 Honda del Sol that would be amazing!

  • @JohnJones-oy3md
    @JohnJones-oy3md 2 วันที่ผ่านมา +1

    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.

    • @upir_upir
      @upir_upir  วันที่ผ่านมา

      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?

  • @kasrabahmanyar1193
    @kasrabahmanyar1193 2 วันที่ผ่านมา +1

    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.

    • @upir_upir
      @upir_upir  วันที่ผ่านมา

      Yes, I will cover smoothing the animations in the next video. Thank you!

  • @oefzdegoeggl
    @oefzdegoeggl 2 วันที่ผ่านมา +1

    You could just use a while (true) {} for your character skipping and exit it with a break.

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      What would be the advantage of such code?

    • @oefzdegoeggl
      @oefzdegoeggl วันที่ผ่านมา

      @@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.

  • @Yakroo108
    @Yakroo108 2 วันที่ผ่านมา +1

    👍👍👍

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      Thanks!

  • @boyblunder8889
    @boyblunder8889 2 วันที่ผ่านมา +1

    YES !! 😊 🙏👍

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      Thank you!

  • @SlendisFi_Universe
    @SlendisFi_Universe 2 วันที่ผ่านมา +1

    I think I can use this to make integrated dashboard on my s60 because the said car will not work without dashboard

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      Cool, that sounds like an interesting project!

  • @ryancampbell9425
    @ryancampbell9425 2 วันที่ผ่านมา +1

    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??

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      I don’t have such knowledge yet, but perhaps in the future..

  • @theoldbigmoose
    @theoldbigmoose 2 วันที่ผ่านมา +1

    Is the display you specified daylight readable, or readable inside a car in daylight?

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

      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.

    • @theoldbigmoose
      @theoldbigmoose วันที่ผ่านมา

      @@upir_upir Thank you, I cannot believe I missed the end of your video... apologies.

  • @nicraft45
    @nicraft45 2 วันที่ผ่านมา +1

    i would love to build something like a hud with a projector of some kind maybe a new projekt?

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      That’s an interesting idea! I just need to find a proper projector…

  • @karlohorcicka7388
    @karlohorcicka7388 2 วันที่ผ่านมา +1

    Can you make that obd2 simulator drive the real car dashboard like amstudio showed in his video with arduino?

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      Not yet, I don’t have the required knowledge how to make it work. But perhaps in the future..

  • @TechnicNerdAT
    @TechnicNerdAT 2 วันที่ผ่านมา +1

    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!

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      Thank you. What are you working on? I will try the Bluetooth dongle soon.

  • @HakkiOgrt
    @HakkiOgrt 2 วันที่ผ่านมา +1

    Thnx.

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      You are welcome !

  • @My_Gaming_Mind
    @My_Gaming_Mind 2 วันที่ผ่านมา +12

    Wish it wasn't so laggy

    • @The_Novo
      @The_Novo 2 วันที่ผ่านมา +2

      Projects like this should be built on more powerful MCUs, like TI, STM, ESP.
      It's not only faster, it's cheaper.

    • @Mikomanus
      @Mikomanus 2 วันที่ผ่านมา +2

      @@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.

    • @PatalJunior
      @PatalJunior 2 วันที่ผ่านมา +2

      @@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.

    • @My_Gaming_Mind
      @My_Gaming_Mind 2 วันที่ผ่านมา +1

      @@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

    • @graemeuk6238
      @graemeuk6238 2 วันที่ผ่านมา +2

      You could program an animation that counts down to the new value received from to obd port to make it seem smoother

  • @chad3814
    @chad3814 2 วันที่ผ่านมา +1

    are the bottom two bits of the rpm significant in some way?

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา +1

      Probably not for the driver, but I’m sure the ECU is probably using it for calculations.

  • @ryancampbell9425
    @ryancampbell9425 2 วันที่ผ่านมา +1

    Is the arduino interpreting CAN signals?

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      No, there is a board in between.

  • @sergeifil6990
    @sergeifil6990 2 วันที่ผ่านมา +1

    What about old cars there only K lain?

    • @joelb2660
      @joelb2660 2 วันที่ผ่านมา +1

      It won’t be fast enough.

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      I’m sorry but I don’t know how you would proceed in that case.

  • @964cuplove
    @964cuplove 2 วันที่ผ่านมา +1

    I want turbo boost, water and oil temp

    • @upir_upir
      @upir_upir  วันที่ผ่านมา

      I believe all of those should be accessible via OBD.

  • @agafonovas
    @agafonovas 2 วันที่ผ่านมา +1

    Do it with DPID because this is too slow

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      What is DPID?

  • @onur4472
    @onur4472 2 วันที่ผ่านมา +1

    ❤❤❤❤❤❤❤❤❤❤😊🎉

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

      Thank you!

  • @XxNachilloxX
    @XxNachilloxX 2 วันที่ผ่านมา +1

    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

    • @upir_upir
      @upir_upir  2 วันที่ผ่านมา

      You can try utuber.upir(at)gmail.com

  • @efnick96
    @efnick96 2 วันที่ผ่านมา +1

    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 🥲

    • @upir_upir
      @upir_upir  วันที่ผ่านมา

      Thank you for your comment, and yes, I will look at those cheap ELM boards soon.