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

Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 03-15-2011, 06:15 PM   #1 (permalink)
EcoModding Lurker
 
Join Date: Sep 2010
Location: Ohio
Posts: 18

The Beater - '99 Honda Civic EX
90 day: 39.89 mpg (US)
Thanks: 0
Thanked 2 Times in 2 Posts
Mpguino display "pulsing"

Hey guys I am working on making an mpguino. I used an arduino uno and an lcd and everything seems to be working with it wired up on my breadboard, all the buttons work, menus etc. I have tried a bunch of different versions of the code, all seem to have the same problem. On the set up screens with contrast and all that the screen works fine, but as soon as you go to any of the actual display menus the backlight stays on but the text fades to almost nothing and then comes back on, fairly rapidly i'd say once a second or quicker. I'm don't know much about code or programming so not really sure if its something i'm doing or what the deal is. Anyone have any insight? Thanks guys

Ben

  Reply With Quote
Alt Today
Popular topics

Other popular topics in this forum...

   
Old 03-16-2011, 07:21 AM   #2 (permalink)
Master EcoModder
 
Join Date: Nov 2008
Location: 18603, USA
Posts: 759

The Crimson Crawler - '04 Hyundai Elantra GLS
90 day: 36.71 mpg (US)
Thanks: 221
Thanked 60 Times in 45 Posts
I think others have found issues with breadboarding - too much stray inductance or something similar, IIRC.
  Reply With Quote
Old 03-19-2011, 12:30 AM   #3 (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 Nevyn View Post
too much stray inductance or something similar, IIRC.
Seriously? :/

Get a 3-lead 10K-ohm potentiometer. The little trimmer types should work fine. Wire one end to 5V power, the other to ground and connect the wiper to the contrast pin of the display. If you're not sure which leads are the "ends" and which is the wiper, measure the resistance between two of the leads with a multimeter. If the resistance changes when you adjust the pot, you've got an end and the wiper. Try different combinations until you find one that doesn't change (it should read about 10K-ohms).
Once you have the pot hooked up, start up the MPGuino so it's displaying some text and adjust the potentiometer to your desired contrast level.
  Reply With Quote
Old 03-19-2011, 09:36 AM   #4 (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 mpguino uses pwm for contrast control bobski, to keep the component count down, and thus improve the chances of getting it right, it sounds like the contrast part is working.

Frank, something might be miswired or there may be a problem with the LCD, the half screen of blocks is a common symptom of a loose or bad connection. Maybe all the button pressing is aggrivating an existing bad connection?
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
  Reply With Quote
Old 03-19-2011, 11:32 AM   #5 (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 dcb View Post
The mpguino uses pwm for contrast control bobski, to keep the component count down
Yes, I am fully aware of that. I can and have read the diagram.
Slow pulsing of the contrast suggests that either the duty cycle the MPGuino code is outputting is varying (you're on your own there) or the PWM signal isn't compatible with the model of LCD being used. Since the signal isn't a true analog voltage (as a potentiometer would produce) but a square wave, perhaps the frequency of the wave conflicts with some internal timing of the display hardware. Unfortunately, that doesn't explain why the display works fine on the contrast adjustment screen but not elsewhere. That detail alone suggests a software bug.
Try the potentiometer setup to make sure it isn't a problem with the display module. Once you're sure the display is working as designed, work on the MPGuino.
  Reply With Quote
Old 03-21-2011, 06:45 AM   #6 (permalink)
EcoModding Lurker
 
Join Date: Sep 2010
Location: Ohio
Posts: 18

The Beater - '99 Honda Civic EX
90 day: 39.89 mpg (US)
Thanks: 0
Thanked 2 Times in 2 Posts
wow.. I feel like an idiot.. I checked the wiring like the 3 times, Everything was wired fine, but for some reason i swore the lcd screen needed 3.3v and not 5v.. I was wrong, works fine now. Working on soldering it together and putting it in an enclosure now. Thanks for the help and ideas guys..
  Reply With Quote
Old 03-21-2011, 11:41 AM   #7 (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 frank316 View Post
for some reason i swore the lcd screen needed 3.3v and not 5v
Some do, but generally not the type used with the MPGuino. I've been looking at graphic LCDs for a possible next version of MPGshield... It seems many of Electronic Assembly's graphic displays (which can be controlled via 4-wire serial IIRC) run on 3.3V.

  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