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

Netduino Mini-OneWire-DS18B20-NETMF4.2


  • Please log in to reply
3 replies to this topic

#1 ninoq

ninoq

    Member

  • Members
  • PipPip
  • 15 posts

Posted 07 July 2013 - 08:32 AM

I have replied to a post in another forum at this site.  I now think that perhaps it would have been more appropriate to have posted in this forum. I'm trying to use a Netuino Mini to read a DS18B20 temperature probe. The Mini has NETMF 4.2 and I'm using code posted at: http://forums.netdui...-ds18b20-on-42/ The reply mentioned above can also be found there. When I try running the code it fails with the following exception report at the first OneWire method encountered:

 

A first chance exception of type 'System.NotSupportedException' occurred in MyApp.exe

Any advice/guidance would be much appreciated

 



#2 NooM

NooM

    Advanced Member

  • Members
  • PipPipPip
  • 490 posts
  • LocationAustria

Posted 07 July 2013 - 09:15 AM

NotSupportedException !!

 

onewire is not included in the mini firmware :(

 

there is a custom one around somewhere i think, search the forums/google for it, like netduino mini onewire



#3 ninoq

ninoq

    Member

  • Members
  • PipPip
  • 15 posts

Posted 08 July 2013 - 06:45 AM

The most relevant thread I could find was: http://forums.netdui...-onewire-alpha/ In reply #145 (21 Feb 2013 pg. 8) CW2 states:

OneWire implementation for .NET MF 4.2 with the necessary modifications and fixes to make it work on Netduino/Mini/Plus (Gen. 1 boards) is now being evaluated and possibly integrated into the official firmware by Secret Labs.

It now seems a decision was made not to include OneWire support in NETMF 4.2 for the Netduino Mini.  

 

Apart from native code, I'm not clear on what options there are for using a Mini to read OneWire devices.



#4 NooM

NooM

    Advanced Member

  • Members
  • PipPipPip
  • 490 posts
  • LocationAustria

Posted 08 July 2013 - 08:23 AM

hm i just checked, and its not for the mini :(

 

i meant this:

http://forums.netdui...-onewire-alpha/

 

if you just need temperature and it wount get wet (like not underwater or in rain)

a simple analog sensor will do the trick.

they are quite accurate.

 

iam using this one: http://at.mouser.com...x?R=MCP9700A-E/






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.