Hey Dave Part # 3 is overdue 😁 21k views on last video so we can all benefit on your knowledge. Maybe you can do a small tutorial on how to merge the aftermarket - in your case Nissan ECU to work with the rx8. The more detailed the better. You are awesome
Thank you for the accessible and useful video. I'm having to learn CANBUS on our existing ICE fleet before working on ESC/BMS/HMI for an EV effort. I'm also having to explain aspects of the project to others, so this link will live on. We're using RasPi and WittyPi3 rather than Arduino for platform, but there's a lot in common.
Hi Dave very good videos. I've got a few questions about how the architecture works : 1) Imagine I am missing a sending device that the main CANBUS board (i.e. the dash) is expecting to hear from it therefore brings up an error light - does the main controller put anything on the bus that will tell me what message is missing? For example : missing oil pressure message when your ICE engine is no longer there. Second : how do you actually remove a message? Is that a case of sending every message to an Arduino, then passing some through to the main CANBUS board, and not passing others ? And finally : if you want to send a 'new' message onto the bus, do you need to worry about any synchronisation / timing of those messages, or does the Arduino sort that out? Thanks a lot
Gosh lots of questions, 1) no it is unlikely that any missing messages will get a packet requesting them. 2) You can remove a message in two ways, one remove the thing sending it, two bridge the output of the device and filter it out. 3) Yes passing all to a board and filtering them out - bridging is the term. 4) No sync issues, the board deals with all that.
@@SouthWestEVUK thanks for the super speedy reply ! Only one more follow up (honest !). Do you route (bridge) all your messages through your ECU-Arduino? Is that how you ensure there aren't any dash lights coming up? And also... is your speedo a mechanical one or does it work off CanBus messages?
Firefighter/EMS here... Need a board for my new Toyota to cause front lights to flash and rear lights to flash when I raise pin high, or NO/NC contacts. Existing siren has A (front) B (rear) buttons for strobes.. but due to new car and extended warranty... I don't want to be cutting into wiring. Have you created any code that causes headlights and taillights to wigwag? While still allowing brake pedal override on rear? The ideal situation would be: Raise PIN X 12v+ for front flash. Low PIN X 12- to change pattern. Raise PIN Y 12v+ for rear flash. Low PIN Y 12v- for pattern change. Possibly another pin for hyper flash VS slow flash. Approaching intersections (horn ring) type stuff. Let me know if you have anything similar...
Hi, I would expect that you can control these via the CanBus on the Toyota. But I doubt the network is available any other way than cutting into the High and Low wires. Sorry
Hi Dave, Thanks for your sharing. I ve wanted to make a DIY digital dash for my kinda old car. Would it be possible to receive Can bus code and then send it to DIY dash so that it can use it for displaying rpm,speed, and any other info? Guess it will take a long time but Im willing to study and test. Thank you.
I am not sure you need to use can bus. If your car is old and does not have a canbus, then you need to read in what you can from wherever you can and then send to the display.
im trying something similar as well on an older OBDII car, my thought process is to capture OBDII signals from the stock car and use that data to convert to CAN bus signals and transmit those to a digital cluster. Any analog signals that are not captured on OBDII will be converted over with some logic gates and/or quick lookup tables (analog to digital).
Hi Dave, I'm going to implement a remote starter for a manual transmission car. I was wondering about getting the rpm and car speed from somewhere inside the car. Is CanBus useful for that purpose? or should I use any other way? if so, what way. thank you in advance for helping me.
Remote starter sounds like a good project - but what if you accidentally left it in gear? But yes you can gather RPM and Speed from the CanBus on most modern cars.
Hi Dave, interesting subject for a car/motorcycle buff. OK, I am not an engineer but a 3-year electronics technologist, so I am not as clued in with OBD as you are. Yes, I have various diagnostic testers included some that are brand specific. I came across the various protocols used for OBD. One of my vehicles is a 1995, so it is OBD I but the vehicle does have a J1962 connector. Likely an ISO 9141-2 since it uses the 4, 5, 7, 15 and 16 pins, plus some others (TN, Speed, Knocking). The question I have is, it has the K (7) and L (15) lines, but it also has a K' (K prime) line on pin 3. Do you have any idea what that is used for? I also have a 2015 and 2016 vehicle that run CANBUS. So I am looking into what you have done in your video.
Evening Great video Would it be possible to supply me a arduino with code I will be reading can bus from a vw golf mk5 How would I purchase this from you Regards
Hi Dave, Thanks for your two great videos, I’ve learned a lot from them. In the first you mention intercepting a message. I would like to do something similar. When you use the term intercept do you mean read then reissue an amended message or is there a way to actually remove/cancel a frame and then issue a replacement? Thanks again for the great videos.
So any device on the Canbus you would want to intercept messages for, you have to remove from the Canbus and then bridge the gap with an device with two Canbus drivers. Then you can read, filter and send what you want. Dave
@@SouthWestEVUKGreat videos and information to see the possibilities available. My initial project will be to remove the ding, ding noise when the ACC is on with the door open, then a speedo error correction. Is there a part 3 video to show how this is done?
Dave your'e a star. I actually got the hobby craft board working and started getting data . My end game is to create a permamently attached data logger to collect data from my Ducato to monitor for known defects (vissible a long way before codes, if sufficient data). Currently use a laptop and fiat specific software (multiecuscan). So plenty of investigation to come. I need to add a sd or micro sd card to the leanardo. Have you any experiance of setting up a card reader on this device (not a std Leanardo).
Hay no worries, glad the video helped. I have not added a micro sd to this board, but I know you can get addon wifi devices and lots of other things that Arduino's will talk to - I bet there are examples out there that are not far off plug and play.
@@SouthWestEVUK thanks for reply. Ive used an Uno to read 6 temperature sensors (around the engine and gearbox) and save to SD on My Mazda Bongo and a Mega to Read temperatures and integrate with my Solar system (no I dont have planets revolving around me) on my Motorhome. I couldnt suss the pinouts of the Leanardo until a mail from Hobycraft made me realise there was a separate 6 pin header.
hi dave, can you please help me in this regard. Can we use this device in test benches, ? which has lot of commands for example opening the door of the car and closing the door of the car commands? how can we get the CAN traces from this device? and also can i get this model which is soldered and ready to use , as i dont have any material to solder this device , your reply will really save my day.
Hay, unfortunately these come flat packed, so you would need to solder a little bit. When connected to a computer you can easily watch the serial output to see what is going on on the CanBus, either use the Arduino IDE or Arduino.cc website.
Hi Dave, really useful videos!! How did you find out what the correct pinouts for the can low, can high and ground were for your car? I assume that the output pins from the DB9 connector also are probably numbered differently to the pinouts on the ODB connector.
Yeah it can be hard, I managed to find an electrical wiring document for the RX8 that gave CH and CL wires around the car. And yeah the pin outs are different, and even the ODB can vary car to car (some cars have more than one bus on it).
Hi Dave, Great video. I'm working on converting my car to electric and i need to read repeat some CAN for dash lights and power steering etc. I'm fairly new to CAN so i'm doing some research. Does this device actually store the data and repeat it to the car's ECU without having the laptop available?
You have to program it to send the codes you want. But you can also program it to read the codes in the first place! So program to get what you want, then reprogram to send what you want!
hi dave... fascinating video... I've been interested in adurino units for a while now.. I'm good at soldering... electrician by trade.. heavy interest in cars.. I've been holding off on electricrifying an rx8.. I've just finished welding her up.. I absolutely love your adurino that runs the rx8 dash as its a beautiful set of clocks.. any chance you could hook me up with an adurino loaded with code for the rx8... I could probably solder it if you left a brief guide of what...where and out puts to the various components on the car.. the code is my main problem. keep it up.great work bro
Hi I’m going to order one of these in the next day or two to hopefully help me get my project car up and running would I be able to contact you for some advice if possible and how would I get hold of you thanks in advance dave
Dave, always useful watching your videos, I'm going to try soldering my board up soon but if it goes horribly wrong I may well get in touch about a board 😉
Hey Dave, thanks for the videos! You really helped me out today trying to mess with this. What is a good way to do an if statement using these received signals? I haven't really found much on checking received data and making decisions off of it in the arduino code. I'm not familiar with high-level coding just low-level stuff like pwm and transistor control. My end goal is to essentially create a map of LEDs showing things like park signal, left/right turn signal, brake signal, marker lights, etc. Mostly just don't know how to parse for signals and then use them. Thanks for the videos so far!
@@SouthWestEVUK I guess what I meant was more code for making decisions. I'm fine with working in the IDE, but the only way I can think of really parsing for certain signals is a bunch of nested if statements. I have my can shield up and running and I've imported a ton of signals into excel. Just unsure how to proceed with making the arduino scan for particular ones.
Hello, would like to ask about two lines of code, what are they used for? pinMode(23, OUTPUT); digitalWrite(23, HIGH); Thank you in advance for your answer!!!
Hi Dave, thanks for the videos. Have you ever work on obd2 with protocol 9141, cars with no can bus? I have no clue how to proceed , any starting point please? for ref subaru 2002
Hi Dave, will your arduino manage to spin the motor up to it's original maximum of 10700 rpm? What are you getting from your setup that is different from using the boards made by Damian, Paul, Johannes, thunderstruck, and othes? Thanks, Peter
So I don't know those boards intimately, but I do not see why I cannot replicate the motor control. RPM for example - to my current knowledge you apply a torque request to the motor, it will spin as fast as it can applying that torque. I may be proven wrong as I have not yet got to the part of having any load on the motor, but gut feeling says it is all doable.
@@SouthWestEVUK Thank you, looking forward to see it working with no compromises. Damian worked with arduino first, and then for some reason he designed an external board instead. I don't know if you have your shop already, but I have a modest place where it is possible to work on projects, and wouldn't charge anything for using it. I am in Pilning. Peter
Hey Dave, I think I might give this a try. However, I would also like to get GPS coordinates. Is there anything you recommend so I can work with both raw data? Thank you!
A quick google seems to list of lot of sub £10 boards to add to an Arduino board to give GPS data, bet there is lots of code out there too you can grab.
Hi Dave I'm interested in downloading the bin file from a motorcycle ECU and then reflashing the ECU with an updated bin file. Is this something that this board can achieve .
Probably, but you would need to know 'how' to extract the BIN from the ECU - so what chip it is, how to initialise it ready to download, then download etc... Once you know that, you'll know if this board can help!
Hi, I’m just finishing a Honda k24 swap in my Rx8 and I am keeping the stock power steering. I know the Power steering module has a can signal to turn on. I was wondering how I could trick the power steering module to turn it on.
using this device can you write to the Canbus ie I want to turn off the DRL's on a 07 Dodge Charger which uses the Hi beams at half pwr. So I can use LED's in after market head lights.
Hey I know this video is from a couple years ago but i have a CAN bus shield v1.2 with obd2 to rs232 I've checked all the pins and wiring and my baud and when I plug it in I can't get any led besides power can you help?
I assume the Shield is plugged into an Arduino? The LED on the Arduino is turned on in the code - so if you dont have the code turning it on, it will be off!
purchased a v2.0 board. it connects and identifies, but when i attempt to upload any code, the light flashes like crazy and the USB disconnects. only way to reconnect the board to the pc is by disconnecting the USB cord and reconnecting. yes ive tried multiple PC's and brand new quality USB cables and still same result
@@SouthWestEVUK my car work with j1850 protocol And i set new android player but the steering wheel buttons not work because the player not connected with the car protocol Can make the canbus decoder for the new android player connected to the j1850
Tried your code as shown on the cloud and locally on my PC. verify in each case did not like mcp_can_dfs.h or MCP_CAN CAN0(17). Any thoughts? Included libraries you suggested
hello and thnak you for all than infos. I have an mx5 nc 2006 model, how can i realize if my car has can bus protocol and what informations can i read.I am asking because i want to buy a boost control and the shop asks me if it is canbus or k-line and i dont know what to tell them.
@@SouthWestEVUKDo you have steps to set up excel cells to read this can-bus data, also will it work in Linux LibreOffice Calc, or do I have to have Microsoft excel. Thanks for your fast reply.
Can you give me any good links for more basic stuff without pages and pages of worthless reading. I am trying to replace fuel level with engine temperature. I need a list of PIDs. I think engine temperature is 5F, maybe fuel level is 2f but I am finding it hard to find real information on that. The plan is to take the 5F stream and change the header to 2f so the fuel gauge will then show the engine temperature. I have no real reason for doing this other than most Smart cars do not have a temperature gauge if made between 2008 and 2014, MB removed it for whatever reason. My main problem at the moment is how to work out the WUF for a CAN device not in a car so that I can wake my instrument cluster on the bench. I am using MCP_CAN with an ESP8266 and an MCP2515, that is all working fine and I can send OK. I do not know if I can receive or not, I cannot wake the instrument cluster up and I do not want to have to basically build a complete car electrical system in my workshop.
@@SouthWestEVUK I’ll see how I get on. But your board there looks like it will be best for when I do an install. I’ve a few ideas for useful things to add to my mini
is it possible to control the rpm of the engine trough an arduino and OBD2 in a 2006 Nissan Micra? I am thinking to build a project with a Lidar to keep a constant distance to the vehicle in front of my car on the motorway :-) I found in aliexpress Lidars under 100$ and a distance up 80-100meters (probably in the sun 25-30 meters efectively) with 10, 20 Hz reading the distance, Laser class 2, even 1, IPX67 and TTL communication. I am new in CanBus ,in all others (programming, electronics...) I am Ok
Hmm I don't actually know, I mean a 2006 Nissan Micra probably has a canbus - I guess the first place to look is the throttle pedal - does it talk to the canbus, or the cars controller directly? You would need to override that input with your new input, so you would need to understand what the pedal is outputting. To be honest this is all achievable, but it sounds awfully risky!
@@SouthWestEVUK :-) I know, probably it will work for short periods of time, but is a good project in comparison with blinking a led with a microcontroler.I saw drones followings a biker or a car, I will try to follow the number plate of the car in front in the same way because the number plates have higher reflection which is good for Lidar. Thank you for your help
Hey mate, after removing my OEM Headunit from my Honda Accord 8, the Clock on the small top screen stopped working, the Headunit is still sending Volume And Mode information on the same screen via the can bus that came in the box but not sending clock packets to display it. Is it possible that i can use this to send HH MM for clock packets to the car factory screen by plugging this into my aftermarket Android Headunit?
Can bus and rrading it could be ammazing but after thet can anyone tell me how can we access the flash memory in the ecu in order to modify map data????? I know damos files and how to usem
Hi Dave, Getting the below error following this guide. error: cannot declare variable 'CAN0' to be of abstract type 'MCP_CAN' MCP_CAN CAN0(17); // Set CS to pin 17" Any ideas?
It seems the library has been updated. I changed the top section of the code and got it working. #include #include #include #include #define CANint 2 #define LED2 8 #define LED3 7 unsigned char len = 0; unsigned char buf[8]; unsigned long ID = 0; unsigned long line = 0; mcp2515_can CAN0(17); // Set CS to pin 17
Yeah I did notice my code would not compile a few weeks back on a new machine. However I had the old library to hand so just copied it over - didnt realise they had updated it!
Hi I have found the Can_Bus_Shield in the Libraies and have Imported it. However, I am stuck as what to do next. I clicked on the "down" arrow next to Examples and found the "canbus-monitor" I then clicked on the "Tick" above the code and it said "Busy". But I get an error "expected identifier before numeric constant" Help needed please.
I get this message In file included from /home/builder/opt/libraries/latest/can_bus_shield_2_3_3/src/can-serial.h:24:0, from /tmp/337120163/canbus-monitor/canbus-monitor.ino:16: /home/builder/opt/libraries/latest/can_bus_shield_2_3_3/src/mcp_can.h:52:1: error: expected declaration before '}' token } MCP_BITTIME_SETUP;
I am not quite sure what the canbus-monitor is or tick or down arrow!!! I use arduino.cc - dead easy to copy and paste the code in and upload to your device...
@@SouthWestEVUK The code in the description in your video give me a different error. /tmp/117470849/canbus-monitor/canbus-monitor.ino: In function 'void setup()': /tmp/117470849/canbus-monitor/canbus-monitor.ino:35:29: error: no matching function for call to 'MCP_CAN::begin(int)' if (CAN0.begin(CAN_500KBPS) == CAN_OK) { ^ In file included from /tmp/117470849/canbus-monitor/canbus-monitor.ino:2:0: /home/builder/opt/libraries/latest/mcp_can_1_5_0/mcp_can.h:110:11: note: candidate: byte MCP_CAN::begin(byte, byte, byte) INT8U begin(INT8U idmodeset, INT8U speedset, INT8U clockset); // Initialize controller parameters ^~~~~ /home/builder/opt/libraries/latest/mcp_can_1_5_0/mcp_can.h:110:11: note: candidate expects 3 arguments, 1 provided /tmp/117470849/canbus-monitor/canbus-monitor.ino: In function 'void loop()': /tmp/117470849/canbus-monitor/canbus-monitor.ino:52:10: error: 'class MCP_CAN' has no member named 'readMsgBufID'; did you mean 'readMsgBuf'? CAN0.readMsgBufID(&ID, &len, buf); // Read data ^~~~~~~~~~~~ readMsgBuf Error during build: exit status 1
Hi Dave Can you recommend a laptop for coding etc please? I'm going to need something soon as I start stripping my i3. Sorry to ask here but couldn't find your email on the channel.
@@SouthWestEVUK hi im Dilin Pi from india. I was actually trying to make an obd scanner my own that can be used to read the abs and air bag codes from ecu. Can i use this canbuss controller to read the error and reset them? Please help me as im researching on this subject from the long time
Ridiculous that manufacturers can't even stick to the same standard for the OBD2 protocol. All cars have to have it (after 1996 in the US) but I guess they can decide for themselves what pins do what. 😠
Hello sir, I am student of automotive engineering. I am working on a project to fetch car speed data from ecu by odb through canbus. Can you give your email. I have some interesting facts to learn from you. If its fine for you. Thank you
Скетч использует 5880 байт (20%) памяти устройства. Всего доступно 28672 байт. Глобальные переменные используют 276 байт (10%) динамической памяти, оставляя 2284 байт для локальных переменных. Максимум: 2560 байт. avrdude: ser_open(): can't open device "\\.\COM9": The system cannot find the file specified. Failed uploading: uploading error: exit status 1
Hi greetings….i need your help can i send an email …i work diagnosting and programming in miami florida and i need support with a device and i need to buy an arduino shield from you set an ready to work thanks
Hey Dave
Part # 3 is overdue 😁 21k views on last video so we can all benefit on your knowledge.
Maybe you can do a small tutorial on how to merge the aftermarket - in your case Nissan ECU to work with the rx8. The more detailed the better.
You are awesome
Yeah I may come back to Can Bus diagnostics, I have a bunch more tools now!
This would be great have a Rx8 that's going v8 video 3 with intergreation would be helpful pretty sure I get it but any more detail helps
Thank you for the accessible and useful video. I'm having to learn CANBUS on our existing ICE fleet before working on ESC/BMS/HMI for an EV effort. I'm also having to explain aspects of the project to others, so this link will live on. We're using RasPi and WittyPi3 rather than Arduino for platform, but there's a lot in common.
Interesting - what is your fleet? are you converting a lot of vehicles?
Hi Dave very good videos. I've got a few questions about how the architecture works : 1) Imagine I am missing a sending device that the main CANBUS board (i.e. the dash) is expecting to hear from it therefore brings up an error light - does the main controller put anything on the bus that will tell me what message is missing? For example : missing oil pressure message when your ICE engine is no longer there. Second : how do you actually remove a message? Is that a case of sending every message to an Arduino, then passing some through to the main CANBUS board, and not passing others ? And finally : if you want to send a 'new' message onto the bus, do you need to worry about any synchronisation / timing of those messages, or does the Arduino sort that out? Thanks a lot
Gosh lots of questions, 1) no it is unlikely that any missing messages will get a packet requesting them. 2) You can remove a message in two ways, one remove the thing sending it, two bridge the output of the device and filter it out. 3) Yes passing all to a board and filtering them out - bridging is the term. 4) No sync issues, the board deals with all that.
@@SouthWestEVUK thanks for the super speedy reply ! Only one more follow up (honest !). Do you route (bridge) all your messages through your ECU-Arduino? Is that how you ensure there aren't any dash lights coming up? And also... is your speedo a mechanical one or does it work off CanBus messages?
Firefighter/EMS here... Need a board for my new Toyota to cause front lights to flash and rear lights to flash when I raise pin high, or NO/NC contacts.
Existing siren has A (front) B (rear) buttons for strobes.. but due to new car and extended warranty... I don't want to be cutting into wiring.
Have you created any code that causes headlights and taillights to wigwag? While still allowing brake pedal override on rear?
The ideal situation would be:
Raise PIN X 12v+ for front flash.
Low PIN X 12- to change pattern.
Raise PIN Y 12v+ for rear flash.
Low PIN Y 12v- for pattern change.
Possibly another pin for hyper flash VS slow flash. Approaching intersections (horn ring) type stuff.
Let me know if you have anything similar...
Hi, I would expect that you can control these via the CanBus on the Toyota. But I doubt the network is available any other way than cutting into the High and Low wires. Sorry
Hi Dave, Thanks for your sharing. I ve wanted to make a DIY digital dash for my kinda old car. Would it be possible to receive Can bus code and then send it to DIY dash so that it can use it for displaying rpm,speed, and any other info? Guess it will take a long time but Im willing to study and test. Thank you.
I am not sure you need to use can bus. If your car is old and does not have a canbus, then you need to read in what you can from wherever you can and then send to the display.
im trying something similar as well on an older OBDII car, my thought process is to capture OBDII signals from the stock car and use that data to convert to CAN bus signals and transmit those to a digital cluster. Any analog signals that are not captured on OBDII will be converted over with some logic gates and/or quick lookup tables (analog to digital).
Hi Dave, I'm going to implement a remote starter for a manual transmission car. I was wondering about getting the rpm and car speed from somewhere inside the car. Is CanBus useful for that purpose? or should I use any other way? if so, what way. thank you in advance for helping me.
Remote starter sounds like a good project - but what if you accidentally left it in gear? But yes you can gather RPM and Speed from the CanBus on most modern cars.
Hi Dave, interesting subject for a car/motorcycle buff. OK, I am not an engineer but a 3-year electronics technologist, so I am not as clued in with OBD as you are. Yes, I have various diagnostic testers included some that are brand specific. I came across the various protocols used for OBD. One of my vehicles is a 1995, so it is OBD I but the vehicle does have a J1962 connector. Likely an ISO 9141-2 since it uses the 4, 5, 7, 15 and 16 pins, plus some others (TN, Speed, Knocking). The question I have is, it has the K (7) and L (15) lines, but it also has a K' (K prime) line on pin 3. Do you have any idea what that is used for?
I also have a 2015 and 2016 vehicle that run CANBUS. So I am looking into what you have done in your video.
Hi ACE thanks for the message - ill be absolutely honest with you - I have no idea what a k prime line is!
Evening
Great video
Would it be possible to supply me a arduino with code
I will be reading can bus from a vw golf mk5
How would I purchase this from you
Regards
Hi sorry for the delay - email me, details in my bio / info page.
Hi Dave, Thanks for your two great videos, I’ve learned a lot from them. In the first you mention intercepting a message. I would like to do something similar. When you use the term intercept do you mean read then reissue an amended message or is there a way to actually remove/cancel a frame and then issue a replacement? Thanks again for the great videos.
So any device on the Canbus you would want to intercept messages for, you have to remove from the Canbus and then bridge the gap with an device with two Canbus drivers. Then you can read, filter and send what you want. Dave
@@SouthWestEVUKGreat videos and information to see the possibilities available. My initial project will be to remove the ding, ding noise when the ACC is on with the door open, then a speedo error correction. Is there a part 3 video to show how this is done?
Dave your'e a star. I actually got the hobby craft board working and started getting data . My end game is to create a permamently attached data logger to collect data from my Ducato to monitor for known defects (vissible a long way before codes, if sufficient data). Currently use a laptop and fiat specific software (multiecuscan). So plenty of investigation to come. I need to add a sd or micro sd card to the leanardo. Have you any experiance of setting up a card reader on this device (not a std Leanardo).
Hay no worries, glad the video helped. I have not added a micro sd to this board, but I know you can get addon wifi devices and lots of other things that Arduino's will talk to - I bet there are examples out there that are not far off plug and play.
@@SouthWestEVUK thanks for reply. Ive used an Uno to read 6 temperature sensors (around the engine and gearbox) and save to SD on My Mazda Bongo and a Mega to Read temperatures and integrate with my Solar system (no I dont have planets revolving around me) on my Motorhome. I couldnt suss the pinouts of the Leanardo until a mail from Hobycraft made me realise there was a separate 6 pin header.
hi dave, can you please help me in this regard. Can we use this device in test benches, ? which has lot of commands for example opening the door of the car and closing the door of the car commands? how can we get the CAN traces from this device? and also can i get this model which is soldered and ready to use , as i dont have any material to solder this device , your reply will really save my day.
Hay, unfortunately these come flat packed, so you would need to solder a little bit. When connected to a computer you can easily watch the serial output to see what is going on on the CanBus, either use the Arduino IDE or Arduino.cc website.
Hi Dave, really useful videos!! How did you find out what the correct pinouts for the can low, can high and ground were for your car? I assume that the output pins from the DB9 connector also are probably numbered differently to the pinouts on the ODB connector.
Yeah it can be hard, I managed to find an electrical wiring document for the RX8 that gave CH and CL wires around the car. And yeah the pin outs are different, and even the ODB can vary car to car (some cars have more than one bus on it).
Hi Dave, Great video. I'm working on converting my car to electric and i need to read repeat some CAN for dash lights and power steering etc. I'm fairly new to CAN so i'm doing some research. Does this device actually store the data and repeat it to the car's ECU without having the laptop available?
You have to program it to send the codes you want. But you can also program it to read the codes in the first place! So program to get what you want, then reprogram to send what you want!
I appreciate the response. Does it repeat the code without the use of the computer after its programmed?
Yes once programmed it will play that program when 5v-12v is applied
@@SouthWestEVUK Great stuff, thanks a lot, much appreciated. 👍
hi dave...
fascinating video...
I've been interested in adurino units for a while now..
I'm good at soldering...
electrician by trade..
heavy interest in cars..
I've been holding off on electricrifying an rx8..
I've just finished welding her up..
I absolutely love your adurino that runs the rx8 dash as its a beautiful set of clocks..
any chance you could hook me up with an adurino loaded with code for the rx8...
I could probably solder it if you left a brief guide of what...where and out puts to the various components on the car..
the code is my main problem.
keep it up.great work bro
Hi Jim, feel free to email me - address on my bio.
Helpful ta
Glad to hear that
Hi I’m going to order one of these in the next day or two to hopefully help me get my project car up and running would I be able to contact you for some advice if possible and how would I get hold of you thanks in advance dave
Hi bud, my contact details are on my channel home / info
Dave, always useful watching your videos, I'm going to try soldering my board up soon but if it goes horribly wrong I may well get in touch about a board 😉
haha! no worries, I have a few here still ;o)
Hi Dave
How much would a soldered board be?
Couldn’t find your email on your profile.
rx8@blackhurst.co.uk
Hey Dave, thanks for the videos! You really helped me out today trying to mess with this.
What is a good way to do an if statement using these received signals? I haven't really found much on checking received data and making decisions off of it in the arduino code. I'm not familiar with high-level coding just low-level stuff like pwm and transistor control.
My end goal is to essentially create a map of LEDs showing things like park signal, left/right turn signal, brake signal, marker lights, etc. Mostly just don't know how to parse for signals and then use them. Thanks for the videos so far!
Hay, you can use the Arduino.cc website - it was a web development studio and tonnes of code examples. It really is easy!
@@SouthWestEVUK I guess what I meant was more code for making decisions. I'm fine with working in the IDE, but the only way I can think of really parsing for certain signals is a bunch of nested if statements.
I have my can shield up and running and I've imported a ton of signals into excel. Just unsure how to proceed with making the arduino scan for particular ones.
@@SouthWestEVUK hi dave.. do you have an answer to his question?
Hello,
would like to ask about two lines of code, what are they used for?
pinMode(23, OUTPUT);
digitalWrite(23, HIGH);
Thank you in advance for your answer!!!
HI - pretty certain that turns on the LED on the board, but not checked the code directly...
Hi Dave, thanks for the videos. Have you ever work on obd2 with protocol 9141, cars with no can bus?
I have no clue how to proceed , any starting point please? for ref subaru 2002
Hi - sorry no I dont have any experience with that protocol at all. Sorry
Hi Dave, will your arduino manage to spin the motor up to it's original maximum of 10700 rpm? What are you getting from your setup that is different from using the boards made by Damian, Paul, Johannes, thunderstruck, and othes? Thanks, Peter
So I don't know those boards intimately, but I do not see why I cannot replicate the motor control. RPM for example - to my current knowledge you apply a torque request to the motor, it will spin as fast as it can applying that torque. I may be proven wrong as I have not yet got to the part of having any load on the motor, but gut feeling says it is all doable.
@@SouthWestEVUK Thank you, looking forward to see it working with no compromises. Damian worked with arduino first, and then for some reason he designed an external board instead. I don't know if you have your shop already, but I have a modest place where it is possible to work on projects, and wouldn't charge anything for using it. I am in Pilning. Peter
Hay thanks for the offer - I am currently moving house and will have a workshop at last! just another 4 weeks to wait...
@@SouthWestEVUK ok, no problem
I am confused on what parts should I get? I am starting a similar project on my corolla to read the OBD2 data & overlay it on my dashcam.
Sounds like a great project! (I think we are in email contact?)
Hey Dave, I think I might give this a try. However, I would also like to get GPS coordinates.
Is there anything you recommend so I can work with both raw data? Thank you!
A quick google seems to list of lot of sub £10 boards to add to an Arduino board to give GPS data, bet there is lots of code out there too you can grab.
Hi Dave I'm interested in downloading the bin file from a motorcycle ECU and then reflashing the ECU with an updated bin file. Is this something that this board can achieve .
Probably, but you would need to know 'how' to extract the BIN from the ECU - so what chip it is, how to initialise it ready to download, then download etc... Once you know that, you'll know if this board can help!
Hi, I’m just finishing a Honda k24 swap in my Rx8 and I am keeping the stock power steering. I know the Power steering module has a can signal to turn on. I was wondering how I could trick the power steering module to turn it on.
Thanks for the message, ill help over email...
Hey Dave, do you still have any boards available?
Sorry not at the moment bud. Have you tried getting them at hobby tronics?
Super helpful, Informative video, very helpful thanks a whole lot Dave I hope I don't have to bother you if I get into trouble🤞🏾
Haha, feel free to quiz me, I seem to spend more time helping others than doing my own project!
@@SouthWestEVUK 🤭😂 welcome to the club my friend 🤣💪🏾
Hi Dave, you hold up two boards in the flat pack...might want to add you will get one, not two :)
Well perhaps thats video three ahaha
Do you have any experience with Seeed can bus shield for Arduino? If so I beg of you to help me.
lol whats the problem (best to email me)
Is it possible to run an Audi A3 TDI 2009 so everything works when converted to electric
I would imagine so yes!
Wow, you are a hero Dave!
hahaha, you made my teenage daughter roll her eyes when I showed her this lol
using this device can you write to the Canbus ie I want to turn off the DRL's on a 07 Dodge Charger which uses the Hi beams at half pwr. So I can use LED's in after market head lights.
Yes if you know the codes you can send them using this device.
Hey I know this video is from a couple years ago but i have a CAN bus shield v1.2 with obd2 to rs232 I've checked all the pins and wiring and my baud and when I plug it in I can't get any led besides power can you help?
I assume the Shield is plugged into an Arduino? The LED on the Arduino is turned on in the code - so if you dont have the code turning it on, it will be off!
purchased a v2.0 board. it connects and identifies, but when i attempt to upload any code, the light flashes like crazy and the USB disconnects.
only way to reconnect the board to the pc is by disconnecting the USB cord and reconnecting.
yes ive tried multiple PC's and brand new quality USB cables and still same result
dodgy board?
can i purchase a hobbytronics board and have the code loaded by you?
happy to do the soldering at my end
Sure, email me - details in bio page on YT
Can you use this to send CAN commands to change settings in aftermarket controllers where you are given the CAN ids?
Yes absolutely
Can help me to how i connect the canbus decoder for Android player to my car chrysler town country 2003 plug with the j1850 wire?
Can help
errrrr, you've mentioned many things in one sentence, I'm not sure!
@@SouthWestEVUK my car work with j1850 protocol
And i set new android player but the steering wheel buttons not work because the player not connected with the car protocol
Can make the canbus decoder for the new android player connected to the j1850
Do you have steps to set up excel cells to read this can-bus data?
Hi - Excel cannot read canbus data? although it can process it once read by something else.
Hi, I am ok on the soldering but being old school I have no idea about all this coding. Could you just send me a board already coded ?
Hi - think you emailed me also - I have replied on email, cheers
Hello. Can an android navigation be adapted to display information (radio, CD) in the upper part of the FIS on a Passat B5.5? Thanks.
Really depends if the android navigation has the ability to do so.
The library does not exist anymore. Where can i find it?
email me and ill send you it
On the left hand board, it looks like the capacitor at the side of the label (Leonardo Can Bus) has been knocked sideways.
Yes you are totally right, I noticed that whilst editing the video - wondered if anyone would spot it!
impressive.
Please how do i contact you for a more interactive discussion?
Hay thanks - my email is on my profile page, hit me up.
Tried your code as shown on the cloud and locally on my PC. verify in each case did not like mcp_can_dfs.h or MCP_CAN CAN0(17). Any thoughts? Included libraries you suggested
normally this is the missing libraries - are they on github?
hello and thnak you for all than infos.
I have an mx5 nc 2006 model, how can i realize if my car has can bus protocol and what informations can i read.I am asking because i want to buy a boost control and the shop asks me if it is canbus or k-line and i dont know what to tell them.
Gosh, I don't know bud, can you ask mazda?
Is excel able to read can bus data without my programming excel?
No, Excel cannot natively read can bus data - you need to collect the data first and then process it using Excel.
@@SouthWestEVUKDo you have steps to set up excel cells to read this can-bus data, also will it work in Linux LibreOffice Calc, or do I have to have Microsoft excel. Thanks for your fast reply.
Dave, what is your entire email address?
In my bio bud.
Why is one of the resistors not sold it on the bare board?
Yeah, this board is not soldered properly!
Can you give me any good links for more basic stuff without pages and pages of worthless reading. I am trying to replace fuel level with engine temperature. I need a list of PIDs. I think engine temperature is 5F, maybe fuel level is 2f but I am finding it hard to find real information on that. The plan is to take the 5F stream and change the header to 2f so the fuel gauge will then show the engine temperature. I have no real reason for doing this other than most Smart cars do not have a temperature gauge if made between 2008 and 2014, MB removed it for whatever reason. My main problem at the moment is how to work out the WUF for a CAN device not in a car so that I can wake my instrument cluster on the bench. I am using MCP_CAN with an ESP8266 and an MCP2515, that is all working fine and I can send OK. I do not know if I can receive or not, I cannot wake the instrument cluster up and I do not want to have to basically build a complete car electrical system in my workshop.
What car mate?
The boards are sold out 😫 so got a can bus shield for full arduino instead
Argh pants! I do have some here if you get stuck.
@@SouthWestEVUK I’ll see how I get on. But your board there looks like it will be best for when I do an install. I’ve a few ideas for useful things to add to my mini
is it possible to control the rpm of the engine trough an arduino and OBD2 in a 2006 Nissan Micra? I am thinking to build a project with a Lidar to keep a constant distance to the vehicle in front of my car on the motorway :-) I found in aliexpress Lidars under 100$ and a distance up 80-100meters (probably in the sun 25-30 meters efectively) with 10, 20 Hz reading the distance, Laser class 2, even 1, IPX67 and TTL communication. I am new in CanBus ,in all others (programming, electronics...) I am Ok
Hmm I don't actually know, I mean a 2006 Nissan Micra probably has a canbus - I guess the first place to look is the throttle pedal - does it talk to the canbus, or the cars controller directly? You would need to override that input with your new input, so you would need to understand what the pedal is outputting. To be honest this is all achievable, but it sounds awfully risky!
@@SouthWestEVUK :-) I know, probably it will work for short periods of time, but is a good project in comparison with blinking a led with a microcontroler.I saw drones followings a biker or a car, I will try to follow the number plate of the car in front in the same way because the number plates have higher reflection which is good for Lidar. Thank you for your help
I think drones follow a tracker, so either a device or the drones controller - slightly easier! Good luck with the project keep me informed!
How do I pay for the boards with USD?
credit card?
Hey mate, after removing my OEM Headunit from my Honda Accord 8, the Clock on the small top screen stopped working, the Headunit is still sending Volume And Mode information on the same screen via the can bus that came in the box but not sending clock packets to display it. Is it possible that i can use this to send HH MM for clock packets to the car factory screen by plugging this into my aftermarket Android Headunit?
Yes, you can send whatever you want, but you will need to discover what packets are missing and replicate them.
Can bus and rrading it could be ammazing but after thet can anyone tell me how can we access the flash memory in the ecu in order to modify map data????? I know damos files and how to usem
Same as other answer !
I want to buy one where can I find it
I have some, can put code on if you want too - email in bio.
Hi Dave, Getting the below error following this guide.
error: cannot declare variable 'CAN0' to be of abstract type 'MCP_CAN'
MCP_CAN CAN0(17); // Set CS to pin 17"
Any ideas?
It seems the library has been updated. I changed the top section of the code and got it working.
#include
#include
#include
#include
#define CANint 2
#define LED2 8
#define LED3 7
unsigned char len = 0;
unsigned char buf[8];
unsigned long ID = 0;
unsigned long line = 0;
mcp2515_can CAN0(17); // Set CS to pin 17
Yeah I did notice my code would not compile a few weeks back on a new machine. However I had the old library to hand so just copied it over - didnt realise they had updated it!
@@SouthWestEVUK hopefully the above changes will help someone else. 👍
@@vj4 Helped me! Thanks!
Hi I have found the Can_Bus_Shield in the Libraies and have Imported it. However, I am stuck as what to do next. I clicked on the "down" arrow next to Examples and found the "canbus-monitor" I then clicked on the "Tick" above the code and it said "Busy". But I get an error "expected identifier before numeric constant" Help needed please.
I get this message
In file included from /home/builder/opt/libraries/latest/can_bus_shield_2_3_3/src/can-serial.h:24:0,
from /tmp/337120163/canbus-monitor/canbus-monitor.ino:16:
/home/builder/opt/libraries/latest/can_bus_shield_2_3_3/src/mcp_can.h:52:1: error: expected declaration before '}' token
} MCP_BITTIME_SETUP;
I am not quite sure what the canbus-monitor is or tick or down arrow!!! I use arduino.cc - dead easy to copy and paste the code in and upload to your device...
@@SouthWestEVUK The code in the description in your video give me a different error.
/tmp/117470849/canbus-monitor/canbus-monitor.ino: In function 'void setup()':
/tmp/117470849/canbus-monitor/canbus-monitor.ino:35:29: error: no matching function for call to 'MCP_CAN::begin(int)'
if (CAN0.begin(CAN_500KBPS) == CAN_OK) {
^
In file included from /tmp/117470849/canbus-monitor/canbus-monitor.ino:2:0:
/home/builder/opt/libraries/latest/mcp_can_1_5_0/mcp_can.h:110:11: note: candidate: byte MCP_CAN::begin(byte, byte, byte)
INT8U begin(INT8U idmodeset, INT8U speedset, INT8U clockset); // Initialize controller parameters
^~~~~
/home/builder/opt/libraries/latest/mcp_can_1_5_0/mcp_can.h:110:11: note: candidate expects 3 arguments, 1 provided
/tmp/117470849/canbus-monitor/canbus-monitor.ino: In function 'void loop()':
/tmp/117470849/canbus-monitor/canbus-monitor.ino:52:10: error: 'class MCP_CAN' has no member named 'readMsgBufID'; did you mean 'readMsgBuf'?
CAN0.readMsgBufID(&ID, &len, buf); // Read data
^~~~~~~~~~~~
readMsgBuf
Error during build: exit status 1
Hi Dave
Can you recommend a laptop for coding etc please? I'm going to need something soon as I start stripping my i3. Sorry to ask here but couldn't find your email on the channel.
To be honest anything with a usb port is fine, you don't need much power to compile Arduino code ;o)
@@SouthWestEVUK thanks Dave
hi dave were can i order d arduino ty
Contact me - I have some here I can build, I can put code on too if you need it.
The sitt where you can order the unit from is down. Is it still possible to order via their email?
Hi bud, I think they are just doing some upgrades - I have some of these if you want me to prep and send you one, email me.
@@SouthWestEVUK sent you an email.
@@SouthWestEVUK hi im Dilin Pi from india. I was actually trying to make an obd scanner my own that can be used to read the abs and air bag codes from ecu. Can i use this canbuss controller to read the error and reset them? Please help me as im researching on this subject from the long time
Using your code I get this error when compiling:
if (CAN0.begin(CAN_500KBPS) == CAN_OK) {
no matching function for call to 'MCP_CAN::begin(int)'
Have you imported the can-bus shield library?
Hi Dave, Is it possible to contact you for help with my one-off car please? Nick Butler. Auto Imagination
yes sure, my contact details are in my profile page...
6:34 the capacitor near the name of the board is unsoldered, hahaha
Ahh, your not the first to point it out, fortunately I have loads of these boards and it was a quick fix.
Ridiculous that manufacturers can't even stick to the same standard for the OBD2 protocol. All cars have to have it (after 1996 in the US) but I guess they can decide for themselves what pins do what. 😠
I know! crazy aint it.
Hello sir,
I am student of automotive engineering. I am working on a project to fetch car speed data from ecu by odb through canbus. Can you give your email. I have some interesting facts to learn from you. If its fine for you. Thank you
Details on the channel bio page.
Скетч использует 5880 байт (20%) памяти устройства. Всего доступно 28672 байт.
Глобальные переменные используют 276 байт (10%) динамической памяти, оставляя 2284 байт для локальных переменных. Максимум: 2560 байт.
avrdude: ser_open(): can't open device "\\.\COM9": The system cannot find the file specified.
Failed uploading: uploading error: exit status 1
absolutely
Please can you advise what is wrong and why this problem happens?
Hi greetings….i need your help can i send an email …i work diagnosting and programming in miami florida and i need support with a device and i need to buy an arduino shield from you set an ready to work thanks
sure, rx8@blackhurst.co.uk
Do you need glasses to read THE CanBus? Asking for a friend
Yes, yes you do!
mad repect
mad thank you!
It’s pronounced ArDueWeeeeeeeeNo
You are only about a year or two late, but thanks!
Hi, i've sent you an email. Please respond. Thank you!
Hi bud, not had anything?
@@SouthWestEVUK on the business email showed in you "About"'s channel menu. Thank you!
Where’s your email address??
on the bio / about page ;o)
thanks to giving us your email sir . Please
Hy Dave, can you give me your email please. I have something to ask on email.
Thanks
Hi bud, email is on my profile in YT - dont like putting it here due to bots...