Go Back   EcoModder Forum > EcoModding > Instrumentation > OpenGauge / MPGuino FE computer
Register Now
 Register Now
 

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 06-12-2014, 05:49 PM   #391 (permalink)
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 197
Thanks: 93
Thanked 70 Times in 64 Posts
That should be pretty complicated, but is in good hands, so it can only go right.

Thank you for your persistence, good job.
José Rodrigues

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 09-05-2014, 09:14 AM   #392 (permalink)
EcoModding Lurker
 
Join Date: Aug 2014
Location: Portugal
Posts: 9
Thanks: 0
Thanked 2 Times in 2 Posts
Hi,

first of all i would like to thank once again for your efforts on providing support for the arduino 2560.

Yesterday, i was thinking that it would be neat to have mpguino reading data from sensors that are already available in my car, like oil pressure, oil temp, water temp, outside air temp, ...

I saw that this is not a strange topic for you and that you intend to do it sometime.

well i would like to play a bit with arduino and try to do this.

Since i'm not so good at electronics, and since mpguino already reads vss, i will take that things you be kind of similar for the rest?!, so maybe you could shed some light and tell me why do wee need to connect a 50k resistor to the vss followed by the 5.1V zener diode....

Thanks,
Tiago
  Reply With Quote
The Following User Says Thank You to tvcsantos For This Useful Post:
t vago (09-05-2014)
Old 09-05-2014, 09:26 AM   #393 (permalink)
Master EcoModder
 
AndrzejM's Avatar
 
Join Date: Oct 2011
Location: Poland
Posts: 840

Berta - '97 BMW 318 tds Compact
90 day: 62.03 mpg (US)

Charlie - '07 Citroen C4 Grand Picasso Exclusive
90 day: 37.58 mpg (US)

Corsa - '05 Opel Corsa C
90 day: 53.22 mpg (US)

Mruczek - '03 Audi A2
90 day: 60.61 mpg (US)
Thanks: 185
Thanked 167 Times in 117 Posts
Quote:
Originally Posted by tvcsantos View Post
shed some light and tell me why do wee need to connect a 50k resistor to the vss followed by the 5.1V zener diode....

Thanks,
Tiago
Tiago,

VSS sensor is connected to ECU (in most cases) and to a speedometer, we don't want to alter these readings that's why 50k resistor comes in handy cutting the current it's second role is to secure Zener diode of excesive current. And the diode itself is to cut all the signals that are comming from VSS to Arduino's logics level (5V).

HTH
__________________


Quote:
Gerhard Plattner: "The best attitude is to consider fuel saving a kind of sport. Everybody who has enough money for a strong car, can drive fast and hit the pedal. But saving fuel requires concentration, self-control and cleverness. It's a challenge with the nice effect of saving you money that you can use for other more important things."
  Reply With Quote
The Following User Says Thank You to AndrzejM For This Useful Post:
t vago (09-05-2014)
Old 09-05-2014, 09:34 AM   #394 (permalink)
EcoModding Lurker
 
Join Date: Aug 2014
Location: Portugal
Posts: 9
Thanks: 0
Thanked 2 Times in 2 Posts
Quote:
Originally Posted by AndrzejM View Post
Tiago,

VSS sensor is connected to ECU (in most cases) and to a speedometer, we don't want to alter these readings that's why 50k resistor comes in handy cutting the current it's second role is to secure Zener diode of excesive current. And the diode itself is to cut all the signals that are comming from VSS to Arduino's logics level (5V).

HTH
ok, but with that approach won't a miss some values of the VSS signal?

That is, suppose i get a 12v signal from VSS (that corresponds to some car reading) the zener cuts it to 5v ok... Now suppose that i get a 8v signal that is a different reading, then zener once again cuts it to 5v? So how I would be able to tell the difference from those 2 signals (maybe i'm understanding the all thing wrong :P)

Tiago
  Reply With Quote
The Following User Says Thank You to tvcsantos For This Useful Post:
t vago (09-05-2014)
Old 09-05-2014, 09:46 AM   #395 (permalink)
Master EcoModder
 
AndrzejM's Avatar
 
Join Date: Oct 2011
Location: Poland
Posts: 840

Berta - '97 BMW 318 tds Compact
90 day: 62.03 mpg (US)

Charlie - '07 Citroen C4 Grand Picasso Exclusive
90 day: 37.58 mpg (US)

Corsa - '05 Opel Corsa C
90 day: 53.22 mpg (US)

Mruczek - '03 Audi A2
90 day: 60.61 mpg (US)
Thanks: 185
Thanked 167 Times in 117 Posts
Tiago,

VSS gives pulses only so it doesn't matter if these are at the level of 12V 8V 7V or any other untill these pulses are above 5V because that's what Arduino reads.
__________________


Quote:
Gerhard Plattner: "The best attitude is to consider fuel saving a kind of sport. Everybody who has enough money for a strong car, can drive fast and hit the pedal. But saving fuel requires concentration, self-control and cleverness. It's a challenge with the nice effect of saving you money that you can use for other more important things."
  Reply With Quote
The Following 2 Users Say Thank You to AndrzejM For This Useful Post:
ECONORAM (01-26-2016), t vago (09-05-2014)
Old 09-05-2014, 09:53 AM   #396 (permalink)
EcoModding Lurker
 
Join Date: Aug 2014
Location: Portugal
Posts: 9
Thanks: 0
Thanked 2 Times in 2 Posts
Quote:
Originally Posted by AndrzejM View Post
Tiago,

VSS gives pulses only so it doesn't matter if these are at the level of 12V 8V 7V or any other untill these pulses are above 5V because that's what Arduino reads.
ah ok now i get it, we don't need to know the voltage, only if it is HIGH or LOW

Last edited by tvcsantos; 09-05-2014 at 10:01 AM..
  Reply With Quote
Old 09-05-2014, 10:09 AM   #397 (permalink)
Master EcoModder
 
AndrzejM's Avatar
 
Join Date: Oct 2011
Location: Poland
Posts: 840

Berta - '97 BMW 318 tds Compact
90 day: 62.03 mpg (US)

Charlie - '07 Citroen C4 Grand Picasso Exclusive
90 day: 37.58 mpg (US)

Corsa - '05 Opel Corsa C
90 day: 53.22 mpg (US)

Mruczek - '03 Audi A2
90 day: 60.61 mpg (US)
Thanks: 185
Thanked 167 Times in 117 Posts
Exactly
__________________


Quote:
Gerhard Plattner: "The best attitude is to consider fuel saving a kind of sport. Everybody who has enough money for a strong car, can drive fast and hit the pedal. But saving fuel requires concentration, self-control and cleverness. It's a challenge with the nice effect of saving you money that you can use for other more important things."
  Reply With Quote
Old 09-13-2014, 04:09 PM   #398 (permalink)
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 197
Thanks: 93
Thanked 70 Times in 64 Posts
Done 1000km without any problem, do not laugh just by now have done, but do not stray too with the car, which is good, because fuel prices in Portugal are very expensive, 1.7€ 1 liters of petrol and 1.6€ 1 liter of Diesel.
Still cannot understand me with the graphics, because I'm always in doubt about the way in which they are represented. If I could explain better how they work grateful.

Thank you
José Rodrigues
  Reply With Quote
Old 05-20-2015, 01:56 PM   #399 (permalink)
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 1,807

iNXS - '10 Opel Zafira 111 Anniversary

Suzi - '02 Suzuki Swift GL
Thanks: 829
Thanked 708 Times in 456 Posts
Made minor update to code, per request of josemapiro.

Added:
  • Ability to select current trip reset upon wakeup due to running engine only, current trip reset upon wakeup due to button press only, current trip reset upon wakeup due to both running engine or button press, or disable current trip reset upon wakeup.
  Reply With Quote
The Following User Says Thank You to t vago For This Useful Post:
Felar (05-25-2015)
Old 08-02-2015, 10:10 AM   #400 (permalink)
EcoModding Lurker
 
Join Date: May 2010
Location: Sydney, Australia
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post
A warm thanks from Canberra, Australia to all those who have contributed to the mpguino project and in particular to tvago for the amount of time invested in developing this excellent tool!

A quick question for somebody with coding background - my mechanical engineering background does not help me here!

Im trying to write out a 0-5v signal on the UNO pwm pin with the fuel level to go to another ext gauge.

I have tried analogWrite(11, gallons()); after converting to integer ( int val = (int) gallons(); ?) but am not getting anywhere. Understand I need a low pass filter to convert to true analog. Im not really sure what variable i need to call up (which stores the tank remaining value) or where's best to put this line in the program (under mainloop?)

Any help would be appreciated. Thanks alot!

  Reply With Quote
Reply  Post New Thread






Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com