Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: k-line arduino project, speed and brake lights


Newbie

Status: Offline
Posts: 3
Date:
k-line arduino project, speed and brake lights


Hello.

 I have a simple task to achieve, I guess, but I'm stuck. I'm using the setup from the attached image. All I need to do is to read the Speed of the vehicle using data from the obd2 k-line pin, and then to send a command to blink the brake lights when a certain decrease in speed is detected (e.g. more than 2km/h/s). I can not initialize the k-line and I am not able to red anything on the serial monitor on arduino :(. After I manage to read the raw data I am planing to figure out what's the code for turning on the brake lights by just simply pressing the brake pedal. The vehicle is an 2004 BMW E60, but I guess this is not an issue.

Question... Are the TX/RX pins connected as it shod on the arduino board?

Thank you. Ant help would be appreciated. I need this for a school project and a have a deadline :(((

k-line arduino.png



-- Edited by catasbox on Thursday 1st of June 2017 02:21:15 PM

Attachments
__________________


Newbie

Status: Offline
Posts: 2
Date:

hi! what motorcycle do you have?



__________________
Page 1 of 1  sorted by
Quick Reply

Please log in to post quick replies.

Tweet this page Post to Digg Post to Del.icio.us


Create your own FREE Forum
Report Abuse
Powered by ActiveBoard