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

Adafruit LCD Shield and I2C on the Netdunio Plus


  • Please log in to reply
2 replies to this topic

#1 Gauss

Gauss

    Member

  • Members
  • PipPip
  • 14 posts

Posted 24 September 2013 - 02:24 PM

Ok, I am looking to repurpose my Netduino plus relative to what it is currently doing and my new project requires an LCD screen.

 

The issue I am running into is that I am using the original Netdunio plus and seem to have issues confirming operation since everybody compares the current Arduino with the Netdunio plus 2, so I decided to come here since you guys are the experts :P

 

I'm looking to pick up this shield (http://www.adafruit.com/products/772) or equivalent, in this case the LCD is controlled through I2C.

 

Now I have never done any I2C with the original Netdunio Plus, but per the hardware specs (http://www.netduino....oplus/specs.htm) I should have:

analog pins 4-5: I2C SDA, SCL

 

I just wanted to confirm, that means my analog pin 4 is I2C SDA and pin 5 is I2C SCL and that I should be able to drive this LCD shield through those pins.

 

Are there any other concerns? Anybody done anything like this? Anything else I should be looking at?

 

Thanks in advance guys.



#2 TinkeringTurtle

TinkeringTurtle

    Advanced Member

  • Members
  • PipPipPip
  • 55 posts

Posted 24 September 2013 - 03:05 PM

You are correct: SDA is A4 and SCL is A5.

 

You'll probably need pull-up resistors for both SDA and SCL if your LCD module doesn't have them on the board.

 

Plenty of us have driven similar LCD modules through I2C but the bus isn't nearly as fast as SPI. I'd probably buy a cheaper board (you can get a 20x4 module with I2C for $12 @ Amazon) rather than the Adafruit model but you'll interact with them the same. AxelG wrote a great library that will jump start you as well.

 

Good luck!



#3 Gauss

Gauss

    Member

  • Members
  • PipPip
  • 14 posts

Posted 24 September 2013 - 07:24 PM

You are correct: SDA is A4 and SCL is A5.

 

You'll probably need pull-up resistors for both SDA and SCL if your LCD module doesn't have them on the board.

 

Plenty of us have driven similar LCD modules through I2C but the bus isn't nearly as fast as SPI. I'd probably buy a cheaper board (you can get a 20x4 module with I2C for $12 @ Amazon) rather than the Adafruit model but you'll interact with them the same. AxelG wrote a great library that will jump start you as well.

 

Good luck!

 

Thanks for the info.

I was actually considering the Adafruit shield because it includes the buttons, I felt the package was nicer. I'll have to see if there is a quicker way to sneak in some buttons. It'll have to be enclosed anwyay.






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.