Posts

Showing posts from August, 2015

FZ Bike communication between the ECU and Arduino Mega.

Image
Identify the ECU connector in Bike. I started looking into the schematics and i saw that there where two wires on the communication BUS. There is a diagnostic Connector near the Battery that is directly connected on the Bus.  (Interfacing ECU part i have copied the diagram from "http://www.iwasz.pl/") Identify by what means communication between the ECU and the dashboard is performed. Which cables are used and what is the protocol used? After inspecting the service manual for my bike I was able to eliminate wires which are used for other things (see picture), and I left with only one, which is connecting the dash, the ECU and the immobilizer. Other ones was for flashing some warning LEDs, gathering information from fuel pump, oil switch and so on. So the yellow-blue wire was my first guess and it was correct. On the  ecuhacking forum , which was source of very helpful information, guys was talking about something called K-lin

Vehicle OBD-II data logger based on Arduino

Image
1). How to acces vehicle speed in real time ? 2). Engine error codes ? EFI issues ??? Interesting Applications Hardware Requirements Arduino MEGA main board Arduino MEGA IO extension board by DFRobot (with MicroSD socket) LCD4884 shield for Arduino MTK3389 GPS receiver  (with 5Hz update speed) OBD-II UART adapter The Arduino OBD-II Kit consists of an OBD-II UART adapter which provides an OBD-II to UART data bridge, and a dedicated library for Arduino. The adapter outputs realtime vehicle data retrieved from OBD-II port as well as regulated power supply sufficent for Arduino and  attached devices. The adapter can be integrated into other MCU or embedded systems in additon to Arduino.   The Arduino library is now supporting retrieving Vehicle speed Engine RPM Throttle position Calculated/absolute Engine load Engine coolant temperature Intake temperature Intake pressure MAF flow pressure Fuel pressure Barometric pressure Ig

CIRCUIT TO CREATE 16 DIGITAL INPUTS FROM 5 DIGITAL PINS OF ARDUINO MEGA

Image
If the circuit is not working, remove the potential divider resistors connected to the 9 th  pin of both 74165 ICs and connect the 9 th  pin of both 74165 ICs to corresponding digital pin of arduino mega directly without any resistors. That is, connect 9 th  pin of 1 st  74165 to digital pin 12 of arduino mega and 9 th  pin of 2 nd  74165 to digital pin 10 of arduino mega. From the circuit, it is clear that A – H pins of both 74165s is connected to 5V through pull up resistors of 1K. Pull up resistors helps to keep the state of A – H pins of 74165s to HIGH when the press button switches are not pressed. Similarly, when the press button switches are pressed, corresponding pins of 74165 get grounded through the press button switches. That is, state of that pins will become LOW.  Pin out Diagram of 74165 Pin out diagram of 74165 is given below. 74165 has 16 pins out of which eight pins (A, B, C, D, E, F, G and H) are parallel data input pins. Analysis of the  t