View Single Post
Old 08-03-2018, 10:45 AM   #1 (permalink)
Ecky
Master EcoModder
 
Ecky's Avatar
 
Join Date: Dec 2011
Location: Vermont
Posts: 3,497

Gaptooth (retired) - '00 Honda Insight
Team Honda
Gen-1 Insights
90 day: 54.26 mpg (US)

Such Fit - '07 Honda Fit Sport
90 day: 41.27 mpg (US)

Connect - '15 Ford Transit Connect XL
90 day: 23.93 mpg (US)

K-sight - '00 Honda K-sight
90 day: 40.97 mpg (US)
Thanks: 1,286
Thanked 1,427 Times in 906 Posts
Help with simple code for reading VSS

Hi all, I'm working on a project where (with an Arduino Uno) I need to read VSS and, depending on its value, output one thing or another. It's been a decade since I've done any significant coding.

I looked over the MPGuino schematics and noted that the VSS signal wire has a 50k ohm resistor and then feeds into the analog 0 pin. I've been trying to figuring out how to pick out the code used in the MPGuino project which is used to read and store this, without success. Can someone explain to me in brief how the Arduino records this? Does the MPGuino code count the frequency of ground pulses?

What does the logic and the code, look like to store this value so it can be queried?

  Reply With Quote