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


Reply
 
Submit Tools LinkBack Thread Tools
Old 06-30-2008, 04:47 PM   #41 (permalink)
OBDuino coder
 
Magister's Avatar
 
Join Date: Jun 2008
Location: Montréal, QC
Posts: 95

Titine - '07 Elantra GL
What I need are a pwm_init(), pwm_write_data() and pwm_read_data() I guess, all the remaining should works as it is.

We could also put our code in the CVS repositery of sourceforge with the others opengauge guys at SourceForge.net: OpenGauge

I will take a look at the google project thing.


(Support Ecomodder.com & get rid of these annoying ads!)      
 
__________________
  Reply With Quote
Old 06-30-2008, 06:03 PM   #42 (permalink)
EcoModding Lurker
 
Join Date: Jun 2008
Location: USA
Posts: 32

N8sPony - '98 Mustang
ok, I'm still working on the pwm_read, the pwm_init and pwm_write should work, I'll wait til I get the read figured out, then I'll put it up in the repository or whatevs.
  Reply With Quote
Old 06-30-2008, 08:02 PM   #43 (permalink)
dcb
Master EcoModder
 
dcb's Avatar
 
Join Date: Feb 2008
Location: 3rd rock
Posts: 1,308

pimp mobile - '81 gs 250 t
90 day: 96.29 mpg (US)
I've got an opengauge in both sourceforge and google, sourceforge uses CVS for SCM, and google uses SVN for SCM. CVS is tightly integrated with eclipse which is why I like it, AND apparenty you can integrate arduino development in eclipse too. But I think google and SVN are gaining in popularity. So you all decide where is best for obduino, I can create a obduino in sourceforge no problem, but don't know about google yet.
  Reply With Quote
Old 06-30-2008, 08:15 PM   #44 (permalink)
EcoModding Lurker
 
Join Date: May 2008
Location: St. Louis
Posts: 19

silverciv - '01 Civic EX 2dr
90 day: 36.13 mpg (US)
Subversion (SVN) all the way.

Of course, Git is another option (using github.com)

I would say that Subversion is definitely taking over CVS in the open-source source code control systems.
__________________
  Reply With Quote
Old 06-30-2008, 10:01 PM   #45 (permalink)
dcb
Master EcoModder
 
dcb's Avatar
 
Join Date: Feb 2008
Location: 3rd rock
Posts: 1,308

pimp mobile - '81 gs 250 t
90 day: 96.29 mpg (US)
Ok, I think I just figured out enough SVN to be useful (using tortoiseSVN). PM Me the google IDs for the project members and I'll add 'em if you like.

Added a obduino directory and a mpguino directory (and checked in the latest mpguino code) under trunk:

http://code.google.com/p/opengauge/source/browse

Last edited by dcb; 06-30-2008 at 10:42 PM.
  Reply With Quote
Old 07-02-2008, 12:28 AM   #46 (permalink)
EcoModding Lurker
 
Join Date: Jun 2008
Location: ohio
Posts: 27

The Civic - '99 Civic
90 day: 40.41 mpg (US)
Im still waiting on my parts. Is anyone else delayed in getting there MCZ33290EF from freescale? They tell me my order is still pending.
  Reply With Quote
Old 07-02-2008, 10:53 AM   #47 (permalink)
OBDuino coder
 
Magister's Avatar
 
Join Date: Jun 2008
Location: Montréal, QC
Posts: 95

Titine - '07 Elantra GL
dcb: I made an obduino project at google, I didn't know you already had one
obduino - Google Code
I will cancel it to join your project

tom43571: same here, it says "pending" for a week now...

EDIT: Freescale told me:

Quote:
Your order is picked and ready to ship, you will receive an email with the tracking information.
Sorry for the delay but we are in the process of changing shipping locations.
__________________

Last edited by Magister; 07-02-2008 at 02:55 PM.
  Reply With Quote
Old 07-02-2008, 11:09 AM   #48 (permalink)
dcb
Master EcoModder
 
dcb's Avatar
 
Join Date: Feb 2008
Location: 3rd rock
Posts: 1,308

pimp mobile - '81 gs 250 t
90 day: 96.29 mpg (US)
Ok, I added you to the admin tab on opengauge - Google Code so you can add members for the obduino project as you see fit.
  Reply With Quote
Old 07-02-2008, 11:49 AM   #49 (permalink)
EcoModding Lurker
 
Join Date: Jun 2008
Location: ohio
Posts: 27

The Civic - '99 Civic
90 day: 40.41 mpg (US)
would you please add me to the project so that I can log in also
tom43571@gmail.com
  Reply With Quote
Old 07-02-2008, 12:13 PM   #50 (permalink)
OBDuino coder
 
Magister's Avatar
 
Join Date: Jun 2008
Location: Montréal, QC
Posts: 95

Titine - '07 Elantra GL
thanks dcb, I added the source in the trunk

tom: you're a member now.

n8thegr8: PM me your email and I'll add you.
__________________
  Reply With Quote
Old 07-02-2008, 12:39 PM   #51 (permalink)
EcoModding Lurker
 
Join Date: Jun 2008
Location: USA
Posts: 32

N8sPony - '98 Mustang
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 02:02 AM.
  Reply With Quote
Old 07-07-2008, 10:43 AM   #52 (permalink)
OBDuino coder
 
Magister's Avatar
 
Join Date: Jun 2008
Location: Montréal, QC
Posts: 95

Titine - '07 Elantra GL
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!
__________________

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

The Civic - '99 Civic
90 day: 40.41 mpg (US)
My MC33290 was also shipped and I am expecting it by Tuesday
  Reply With Quote
Old 07-08-2008, 09:49 AM   #54 (permalink)
OBDuino coder
 
Magister's Avatar
 
Join Date: Jun 2008
Location: Montréal, QC
Posts: 95

Titine - '07 Elantra GL
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).
__________________
  Reply With Quote
Old 07-08-2008, 10:19 AM   #55 (permalink)
EcoModding Lurker
 
Join Date: Jun 2008
Location: USA
Posts: 32

N8sPony - '98 Mustang
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, 10:24 AM   #56 (permalink)
dcb
Master EcoModder
 
dcb's Avatar
 
Join Date: Feb 2008
Location: 3rd rock
Posts: 1,308

pimp mobile - '81 gs 250 t
90 day: 96.29 mpg (US)
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.
  Reply With Quote
Old 07-08-2008, 11:55 AM   #57 (permalink)
EcoModding Lurker
 
Join Date: May 2008
Location: St. Louis
Posts: 19

silverciv - '01 Civic EX 2dr
90 day: 36.13 mpg (US)
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, 01:00 PM   #58 (permalink)
EcoModding Lurker
 
Join Date: Jun 2008
Location: USA
Posts: 32

N8sPony - '98 Mustang
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, 03:34 PM   #59 (permalink)
EcoModding Lurker
 
Join Date: Jun 2008
Location: ohio
Posts: 27

The Civic - '99 Civic
90 day: 40.41 mpg (US)
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 03:41 PM.
  Reply With Quote
Old 07-08-2008, 03:45 PM   #60 (permalink)
OBDuino coder
 
Magister's Avatar
 
Join Date: Jun 2008
Location: Montréal, QC
Posts: 95

Titine - '07 Elantra GL
You have to install the LCD 4 bit library
Arduino playground - LCD4BitLibrary
in your hardware\libraries\LCD4Bit folder
__________________
  Reply With Quote
Reply

Tags
obd2

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
MPGuino release one workspace dcb OpenGauge / MPGuino FE computer 772 Today 10:31 AM
All New Nissan Models to Feature Fuel Efficiency Gauge MetroMPG General Efficiency Discussion 7 11-18-2008 05:57 PM
Just some quick info on Scangauge vs. MPGuino NoCO2 OpenGauge / MPGuino FE computer 0 05-20-2008 05:47 PM
Vacuum gauge problems :( DifferentPointofView Instrumentation 3 05-15-2008 12:04 AM
Will Scan Gauge work on mine? bennelson Instrumentation 9 02-19-2008 11:04 PM


BMW Car Insurance
Getting car insurance for a BMW can be an expensive business. Use our detailed comparison service to find a competitive deal!



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC5
All content copyright EcoModder.com