09-02-2008, 10:45 PM
|
#581 (permalink)
|
EcoModding Lurker
Join Date: Aug 2008
Location: Massachusetts USA
Posts: 84
Ziggy - '95 Audi S6 Sedan Manfred - '97 Audi A6 Quattro Sedan 90 day: 20.61 mpg (US) Clarabell - '03 Audi A4 Quattro Avant Sherman - '98 Audi A6 Quattro Avant Cab - '96 Audi Cabriolet
Thanks: 0
Thanked 2 Times in 2 Posts
|
Sanguino uses ATmega644
Quote:
Originally Posted by Clev
Ah, excellent. Looks like a drop-in upgrade (physically, anyway) that doubles the EEPROM, SRAM and FLASH. I'll go ahead and order the Arduino with that possibility in mind.
|
http://sanguino.cc. Says it's Arduino compatible (with minimal changes) but 64K Flash, 4K RAM, 2K EEPROM.
|
|
|
Today
|
|
|
Other popular topics in this forum...
|
|
|
09-03-2008, 08:17 AM
|
#582 (permalink)
|
Test Tool Engr.
Join Date: Aug 2008
Location: Elgin, IL, USA
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
|
Quote:
Originally Posted by rmccomiskie
http://sanguino.cc. Says it's Arduino compatible (with minimal changes) but 64K Flash, 4K RAM, 2K EEPROM.
|
It's compatible from the standpoint of sharing the AVR instruction set...
It's not pin-compatible or 100% code-compatible, so if you build something around it, everyone else has to have that exact same setup. At least with ATMega328, it's a pin-compatible part, so I/O mapping is identical, and people can just solder one of those into their Arduino instead. Modifications to the software are also fairly minimal.
|
|
|
09-03-2008, 09:38 PM
|
#583 (permalink)
|
EcoModding Lurker
Join Date: Sep 2008
Location: Olympia, wa
Posts: 96
Thanks: 6
Thanked 1 Time in 1 Post
|
Quote:
Originally Posted by forgottenmindset
Thanks, that's a great idea, I'll try it
Please optimize this if you can, it uses lots of memory
Code:
void doDisplay0_60() {
} // end doDisplay0_60
|
There, optimized.
Seems to me that in a device to help enhance MPG, it is counter-productive.
I am tweaking it... more later.
__________________
|
|
|
09-04-2008, 01:49 AM
|
#585 (permalink)
|
EcoModding Lurker
Join Date: Sep 2008
Location: Olympia, wa
Posts: 96
Thanks: 6
Thanked 1 Time in 1 Post
|
Well, I looked at the code. Not that much to clean up. I squeezed about 24 bytes out. (String outputs.)
The cDA/cRR would be interesting, but how often would you use it? I could see making a separate program that would run in the same hardware setup (write down the hard earned variables for your car first.) That could do more diagnostic things like 0-60 and cDA/cRR that may be more memory intensive. Perhaps adding in a neutral sensor (auto), or clutch sensor (manual) and work out effectiveness of pulse and coast over a trip.
__________________
|
|
|
09-04-2008, 02:23 AM
|
#586 (permalink)
|
needs more cowbell
Join Date: Feb 2008
Location: ÿ
Posts: 5,038
Thanks: 158
Thanked 269 Times in 212 Posts
|
Quote:
Originally Posted by ac7ss
The cDA/cRR would be interesting, but how often would you use it? I could see making a separate program that would run in the same hardware setup (write down the hard earned variables for your car first.)
|
You are probably correct, I, or someone, should just hack the current program into a standalone cda calculator you can load when you need it. The current setup includes weight and vss pulses, inj, etc, and it will still be in the eeprom when you load the cda program.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
|
|
|
09-04-2008, 03:19 AM
|
#587 (permalink)
|
Wannabe greenie
Join Date: Aug 2008
Location: Yorba Linda, CA
Posts: 1,098
Thanks: 5
Thanked 53 Times in 40 Posts
|
Quote:
Originally Posted by dcb
You are probably correct, I, or someone, should just hack the current program into a standalone cda calculator you can load when you need it. The current setup includes weight and vss pulses, inj, etc, and it will still be in the eeprom when you load the cda program.
|
As somebody mentioned, there is a new ATMega coming out soon that is Arduino/ATMega168 compatible, but with double the RAM, FLASH, etc. It will be a drop-in replacement (so socket your chip if you can!), so I'd prefer to concentrate on MPG-related functionality in this version, and then expand later when the more powerful chip becomes commonly available.
|
|
|
09-04-2008, 09:47 AM
|
#588 (permalink)
|
needs more cowbell
Join Date: Feb 2008
Location: ÿ
Posts: 5,038
Thanks: 158
Thanked 269 Times in 212 Posts
|
Yup, I am pretty much against the wall on space and too lazy to optimize it at the moment.
Kevin (iduino guy) has put an arduino ide together that supports the atmega328, but I'd like to see it merged into the main arduino release, and there are a lot of 168s out there still.
I think if we can get the bouncy speed reading on the metro solved and integrate it into a smooth instant mpg reading, we can call it 1.0 and ear mark it as a 168 compatible version. Then target the 328 and the bells and whistles (Miles spent EOCing, gallons spent idling, minimums and maximums, etc.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
|
|
|
09-04-2008, 01:39 PM
|
#589 (permalink)
|
Master EcoModder
Join Date: Jun 2008
Location: Northwest Lower Michigan
Posts: 1,006
Thanks: 8
Thanked 17 Times in 16 Posts
|
Quote:
Originally Posted by Yoshi
|
And here is a link that I found about injector flow rates. Look up your car to get the fuel injector part number, then look up the that number in the flow rates section.
Motor Man Fuel injector Websites sell a full line of Automotive Fuel Injectors @ wholesale prices & no core charges or core returns due back.
I also made a little spreadsheet where you enter the lb/hr or cc/min and number of injectors, and it gives you microseconds/gallon.
Both good for initial values on the mpguino.
__________________
Winter daily driver, parked most days right now
Summer daily driver
Last edited by wagonman76; 09-04-2008 at 09:32 PM..
|
|
|
09-04-2008, 03:09 PM
|
#590 (permalink)
|
EcoModding Apprentice
Join Date: Aug 2008
Location: Statesboro, GA
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
|
Quote:
Originally Posted by wagonman76
|
Thanks for posting that. The VSS links didn't have information for my car (I do need to compare motors with the listed models and see if I can draw any conclusions, though). The injector flow rate was listed for my car. Hopefully I'll have my car set up by this weekend and can get it pretty accurate fairly quickly.
__________________
"It is foolish and wrong to mourn the men who died. Rather we should thank God that such men lived."
- General George S. Patton, Jr
|
|
|
|