06-07-2010, 09:04 PM
|
#1 (permalink)
|
I have to start over?
Join Date: May 2010
Posts: 214
Thanks: 2
Thanked 8 Times in 7 Posts
|
basic questions about prebuilt MPGuino
I plan to buy a prebuilt MPGuino, but have found myself procrastinating on my purchase because I realize that I have no idea where I would begin to handle fixing the code. Would I even need to play with the code, or is it ready to go as soon as I hook it in and set the VSS and injector paramaters?
I guess this would be a good opportunity for a succinct abstract over the prebuilt. If I have missed it, sorry. Could you point me in the right direction?
What I want to think (but have doubts about) is that I just tap into the injector lead, get a VSS signal, calibrate the params (from within the MPGuino), and enjoy the feedback.
Also, how long is the usual handling time?
|
|
|
Today
|
|
|
Other popular topics in this forum...
|
|
|
06-08-2010, 12:19 PM
|
#2 (permalink)
|
EcoModding Lurker
Join Date: May 2009
Location: Colorado
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
|
Quote:
What I want to think (but have doubts about) is that I just tap into the injector lead, get a VSS signal, calibrate the params (from within the MPGuino), and enjoy the feedback.
|
You are correct. I ordered mine, got it quickly and then installed by connecting power, ground, vss and injector. Set parameters based on other people with the same car and started refining my driving techniques. I had reset/freezing problems with the original place I got the power connection, so I connected power through a fuse to the battery and have had no more problems.
__________________
Prius MFD fuel Log
Prius Gallons at fill up Log
|
|
|
06-08-2010, 01:09 PM
|
#3 (permalink)
|
needs more cowbell
Join Date: Feb 2008
Location: ÿ
Posts: 5,038
Thanks: 158
Thanked 269 Times in 212 Posts
|
re: programming, it is a complicated A lot of folks get their feet wet with an arduino or clone, but the latest source code is completely divorced from arduino, and the prebuilt hardware is not arduino. The prebuilt has a faster crystal (20mhz vs 16), only supports the atmega328 currently, no bootloader, no onboard serial or usb circuitry, pins dedicated to LCD/buttons/sensors.
For the prebuilt, and atmegas in general, avrfreaks.net is probably a better source of info.
FYI, I'm using avrgcc to compile and avrdude to load the chip and fuses, with an isp programmer, and a homemade clip-on programming adapter.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
Last edited by dcb; 06-08-2010 at 03:49 PM..
|
|
|
06-08-2010, 04:09 PM
|
#4 (permalink)
|
I have to start over?
Join Date: May 2010
Posts: 214
Thanks: 2
Thanked 8 Times in 7 Posts
|
Thanks guys. My main concern is that I have no apparatus to get into the code, not to mention that I haven't had my feet wet with code, really. I had a comp sci class, and we went mostly over Java, but that was too long ago to do me any good
|
|
|
06-08-2010, 11:40 PM
|
#5 (permalink)
|
I have to start over?
Join Date: May 2010
Posts: 214
Thanks: 2
Thanked 8 Times in 7 Posts
|
With the prebuilt, will I have to worry about corrupting the data with the power being unplugged?
|
|
|
06-09-2010, 12:09 AM
|
#6 (permalink)
|
needs more cowbell
Join Date: Feb 2008
Location: ÿ
Posts: 5,038
Thanks: 158
Thanked 269 Times in 212 Posts
|
If unplugged, the vehicle settings will stay, but the tank trip will reset.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
|
|
|
06-09-2010, 10:23 AM
|
#7 (permalink)
|
I have to start over?
Join Date: May 2010
Posts: 214
Thanks: 2
Thanked 8 Times in 7 Posts
|
I meant if the power was disconnected and reconnected within 20 seconds. Is that just the arduino?
|
|
|
06-09-2010, 10:42 AM
|
#8 (permalink)
|
needs more cowbell
Join Date: Feb 2008
Location: ÿ
Posts: 5,038
Thanks: 158
Thanked 269 Times in 212 Posts
|
oh, well I haven't seen a prebuilt erase itself in a long time, we've been making tweaks to keep that from happening (i.e. no bootloader, no self programming at all, bigger caps, rearranging the power circuits to keep the brain alive longer, etc. But of course that doesn't mean it won't ever happen to the prebuilt. I have done things like connect the mpguino power through a big file and drag the conductors along it (insanely erratic power), and it still had the right programming. But solid power is still probably good thing.
My arduino based version forgot its programming several times when the power was flakey, but this isn't conclusive, but reason enough for me to not retain arduino-ness.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
Last edited by dcb; 06-09-2010 at 11:36 AM..
|
|
|
06-09-2010, 02:00 PM
|
#9 (permalink)
|
I have to start over?
Join Date: May 2010
Posts: 214
Thanks: 2
Thanked 8 Times in 7 Posts
|
Thanks. I'm looking forward to its arrival
DCB, I PM'd you
|
|
|
06-09-2010, 05:24 PM
|
#10 (permalink)
|
Master EcoModder
Join Date: Jan 2010
Location: Oregon
Posts: 471
Thanks: 15
Thanked 65 Times in 48 Posts
|
I also have a couple questions about the prebuild. Does it come with any casing, or is it a bare chipset?
Also, would the VSS be the wire coming into the speedometer, and would any injector wire work?
__________________
In Reason we Trust
|
|
|
|