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

My first netduino experience


  • Please log in to reply
9 replies to this topic

#1 nrc

nrc

    Member

  • Members
  • PipPip
  • 11 posts

Posted 11 April 2011 - 01:07 AM

Hi All, I'm new in this forum and I would like to share with you my first experience with netduino. I have order netduino from an uk online shop and at the same time bought an 16x2 LCD ADM1602K. I've order also an I2C port expander to control the LCD, but at this time I didn't receive it yet. So I've decided to connect my new netduino the hard way spending for that 10 digital outputs. Here you have some pictures and the code. Soon I will put the schematic. Nuno Costa

Attached Files



#2 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

Posted 12 April 2011 - 01:13 AM

Not bad for a 1st thing to do! What about the i2c expander board, Netduino got i2c onboard doesn't it?

#3 nrc

nrc

    Member

  • Members
  • PipPip
  • 11 posts

Posted 12 April 2011 - 12:20 PM

The I2C port expander have arrived yesterday. I've bought the MCP23017 I2C 16-port I/O expander, but first I've improved my LCD class to enable a string direct reading. As soon I have the port expander connected I will update with the final code and the fritzing schematic.

#4 Michel Trahan

Michel Trahan

    Advanced Member

  • Members
  • PipPipPip
  • 155 posts

Posted 12 April 2011 - 12:56 PM

Your code makes me think about some code I wrote some 25 years ago ... using punch cards ... tedious work :) I had written : Computing is easy ! Which was not then LOL
Started with C in 1985, moved to Vb3 ... to vb6 and stopped. Now started with .Net and learning C# and VB.net and wishing VB.net was on MF !

#5 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

Posted 12 April 2011 - 01:05 PM

The I2C port expander have arrived yesterday. I've bought the MCP23017 I2C 16-port I/O expander, but first I've improved my LCD class to enable a string direct reading. As soon I have the port expander connected I will update with the final code and the fritzing schematic.


Netduino got i2c onboard doesn't it?


Still wondering about the i2c board...

#6 Michel Trahan

Michel Trahan

    Advanced Member

  • Members
  • PipPipPip
  • 155 posts

Posted 12 April 2011 - 01:12 PM

Still wondering about the i2c board...

Will it eliminate the need for pullup resistors ?
Started with C in 1985, moved to Vb3 ... to vb6 and stopped. Now started with .Net and learning C# and VB.net and wishing VB.net was on MF !

#7 nrc

nrc

    Member

  • Members
  • PipPip
  • 11 posts

Posted 12 April 2011 - 04:11 PM

Your code makes me think about some code I wrote some 25 years ago ... using punch cards ... tedious work :) I had written : Computing is easy ! Which was not then LOL


You are correct. This is tedious work. I've already changed my LCD class to read a string directly to the LCD avoiding what
I have donne with the test() function. I will deliver the code after connecting to the I2C expander.

#8 nrc

nrc

    Member

  • Members
  • PipPip
  • 11 posts

Posted 12 April 2011 - 04:15 PM

Still wondering about the i2c board...


Netduino has the I2C ability, yes. After connecting to the expander I will give some details.

#9 nrc

nrc

    Member

  • Members
  • PipPip
  • 11 posts

Posted 12 April 2011 - 04:20 PM

Will it eliminate the need for pullup resistors ?


Do you mean the I2C pullup resistors? Thouse are always needed.

#10 CableGuy

CableGuy

    New Member

  • Members
  • Pip
  • 5 posts

Posted 07 August 2011 - 04:50 AM

Any updates?




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.