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-21-2008, 08:23 PM   #11 (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
Good point.. Though it took me a few minutes to figure out the point of that screen shot lol...

But I'd be trying to integrate it into this:


  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 06-21-2008, 08:35 PM   #12 (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
Ok, Good luck, lets us get back to LCDs here.

AndrewJ, Whats the status on your LCD?
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 06-27-2008, 01:23 AM   #13 (permalink)
EcoModding Lurker
 
top_down's Avatar
 
Join Date: Jun 2008
Location: AZ
Posts: 10

Beater - '93 Geo Metro XFi
Thanks: 0
Thanked 0 Times in 0 Posts
dcb, it appears I have experienced an early failure of my lcd tonight. Bummer... right when you posted the things I needed to change with the injector tap and vss number!

My guino power led is on and the other led is blinking as normal, but the lcd is dark. Tried the reset button on the guino and disconnecting and reconnecting power to no avail.

It seems to have happened when I was reconnecting my ground wire, and bounced power a few times as I tightened the screw.

Anything I should check for before writing it off? Do you think they'll send me a replacement like they did for you?

Thanks for all your help and work on this project!
  Reply With Quote
Old 06-27-2008, 01:55 AM   #14 (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
See if you can reprogram the chip first. It doesn't like bouncy power. Let me know.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 06-28-2008, 11:29 PM   #15 (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;39365 (from workspace thread)
Glad the Mrs. is doing ok. It soulds like your display issues are an order of operations thing and not a hardware glitch per-se. Like you might need to bounce the power to the whole unit after you program it. Shouldn't affect in-car operation as long as you adjust your setup so the LCD is powered and connected to the duino before or at the same time the duino is powered up.
Not following you here. What I had been doing was powering the LCD from the 5V and GND pins on the 'duino (which is powered as soon as the power supply is plugged in). Not sure if its bouncy power on the LCD or if it is a timing thing, but a soft reset always temporarily resolves the issue.

I tried powering the LCD from pin 15, but it wouldn't power. My multimeter shows only ~2.5-3V on that pin (though I know it's being pulsed, I don't think its providing enough power). Haven't yet tried a separate 5V source, but I plan on trying to power both from a computer 4-pin molex - the 'duino from 12V and the LCD from 5V.
  Reply With Quote
Old 06-29-2008, 10:27 AM   #16 (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, the latest version has a little more LCD initialization going on (v0.66), Let us know if that fixes it.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 06-29-2008, 02:29 PM   #17 (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
FYI, the latest version has a little more LCD initialization going on (v0.66), Let us know if that fixes it.
Let me comment some...

The V0.66 init() starts...

void LCD::init(){
LcdCommandWrite(B00000010); // 4 bit operation

This sends (B0000) to DB7-4,
then sends (B0010) to DB7-4.
...

However, the HD44780 chip datasheet shows the 4 bit mode initialization is...

power on
wait for more than 15 msec
send (B0011) to DB7-4
wait for more than 4.1 msec
send (B0011) to DB7-4
wait for more than 100 usec
send (B0011) to DB7-4
send (B0010) to DB7-4 for 4 bit operation

Yoshi
  Reply With Quote
Old 06-29-2008, 02:37 PM   #18 (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
Thanks Yoshi, I had an old lcd library I got that from. I "jiggled the handle" a little more in 0.66 and got it to come up reliably on reset. Will examine that sequence more closely for the next version.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 06-29-2008, 02:45 PM   #19 (permalink)
SuperMID designer
 
Yoshi's Avatar
 
Join Date: Mar 2008
Location: Yokohama, JAPAN
Posts: 37
Thanks: 0
Thanked 13 Times in 2 Posts
Please refer to following 4BitLibrary.
Arduino playground - LCD4BitLibrary

Yoshi
  Reply With Quote
Old 06-29-2008, 09:30 PM   #20 (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
I thought I had seen some minor differences in the 'guino's initialization code vs. some of the libraries on arduino.cc but I didn't get to really study the specs and codes yet, and figured there were multiple ways of doing it. Maybe the NKC LCD is more forgiving of tolerances than the one I have... I'll try v0.66 and let you know how it goes.

  Reply With Quote
Reply  Post New Thread


Thread Tools




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