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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 02-16-2012, 11:28 PM   #1 (permalink)
Master EcoModder
 
Ecky's Avatar
 
Join Date: Dec 2011
Location: Vermont
Posts: 3,593

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: 24.41 mpg (US)

K-sight - '00 Honda K-sight
90 day: 39.47 mpg (US)
Thanks: 1,355
Thanked 1,490 Times in 944 Posts
Building an MPGuino, need affirmation

Below are the parts I've picked out, going off what's available on the wiki. I'm not necessarily going to order everything on amazon, just confirming that I've got it all right.



Arduino board:
Arduino UNO


Box:
Amazon.com: Box for Arduino: Electronics
(or I might cut into my cluster instead)


LCD:
Amazon.com: microtivity LCD Module 1602, White on Blue with Backlight: Camera & Photo


2N3906 Transistor:
Amazon.com: 2N3906: Industrial & Scientific


220 Ohm resistor:
Amazon.com: 220 Ohm 1W Flameproof Resistor 10 Pcs.: Electronics


Am I reading right, 50k resistor? Maybe 2x 100 in parallel, is 51/47k close enough? Would this 49.9k resistor work?
MF1/4DCT52R4992F KOA Speer Metal Film Resistors


5.1V-1W Zener Diode:
Amazon.com: 5.1V-1W Zener Diode: Electronics


--------

I assume if I do further reading on the wiki I'll figure out how to program it. I've never used an arduino before...

Is it safe to hook it straight up to the car battery, or should I put some kind of transformer between it? How big should my fuse be?

I'm sure I can find some suitable buttons at radioshack.

What am I missing? What do I need to know?



_________________________________

EDIT: MPGuino complete!












Last edited by Ecky; 02-24-2012 at 09:39 PM..
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 02-17-2012, 10:24 PM   #2 (permalink)
Master EcoModder
 
Ecky's Avatar
 
Join Date: Dec 2011
Location: Vermont
Posts: 3,593

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: 24.41 mpg (US)

K-sight - '00 Honda K-sight
90 day: 39.47 mpg (US)
Thanks: 1,355
Thanked 1,490 Times in 944 Posts
Does it matter what the watt rating is on the resistors? Will the arduino uno be fine or should I get another model?
  Reply With Quote
Old 02-18-2012, 08:51 PM   #3 (permalink)
Master EcoModder
 
Ecky's Avatar
 
Join Date: Dec 2011
Location: Vermont
Posts: 3,593

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: 24.41 mpg (US)

K-sight - '00 Honda K-sight
90 day: 39.47 mpg (US)
Thanks: 1,355
Thanked 1,490 Times in 944 Posts
I ended up buying most of the major parts here:
Adafruit Industries, Unique & fun DIY electronics and kits

I got the latest revision of the Uno, a new soldering iron and 60/40 tin lead solder, some 22 gauge wire and 4 buttons. I also purchased their multicolor LCD.

I'm going to find the resistors locally and buy the transistor and diodes from another location, will update as I go and probably turn this into a build log.
  Reply With Quote
Old 02-19-2012, 07:28 AM   #4 (permalink)
EcoModding Apprentice
 
meelis11's Avatar
 
Join Date: Feb 2009
Location: Estonia
Posts: 199

Green frog - '97 Audi A4 Avant 1.9TDI 81kW
Diesel
90 day: 43.1 mpg (US)
Thanks: 19
Thanked 40 Times in 28 Posts
Quote:
Originally Posted by Ecky View Post
Does it matter what the watt rating is on the resistors? Will the arduino uno be fine or should I get another model?
Watt rating does not mattr much because we do not handle big currents here. 1/8 or 1/4 watt should be ok. Use what you get.
Same with resistance - in place of 50ohm resistor, you can put 51 or 47 ohms. Cheap resistor tolerance is few % anyway (+-3% maybe)
  Reply With Quote
Old 02-21-2012, 02:25 PM   #5 (permalink)
Master EcoModder
 
Ecky's Avatar
 
Join Date: Dec 2011
Location: Vermont
Posts: 3,593

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: 24.41 mpg (US)

K-sight - '00 Honda K-sight
90 day: 39.47 mpg (US)
Thanks: 1,355
Thanked 1,490 Times in 944 Posts
Quote:
Originally Posted by Ecky View Post
Is it safe to hook it straight up to the car battery, or should I put some kind of transformer between it?
^
  Reply With Quote
Old 02-21-2012, 03:01 PM   #6 (permalink)
Administrator
 
Daox's Avatar
 
Join Date: Dec 2007
Location: Germantown, WI
Posts: 11,020

CM400E - '81 Honda CM400E
90 day: 58.68 mpg (US)

Daox's Grey Prius - '04 Toyota Prius
Team Toyota
90 day: 49.53 mpg (US)

Daox's Insight - '00 Honda Insight
90 day: 64.33 mpg (US)

Swarthy - '14 Mitsubishi Mirage DE
Mitsubishi
90 day: 56.69 mpg (US)
Thanks: 2,339
Thanked 2,417 Times in 1,462 Posts
The power regulator on the uno will take care of converting the 12V power from the car down to 5V for the chip.
__________________
Current project: Adding regenerative braking to the Mirage
  Reply With Quote
Old 02-23-2012, 02:13 PM   #7 (permalink)
Master EcoModder
 
Ecky's Avatar
 
Join Date: Dec 2011
Location: Vermont
Posts: 3,593

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: 24.41 mpg (US)

K-sight - '00 Honda K-sight
90 day: 39.47 mpg (US)
Thanks: 1,355
Thanked 1,490 Times in 944 Posts
So far I have the screen, buttons, and arduino uno r3. I'm waiting on resistors and the transistor before I stick it in an enclosure - which I haven't decided on yet.

Setup was a bit tricky. The wiki states that you need to use the arduino 0011 environment, but the uno r3 isn't support. After some reading, I figured out that this is because the original arduino's storage is very limited, and for whatever reason, later revisions of the environment compile the same code, larger. However my Uno has more storage than the original arduino, so 1.0 worked fine once I figured out I had to manually select my board and change the output to com3.

I was rather impressed by all of the calibration options, but I have absolutely no idea how to figure most of them out. VSS/mile I can guess - it's probably the same as the Acura Integra LS, which shares both the drivetrain and wheel size with my Del Sol. However, injector delay? What does that even do? There were several settings I just left stock.

Will update when I get it fully assembled, with more pics.
Attached Thumbnails
Click image for larger version

Name:	1.jpg
Views:	45
Size:	28.1 KB
ID:	10321   Click image for larger version

Name:	2.jpg
Views:	60
Size:	26.3 KB
ID:	10322   Click image for larger version

Name:	3.jpg
Views:	46
Size:	53.2 KB
ID:	10323  
  Reply With Quote
The Following User Says Thank You to Ecky For This Useful Post:
Superturnier (02-25-2012)
Old 02-24-2012, 04:54 PM   #8 (permalink)
EcoModding Lurker
 
Join Date: Jan 2011
Location: Finland
Posts: 13
Thanks: 6
Thanked 2 Times in 2 Posts
You can check vss/mile with known distance. If the known distance is 10 miles just set vss to 100 and the distance mpguino shows is vss. Discard the decimal marker.

Injector delay is time injectors take to open it is subtracted from each injection pulse.

You can ad injection_pulses/tank display keep track of what mpguino displays your tank gallons and injection_pulses were and what gas pump gallons were. It will take 2-10 tanks to get the delay.

Or you could just leave delay as is.
  Reply With Quote
Old 02-24-2012, 05:51 PM   #9 (permalink)
Master EcoModder
 
Ecky's Avatar
 
Join Date: Dec 2011
Location: Vermont
Posts: 3,593

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: 24.41 mpg (US)

K-sight - '00 Honda K-sight
90 day: 39.47 mpg (US)
Thanks: 1,355
Thanked 1,490 Times in 944 Posts
I'm having another issue - I can't get the to the MPGuino setup again!

I woke up this morning to find my contrast was back at the default value of 95, so I hit the reset button, but it booted back up and skipped setup. I reuploaded the code, but it still didn't go to setup, it simply booted up. I changed the stock parm 95 contrast to 0 (the value that works with my screen) and reuploaded, no dice, display contrast is still wrong and it's not going into setup.

Any ideas?
  Reply With Quote
Old 02-24-2012, 05:59 PM   #10 (permalink)
Administrator
 
Daox's Avatar
 
Join Date: Dec 2007
Location: Germantown, WI
Posts: 11,020

CM400E - '81 Honda CM400E
90 day: 58.68 mpg (US)

Daox's Grey Prius - '04 Toyota Prius
Team Toyota
90 day: 49.53 mpg (US)

Daox's Insight - '00 Honda Insight
90 day: 64.33 mpg (US)

Swarthy - '14 Mitsubishi Mirage DE
Mitsubishi
90 day: 56.69 mpg (US)
Thanks: 2,339
Thanked 2,417 Times in 1,462 Posts
Are you sure all your connections are solid?

__________________
Current project: Adding regenerative braking to the Mirage
  Reply With Quote
Reply  Post New Thread


Thread Tools




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