Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Quick question about LCD display on NP1


  • Please log in to reply
3 replies to this topic

#1 GlenEE

GlenEE

    New Member

  • Members
  • Pip
  • 7 posts

Posted 03 December 2012 - 06:56 PM

Im using the Adafruit LCD shield kit on my NP1(I2C). I ran the sample code (the one that displays up, down, left, right, and toggles 0 to 1) and it works well as expected. however if i leave it running for approx. 10 hours or more i get random characters on my LCD display scrolling across. Is there a way to lock down my registers to prevent this error, or any other method that will prevent this? Thanks!

#2 JerseyTechGuy

JerseyTechGuy

    Advanced Member

  • Members
  • PipPipPip
  • 870 posts

Posted 03 December 2012 - 08:11 PM

Yep, use SPI. I2C is slow and glitchy with which affects LCDs. I've done extensive testing I2C vs SPI as far as the adafruit LCD shield and LCD backpack. I've never been able to run an I2C driven LCD 100% glitch free. While I haven't spend time watching and recording the signals over sustained periods of time, I believe it's due to a glitch in the clock signal. It may be possible to write some kind of a glitch filter I haven't taken the time to pursue it.

#3 carb

carb

    Advanced Member

  • Members
  • PipPipPip
  • 352 posts
  • LocationCrystal River, Florida

Posted 03 December 2012 - 08:41 PM

Im using the Adafruit LCD shield kit on my NP1(I2C). I ran the sample code (the one that displays up, down, left, right, and toggles 0 to 1) and it works well as expected. however if i leave it running for approx. 10 hours or more i get random characters on my LCD display scrolling across. Is there a way to lock down my registers to prevent this error, or any other method that will prevent this? Thanks!


I have seen the same problem, Tried to load the program but need to update mscorlib I could not get the sample to deploy under Netduino SDK 4.2.1 with the Netduino Classic. Will try to get it running again when I get a chance.
Chuck

#4 GlenEE

GlenEE

    New Member

  • Members
  • Pip
  • 7 posts

Posted 03 December 2012 - 10:36 PM

Gotcha, Thanks for the replies




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.