06-30-2008, 04:47 PM
|
#41 (permalink)
|
|
OBDuino coder
Join Date: Jun 2008
Location: Montréal, QC
Posts: 95
|
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.
__________________
|
|
|
|
06-30-2008, 06:03 PM
|
#42 (permalink)
|
|
EcoModding Lurker
Join Date: Jun 2008
Location: USA
Posts: 32
|
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.
|
|
|
|
06-30-2008, 08:02 PM
|
#43 (permalink)
|
|
Master EcoModder
Join Date: Feb 2008
Location: 3rd rock
Posts: 1,308
|
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.
|
|
|
|
06-30-2008, 08:15 PM
|
#44 (permalink)
|
|
EcoModding Lurker
Join Date: May 2008
Location: St. Louis
Posts: 19
|
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.
__________________
|
|
|
|
06-30-2008, 10:01 PM
|
#45 (permalink)
|
|
Master EcoModder
Join Date: Feb 2008
Location: 3rd rock
Posts: 1,308
|
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.
|
|
|
|
07-02-2008, 12:28 AM
|
#46 (permalink)
|
|
EcoModding Lurker
Join Date: Jun 2008
Location: ohio
Posts: 27
|
Im still waiting on my parts. Is anyone else delayed in getting there MCZ33290EF from freescale? They tell me my order is still pending.
|
|
|
|
07-02-2008, 10:53 AM
|
#47 (permalink)
|
|
OBDuino coder
Join Date: Jun 2008
Location: Montréal, QC
Posts: 95
|
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.
|
|
|
|
07-02-2008, 11:09 AM
|
#48 (permalink)
|
|
Master EcoModder
Join Date: Feb 2008
Location: 3rd rock
Posts: 1,308
|
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.
|
|
|
|
07-02-2008, 11:49 AM
|
#49 (permalink)
|
|
EcoModding Lurker
Join Date: Jun 2008
Location: ohio
Posts: 27
|
would you please add me to the project so that I can log in also
tom43571@gmail.com
|
|
|
|
07-02-2008, 12:13 PM
|
#50 (permalink)
|
|
OBDuino coder
Join Date: Jun 2008
Location: Montréal, QC
Posts: 95
|
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.
__________________
|
|
|
|
07-02-2008, 12:39 PM
|
#51 (permalink)
|
|
EcoModding Lurker
Join Date: Jun 2008
Location: USA
Posts: 32
|
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.
|
|
|
|
07-07-2008, 10:43 AM
|
#52 (permalink)
|
|
OBDuino coder
Join Date: Jun 2008
Location: Montréal, QC
Posts: 95
|
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.
|
|
|
|
07-07-2008, 11:58 AM
|
#53 (permalink)
|
|
EcoModding Lurker
Join Date: Jun 2008
Location: ohio
Posts: 27
|
My MC33290 was also shipped and I am expecting it by Tuesday
|
|
|
|
07-08-2008, 09:49 AM
|
#54 (permalink)
|
|
OBDuino coder
Join Date: Jun 2008
Location: Montréal, QC
Posts: 95
|
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).
__________________
|
|
|
|
07-08-2008, 10:19 AM
|
#55 (permalink)
|
|
EcoModding Lurker
Join Date: Jun 2008
Location: USA
Posts: 32
|
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.
|
|
|
|
07-08-2008, 10:24 AM
|
#56 (permalink)
|
|
Master EcoModder
Join Date: Feb 2008
Location: 3rd rock
Posts: 1,308
|
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.
|
|
|
|
07-08-2008, 11:55 AM
|
#57 (permalink)
|
|
EcoModding Lurker
Join Date: May 2008
Location: St. Louis
Posts: 19
|
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.
__________________
|
|
|
|
07-08-2008, 01:00 PM
|
#58 (permalink)
|
|
EcoModding Lurker
Join Date: Jun 2008
Location: USA
Posts: 32
|
Quote:
Originally Posted by dcb
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.
|
|
|
|
07-08-2008, 03:34 PM
|
#59 (permalink)
|
|
EcoModding Lurker
Join Date: Jun 2008
Location: ohio
Posts: 27
|
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.
|
|
|
|
07-08-2008, 03:45 PM
|
#60 (permalink)
|
|
OBDuino coder
Join Date: Jun 2008
Location: Montréal, QC
Posts: 95
|
You have to install the LCD 4 bit library
Arduino playground - LCD4BitLibrary
in your hardware\libraries\LCD4Bit folder
__________________
|
|
|
|
BMW Car Insurance Getting car insurance for a BMW can be an expensive business. Use our detailed comparison service to find a competitive deal!
|