Posts

Showing posts from 2015

Detecting Driver Drowsiness Based Force Sensitive Resistors.

Image
The Force Sensitive Resistor, or FSR is one of those parts that fills bins in interaction design labs across the world. It’s a simple guy, a finicky guy, but it has its place in the maker toolbox. A FSR is just what it sounds like – a resistor that changes its resistance with force. So if you press, sit, or punch it, its resistance changes. The finicky part tends to be when people want it to measure force with any sort of precision. It’s really not good for that, so if you need something sense even approximate weight or quantitative force, this is not your guy. But if you need something that will let you know if someone is sitting in a chair, or hugging a stuffed animal, this is it! FSRs come in a wide variety of sizes, the larges ones can get a bit expensive, but you can probably  find one to fit your project . Hooking it up, and why The FSR changes its resistance with force. It ranges from near infinite when not being touched, to under 300ohms when pressed really hard. S

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