With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Hi Milani,You are missing the .c files or the xlcd.h file in your project hence you get errors that symbols are missing. I attached an image to this reply of how the .c and .h files must be in mplabx. Please verify.All the best,Richard
It is set to 8MHz here:OSCCONbits.IRCF = 0b111;
Hi Milani,What are the errors you get?Regards,Richard
Hi Milani,The code in this project is for MPLABX IDE with XC8 compiler where xc.h is present. Please use this compiler as described in step 5.Kind regards,Richard
Hi BadisS,For some reason I can't find the C-Elysée in the list. Also not here:https://www.blafusel.de/obd/obd2_scanned.phpYou have a beautiful car but without information what protocol to use it will be difficult. Can someone else help BadisS with the information?Richard
Hi Geomeo,It is this part in the code:TXREG = ~key2;Here the second key byte is inverted and send to the ECU of the car.Kind regards,Richard
Hi, the pins 5, 7 and 16 are used for K-line. Please see the schematic.Take care!
Hi, a hex file is included now in step 5. I didn't test it so please try and feel free to reply if something is not ok.Enjoy!
Hi,Just press the "Build Main Project" button and the hex file will be created in the "dist" folder of your project. This hex file can be imported in your pickit2 programmer application and after setting the config bits you can put it in the microcontroller.Take care,Richard
Did you initiate the 5 baud initialization sequence prior sending the bytes you show above? Without this initialization sequence there will be no response (in my case).
Hi,These first 3 bytes are described in the ISO 9141-2 and ISO 14230-4 documentation. These can be obtained from www.iso.org.Have a nice day
Use Lora shield and RPi to build a LoRaWAN gateway
Low cost OBD2 communications on K-line (ISO 9141-2 and ISO 14230-4)
Hi Rafununu,Please try Cadsoft Eagle. Should be no problem to open. Let me know if the problem persist.Kind regards,Richard
Low cost OBD2 communication...View Instructable »
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.