I want to try and read the data from the engine OBD and out put eventually in Arudino. I'm new to some big parts of this project, so seeking for some help. I found this post, which shows how to connect a COM cable to the DLC1 connector on the car in order to use there s/w: I have a MCP220 USB to Serial break-board that I checked that there s/w recognise.
My Q is: how do I wire the CABLE to the MCP2200? Also, he mentions in the instructions of the s/w that u should not use a laptop but a grounded computer? I do not have a desktop that I can use, can I ground some other section with a rode to the floor- or something like that? Thanks in advance. As I recall OBD I trouble codes are pretty primitive. There are 2 pins on the OBD connector that will output a series of long and short outputs, somewhat like morse code.
All you'll have to do is monitor the long and short flashes and interperet them as a code. The tricky part is that all manufactuers use different connectors and different codes. You'll have to spend some time searching to get the pin out, how to read the codes and what the codes represent.
I'd look for the pin out for the same year and model vehicle as I don't have much confidence that even within the same manufacturer there was much consistancy where OBD I was concerened. Youtube and google will get you the info you need pretty quickly on how to connect to the vehicle. Regarding the ground situation, I'd follow the recommendation to use a PC with a ground, you can't just take a wire and touch it to the ground, that's not what a ground is. Optionally you could build an interface with an opto isolator or relay that would isolate the PC from the vehicle so grounding wouldn't be an issue, but that's going to require more hardware and a better understanding of electronics. Are you attempting to troubleshoot a particular problem on a specific vehicle or is this an academic exercise?
Toyota Obd1 Connector
If you're an aspiring shadetree mechanic it's probably best to try and address the symptoms directly instead of expecting the ECU to tell you what the problem is. OBD I codes are not very useful for a mechanic, it's more productive to check for fuel, air and spark. Hi, thanks for the fast the extensive reply. I thought the same, that the OBD1 had only the error code that u can get bu shorting 2 terminals, and 'counting' the blinks of the check engine light. Both the web page I posted (that I got the link out of a forum - that some one posted) they claim in some of the old ODB1 did have data in it.
For example note the following video (yes I know this on is a honda - but still). Unfortunately there is not a lot of info in the clip (at least not that I can understand). And no - I have no specific prublom in the car - if I had I would have taken it to the shop. Just want to extend the output of info Again thanks for your reply. Be careful the ELM327 USB interface only specifies OBD 2, I'm not sure if an adapter cable to make the diagnostic port connector interface with the scanner will be of any use, the difference between OBD 1 and OBD 2 is more than just the connector, I suspect that there are significant difference in the way data is sent that makes an OBD 2 scanner unable to read OBD 1 codes unless the scanner is designed to do both, it might be a waste of $16 to buy something that is only for OBD 2. Around here there are a number of auto parts stores that will loan you a code scanner (OBD I or OBD II), if you have a parts store with a loaner tool program it would be better to borrow a professional tool to see if the data is present before spending any money. Again, thanks for your reply Here (North of Thailand) thus tools are harder to come by I think that even If I try to go to Toyota Main shop here - they might look at me like crazy My hope will be that the combination of the OBDII 2 USB connector -which I'm guessing is some form of SERIAL TO USB connection - with the s/w I found on the web (that can communicate with com ports) will do the trick.
And for the trial of it I'm willing to spend the $16. I'm flying soon to Israel (where I'm originally from) and I hope maybe to find the answer while I'm there - I know a few people that know few people Thanks a million for all the help, If I find any thing new, or works things out I will post them here. After hours of reading and trial and error I can tell for sure that the data is there. Now I'm trying to read it using an arduino mega. But having some issues since they have a different pattern for the serial - then one that I could find on the begin command.
I know its baud 96 (100). I made several attempts of reading the data (via Seral1 - baud 100 in all the 2 end bit options) and sending it to the computer via the Serial.
I get an output but can not make a pattern out of it - and I'm guessing it has to do with the starting 16bit + 4bit as shown in the PDF. Any one can help me out with a code that might help me over come this issue? Any helps, tips, questions will be highly appropriated. Would love to be able to finish this project. It was not simple.
But I made it!! I now have a big LCD screen and using the GLCD library I now output the RPM (tested) and SPEED (was not tested yet) on the screen.
Also, if the line is lost - like in the case of switching the car off - a 'lost connection' alert will show. And the system will wait for the next set of data stream to be picked up. I'm now trying to get it into the car, since the OBD is under the hood. I only need to run one wire to the car - the rest (5V + GND) I can get from the cigarette lighter connection.
The only down side of it all. The data get refreshed (or transmitted) only every 1.25 Seconds. But better then nothing.
I will post some more info once I get it done and run a test. I will be more then happy to share both the code and the setup I did. Basically what I did is to amplify the pulse with a 2n222 and separated the 12V data from the 5V read of the arduino with an optocoupler. I do not remember the list of things that the computer output - but I'm 99.9% sure that Km. Done are not a part of it - so fuel consumption is not possible But temp of engine and speed/rmp exists.
I will add a file with the list I worked from. I'm currently not home but once I get back home (in a week or so) I will post the code and take some photos of the setup. Just know one thing, the data that is available is transmitted every 1.25SEC in one long string. So the data you can show will have a 1.25sec delay from its reading point.
This site is a Google powered search engine that queries Google to show PDF search results. Iit jee main. Pdf-book-free-download.com is a custom search engine powered by Google for searching pdf files. All search results are from google search results.
I have attached the code, it is set to work I2C 16X2 LCD screen, but it outputs to the SERIAL as well. The code it self is pretty simple and can be improved, I might work on that later on, but for start all I wanted is to get the RPM and the SPEED which I did. If you scroll in this post to the one starting with 'After hours of reading and trial and error I.' You can see I attached a PDF that show how the output of the data looks like. I found few miss match to the data I sow on mine (long start string + different signuter string), but in general its the same. I'm not working on output on a 1.3' OLED screen and run a test on the car to see that I can read it from where its going to be mounted. Once I get that done I will try to make a video and show all the connections as well.
If you need any help let me know. Hi, I just stumbled across your post as I have a Toyota Soarer (1995) and was interested to see the data, I had already found a Russian site with software and the wiki page. But I too wanted to use a micro controller to access the data easily! I am attaching my source code as I have implemented a different technique by performing all the reading and verification of the packets in an interrupt routine. When a new packet is available it is copied over to a second buffer and a flag is set which can be used in your loop function to indicate when new data is available. At the moment I have just hooked the data line up with no level shifting, this is fine when the engine is not running but once the alternator is going the packets get corrupted. Can I ask how you are isolating and shifting the voltage to a 5v signal please.
NOTE: Just updated source code to use the correct bit order as I had it reversed!
Arduino OBD Shield OBD Shield for Arduino Overview The Arduino OBD Shield connects Arduino board to OBD-II compliant car or light truck. Supports all OBD protocols. Based on AllPro adapter firmware. Arduino R3 form factor. Stacking headers for expansion and connection to LCD.
Arduino Serial Interface
Provides operating voltage for the Arduino board from OBD connector. Working either 5V or 3.3V Arduino. Standard DB-9 subconnector for use with OBD-II cable. ECU Live Data reader sketch example Description The Arduino OBD Shield is an OBD to UART interpreter hiding all the complexity of OBD protocol and exposing it as a simple request/reply interface with the help of ArdObd library. The shield schematic. Using this shield is ideal for OBD data logger or scanner application.
The shield is communicating with Arduino board using serial Com1 port on pins 0 and 1. Arduino Mega and Due boards have additional Com ports, it is possible to connect shield to those ports using additional connector/jumpers on the board. Note, that Arduino IDE is using a serial port for interfacing with bootloader, so there are jumpers on the shield allowing the temporary disconnect of the serial port.
On board interfaces Male DB-9 connects to vehicle OBD-II port. Jumpers JP1 are for connecting shield to Com1 port, which is the only option for Arduino Uno board. To connect Arduino Mega and Due, remove the jumpers and use side Tx/Rx connector. On board indicators This shield contains 3 informational LEDs:.
D1 (red) indicates CAN frames transmitted. D2 (yellow) indicates receiving CAN frames by the shield. D3 (green) indicates 3.3V power connection The Software The Arduino IDE with ECU Live Reader sketch: The sketch and OBD library:. The Firmware.
Parallel Interface
— the prebuilt firmware The board layout files in Eagle format:. The simple OBD reader construction The reader is using low-cost 1602 LCD Keypad Shield for Arduino which is a knock-off of. It has a 2x16 LCD display and 6 momentary push buttons and available on eBay for $3.The LCD shield uses a voltage divider for the five push buttons, so each button produces a different voltage. The schematic below shows how it works. The idea is to minimize the numbers of Arduino pins being used. The OBD reader assembled is shown below.
The UP and DOWN push buttons is used to got through the different OBD PIDs.
The same version of AutoCAD is in both software packages but the product key differentiates one package from the other. Autodesk 3ds max serial number 2014. For example, installing AutoCAD 2014 as a point product requires product key 001F1, but installing AutoCAD 2014 from the Autodesk Product Design Suite Ultimate 2014 requires product key 781F1.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |