CAN Gateway: Monitoring Cars Wirelessly!

128,082
0
Published 2023-08-02
Introducing a Wireless ESPNow CAN Bus Gateway running ESP32.
10 PCBs for $5 USD at www.pcbway.com/
Grab the CAN Shield: store.mrdiy.ca/p/esp32-can-bus-shield/

Source Code
===========
■ Tesla - gitlab.com/MrDIYca/canabus/-/blob/main/gateway_Tes…
■ OBDII - gitlab.com/MrDIYca/canabus/-/blob/main/gateway_OBD…

Shopping Links:
=============
■ Tesla OBDII Wire Adapter
- Amazon - geni.us/AsDPDz
- AliExpress - s.click.aliexpress.com/e/_DCLDNDt

■ ESP32 DevKit
- Amazon - amzn.to/41Gmqdm
- AliExpress - s.click.aliexpress.com/e/_DdzxYGV

Connect & Support:
================
Become a Member: youtube.com/channel/UCtfYdcn8F8wfRA2BXp2FPtg/join
Follow on X: x.com/MrDIYca

Music - The Mask by Oleksii Bezsalov

00:00 Intro
00:17 The Gateway
00:55 OBDII
04:56 Tesla
05:50 Sponsor
06:20 Two Car Setup
06:46 ESPNow IDs
07:11 Gadgets
07:29 Outro

DISCLAIMER: links found in the description box of my videos may be affiliate links, meaning I will make commission on sales you make through my link. This is at no extra cost to you to use my links/codes, it's just one more way to support me and my work. Much of the information contained is based on personal knowledge and experience. It is the responsibility of the viewer to independently verify all information.

All Comments (21)
  • @brainimplants
    That's pretty snazzy. You have really put in work, it shows.
  • @AlexanderBelikov
    I checked all 16 pins with a oscilloscope and found that pin 8 gets +5v when ignition is on in my Mazda. This is even more convenient than analog reading.
  • Nice content! I just ordered one CAN Shield to try on my Model 3. Thank you!
  • This is brilliant . I'm follow this project closely and looking forward to the gadget videos
  • @gwaeron8630
    Very interesting. Subbed to follow what you do next. I've always wanted to do more with the OBDII port but ended up selling my P3 vent gauge because using more than one device was glitchy and I loved my Navdy HUD. Dashcams should have the ability of recording signals and braking etc. Lukas make them but again more than one device and becomes glitchy.
  • @Minitia.R56
    This is amazing! You are making me get back to the Arduino game! I have been looking for a way to have two OBD2 gadgets (one for diagnostics and the the other for my connected insurance) to the same car!
  • What I would love is a esp32 with lorawan so I could use it to control my HVAC, windows, stop and start car and such. Should have much better range then those off the shelf units. Only issue is making the transmitter small enough for the key chain.
  • @romaindemaison3127
    I would love to see writting on the canbus, for example to open or close widnows, automatically change drive mode, and so on
  • @mortenmoulder
    Man, if this could post directly to MQTT instead of ESP-NOW, that would be nice. Then I can drive around in my Tesla and essentially get a cheaper and more versatile version of the S3XY buttons. Maybe since it's using an ESP32, it could connect to your phone, and since your phone always has internet, that could be the gateway.
  • @emadibnalyaman8073
    عمل اكثر من رائع، يا ريت تعمل هندسة عكسية لنظام التواصل بين سيارات تسلا.
  • very cool... i think it would be cool to have an alternative firmware here that publishes directly to your MQTT broker and skips the ESPnow middleware. Thanks for sharing!
  • @AutoRevLife
    To build this, do I need to purchase the dev board from Amazon? And if I buy the can shield from your store will it include a wiring diagram? And do the dev board and your can shield go together? I'm an IT guy with some coding experience, so I get some of the stuff you are saying but I want to make sure I am getting it right
  • @KillerShadow07
    Hmm if you integrate an attiny into the hw to monitor the voltage you could maybe cut of the power to the esp32 if the car is off and lower the consumption even more as the attiny consumes even less.
  • @ninjasploit
    Hey! Have you done any low-power GPS w/ cellular gadget? Would love something like that!
  • @ersincelebi5376
    Hi Can you tell us which hardware you prefer for USB to CAN protocol analyzer and can you explain how to use savvycan with a video?
  • @tygovorst
    Do you have a sample code for the little screen you had in the Tesla? I would like to make something similar for my scooter but I am having trouble
  • @mutthunaveen
    He is Business man bro.... Any business man does what ever to keep his business in a leadership position across competition. I see professionalism and ethics in the content they publish 🎉
  • @muhammadm1237
    What application will be used to monitor and diagnose the car?