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

banging head against wall w N+2 and adafruit LCD... I2C problem?


Best Answer Nevyn, 06 January 2013 - 08:00 PM

Given that there are I2C problems in the original firmware I would suggest that you upgrade to the latest firmware as per the update article.  It's not too difficult and only takes five minutes or so.

 

At least by doing this you know that any issues are less likely to be firmware related.

 

Regards,

Mark

Go to the full post


  • Please log in to reply
3 replies to this topic

#1 bionicmotronic

bionicmotronic

    New Member

  • Members
  • Pip
  • 7 posts

Posted 06 January 2013 - 07:47 PM

So built myself adafruit 772 shield (comes w/ blue & white LCD).  Building went fine.

 

Took some time to figure out how / where to download the Toolbox code for DLL's and examples (a bit more detail in the basic how-to's would be helpful there... but if you keep searching its all around... ).   Got my references to .DLL's into my project.  

 

Downloaded this simple sample code.  

 

Compiles and deploys fine.

 

But sadly: Display shows nothing. No errors thrown either.

My soldering skills / experience very high, pretty sure nothing is bad in the construction.

There is 5V power on the input pins to the shield. 

 

I did see a number of references to I2C problems w the N+2 - could that be my issue? 

 

Maybe I need to try the C# sample code instead... 

 

Any help greatlly appreciated...

 

 



#2 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 06 January 2013 - 08:00 PM   Best Answer

Given that there are I2C problems in the original firmware I would suggest that you upgrade to the latest firmware as per the update article.  It's not too difficult and only takes five minutes or so.

 

At least by doing this you know that any issues are less likely to be firmware related.

 

Regards,

Mark


To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter


#3 Stefan

Stefan

    Moderator

  • Members
  • PipPipPip
  • 1965 posts
  • LocationBreda, the Netherlands

Posted 06 January 2013 - 08:02 PM

Took some time to figure out how / where to download the Toolbox code for DLL's and examples (a bit more detail in the basic how-to's would be helpful there... but if you keep searching its all around... ).   Got my references to .DLL's into my project.

 

Erm, basic documentation like here? http://netmftoolbox....ailable classes  ;)
I have planned to do a small video tutorial too by the way.

 

The shield should work fine with a NP2. The only issue I am aware of is that, after some period, characters can become scrambled.

But that's not what you describe.

 

Please try that sample code, that should work.

 

 

-edit- Mark has a point, you'll need the latest Netduino Plus 2 Firmware.


"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs

#4 bionicmotronic

bionicmotronic

    New Member

  • Members
  • Pip
  • 7 posts

Posted 06 January 2013 - 08:43 PM

Given that there are I2C problems in the original firmware I would suggest that you upgrade to the latest firmware as per the update article.  It's not too difficult and only takes five minutes or so.

 

At least by doing this you know that any issues are less likely to be firmware related.

 

Regards,

Mark

 

Totally nailed it Mark.  I thought I was at latest firmware but I was wrong and boy that is the big difference.  THanks!

 

Erm, basic documentation like here? http://netmftoolbox....ailable classes  ;)
I have planned to do a small video tutorial too by the way.

 

The shield should work fine with a NP2. The only issue I am aware of is that, after some period, characters can become scrambled.

But that's not what you describe.

 

Please try that sample code, that should work.

 

 

-edit- Mark has a point, you'll need the latest Netduino Plus 2 Firmware.

 

Stefan -   Thanks much for all the work and examples into the toolbox - didn't mean to criticize.  I saw your video on "how to install" and that was very simple in terms of running the installer, then I had to go find:

http://netmftoolbox....se the classes?, which for some reason as a n00b I found  just a bit trickier to stumble on from the docs page.   And since I knew if I was going to VB I needed to use the DLL's, I looked at that part which talks about using a zip file for the DLL's.  I was pretty sure that was obsolete and that the Windows installer program had already installed them for me (which of course it had) so then I just had to go back and re-run the installer and actually pay attention this time  ;)  to what path it was using... once I had that path so I knew where the DLL's were dumped, I could add the references easily. 

 

And then the VB code example for this particular item didn't explicitly show the Imports line - I just found another VB example with it...   I had seen the link you reference but wanted to be sure I had the Import name correct - as I said found plenty of examples with a little poking around.  

 

As above - working great now!  Just wrote some profanity to my display.  Works great! Thanks again for the work on the Toolbox.  Super cool resource. 






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.