Hack Your Car's CAN BUS Pt. 2 You can do it! Tutorial, Tips and Tricks for CAN BUS Programming

Поделиться
HTML-код
  • Опубликовано: 22 май 2024
  • In this follow-up to our first CAN BUS video, we show you more tips and tricks for sending and receiving CAN BUS messages.
    You can watch Part 1 here where we show you how to solder the CAN BUS board and connect it to the vehicle: • Hack Your Car's CAN BU...
    For this video, we are using the upper control panel from a W211 Mercedes as an example, but these steps apply to any CAN BUS device that you want to communicate with.
    Working with CAN BUS devices outside of the vehicle on the bench is a great way to get started with less stress.
    As always, proceed with caution when programming CAN BUS and proceed at your own risk.
    Thanks for watching!
  • Авто/МотоАвто/Мото

Комментарии • 32

  • @fatherandsonfix
    @fatherandsonfix  Год назад +7

    This is our longest video yet in total time, number of takes and editing time. We did our best to provide a clear and detailed explanation. Hopefully we got all the bits and bytes right and we hope you enjoy!

    • @leonflackett7397
      @leonflackett7397 Год назад +1

      Very thorough! - video was great - may I recommend using QuickTime player to record the screen 🙌🏽 other than that amazing 👍🏽

    • @fatherandsonfix
      @fatherandsonfix  Год назад

      @@leonflackett7397 thank you, we will definitely step up our game with a proper screen capture recording next time. :)

    • @111chicane
      @111chicane Год назад +1

      ​​​​@@fatherandsonfixHey, man! Should I call you CAN Guru? :)
      Loving your videos showcasing your projects with CAN bus! I was wondering if you can help me out with my project. I need to sniff the BMW's K-CAN network to determine when the car is in Ignition. I need someone to write the code for a PIC18 micro or any other similar microcontroller with built-in CAN interface.
      This, of course, is a paid gig. I don't expect you to do it for free.
      Please let me know if you're interested in that, or maybe know someone who might be.
      Thank you!

    • @fatherandsonfix
      @fatherandsonfix  Год назад

      @@111chicane Thanks for your compliments :) and reaching out about your project. Please email us at fatherandsonfix@gmail.com with more details and we'll see how we can help, thanks!

    • @111chicane
      @111chicane Год назад

      @@fatherandsonfix Thank you for your response! I'll shoot you an email with the details. Have a wonderful day!

  • @leonflackett7397
    @leonflackett7397 Год назад +1

    Super informative 🙌🏽 thanks for the video

  • @Salt00
    @Salt00 Год назад +2

    Thank you for making this👍

  • @jaakkawinterroadofficial
    @jaakkawinterroadofficial Год назад +1

    good video! i not found before this cd door on list. :DD

  • @IngeBall
    @IngeBall Год назад +1

    Nice video!
    I'm resaerching the best approach to modify Can messages.
    Man in the middle kind of thing for panelswitches so no tinkering with safety functions.

    • @fatherandsonfix
      @fatherandsonfix  Год назад +1

      Thank you! That's awesome. Man in the middle is a little bit more challenging. Most of the examples we've seen involve two boards. One receiving, the second, filtering and relaying. Please keep us posted on your progress, and good luck!

    • @IngeBall
      @IngeBall Год назад +1

      @@fatherandsonfix
      Yeah, and I'm not very good at programming lol.
      I have all the data collected so theoretically it shouldnt be that hard.
      As I see it if the "converter" esp32 recieves X , it should send Y.

  • @larrydeem3071
    @larrydeem3071 6 месяцев назад +1

    This is the most I have learned from a single CAN bus video. Very well done and will be a big help in my project.
    One question, I have looked all over for the CAN message list for R230. In your video you found a list some had made from STAR Dianostics. Can you post a link to the W211 list? Maybe that would help me narrow done the BCM on R230 which is what I am interested in.

    • @fatherandsonfix
      @fatherandsonfix  6 месяцев назад +1

      Thanks for your kind words, we appreciate it. There is a list of ids for the W211 here: github.com/angelovAlex/can-bus-w211/blob/master/EN_PIDS.txt It looks like the battery control module is: BSG
      --- BSG_A1 ID:0x0009 but you will need to check and verify. Let us know how it goes and good luck getting the gremlins out of your SL.

  • @sergeygalayda2931
    @sergeygalayda2931 Год назад

    Nice topic but audio is really bad because camera microphone is behind you. Can you provide more info what Arduino program did you use? Thank you.

  • @tuanas458
    @tuanas458 3 месяца назад +1

    Can you do some more of these examples with the canbus on simpler automotive devices like door lights etc etc?

    • @fatherandsonfix
      @fatherandsonfix  3 месяца назад

      Noted, we'll consider this for a future video.

  • @JP-mk3bb
    @JP-mk3bb Год назад

    Great video! I'm curious if this method would allow for one to modify the vehicle light settings? My son put LED's in his 09 pt cruiser, but they flicker, with and w/o resistors and also with a canbus decoder. So I was wondering if I can find the data once I read the canbus with Arduino if it's even possible to perhaps change the voltage or add a line of code that would accept the LED's. Any input on this would be appreciated! TIA!

    • @fatherandsonfix
      @fatherandsonfix  Год назад +1

      @JP good question. It sounds like you are installing LED headlights. You may be able to turn off any error messages with a canbus decoder. However, you may not be able to stop the flickering unless there is an HID or LED mode from the factory you can activate via the canbus. If there is no LED or HID mode for your vehicle than canbus may not be able to help. It could be you need better quality resistors. The fog lamp circuit on our W211 Mercedes wagon required higher quality resistors to prevent flickering and the error message in the dash when we installed LEDs. The higher quality resistors are usually packaged in a larger heatsink and cost about twice as much. We still paid less than $30 for the set we needed. Search for high quality resistors by your bulb type. If you are installing interior lights, the right high quality resistors may be a little more challenging to find and diy. Hope this helps, reply to let us know if you get it solved. Good luck!

  • @jomkub02
    @jomkub02 Год назад

    Good job sir !
    Do you have more detail about arduino ex. Code and equipment ?
    Thank you.

    • @fatherandsonfix
      @fatherandsonfix  Год назад +1

      Thank you for your kind words! Absolutely, you can learn more about the board and the process in pt.1 here: ruclips.net/video/Y_wkJwvOs3Y/видео.html

  • @Buy-n-large
    @Buy-n-large Год назад +1

    you said the prius runs at a different voltage, what is it? I assumed all of the interior accessories would be on 12v, powered by the 12v battery thats in the trunk of the car. Is it something other than 12 volts, like at the head unit, or AC controls?

    • @fatherandsonfix
      @fatherandsonfix  Год назад +1

      Thanks for your comment. You're totally right. That's our bad! The accessories all run on 12v. It's only the battery for the motor that runs at 200v. There's a bunch of great information for prius and canbus, especially for talking to the batteries and motor here: www.eaa-phev.org/wiki/Prius_PHEV_TechInfo

    • @Buy-n-large
      @Buy-n-large Год назад

      @@fatherandsonfix cool, thank you.

  • @ohmslaw3076
    @ohmslaw3076 11 месяцев назад +1

    Hi Sir, what hardware do I need in regards to laptop? Can I use any Mac laptop. Thanks.

    • @fatherandsonfix
      @fatherandsonfix  11 месяцев назад +1

      Good question. Most basic laptops will do. We're using a 10+ year old Mac laptop in this video! You can use Windows or Linux if you prefer. You can see the system requirements for Arduino here: www.arduino.cc/en/software/ If you have an older laptop or desktop, scroll down for the legacy versions, make sure they are compatible with your board, and you can use though too.

  • @zexiao
    @zexiao Год назад

    Hi Sir, really appreciated for this great informative video.
    I got a problem when I dig into the can bus on my E300 (2018). I attempted to plug the OBD2 slot, and connected the Arduino based mcp2515 device to high and low lines on ODB2, but unfortunately, no any messages received.
    I guess the OBD2 on E300 did not expose the can bus high line and low line.
    Could you please kindly advise the location of the can bus B and C for my vehicle?
    Thank you in advance.

    • @fatherandsonfix
      @fatherandsonfix  Год назад

      Looks like you need to access the CAN BUS on the W213 via the footwell/floor on the right side of the vehicle. Take a look at this video: ruclips.net/video/myi8TTMseMo/видео.html&ab_channel=IndiWork

    • @zexiao
      @zexiao Год назад

      @@fatherandsonfix thank you very much. I also googled and got the same answer. OBD2 exposed the can bus, but it is CAN D which is only diagnostic info(the CAN message was sniffed, last time there was not any messages because the wrong baud rate). For CAN B, it is under both front seats.