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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 02-24-2010, 03:41 PM   #81 (permalink)
EcoModding Apprentice
 
Join Date: Aug 2009
Location: terra firma
Posts: 138
Thanks: 4
Thanked 24 Times in 22 Posts
hehe, your guess is as good as mine. "PINC" only appears once in mpguino.pde, so it's probably defined in one of the arduino header files. Whether "PINF" is also defined.... or will work .... ?

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 02-24-2010, 03:50 PM   #82 (permalink)
EcoModding Apprentice
 
Join Date: Jan 2010
Location: Newark, DE
Posts: 143

'91 CRX - '91 Honda CRX DX
90 day: 34.91 mpg (US)
Thanks: 0
Thanked 14 Times in 14 Posts
Yeah, okay... I searched for it on the ATmega1280 datasheet. PINC refers to the port C input pin address register (there are also data and data direction registers). Similarly, PINF refers to port F's register.

So I'm gonna go with "replace PINC with PINF", sit back and watch what happens.
  Reply With Quote
Old 02-24-2010, 04:30 PM   #83 (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
actually it is defined in the avr device header file, arduino is built right on top of avr gcc and you can get to gcc anytime (sometimes you have to when you want the most out of your hardware)

Code:
C:\arduino-0011\hardware\tools\avr\avr\include\avr>grep include iom168.h
#include <avr/iomx8.h>

C:\arduino-0011\hardware\tools\avr\avr\include\avr>grep PINC iomx8.h
#define PINC    _SFR_IO8 (0x06)
/* PINC */
#define PINC6   6
#define PINC5   5
#define PINC4   4
#define PINC3   3
#define PINC2   2
#define PINC1   1
#define PINC0   0
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 02-25-2010, 09:09 AM   #84 (permalink)
EcoModding Apprentice
 
gtkid2002's Avatar
 
Join Date: Feb 2009
Location: USA - WA
Posts: 110

The Bug - '69 Volkswagen Bug Base
Thanks: 6
Thanked 0 Times in 0 Posts
Ok, so I added the two files specified in the C:/arduino... code you posted Dcb, because if I copied and pasted the code directly it didn't work. I added the files, and tried that again, to no avail. I really don't know what I am doing right now, aside from switching things around and hoping they work. I won't be able to do anything on this again till the weekend, due to school and the fact that it's five am and I haven't slept since five am yesterday.

I also tried switching that one PINC to PINF and that did nothing. I also tried doing that with the code dcb posted by switching all the C's to F's, and I still got nothing. Do I need to just modify the avr header file directly to suit the Seeeduino Mega or add to it or?
__________________
I suck at coding! Woo!

1969 VW Bug - Daily Driver
1975 VW Baja - Current Project
Priors:
1989 Honda Prelude Si 4WS (RIP)
1995 Honda Prelude Si (Traded)
1980 Fiat Spider 2000 (Sold)
  Reply With Quote
Old 03-02-2010, 07:53 AM   #85 (permalink)
EcoModding Apprentice
 
gtkid2002's Avatar
 
Join Date: Feb 2009
Location: USA - WA
Posts: 110

The Bug - '69 Volkswagen Bug Base
Thanks: 6
Thanked 0 Times in 0 Posts
Yeah, so this is going to be a longer hold that first thought. I found out my car has a rod knock somewhere, so it is getting put down soon . I can't afford a rebuild, and I get to do some wonderful negotiating in order to try and get another car. I still want to get the super-mpguino set up for the Prelude I have, but I won't really be able to sit down and work on it till I get the car situation taken care of. It's wonderfully frustrating and irritating.

On a side note, it's really hard to keep a 4 speed automatic with a slipping transmission below 4k RPM when going up a steep hill. Low RPMs will hopefully help the car last long enough for me to get another. I don't want to seize this one, but I can't stop driving it either. Vicious cycle!
__________________
I suck at coding! Woo!

1969 VW Bug - Daily Driver
1975 VW Baja - Current Project
Priors:
1989 Honda Prelude Si 4WS (RIP)
1995 Honda Prelude Si (Traded)
1980 Fiat Spider 2000 (Sold)
  Reply With Quote
Old 03-02-2010, 11:28 AM   #86 (permalink)
EcoModding Apprentice
 
Join Date: Jan 2010
Location: Newark, DE
Posts: 143

'91 CRX - '91 Honda CRX DX
90 day: 34.91 mpg (US)
Thanks: 0
Thanked 14 Times in 14 Posts
Quote:
Originally Posted by gtkid2002 View Post
I found out my car has a rod knock somewhere, so it is getting put down soon .
That sounds like a horrific waste. If the body's in decent shape, just swap the engine and transmission with lower milage units from salvage. Or if you have some money to toss at it, you could upgrade to a stronger / more reliable engine like an H22 or H23. If you don't want the glamor and associated price tag of the H series, maybe the Accord's F series.
  Reply With Quote
Old 03-02-2010, 01:26 PM   #87 (permalink)
EcoModding Apprentice
 
gtkid2002's Avatar
 
Join Date: Feb 2009
Location: USA - WA
Posts: 110

The Bug - '69 Volkswagen Bug Base
Thanks: 6
Thanked 0 Times in 0 Posts
H22 swap.. Every 3rd gen Preluder's dream. I'd do the swap, but I costs about 5 grand, give or take a grand for parts and such. I wouldn't be able to have the high mpg that I want, but I'd be happy enough with some more power at the wheels. As is the poor thing is underpowered.


I'm just gonna swap in either the stock engine, the B20A (Jdm release), or if they make a swap for it, a D15 or whatever Honda engine has the Lean Burn feature. Only problem with it is the car has a salvage title, needs quite a bit of body work (New quarter panel, door has massive ding, rear corner needs to be cut and rewelded, undercarriage is a scratched and dented up horror house). I didn't do any of those except for the door. Left it open and backed it into a friend's pickup bumper. *oops*. No real damage to the pickup, but it munched my door.

Turns out I might actually be able to use the mpguino on my next car! If I can get it anyways. Things are really iffy right now, but I'll post pictures when I get it, although I'd probably get flamed horribly for modifying the dash on it.
__________________
I suck at coding! Woo!

1969 VW Bug - Daily Driver
1975 VW Baja - Current Project
Priors:
1989 Honda Prelude Si 4WS (RIP)
1995 Honda Prelude Si (Traded)
1980 Fiat Spider 2000 (Sold)
  Reply With Quote
Old 03-07-2010, 04:01 AM   #88 (permalink)
EcoModding Apprentice
 
gtkid2002's Avatar
 
Join Date: Feb 2009
Location: USA - WA
Posts: 110

The Bug - '69 Volkswagen Bug Base
Thanks: 6
Thanked 0 Times in 0 Posts
Little update. I won't be able to do anything on this topic for a while. Just picked up a 1980 Fiat Spider 124/2000. Fuel injected, cable driven speedo, and more wiring issues than I would like to admit. I'll start on this again once I can get the turn signals and brake lights working.

Link to pictures here: Image hosting, free photo sharing & video sharing at Photobucket

I don't have an accurate mpg right now because a day or two ago the fuel line that attaches to the fuel pump popped off. That was a fun and smelly drive home and to the parts store for a new filter and some line. I'll try and top it up and get a baseline mpg reading when I can, then I'll move on to the whole "I don't have a VSS I don't think" bit.
__________________
I suck at coding! Woo!

1969 VW Bug - Daily Driver
1975 VW Baja - Current Project
Priors:
1989 Honda Prelude Si 4WS (RIP)
1995 Honda Prelude Si (Traded)
1980 Fiat Spider 2000 (Sold)
  Reply With Quote
Old 03-07-2010, 11:10 AM   #89 (permalink)
EcoModding Apprentice
 
Join Date: Jan 2010
Location: Newark, DE
Posts: 143

'91 CRX - '91 Honda CRX DX
90 day: 34.91 mpg (US)
Thanks: 0
Thanked 14 Times in 14 Posts
Quote:
Originally Posted by gtkid2002 View Post
Fuel injected
Wow... 1980. I figured it would have been a mechanical fuel injection system, but that looks like a MAF sensor on the far side of the engine bay? Was it converted at some point, or is that car just ahead of its time?
  Reply With Quote
Old 03-07-2010, 12:12 PM   #90 (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
My ancient fastback vw (early/mid 70s?) had electronic (well electric anyway) fuel injection. was triggered with a second set of points on the cam and had a "waste" squirt IIRC.

__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Reply  Post New Thread




Similar Threads
Thread Thread Starter Forum Replies Last Post
MPGuino release one workspace dcb OpenGauge / MPGuino FE computer 1061 01-17-2020 02:37 AM
MPGuino rebooting and freezing also... Power issue? tygertec OpenGauge / MPGuino FE computer 28 04-17-2011 05:05 PM
MPGuino additon? BIG instant speed? gtkid2002 OpenGauge / MPGuino FE computer 11 02-19-2010 09:23 PM
MPGuino installation/setup: 1998 Geo Metro (Pontiac Firefly) MetroMPG OpenGauge / MPGuino FE computer 12 10-11-2009 04:29 PM
Will mpguino show the mileage going up while the engine is off and car is moving? abcdpeterson OpenGauge / MPGuino FE computer 6 06-02-2009 07:14 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