i wonder if you could use this to unbrick a smart electric hv battery a bricked smart hv battery is deep discharged , doesnt run but allso does not allow it to charge anymore , there are ways to verry slowly bring the cells back to live (mosty) but the battery even when charged back up again still trows a hissyfit in the system
That's a great thought! It would be interesting to see what CAN messages these dead batteries are putting out. You might need the battery controller if it isn't integrated into the battery unit to communicate with it.
thank you, we know to tin the tip at the beginning of soldering, didn't know it should be done throughout the soldering process, thanks for the tip...pun intended :)
@@fatherandsonfix its always a good idea to keep the tip tinned when you do not use the Iron. And when you pick it up again to solder, clean the tip and apply some fresh solder to help you with the heat transfer 😊
Is the Can Controller on the CANbed an MCP2517FD or MC2518FD? Looking at the driver (acan2517 , pi-hats/CAN-HAT/mcp25xxfd_can , linux/drivers/net/can/spi/mcp251xfd) , I can't make sense how to setup the filter/mask to only get messages from certain node IDs.
The chip is a MCP2515. We are considering a follow-up on filtering. Check for that chipset and you might find some existing scripts that only need to be modified slightly for your application. Let us know how it goes!
So with this setup, could I say for example take the V6 engine out of my 2017 F150 and drop in a any new V8 engine from Ford and make the computer recognise the new engine and work like it came from the factory with a V8? Without any factory reprogramming support?
You may need a more robust board or multiple boards, but it should be possible if the CAN data is there. Flying Miata has LS-swapped miatas with full support by translating the canbus signals between the mazda chassis and the chevy engine. Imagine the flat-plane crank v8 from the Mustang GT in an F150!! maybe that's what they're cooking up for the next Raptor :)
Good question. To learn each ID, you will need to look at the data feed when you are listening to the CAN BUS and use filters to find the data you are looking for. For RPM, this could be sent as a multiple, for example, 60 for 600RPM. For RPM you would look for a signal from a specific ID that would correspond to increasing or decreasing engine speed. Filters help you eliminate the IDS that are NOT the data you are looking for, to make the search easier. You can also save the output from the stream and then search it. For example, connect the CAN BUS board and put in receive mode. Then, rev the engine a few times at specific intervals to a specific amount, e.g. every 5 seconds rev the engine to 2000rpm. Look at a stopwatch to make this as precise as possible. Then, once you have the output from this saved, look for a data point on an ID that is changing in a 5-second cycle. Engine data is typically on its own CAN BUS separate from the interior CAN BUS. The engine CAN BUS can typically be accessed through a pin on the OBD II port.
Good video, but for the DIY person who has limited abilities I think it falls short of explaining exactly what you WOULD do once you're in. I understand that this was about hacking in, but can you take it to the next level? Maybe show how one would locate the drivers seat SAM, and send a command to recline it? Thanks for the video regardless. BTW, I have a W211 wagon so this hits home
For more tips and tricks check out our second video on CAN BUS: ua-cam.com/video/-eLZ-H5ESfg/v-deo.html That gives you everything you need and more. From there, it's up to you to take the leap and start hacking your W211, you can do it!
Great question. Yes, many vehicles transmit speed over CANBUS to display on the instrument cluster. Some cars have multiple CANBUS, A, B, C, etc. The speed may be transmitted over the interior CANBUS (CAN B) for navigation and via the engine and transmission CANBUS (CAN C) for controlling the vehicle and gearing. With an arduino board you could create code that would receive the CANBUS speed signal through the input CANBUS pins and then send a corresponding PWM signal through the output pins. The applications could be very cool! You could have lights that got brighter with speed, control another speed display gauge, or even increase the volume of the stereo based on speed. In fact for this last point, the W211 mercedes with stock amplifier and MOST will adjust the volume based on speed as reported over CANBUS. However, this is another digital signal not PWM signal. That example is more to show that speed can be acquired over CANBUS and what you could do with it :)
Sure, you can write a script that would send the data to another program / app or you could use the pin outs and send the data that way. For example, you could have a signal sent to one or more pins based on the can message received. Lots of interesting possibilities there. For example, you could trigger a relay to turn on a set of foglights based on some can trigger instead of a hardwired switch. This board is basically an Arduino + can shield which makes it quite flexible.
Those are some cold solder joints. They should be a nice concave fillet if the solder has flowed sufficiently. Get rid of those tiny conical tips. They suck for most things. The 1/16" screwdriver tip is perfect. HOWEVER, really helpful video, since I'm trying to hack in some additional buttons to my CLS55 AMG.
Well, thanks for the advice. The conical tip does take awhile to heat up the parts. We can assure you the solder joints are good. There was time lapse. We'll take a look for the screwdriver tip. Let us know how it goes with your project. What functions are you adding with the buttons?
@@fatherandsonfix I've added a Chinese Android Auto head unit, but I sort of hate touch screens in cars, so I'd like some tactile buttons for different functions such as navigation, Spotify, etc. The head unit supports arbitrary assignment of buttons, so I think it will be fairly easy.
That feature of the head unit definitely opens up some interesting possibilities. We totally agree about the tactile buttons. Replacing the COMAND with a JVC touchscreen on our wagon is what sent us down this rabbit hole of CANBUS and MOST diagnostics. We miss the buttons, but don't miss the graphics of the COMAND :)
Sorry for delay in reply, we purchased from Mouser: www.mouser.com/ProductDetail/Seeed-Studio/102991321?qs=wnTfsH77Xs5TVlDlbS14kQ%3D%3D&countrycode=US¤cycode=USD However, they no longer have it in stock at the time of this comment. We recommend running a search to find the best retailer for your location.
@@Bastard_Operator_From_Hell What might be dangerous depends on what you'd control. If you were driving down the road and interefered with the operation of the CAN bus, I suppose that would not be a good idea. This is what I had in mind when I asked about the danger.
@@linuxman0 Gotcha. I’d say use common sense. Don’t send unknown messages on the drive drain bus which is the bus for brakes, engine, transmission while driving. But opening and closing windows while driving via Arduino is the same as pushing the button on the door for your power windows. I developed control modules for MB (precisely for the 211 during the development of the platform back in the 1990’s and have a solid understanding though. ;)
Monitoring the CAN BUS you can learn which codes are used for each function in the vehicle. For example, lowering the window is a can bus signal and you can read this code. There is another script for transmitting the codes once they have been read. With this, you could create code to lower the window under certain circumstances. Or, turn on the heated seats automatically if it is cold, etc. The possibilities are only limited by your imagination and the codes you are able to read.
We are using a modified version of the script from here: github.com/Longan-Labs/Aruino_CAN_BUS_MCP2515 with the bit rate set to 83kbps for the Mercedes CAN BUS.
i wonder if you could use this to unbrick a smart electric hv battery
a bricked smart hv battery is deep discharged , doesnt run but allso does not allow it to charge anymore , there are ways to verry slowly bring the cells back to live (mosty) but the battery even when charged back up again still trows a hissyfit in the system
That's a great thought! It would be interesting to see what CAN messages these dead batteries are putting out. You might need the battery controller if it isn't integrated into the battery unit to communicate with it.
If you leave some solder on the tip,it will prevent it from oxidizing and transfer the heat better.
thank you, we know to tin the tip at the beginning of soldering, didn't know it should be done throughout the soldering process, thanks for the tip...pun intended :)
@@fatherandsonfix its always a good idea to keep the tip tinned when you do not use the Iron. And when you pick it up again to solder, clean the tip and apply some fresh solder to help you with the heat transfer 😊
Is the Can Controller on the CANbed an MCP2517FD or MC2518FD?
Looking at the driver (acan2517 , pi-hats/CAN-HAT/mcp25xxfd_can , linux/drivers/net/can/spi/mcp251xfd) , I can't make sense how to setup the filter/mask to only get messages from certain node IDs.
The chip is a MCP2515. We are considering a follow-up on filtering. Check for that chipset and you might find some existing scripts that only need to be modified slightly for your application. Let us know how it goes!
Very good ..why you don’t connect bus by OBD?
Good day sir..can u hack the EPS with can bus. Nissan vehicle..
So with this setup, could I say for example take the V6 engine out of my 2017 F150 and drop in a any new V8 engine from Ford and make the computer recognise the new engine and work like it came from the factory with a V8? Without any factory reprogramming support?
You may need a more robust board or multiple boards, but it should be possible if the CAN data is there. Flying Miata has LS-swapped miatas with full support by translating the canbus signals between the mazda chassis and the chevy engine. Imagine the flat-plane crank v8 from the Mustang GT in an F150!! maybe that's what they're cooking up for the next Raptor :)
@@fatherandsonfix Brother you read my mind. Also the new Chevy 5.5 in the Z06.
@@frankbob4043 oh yeah, that one's a screamer too, 670hp @ 8400 RPM all motor.
That's a really bad idea, just use HP tuners
Its possible to make block spedometer? Drive but in display stay 0?
Hello, how to find out which ID is for what? Like for example i want to find out which ID is for RPM
Good question. To learn each ID, you will need to look at the data feed when you are listening to the CAN BUS and use filters to find the data you are looking for. For RPM, this could be sent as a multiple, for example, 60 for 600RPM. For RPM you would look for a signal from a specific ID that would correspond to increasing or decreasing engine speed. Filters help you eliminate the IDS that are NOT the data you are looking for, to make the search easier. You can also save the output from the stream and then search it. For example, connect the CAN BUS board and put in receive mode. Then, rev the engine a few times at specific intervals to a specific amount, e.g. every 5 seconds rev the engine to 2000rpm. Look at a stopwatch to make this as precise as possible. Then, once you have the output from this saved, look for a data point on an ID that is changing in a 5-second cycle. Engine data is typically on its own CAN BUS separate from the interior CAN BUS. The engine CAN BUS can typically be accessed through a pin on the OBD II port.
Good video, but for the DIY person who has limited abilities I think it falls short of explaining exactly what you WOULD do once you're in. I understand that this was about hacking in, but can you take it to the next level? Maybe show how one would locate the drivers seat SAM, and send a command to recline it? Thanks for the video regardless. BTW, I have a W211 wagon so this hits home
stay tuned, we'll have a follow-up soon. w211 wagon owners unite! :)
For more tips and tricks check out our second video on CAN BUS: ua-cam.com/video/-eLZ-H5ESfg/v-deo.html That gives you everything you need and more. From there, it's up to you to take the leap and start hacking your W211, you can do it!
Good morning. I have a Mercedes w211 too. Can I use this tool for my car? Thanks for the answer.
Can you write speed code? Can information is converted to the corresponding PWM signal after reading the speed.
Great question. Yes, many vehicles transmit speed over CANBUS to display on the instrument cluster. Some cars have multiple CANBUS, A, B, C, etc. The speed may be transmitted over the interior CANBUS (CAN B) for navigation and via the engine and transmission CANBUS (CAN C) for controlling the vehicle and gearing. With an arduino board you could create code that would receive the CANBUS speed signal through the input CANBUS pins and then send a corresponding PWM signal through the output pins. The applications could be very cool! You could have lights that got brighter with speed, control another speed display gauge, or even increase the volume of the stereo based on speed. In fact for this last point, the W211 mercedes with stock amplifier and MOST will adjust the volume based on speed as reported over CANBUS. However, this is another digital signal not PWM signal. That example is more to show that speed can be acquired over CANBUS and what you could do with it :)
Hello, do you have any information about Mercedes Sprinter 2020? For example odometer?
What is the name adapter I need cancel can bus from Car 🚗?
Can you share the data received by this device with another system?
Sure, you can write a script that would send the data to another program / app or you could use the pin outs and send the data that way. For example, you could have a signal sent to one or more pins based on the can message received. Lots of interesting possibilities there. For example, you could trigger a relay to turn on a set of foglights based on some can trigger instead of a hardwired switch. This board is basically an Arduino + can shield which makes it quite flexible.
Those are some cold solder joints. They should be a nice concave fillet if the solder has flowed sufficiently. Get rid of those tiny conical tips. They suck for most things. The 1/16" screwdriver tip is perfect. HOWEVER, really helpful video, since I'm trying to hack in some additional buttons to my CLS55 AMG.
Well, thanks for the advice. The conical tip does take awhile to heat up the parts. We can assure you the solder joints are good. There was time lapse. We'll take a look for the screwdriver tip. Let us know how it goes with your project. What functions are you adding with the buttons?
@@fatherandsonfix I've added a Chinese Android Auto head unit, but I sort of hate touch screens in cars, so I'd like some tactile buttons for different functions such as navigation, Spotify, etc. The head unit supports arbitrary assignment of buttons, so I think it will be fairly easy.
That feature of the head unit definitely opens up some interesting possibilities. We totally agree about the tactile buttons. Replacing the COMAND with a JVC touchscreen on our wagon is what sent us down this rabbit hole of CANBUS and MOST diagnostics. We miss the buttons, but don't miss the graphics of the COMAND :)
I have sniffed my entire 211 about 15 years ago and have a complete list of all bits and what they do when you send them on the bus.
yes, we're late adopters :) there's a nice project on github for the 211 also: github.com/angelovAlex/can-bus-w211
Great video... Can you provide links to where we can purchase the products you are using?.
must be *CanBed* not sure
Sorry for delay in reply, we purchased from Mouser: www.mouser.com/ProductDetail/Seeed-Studio/102991321?qs=wnTfsH77Xs5TVlDlbS14kQ%3D%3D&countrycode=US¤cycode=USD However, they no longer have it in stock at the time of this comment. We recommend running a search to find the best retailer for your location.
I wonder if you can control things in the vehicle (windows, lights, etc.) by placing packets on to the CAN bus. Would that be dangerous?
Yes you can. No it’s not dangerous. What would be dangerous?
@@Bastard_Operator_From_Hell What might be dangerous depends on what you'd control. If you were driving down the road and interefered with the operation of the CAN bus, I suppose that would not be a good idea. This is what I had in mind when I asked about the danger.
@@linuxman0 Gotcha. I’d say use common sense. Don’t send unknown messages on the drive drain bus which is the bus for brakes, engine, transmission while driving. But opening and closing windows while driving via Arduino is the same as pushing the button on the door for your power windows. I developed control modules for MB (precisely for the 211 during the development of the platform back in the 1990’s and have a solid understanding though. ;)
Great video 👍🏽 would love to see a follow up
Thank you. Let's see what we can do.
We just released part two with more tips and tricks on how to use the board to send and receive signals: ua-cam.com/video/-eLZ-H5ESfg/v-deo.html
Any reason why you didn’t just use pins 6/14 from the dlc?
Most cars use those pins to communicate only with the Diagnostic computer on the vehicle, not necessarily the whole CAN bus network.
Some car use gateways, but some will directly hook from the one port.
What's the reason the need to monitor this CAN talk??
Monitoring the CAN BUS you can learn which codes are used for each function in the vehicle. For example, lowering the window is a can bus signal and you can read this code. There is another script for transmitting the codes once they have been read. With this, you could create code to lower the window under certain circumstances. Or, turn on the heated seats automatically if it is cold, etc. The possibilities are only limited by your imagination and the codes you are able to read.
Also like starting the car 🚗 😂
Good explain...
great! now let's go hack the planet.
Good job
Can you share the script you using for the arduino?
We are using a modified version of the script from here: github.com/Longan-Labs/Aruino_CAN_BUS_MCP2515 with the bit rate set to 83kbps for the Mercedes CAN BUS.
Cool now post a video of how to hack 2017 and up L5P Duramax so it doesn’t cost 4000 to delete tune it! Lll
hahaha, good one!
hello, do you have instagram to talk with you? thanks greetings.
You can email us fatherandsonfix@gmail.com
@@fatherandsonfix thanks