really great. thanks for taking the time to video this for others. one life pro tip for you sir... when you are in a windows command prompt, the "Tab" key will autocomplete for you... so when you are in C:\ESP32, rather than trying to spell the name of a directory or file exactly... just type "cd E" then hit tab. If there is more than one match you can keep hitting tab and it will cycle through them.
Thanks Frank 🙂 I forgot about tab in command prompt but I use Windoze so rarely now and command prompt even less. 99% of the time I use Linux Mint but figured it was better to show the process in the most common platform. How are you getting on with the Porsche?
Hi Ali, very nice tutorial. I have been using SavvyCan for a while on Due. Invaluable tool, certainly I couldn't finish my project without it. But I didn't know ESP32 was supported, thanks for the useful tips!
Thank Ali, it is going well. I drive Jag almost daily. I did around 20k trouble free electric miles so far. I have not worked on it over the last year or so because it just works. I just charge and drive. Hopefully I will find time this winter to work on some enhancements. I see you stay busy, keep up the great work!
@@ArtursGarage Sounds great but you know an EV conversion is never complete. I'd love to see videos of tweaks and updates and I'm sure others would too. 🙂
Be aware that some manufactueres (VAG) have the OBDII connected through a gateway. This acts to transfer data between different CANBUS systems in the car and only outputs data when it is requested. As a result connecting to the OBD port doesn't work and you need to connect into the specific network you want to monitor instead.
Good point, I sort of mentioned that in the video but didn't expand on it and hoped someone would bring it up in the comments. It would be cool to be able to request the data so if anyone knows how to do that please say..
I've done this myself using the separate transceiver boards but now days I use a Korlan USB2CAN OBD2 from 8Devices - relatively cheap, fast and relable
Every speedo will be different so you will need to figure out the power connections for yours. In my case I have a spare but used the one in the car to check which pins had 12V. CAN wires are always a twisted pair so easy to spot, connect them to your transciever as shown in the video, send power to the speedo and your good to go.
Fantastic video showing the steps to create a working kit. I bought the parts and I am finding that I can only connect from the ESP32 to the Transceiver if I leave the GND wire disconnected ! If I connect the GND it drops the signal. I tried the other GND points on the ESP32, but still disconnects! Any ideas as to why this is happening? Not connected to a car yet.
I saw similar behaviour when it was connected to the wrong data pins. Double check the transciever voltage and ensure you are using the correct output from the ESP32 and you are using the correct data pins.
@@alibro7512 you were of course correct. Thanks for coming back to me so quick. I've got it working on the Mitsubishi Colt Ralliart. Next step is to interrogate a spare instrument cluster with datalogs from a vehicle log to try and work out what IDs turn on/off the cluster lights, and data such as speedo, rpm and mileage/trip.
Thanks for letting us know. Hopefully others will learn from how you figured out what was wrong. I was lucky that Colin himself answered me when I was struggling with the same issue.
Good question. In my case the bus speed was 500kbs and Savvycan picked this up automatically. I'm not certain if it will do that for all canbus speeds.
Sure, it's just a cheap buck/boost dc voltage converter plugged into a 19V laptop psu. I never got around to buying a 'proper' bench PSU but use these instead.
I confirmt the filmware update form my esp32. but in savvyCAN I cann't connect the ESP 32. This is what it says "Failed to connect to GVRET at that com port". The strange thing is that he does receive something from the serial. What can i do?
Did you run the installation from a DOS prompt? Did it show any errors while doing it? When setting up SavvyCan you need to Add New Device Connection and select the correct com port.
@niek5753 Ensure when you first test it nothing else is connected to the ESP32, only the USB connection. If the firmware updater is working then Savvycan should see it. If still having issues watch the video again from around 11 minutes in. I did this in real time so you can see how it should work.
@@alibro7512 Thanks for your reaction. I did exactly the same as on your video, with 4 different ESP32's. In the Device Console of SavvyCAN still show up a fault massage: Failt to connect to GVRET at that com port.
Every manufacturer make their own CAN ID's and they can change from model to model. If you can find a DBC file for the car it can be used with Savvycan to explain what each is for. If not you need to figure it out using the methods mentioned in the video I listed.
I had a spare cluster but couldn't figure out what pins powered it up so metered the one in the car. Once you know the power pins just look for twisted pairs and they should be CAN.
Does the cluster throw out bus data when powered? Will be nice in narrowing down the bus data that is used to control the cluster vs data when plugged into vehicles canbus
It's interesting that the other ESP32 didn't work for you. Have you tried uploading a normal LED blink program to the ESP32 to see if it boots at all? Maybe you just got a faulty board. It could also be that it uses a cheaper serial port, which won't work at higher speeds. Probably not that though.
I tried 6 different 30 pin versions but no joy. I only realised after making the video that the 30 pin ESP32 does not have data pins 16 and 17 which Colin is using to link with the transceiver. It might be possible to manually install the firmware and change the pins to ones that are available but this would mean extra work. It is easier to buy the 38 pin version.
@@hsproductionz3853 Are you able to see the ESP32 in your Device Manager (if you're on Windows)? You should see it come up under `Ports (COM & LPT)` as at 11:11 in this video. What is the error?
Ali I'm face a problem with my hyundai i40 canbus , the CAN-BUS that i want to work with is "B-CAN" it's body Can bus and it is a "low-speed CAN" I'm not getting any reading on my SavvyCAN of canHacker ! Even if i change the bud rate . I don't know do i need a specific CAN Transceiver?? Have you wprked on a low-speed can??
@alibro7512 well after digging around i found out that the "sn65hvd230" Transceiver can't handle the low-speed , i should use the "MCP2515" module OR "MCP2551" Transceiver i order to the low-speed to work properly. I will test and see anyway.
@@alibro7512 low-speed CAN caled also FT CAN "Fault-tolerant CAN" two wires or sometimes one wire only high CAN wire and the low CAN wire connected to ground, used mainly in car comfort application "lock unlock, air conditioning, seats ..." the difference is the physical layer and the termination resistor, in the high-speed CAN it is 120ohm on each side but in the low-speed CAN it is depending on the number of the nodes in the bus! Another main difference is in the FT CAN the bus will continue working even if there is a short on the bus or high and low shorted or weak signal because the information is not so critical lick the high-speed . I found that we have to use a special CAN Transceiver like "tja1054, tja1055" in order to work properly, but i will try with MCP2515 Module and MCP2551 Transceiver and i will let you know.
@@NOONFIX My old Freelander that I converted to Electric has only normal CAN running at 500kbs. It was designed around 2000 so is pretty simple compared to modern cars.
IMPORTANT SOLUTION!!! Hello Ali, you are the best when it comes to CANBUS videos, thank you bro, i bought the esp32 that you suggested but with type-c and the can transceiver BUT i couldn't get it to work with SavvyCan !! Your esp32 uses (CH340 serial controller) and the one you suggested uses (cp2102) that one thing and when i use the sketch it tels me the memory of my esp32 is not enough!! But i can flash it with Flasher . Any ideas bro???
Found the solution!!! Don't USE the updater script! For some reason the pins 4,5 didnt work for me ! So opend the Sketch and changed the line Number 121: (CAN0.setCANPins(GPIO_NUM_4, GPIO_NUM_5)) to: (CAN0.setCANPins(GPIO_NUM_21, GPIO_NUM_22)) And remore or comment the two lines above : pinMode(21, OUTPUT); digitalWrite(21, LOW); And now the RX is pin 21, and the TX is pin 22 And DO NOT use the latest version of SavvyCAN ! It's so buggy I'm using version V208 [build Nov 30 2022] and it works perfectly! And don't forget before you upload change the partitioning scheme : tools --> Partision Scheme ---> Minimal SPIFFS And that's it ❤
Well done for getting it working and thank you for sharing the solution. The links often fail or take you to a different product but it's great to hear you got it working anyway. I normally use Linux for Savvycan and it mostly works fine but I get the odd crash like you.
really great. thanks for taking the time to video this for others. one life pro tip for you sir... when you are in a windows command prompt, the "Tab" key will autocomplete for you... so when you are in C:\ESP32, rather than trying to spell the name of a directory or file exactly... just type "cd E" then hit tab. If there is more than one match you can keep hitting tab and it will cycle through them.
Thanks Frank 🙂
I forgot about tab in command prompt but I use Windoze so rarely now and command prompt even less. 99% of the time I use Linux Mint but figured it was better to show the process in the most common platform.
How are you getting on with the Porsche?
@@alibro7512 well, not much progress but I'm hoping I can start back up soon working on the motor mount and axles.
Please continue with the next video about this exciting thing called CAN and I enjoy watching you work with it.
You are helping me learn. I will share with you as i grow more skills.
Hi Ali, very nice tutorial. I have been using SavvyCan for a while on Due. Invaluable tool, certainly I couldn't finish my project without it. But I didn't know ESP32 was supported, thanks for the useful tips!
Thank you Artur, your Jaguar series was a real inspiration. How is it going?
Thank Ali, it is going well. I drive Jag almost daily. I did around 20k trouble free electric miles so far. I have not worked on it over the last year or so because it just works. I just charge and drive.
Hopefully I will find time this winter to work on some enhancements.
I see you stay busy, keep up the great work!
@@ArtursGarage Sounds great but you know an EV conversion is never complete. I'd love to see videos of tweaks and updates and I'm sure others would too. 🙂
@@alibro7512 LOL, I know well EV Conversion is never complete. It was a poor choice of words on my part, lol. I got so many plans for it.
Be aware that some manufactueres (VAG) have the OBDII connected through a gateway. This acts to transfer data between different CANBUS systems in the car and only outputs data when it is requested. As a result connecting to the OBD port doesn't work and you need to connect into the specific network you want to monitor instead.
Good point, I sort of mentioned that in the video but didn't expand on it and hoped someone would bring it up in the comments. It would be cool to be able to request the data so if anyone knows how to do that please say..
Really good and helpful video. Thanks for taking the time.
I've done this myself using the separate transceiver boards but now days I use a Korlan USB2CAN OBD2 from 8Devices - relatively cheap, fast and relable
Does it work with Savvycan?
Really nice software.I use it with my MacBook Pro M4 pro macOS and RUSOKU TouCAN adapter.
Hey, mind to share how did you connect your canbus sniffer to the speedometer?
Every speedo will be different so you will need to figure out the power connections for yours. In my case I have a spare but used the one in the car to check which pins had 12V.
CAN wires are always a twisted pair so easy to spot, connect them to your transciever as shown in the video, send power to the speedo and your good to go.
You have excellent videos.
Thank you
Fantastic video showing the steps to create a working kit. I bought the parts and I am finding that I can only connect from the ESP32 to the Transceiver if I leave the GND wire disconnected ! If I connect the GND it drops the signal. I tried the other GND points on the ESP32, but still disconnects! Any ideas as to why this is happening? Not connected to a car yet.
I saw similar behaviour when it was connected to the wrong data pins. Double check the transciever voltage and ensure you are using the correct output from the ESP32 and you are using the correct data pins.
@@alibro7512 you were of course correct. Thanks for coming back to me so quick. I've got it working on the Mitsubishi Colt Ralliart. Next step is to interrogate a spare instrument cluster with datalogs from a vehicle log to try and work out what IDs turn on/off the cluster lights, and data such as speedo, rpm and mileage/trip.
That's great, thanks for getting back.
Was it the wrong data pins or something else?
@@alibro7512 wrong data pins. Didn't pay enough attention to the video...
Thanks for letting us know. Hopefully others will learn from how you figured out what was wrong. I was lucky that Colin himself answered me when I was struggling with the same issue.
Hi sir does we need to contect the ground of car to geound of esp32
Not normally but if you have problems then try grounding it.
Can you send can data back to the car or a cluster on a bench?
Did you watch the video? I did that near the end.
Can you use this to pass emissions? Getting the computer ready after battery unplugged rather than driving for hours.
Sorry, don't know
how can i open my neubours car doors open with that device bro...???????
Lol sorry can't help there.
What bus speed is required in the connection window of savvycam?
Good question. In my case the bus speed was 500kbs and Savvycan picked this up automatically. I'm not certain if it will do that for all canbus speeds.
Can I ask what power supply kit are you using to power the cluster? I've got this task to do so wanted to purchase a switchable bench power supply?
Sure, it's just a cheap buck/boost dc voltage converter plugged into a 19V laptop psu. I never got around to buying a 'proper' bench PSU but use these instead.
I confirmt the filmware update form my esp32. but in savvyCAN I cann't connect the ESP 32. This is what it says "Failed to connect to GVRET at that com port". The strange thing is that he does receive something from the serial. What can i do?
Did you run the installation from a DOS prompt? Did it show any errors while doing it?
When setting up SavvyCan you need to Add New Device Connection and select the correct com port.
@@alibro7512 Yes I Updated the firmware from the ESP32 whit the CMD. And I selected the right COM port
@@alibro7512 Hi I would like to continue with the project, can you give me more information on how I can fix it
@niek5753 Ensure when you first test it nothing else is connected to the ESP32, only the USB connection. If the firmware updater is working then Savvycan should see it.
If still having issues watch the video again from around 11 minutes in. I did this in real time so you can see how it should work.
@@alibro7512 Thanks for your reaction. I did exactly the same as on your video, with 4 different ESP32's. In the Device Console of SavvyCAN still show up a fault massage: Failt to connect to GVRET at that com port.
Is there a list of what the IDs mean?
Every manufacturer make their own CAN ID's and they can change from model to model. If you can find a DBC file for the car it can be used with Savvycan to explain what each is for. If not you need to figure it out using the methods mentioned in the video I listed.
How did you tap into the cluster? any tips
I had a spare cluster but couldn't figure out what pins powered it up so metered the one in the car. Once you know the power pins just look for twisted pairs and they should be CAN.
Does the cluster throw out bus data when powered? Will be nice in narrowing down the bus data that is used to control the cluster vs data when plugged into vehicles canbus
@@slapcitykustomz1658 Yes mate. My cluster is from an old car (2004) so not much but some.
@@alibro7512Thanks big help
It's interesting that the other ESP32 didn't work for you. Have you tried uploading a normal LED blink program to the ESP32 to see if it boots at all? Maybe you just got a faulty board.
It could also be that it uses a cheaper serial port, which won't work at higher speeds. Probably not that though.
I tried 6 different 30 pin versions but no joy. I only realised after making the video that the 30 pin ESP32 does not have data pins 16 and 17 which Colin is using to link with the transceiver. It might be possible to manually install the firmware and change the pins to ones that are available but this would mean extra work. It is easier to buy the 38 pin version.
How can get the firmware to install manually I have a 38 pin but the updater isn’t working for me
@@hsproductionz3853 what is going wrong?
@@hsproductionz3853 Are you able to see the ESP32 in your Device Manager (if you're on Windows)? You should see it come up under `Ports (COM & LPT)` as at 11:11 in this video.
What is the error?
@@ThisRandomUsername thanks I got it to work I was doing to in my virtual machine switch to the host and got it to flash
The 15 pin esp32 doesnt work because it requires different firmware
Ali I'm face a problem with my hyundai i40 canbus , the CAN-BUS that i want to work with is "B-CAN" it's body Can bus and it is a "low-speed CAN" I'm not getting any reading on my SavvyCAN of canHacker ! Even if i change the bud rate . I don't know do i need a specific CAN Transceiver?? Have you wprked on a low-speed can??
The speed isn't important as Savvycan will handle it. If you're not seeing anything then you're not connected properly.
@alibro7512 well after digging around i found out that the "sn65hvd230" Transceiver can't handle the low-speed , i should use the "MCP2515" module OR "MCP2551" Transceiver i order to the low-speed to work properly. I will test and see anyway.
@@NOONFIX Thanks, I wasn't aware of that. How slow is slow?
@@alibro7512 low-speed CAN caled also FT CAN "Fault-tolerant CAN" two wires or sometimes one wire only high CAN wire and the low CAN wire connected to ground, used mainly in car comfort application "lock unlock, air conditioning, seats ..." the difference is the physical layer and the termination resistor, in the high-speed CAN it is 120ohm on each side but in the low-speed CAN it is depending on the number of the nodes in the bus! Another main difference is in the FT CAN the bus will continue working even if there is a short on the bus or high and low shorted or weak signal because the information is not so critical lick the high-speed .
I found that we have to use a special CAN Transceiver like "tja1054, tja1055" in order to work properly, but i will try with MCP2515 Module and MCP2551 Transceiver and i will let you know.
@@NOONFIX My old Freelander that I converted to Electric has only normal CAN running at 500kbs. It was designed around 2000 so is pretty simple compared to modern cars.
IMPORTANT SOLUTION!!! Hello Ali, you are the best when it comes to CANBUS videos, thank you bro, i bought the esp32 that you suggested but with type-c and the can transceiver BUT i couldn't get it to work with SavvyCan !! Your esp32 uses (CH340 serial controller) and the one you suggested uses (cp2102) that one thing and when i use the sketch it tels me the memory of my esp32 is not enough!! But i can flash it with Flasher . Any ideas bro???
Found the solution!!! Don't USE the updater script! For some reason the pins 4,5 didnt work for me ! So opend the Sketch and changed the line Number 121:
(CAN0.setCANPins(GPIO_NUM_4, GPIO_NUM_5))
to:
(CAN0.setCANPins(GPIO_NUM_21, GPIO_NUM_22))
And remore or comment the two lines above :
pinMode(21, OUTPUT);
digitalWrite(21, LOW);
And now the RX is pin 21, and the TX is pin 22
And DO NOT use the latest version of SavvyCAN ! It's so buggy I'm using version V208 [build Nov 30 2022] and it works perfectly!
And don't forget before you upload change the partitioning scheme :
tools --> Partision Scheme ---> Minimal SPIFFS
And that's it ❤
Well done for getting it working and thank you for sharing the solution. The links often fail or take you to a different product but it's great to hear you got it working anyway. I normally use Linux for Savvycan and it mostly works fine but I get the odd crash like you.
I ❤