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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 01-27-2011, 05:42 AM   #611 (permalink)
EcoModding Lurker
 
Join Date: Aug 2010
Location: Lithuania
Posts: 74
Thanks: 3
Thanked 21 Times in 15 Posts
Code:
#ifdef UseOutsideTemperatureSensor
  #define OutsideTemperaturePin 15 // Inside temperature sensor, on analog 1
#endif

#ifdef UseInsideTemperatureSensor
  #define InsideTemperaturePin 16 // Inside temperature sensor, on analog 2
#endif
And I connected it

Code:
 +5V ---- 2kOhm resistor -----|------ KTY81 ------ GND
                              |
                              |
                              |
                          PIN 16 or 15

  Reply With Quote
The Following User Says Thank You to eimix For This Useful Post:
crysty7 (01-27-2011)
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 01-27-2011, 06:43 AM   #612 (permalink)
EcoModding Lurker
 
Join Date: Oct 2009
Location: romania
Posts: 3
Thanks: 2
Thanked 0 Times in 0 Posts
Sorry, I'm a dummy ...

I don't find pin 15 or 16 om Arduino board .
Attached Thumbnails
Click image for larger version

Name:	Arduino.jpg
Views:	39
Size:	45.7 KB
ID:	7730   Click image for larger version

Name:	arduino schematic.jpg
Views:	72
Size:	58.5 KB
ID:	7731  
  Reply With Quote
Old 01-27-2011, 06:50 AM   #613 (permalink)
EcoModding Lurker
 
Join Date: Aug 2010
Location: Lithuania
Posts: 74
Thanks: 3
Thanked 21 Times in 15 Posts
Code:
#ifdef UseOutsideTemperatureSensor
  #define OutsideTemperaturePin 15 // Inside temperature sensor, on analog 1
#endif

#ifdef UseInsideTemperatureSensor
  #define InsideTemperaturePin 16 // Inside temperature sensor, on analog 2
#endif
On board it is analog pins 1 & 2, but in Arduino software it is 15 & 16, same pins, but different numbers. I do not know why.
  Reply With Quote
The Following User Says Thank You to eimix For This Useful Post:
crysty7 (01-27-2011)
Old 01-27-2011, 08:24 AM   #614 (permalink)
EcoModding Apprentice
 
Join Date: Aug 2008
Location: UK
Posts: 104

Fizz - '06 Skoda Fabia Combi
TEAM VW AUDI Group
90 day: 56.62 mpg (US)
Thanks: 3
Thanked 9 Times in 7 Posts
This is very very cool.

Has anyone tried this on a VW group TDI? I'd like to know what protocol it uses. Specifically I have a 2006 1.4TDI Skoda.

thanks!
  Reply With Quote
Old 01-27-2011, 08:34 AM   #615 (permalink)
EcoModding Lurker
 
Join Date: Aug 2010
Location: Lithuania
Posts: 74
Thanks: 3
Thanked 21 Times in 15 Posts
according to List of Confirmed Vehicle OBD-II Scan Tool Protocols or OBDII Trouble Code Reader
ISO protocols are until 2003, and from 2007 only CAN protocol is used.

Hopefully somebody has this exact model and can confirm if it is ISO compatible.
  Reply With Quote
Old 03-02-2011, 05:03 PM   #616 (permalink)
OBDuino coder
 
Magister's Avatar
 
Join Date: Jun 2008
Location: Montréal, QC
Posts: 212

Titine - '13 Hyundai Sonata Hybrid
Thanks: 3
Thanked 10 Times in 8 Posts
Q I received by email
--------------------

Hi OBduino team,

I have build the OBDuino ISO, and it works as it should :-)

Today however I've made an observation that I can't figure out. I was watch the PID's INST CONS and Out Cons. On the highway - the Out Cons was showing 5,80 L/100 and the INST CONS was showing 4,8-4,9 L/100. I noticed that the Out Cons was increasing, even though that the Inst Cons all the time was lower than Out Cons. How can that be? - I would have thought that as long as the inst cons is lower than out cons, the out cons will decrease.

I have a couple of ideas to the OBDuino:

The BigNum display with AVG and INST cons - is made as two bargraphs instead of numeric. It would be easier/faster to see if you are increasing/decreasing the inst cons compared to AVG cons. It could be made for instance, that the lower display row, is lit up according to the AVG cons, and the upper display row a single character block would represent the INST cons.

As many users of the OBDuino (and other Car-computers) have noticed, the INST cons isn't very usefull because of the sensitivity. It changes very rapidly due to changes ins terrain, wind and so on. What I have been thinking of was that it would bed nice to have an AVG_CONS_10 for the last 10 seconds (or whatever would be suitable), and this should be done continuosly. Simply by using the INST CONS for the last 10 seconds, finding the average, and then do this repeatedly for every update cycle. I think this would be at good compromise between the INST CONS and the OUT CONS.

By the way - is there any software-updates planned for the OBDuino - ISO?

Kind regards
Torben
__________________
2013 Hyundai Sonata Hybrid
  Reply With Quote
Old 03-03-2011, 07:16 AM   #617 (permalink)
EcoModding Lurker
 
Join Date: Aug 2010
Location: Lithuania
Posts: 74
Thanks: 3
Thanked 21 Times in 15 Posts
Checked code for described behaviour, but no problems found.

It could be becouse of modified constants
Code:
/**************************/
/* GASOLINE ENGINE CONFIG */
/**************************/
// [CONFIRMED] For gas car use 3355 (1/14.7/730*3600)*10000
#define GasConst 3355 
#define GasMafConst 107310 // 14.7*730*10
One is used for instant calculations, other one - for rest of calculations.
And if only one of them is modified - other has to be changed too.
(to check if correct values are set - multiplication of both of them should be
3355*107310 = 360025050 ~= 3600 * 100000.

Also it could be "config" dependent - need value of "Fuel %", or is it default one?
params.fuel_adjust is not used in instant consumption calculation.
if this is the problem - it should be added in "fast repair" list.
-------------------------------------------

Idea for improving OBDuino - nice, some day, someone should add it to list
  Reply With Quote
Old 03-03-2011, 09:50 PM   #618 (permalink)
OBDuino coder
 
Magister's Avatar
 
Join Date: Jun 2008
Location: Montréal, QC
Posts: 212

Titine - '13 Hyundai Sonata Hybrid
Thanks: 3
Thanked 10 Times in 8 Posts
I think I can fix the "adjust" not being used in instant cons and also add a "smooth" array to take the last 10 value or something like this, give me a couple of days.
__________________
2013 Hyundai Sonata Hybrid
  Reply With Quote
Old 03-10-2011, 12:42 PM   #619 (permalink)
OBDuino coder
 
Magister's Avatar
 
Join Date: Jun 2008
Location: Montréal, QC
Posts: 212

Titine - '13 Hyundai Sonata Hybrid
Thanks: 3
Thanked 10 Times in 8 Posts
I made change for a new version (187) with instant cons smoothing, and it takes into account the adjustment of speed and fuel.

Can someone try it?
__________________
2013 Hyundai Sonata Hybrid
  Reply With Quote
Old 03-11-2011, 11:19 AM   #620 (permalink)
OBDuino coder
 
Magister's Avatar
 
Join Date: Jun 2008
Location: Montréal, QC
Posts: 212

Titine - '13 Hyundai Sonata Hybrid
Thanks: 3
Thanked 10 Times in 8 Posts
received by email
-----------------


I have tested the new release today. It seems to work okay, but the smoothing function seems to have some side-effects:

When the car is started but not moving the INST CONS is shown as L/100 and not as L/h as before the update. I’m not sure if the numbers are okay – but the units are not.
When the is moving and I push the clutch so the engine is in neutral, the INST CONS is showing 0.00 for some seconds and the it shows the idle consuming.

The smoothing seems to be working well, especially at constant speed (for instance at the highway). There it seems to be easier to read because the numbers don’t change all the time.

I’ll return to you if I observe other things – during the next week or so.

I’ve got a couple of new ideas:
It would be nice if you could choose the BigNum font as an option in the config menu – so you didn’t have to reload the code just because you want to change the BigNum font. It would also be very nice J if you could choose among all the numeric PID’s to be shown at the BigNum screen, for instance Speed or RPM – or whatever.

__________________
2013 Hyundai Sonata Hybrid
  Reply With Quote
Reply  Post New Thread


Tags
obd2

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
MPGuino release one workspace dcb OpenGauge / MPGuino FE computer 1061 01-17-2020 01:37 AM
Just some quick info on Scangauge vs. MPGuino NoCO2 OpenGauge / MPGuino FE computer 4 06-01-2015 04:58 PM
All New Nissan Models to Feature Fuel Efficiency Gauge MetroMPG General Efficiency Discussion 6 11-18-2008 04:57 PM
Vacuum gauge problems :( DifferentPointofView Instrumentation 3 05-14-2008 11:04 PM
Will Scan Gauge work on mine? bennelson Instrumentation 9 02-19-2008 10:04 PM



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