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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 07-02-2008, 11:39 AM   #51 (permalink)
EcoModding Lurker
 
Join Date: Jun 2008
Location: USA
Posts: 32

N8sPony - '98 Ford Mustang
Thanks: 0
Thanked 0 Times in 0 Posts
cool, i pm'd you my email. I also think I have the read input figured out! the arduino has a pulsein() function that returns how many microseconds a digital pin is held high for. I'm storing these times in an array, which I'm then converting those times to binary values, and then converting to hex, at which point I pull the necessary bytes for the calculations, lol, lots of conversions going on. I'm just hoping the poor little arduino will be able to take it without tanking on me. I really need to get a serial adapter for my laptop so I don't have to take it inside everytime I make a code change.

UPDATE: I got everything narrowed down, logic looks good and it compiles cleanly now after several modifications! I'm going to send it to the board tomorrow and test it in the car. I'm not exactly confident with my method, and I think it'll take a LOT of serial console debugging, but I kinda just want to see how the arduino handles it. I'll check it into the repository when I'm more confident with it.


Last edited by n8thegr8; 07-04-2008 at 01:02 AM..
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 07-07-2008, 09:43 AM   #52 (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
Good news for the MC33290 sample!

July 5th it was picked up at YUEN LONG HK then went to ANCHORAGE, AK.
July 6th it was in MEMPHIS, TN.
July 7th it is in MIRABEL, PQ.

I should have it today

EDIT: I got it!
__________________
2013 Hyundai Sonata Hybrid

Last edited by Magister; 07-07-2008 at 12:47 PM..
  Reply With Quote
Old 07-07-2008, 10:58 AM   #53 (permalink)
EcoModding Lurker
 
Join Date: Jun 2008
Location: ohio
Posts: 41

The Civic - '99 Honda Civic
90 day: 40.41 mpg (US)
Thanks: 1
Thanked 0 Times in 0 Posts
My MC33290 was also shipped and I am expecting it by Tuesday
  Reply With Quote
Old 07-08-2008, 08:49 AM   #54 (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 received everything, the freeduino kit, LCD screen, MC33290 (damn this chip is small!).
Now I have to solder everything (and find a 2N3906 (NTE159) to control the brightness).
__________________
2013 Hyundai Sonata Hybrid
  Reply With Quote
Old 07-08-2008, 09:19 AM   #55 (permalink)
EcoModding Lurker
 
Join Date: Jun 2008
Location: USA
Posts: 32

N8sPony - '98 Ford Mustang
Thanks: 0
Thanked 0 Times in 0 Posts
you don't really need a specific pot to control brightness, I just ripped the volume control out of a piece o' crap headphone cable I had lying around to use with my lcd, and yeah, that chip is damn small, lol. I think I'm going to actually give up being so cheap and go buy a serial>usb adapter from radioshack tonight, so I can continue working on it.
  Reply With Quote
Old 07-08-2008, 09:24 AM   #56 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 Posts
Not a pot, a transistor (2n3906) so the atmega can control the backlight without frying a pin. It turns off the backlight after x minutes of inactivity and turns it back on when activity resumes.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 07-08-2008, 10:55 AM   #57 (permalink)
EcoModding Lurker
 
Join Date: May 2008
Location: St. Louis
Posts: 28

silverciv - '01 Honda Civic EX 2dr
90 day: 36.13 mpg (US)
Thanks: 0
Thanked 0 Times in 0 Posts
I ordered another MCZ33290EF (I had one before, then pitched it when cleaning some things up and trying to use the ELM323) I got free priority shipping so, I think I will get it pretty quick.
__________________
  Reply With Quote
Old 07-08-2008, 12:00 PM   #58 (permalink)
EcoModding Lurker
 
Join Date: Jun 2008
Location: USA
Posts: 32

N8sPony - '98 Ford Mustang
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by dcb View Post
Not a pot, a transistor (2n3906) so the atmega can control the backlight without frying a pin. It turns off the backlight after x minutes of inactivity and turns it back on when activity resumes.
OHHHH duh....I was thinking of contrast, not brightness, lol. I just have the backlight on mine hooked up to the 5v supply pin off the regulator, as it's kinda hard to see much with the backlight turned off (blue back with white letters), my bad, lol.
  Reply With Quote
Old 07-08-2008, 02:34 PM   #59 (permalink)
EcoModding Lurker
 
Join Date: Jun 2008
Location: ohio
Posts: 41

The Civic - '99 Honda Civic
90 day: 40.41 mpg (US)
Thanks: 1
Thanked 0 Times in 0 Posts
Finally got my MCZ33290EF but for some reason the code will not compile to my arduino with the arduino ide. Here is what it says:

21: error: LCD4Bit.h: No such file or directory In function 'void get_vss()':
In function 'void get_rpm()':
In function 'void get_load()':
In function 'void get_ect()':
In function 'void get_maf()':
In function 'void get_cons()':
In function 'void get_dist()':
In function 'void setup()':
In function 'void loop()':

Last edited by tom43571; 07-08-2008 at 02:41 PM..
  Reply With Quote
Old 07-08-2008, 02:45 PM   #60 (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
You have to install the LCD 4 bit library
Arduino playground - LCD4BitLibrary
in your hardware\libraries\LCD4Bit folder

__________________
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 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com