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.

Danger

Member Since 31 Jul 2013
Offline Last Active Feb 23 2014 05:59 PM
-----

Posts I've Made

In Topic: Netduino 2 and the Adafruit BMP085 Barometer (I2C)

10 October 2013 - 02:18 AM

sgraves, you totally did it!  Thanks so much for posting this workaround.

 

It's totally weird that you have to pull something like this to get it to work right, but... after this many hours of trying stuff, I'll take it!

 

Thanks, again!


In Topic: Netduino 2 and the Adafruit BMP085 Barometer (I2C)

03 September 2013 - 05:13 PM

Hahaha.  You mean an open source platform has other bugs, too?? :D

 

I do have a Netduino Mini sitting on my shelf that I was going to tackle once I got my feet wet with this, but... Maybe I need to hook up this barometer to the mini to isolate the problem being with the Netduino 2.  At least then I would know.

 

NooM, do you have or have you ever used a Netduino 2 or +2 with i2c?  I may end up getting another one, but I don't want to go through this again.  I mean, it does work, right?


In Topic: Netduino 2 and the Adafruit BMP085 Barometer (I2C)

03 September 2013 - 08:13 AM

So, I put everything back the way it was, only updated the firmware to 4.2.2.2.  It actually behaves the same say.  All values report 0 until I disconnect and then reconnect the SDA pin while it's running.

 

So my last question still stands, I suppose.  Has anyone ever run into this problem?  Any thoughts on what might cause this?

I'm at a total loss, and almost ready to scrap this Netduino.  

 

Thanks in advance.


In Topic: Netduino 2 and the Adafruit BMP085 Barometer (I2C)

03 September 2013 - 05:15 AM

Hahahahahaha.  WTF did I just do??   :blink:

 

Okay.  This sounds worse than it is.  I will try out 4.2.2.2 on my original development machine and report back.

 

Thanks!


In Topic: Netduino 2 and the Adafruit BMP085 Barometer (I2C)

02 September 2013 - 11:35 PM

Okay, I have updated to Windows 7, NETMF 4.3, Visual Studio 2012 and the Netduino Firmware 4.3 Beta.  It didn't make a difference by itself, but then I stumbled upon something that makes no sense.  I'm hoping someone can explain this to me.

 

Using the code that NooM was nice enough to provide, Visual Studio spit out this in the output window upon the Netduino booting up:

 

06/01/2011 00:00:12: pressure: 0 altitude: 0.0 free mem: 81912
06/01/2011 00:00:14: pressure: 0 altitude: 0.0 free mem: 80280
06/01/2011 00:00:16: pressure: 0 altitude: 0.0 free mem: 80472
06/01/2011 00:00:19: pressure: 0 altitude: 0.0 free mem: 80628
 
If I disconnect the SDA pin while it's running, then reconnect it, I get this output:
06/01/2011 00:00:59: pressure: 96033 altitude: 450.2 free mem: 84624
06/01/2011 00:01:01: pressure: 96029 altitude: 450.6 free mem: 84624
06/01/2011 00:01:03: pressure: 96035 altitude: 450.0 free mem: 84396
06/01/2011 00:01:05: pressure: 96041 altitude: 449.5 free mem: 84396
06/01/2011 00:01:07: pressure: 96035 altitude: 450.0 free mem: 84624
06/01/2011 00:01:09: pressure: 96045 altitude: 449.2 free mem: 84624
06/01/2011 00:01:11: pressure: 96036 altitude: 449.9 free mem: 84396
06/01/2011 00:01:13: pressure: 96042 altitude: 449.4 free mem: 84624
 
Can anyone explain why I need to disconnect the SDA pin and then reconnect it in order to get values?
This works consistently, and I haven't been able to read values any other way.

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.