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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 06-09-2008, 01:01 PM   #231 (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
Mine is 15V, 500ma. I think the LED backlight alone needs 200ma when on full.

__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 06-09-2008, 01:10 PM   #232 (permalink)
SuperMID designer
 
Yoshi's Avatar
 
Join Date: Mar 2008
Location: Yokohama, JAPAN
Posts: 37
Thanks: 0
Thanked 13 Times in 2 Posts
Quote:
Originally Posted by dcb View Post
at some point during the long test, the trip mph dropped to 8.5mph instead of 20mph, probably overflowing, instant is fine.
I checked your numbers and program code.
In the mph() routine, there is one, (vssPulses*3600).

You saw 2,148,300 (vssPulses), then vssPulses*3600=7,733,880,000, which is 0x1CCF9A4C0 in hex. It becomes more than 32bit, or more than the unsigned long range.

Yoshi
  Reply With Quote
Old 06-09-2008, 01:32 PM   #233 (permalink)
EcoModding Apprentice
 
cmags's Avatar
 
Join Date: Apr 2008
Location: Marietta, GA
Posts: 139

Scoob - '05 Subaru Impreza Outback Sport SE
90 day: 25.28 mpg (US)
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by dcb View Post
Mine is 15V, 500ma. I think the LED backlight alone needs 200ma when on full.
Yea, I just ordered new LCDs, because when I plugged in my laptop adapter (16V, 4.5A), it ran the blink test program just fine, but the second I plug in my LCD, the 7508 starts overheating and I have to pull the power within a second or so or things would definitely smoke. Must be a short on the LCD. I'll try to fix it later, but it wasn't backlit anyway so I've got these incoming:

http://cgi.ebay.com/ws/eBayISAPI.dll...m=160247143835

So after that, I should be OK on the hardware. I still need to find that VSS hookup, but I've found a few references to it in my car's wiring diagrams - just need to translate diagram to actual harness location.

I still need to know what information about my injectors I need to know to determine my custom constants in the code. I've read through and found references to specs such as open time and duty cycle and flow rate for the injectors, but I'm quite lost. Is there some newbie information on injectors for determining what I need to know to get this project moving?
  Reply With Quote
Old 06-09-2008, 01:48 PM   #234 (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
FYI, no backlight on those too. I was just checking them out yesterday in fact. You can just point an LED at it I suppose and coat the back of the LED with black paint so it doesn't glare.

The other LCD caveat that paulb gave me was that the temperature range on some LCDs isn't very good. They just go blank below a certain temperature. The "official" one looks like it is 0 deg C ~ +50 deg C per the spec. We might want to reconsider that display before winter gets here. There are a bunch on mouser.com that claim -20 to +70 operating temp for not a lot of money.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 06-09-2008, 01:56 PM   #235 (permalink)
EcoModding Apprentice
 
cmags's Avatar
 
Join Date: Apr 2008
Location: Marietta, GA
Posts: 139

Scoob - '05 Subaru Impreza Outback Sport SE
90 day: 25.28 mpg (US)
Thanks: 0
Thanked 0 Times in 0 Posts
Awww, crap. I saw the schematic on the page and it showed the LED+ and LED- so I thought it was backlit. Damn. Maybe I can get him to cancel the order.... thanks for the heads up though.
  Reply With Quote
Old 06-09-2008, 03:20 PM   #236 (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
Sorry dude, the auction was definately misleading, you have a case. They put a schematic up there with LED +- on it.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 06-09-2008, 07:18 PM   #237 (permalink)
EcoModding Lurker
 
Join Date: Jun 2008
Location: NC
Posts: 30

Cxy Hatch - '92 Honda Civic CX

0ftlbs - '05 Honda S2000
Thanks: 0
Thanked 0 Times in 0 Posts
I've got a nice 40x4 LCD that is LED back lit. I'm not even going to try to run it off a 7805 unless i can find something much lower than 12V as the input voltage.

I/we should hunt down a decent sized power resister and run it inline with the 7805 in all honesty.
  Reply With Quote
Old 06-09-2008, 07:30 PM   #238 (permalink)
EcoModding Apprentice
 
cmags's Avatar
 
Join Date: Apr 2008
Location: Marietta, GA
Posts: 139

Scoob - '05 Subaru Impreza Outback Sport SE
90 day: 25.28 mpg (US)
Thanks: 0
Thanked 0 Times in 0 Posts
Damn, this is what I got back from the seller:

Quote:
Hi,

We tried to stop your shipment, unfortunately, the post master left with all of our shipments of the day and from the weekend. On any other day we may have been able to stop shipment, but on Mondays its very difficult to the volume of shipments accumulated from the weekend.

We are sorry that we could not stop the shipment.
O-well, maybe I'll try to get them to send me something discounted... but these will do as test pieces...

@MilesPerTank: I don't see why the 7805 wouldn't work out for your LCD... If you're worried, hook up a dedicated 7805 circuit for your LCD.
  Reply With Quote
Old 06-09-2008, 07:46 PM   #239 (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
The current requirements for a 40x4 backlight are probably 5x that of the nkc LCD, which would put it at the limit of a 1 amp 7805 (and the 2n306 wouldn't handle the current either).

But anyone deviating from the "official" LCD does so at their own risk. Well, it's all at your own risk really but there's lots of variables in LCD land and I aint a sorting all that out for everyone. If you know what you are doing, then that's fine, but there's too much else that needs doing for me to hardly mess with it.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 06-09-2008, 09:24 PM   #240 (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
Quote:
Originally Posted by Yoshi View Post
It becomes more than 32bit, or more than the unsigned long range.
Thanks much for confirming the overflow. Any thoughts you'd be willing to share on the trip vs instant mpg discrepancy? Or better yet, a generic way to multiply and divide 32 bit numbers while not overflowing but retaining max resolution (without a bunch of "if" statements)?

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




Similar Threads
Thread Thread Starter Forum Replies Last Post
My kingdom for a giant, heated workspace MetroMPG The Lounge 14 12-12-2010 09:08 AM
Motorcycle manufacturers beginning to release MPG info MetroMPG Motorcycles / Scooters 1 04-03-2008 05:23 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