SavvyCAN with ESP32 Running ESP32RET
Вставка
- Опубліковано 5 лип 2024
- Directly connect SavvyCAN to ESP32 with a CAN shield over Wi-Fi Access Point.
10 PCBs for $5 USD at www.pcbway.com
Get the ESP32 CAN Shield - store.mrdiy.ca/p/esp32-can-bu...
Products I used
=============
■ ESP32 (Amazon) - amzn.to/41Gmqdm
■ ESP32 (AliExpress) - s.click.aliexpress.com/e/_Ddz...
■ CAN Shield - store.mrdiy.ca/p/esp32-can-bu...
Links
=====
■ Online Flasher - mrdiyca.gitlab.io/mrdiy-esp-o...
■ ESP32RET - github.com/collin80/ESP32RET
■ SavvyCAN - www.savvycan.com
Join this channel to get access to perks:
/ @mrdiyca
Follow on X: x.com/MrDIYca
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 - Наука та технологія
Excellent Job, very interesting
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
need to somehow integrate a bypass for Stellantis/FCA CANBUS security gateway here... I have no idea what that would involve though
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.
Nevermind, I was monitoring the console and it reported a different password (without .ca). I'm able to connect now - thanks!!!
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.
I haven't had any major issues. I just started using it recently, so I can't say much about the older versions. I mainly use it to log CAN traffic and analyze it in SavvyCAN
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_S60R I replied to your email
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.
sure, I put it here - gitlab.com/MrDIYca/canabus/-/tree/main/esp32_savvycan
@@MrDIYca I've tried to compile it now but it always says i don't have enough memory on my device. The same ting happens when i try to compile the original ESPRet. Your online flasher works perfectly fine. Do you know what the problem could be?
Look into board_build.partitions = huge_app.csv
what about the timestamp issue ?
SavvyCAN on the shield doesn’t have that issue