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

LCD connected on GPIO and another GPIO / Analog port use corrupts displayed text

LCD HD44780

Best Answer ross-cz , 06 March 2013 - 09:39 AM

I figured out issue myself:

- calling to AnalogInput input = new AnalogInput(AnalogChannels.ANALOG_PIN_A1) corrupted digital signal

- using this SecretLabs.NETMF.Hardware.AnalogInput input = new SecretLabs.NETMF.Hardware.AnalogInput(Pins.GPIO_PIN_A1) works without problem

 

There should be some table to disambiguate the use of these simple things for each framework version. I already have problems and waste a lot of my time with incorrectly use Cpu.Pin vs Pins. Problems like simple line of code (using Cpu.Pin.GPIO_Pin11/12) locked whole netduino program and I had to reflash it.

Go to the full post


  • Please log in to reply
1 reply to this topic

#1 ross-cz

ross-cz

    New Member

  • Members
  • Pip
  • 2 posts

Posted 05 March 2013 - 07:56 AM

Hi,

 

I have strange problem. I use LCD connected using GPIO ports like in this article: http://10rem.net/blo...th-the-netduino It works without any problem. Than I add use of Analog or GPIO port and display changes to black bars / boxes.

 

Can you direct me? What is the cause of signal desync on those ports?

 

My HW:

  • Netduino Plus 2 Firmware v4.2.2 (update 2)
  • cheap LCD (http://www.hwkitchen...x20-characters/) with set contrast using 330 Ohm resistor to GND, without powering to backlight and without pull-up resistors

Thanks for help.



#2 ross-cz

ross-cz

    New Member

  • Members
  • Pip
  • 2 posts

Posted 06 March 2013 - 09:39 AM   Best Answer

I figured out issue myself:

- calling to AnalogInput input = new AnalogInput(AnalogChannels.ANALOG_PIN_A1) corrupted digital signal

- using this SecretLabs.NETMF.Hardware.AnalogInput input = new SecretLabs.NETMF.Hardware.AnalogInput(Pins.GPIO_PIN_A1) works without problem

 

There should be some table to disambiguate the use of these simple things for each framework version. I already have problems and waste a lot of my time with incorrectly use Cpu.Pin vs Pins. Problems like simple line of code (using Cpu.Pin.GPIO_Pin11/12) locked whole netduino program and I had to reflash it.







Also tagged with one or more of these keywords: LCD, HD44780

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.