SavvyCAN with ESP32 Running ESP32RET

preview_player
Показать описание
Directly connect SavvyCAN to ESP32 with a CAN shield over Wi-Fi Access Point.

Products I used
=============

Links
=====

Join this channel to get access to perks:

Music by Maksym Dudchyk.The links above usually are affiliate links that support the channel (no additional cost for you).

In this video, we'll guide you through setting up an ESP32 with a CAN Shield to directly access a CAN bus using SavvyCAN. If you've followed my previous CAN project videos, you know I've covered this topic before, but this time we'll bypass the framework and load the ESP32R firmware directly. We'll configure the CAN Shield, modify firmware settings, and demonstrate how to establish a two-way communication with SavvyCAN. Plus, I'll show you how to troubleshoot and utilize extra features like indicator LEDs.

00:00 Intro
00:13 My framework
00:38 Alternative
01:09 ESP32RET
01:39 HowTo Flash
01:58 HowTo Setup
02:31 Sponsor
03:01 HowTo config SavvyCAN
03:48 Outro
Комментарии
Автор

vote for gadget video, we are waiting ! lol

mdeeen
Автор

I had the Gateway compiling and loading under Arduino IDE a few months ago. Then I let it sit for a while and now when I try to build the gateway I'm getting compile errors as-if the board package has changed or is not linking. Any ideas? [ error: 'gpio_pad_select_gpio' was not declared in this scope; did you mean
92 | ]

michaelhamilton
Автор

I have tried ESP32RET but with esp32 boards from aliexpress the can bus speed was not correct. First guess was that there is something wrong with prescalers in the source code but haven't found the culprit..
100kHz speed in reality was about 99.8kHz and it was anought for data missmatch

zygimantasmikulis
Автор

I am presently looking at an Audi car and the ODBII CAN-BUS port is completely silent, no traffic at all. That is until I use my VAG-COM cable to access one of the modules on the bus. What I have found out is the CAN-BUS'es of which there are several on this vehicle all connect at a gateway module. This allows data to transfer from one CAN-BUS network to another as necessary as well as outputting CAN-BUS data to the ODBII port only when requested to!
So as long as you know what to 'poke' the gateway with you can get you can monitor the necessary responce, which is sort of OK. The best thing to do is tap into the required CAN-BUS itself and miss out the gateway all together. Now your design is great, but maybe having a breakout connector as well as the OBDII plug could allow you to draw power from the car to power it but let you run a pair of twisted cable to elsewhere in the vehicle to tap in and monitor the CAN.
I appreciate you may not have come across this type of CAN topology in you design / testing but I think it would possibly open up your project to more users.

Cracking work though.

julianpalmer
Автор

need to somehow integrate a bypass for Stellantis/FCA CANBUS security gateway here... I have no idea what that would involve though

bluearcherx
Автор

Hey! I just received my shield, I connected to the ESP32 and flashed through the website. Red and green light are on when I connect to the car, but it the blue light remains off, but it reads the canbus messages on Saavycan. But my question is, I know Volvo's canbus pins are 3 LS CAN - high, 11 LS CAN - low and 6 is CAN High ISO 15765-4 and 14 is CAN Low ISO 15765-4. I need to listen to LS CAN because I am trying to find some other warning lights on my Volvo so I can use on my simulator, when I ran the scan it read several Can ids and messages but none that I know that are available on my LS Can like for instance I know the my gauge uses 0xA10408 for the blinker, but that never came up on Saavycan, maybe I am listening to the high speed can? Is there a way to set to listen to can low on pins 3 and 11?

Flybrick_SR
Автор

I got the kit and soldered all the connection and connected the ESP32 and flashed it, the Power and Wi-Fi LED comes on and I get these messages from the application
"Got data from serial. Len = 4
f1 09 de ad
Write to serial -> f1 9"

I have a Nissan Pathfinder 2019 Wondering if anyone else has this issue? Could the can bus data be encrypted?

comtech
Автор

I bought a CAN shield from you, I just received it and assembled with my esp32 then flash it online from your website, everything work fine except Wireless CAN wifi password mrdiy is incorrect. Please be advice

homeofnewtech
Автор

Good work. I am wondering if you didn't encounter any problem with Collin80's code? I remember when I was working with his code I couldn't make it work on my ESP32 board. It was some years ago and then I let it go.

muhammadhussain
Автор

This is really cool! I've not been successfully been able to compile something that actually was able to read the CANBUS. So having a prebuild image I can just upload is of great help. However, how were you able to connect to the wifi with such a short password? I'm unable to connect my mac to the ESP32.

BoukeGroenescheij
Автор

I have connected the ESP32 to my 2024 Model3P at the CAN connector located in front of the passenger door. The unit continues to be powered after the car shuts down and it appears that a spurious CAN message gets sent to some unit in the trunk when the Gateway is plugged in. Please advise.

FastTrons
Автор

Can you publish the code you have on your online flashing site of this project? Since i have a car that uses 47, 619 kbit/s can speed and have to make some modifications.

fredriktorstensson