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.

Rik P.

Member Since 11 Mar 2011
Offline Last Active Mar 28 2014 05:52 PM
-----

Posts I've Made

In Topic: Upgrading from N+1 to N+2

14 February 2014 - 03:14 PM

Hi Chris,

 

I had actually swapped the pins and moved the pull ups, however previously on N+1 I used pull ups to 5V.

 

To get this working on N+2, I had to change from 5V pull ups to 3V3, though maybe this is to do with my resistor values - which I've kept the same, at 12KOhm.

 

Would you recommend different resistors?

 

Thanks,

Richard.


In Topic: Upgrading from N+1 to N+2

10 February 2014 - 08:10 AM

Hi Chris,

 

Thanks for your reply. Just to confirm, I have the data lines the correct way around, but you have asked about "moving the pull up resistors as well", but I can't find any docs that state where/why they need to move? Can you be more specific?

 

Also, I've actually got a very small test project to repro this based on a SparkFun I2C sensor board...

 

Thanks,

Rik.


In Topic: Upgrading from N+1 to N+2

08 February 2014 - 11:56 AM

Just to add as well, I don't have access to any advanced diagnostic equipment to be able to check the state of the I2C lines. I have already moved to the SD/SC pins on N+2, vs. A4/A5 on N+1.

In Topic: Support understanding I2C comms

03 January 2014 - 03:20 PM

Hi Rik, With NETMF, you'll want to dispose of one I2CDevice object before creating another: each I2CDevice class reserves the I2C bus. Chris

 

Thanks, Chris. 

 

Rik


In Topic: Support understanding I2C comms

01 January 2014 - 10:21 AM

Hi Stanislav,

 

Thank you for your reply, this has helped a lot.

 

I do have one follow-up query, if you don't mind. I can read from any one device at a time using the code I've written, however I cannot initialise two devices on the I2C bus, and then read from them both in sequence. When I attempt to do this, I receive an InvalidOperationException. My guess is this has to do with timing.

 

Any ideas?

 

Thanks


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.