- Netduino Forums
- → Viewing Profile: Posts: cobolstinks
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.
Community Stats
- Group Members
- Active Posts 27
- Profile Views 5797
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
-1
Neutral
User Tools
Friends
cobolstinks hasn't added any friends yet.
Posts I've Made
In Topic: OneWire ALPHA
20 January 2012 - 04:16 AM
removed post consolidating to the post above.
In Topic: OneWire ALPHA
19 January 2012 - 02:21 AM
I'm getting this in the immediate window during a debug session. I have tried to combine the NeonMika webserver and CW2's one wire driver so i can serve my temps on the LAN. Here is the error from my solution. Any help is greatly appreciated,
#### Exception System.Exception - CLR_E_PIN_UNAVAILABLE (1) ####
#### Message:
#### CW.NETMF.Hardware.OneWire::.ctor [IP: 0000] ####
#### OneWireTestApp.Program::Main [IP: 001f] ####
A first chance exception of type 'System.Exception' occurred in CW.NETMF.OneWire.dll
This is the line that is throwing the exception, but it doesn't say anything meaningful...
I apologize if I am becoming annoying, I'm just looking for some advice on where to begin.
Thanks,
Chris
#### Exception System.Exception - CLR_E_PIN_UNAVAILABLE (1) ####
#### Message:
#### CW.NETMF.Hardware.OneWire::.ctor [IP: 0000] ####
#### OneWireTestApp.Program::Main [IP: 001f] ####
A first chance exception of type 'System.Exception' occurred in CW.NETMF.OneWire.dll
public class Program { private static OneWire oneWire; private static InterruptPort sw1; public static void Main() { sw1 = new InterruptPort(Pins.ONBOARD_SW1, true, ResistorModes.Disabled, InterruptModes.InterruptEdgeLow); sw1.OnInterrupt += new NativeEventHandler(sw1_OnInterrupt); // TODO: Change pin according to the actual wiring //this throws exception oneWire = new OneWire(Pins.GPIO_PIN_D7); //Server WebServer = new Server(PinManagement.OnboardLED, 50000); //WebServer.AddResponse(new XMLResponse("wave", new XMLResponseMethod(WebserverXMLMethods.Wave))); Thread.Sleep(Timeout.Infinite); }
This is the line that is throwing the exception, but it doesn't say anything meaningful...
oneWire = new OneWire(Pins.GPIO_PIN_D7);
I apologize if I am becoming annoying, I'm just looking for some advice on where to begin.
Thanks,
Chris
In Topic: OneWire ALPHA
11 January 2012 - 04:53 AM
im using your driver and firmware. Things work great, however I'm building out a 5 1-wire sensor project and will be serving the temps as json to a webapp. I see you have a wait for the ConvertT function as below:
I have removed this wait and things seem fine. Is sleeping for 750 ms needed?
Thanks!
_core.WriteByte(DS18B20.ConvertT); System.Threading.Thread.Sleep(750); // Wait Tconv (for default 12-bit resolution)
I have removed this wait and things seem fine. Is sleeping for 750 ms needed?
Thanks!
In Topic: Total Newbie Temperature Project
29 December 2011 - 05:29 PM
the 1-wire sensors are awesome. Cable length doesn't seem to impact them at all, I'm using a longer run of the same cable and the readings are identical to the 1-wire sensors on my breadboard. Thanks for the help.
In Topic: DS18B20 wiring help
29 December 2011 - 05:26 PM
thanks for the input i got multiple sensors working on the same I/O port by using the discovering network class from valkarie. I think ill just mantain a dictionary of roms and wire them to the same digital i/o. This way it wont matter which xlr connector i connect the sensors to either...
Thanks again, your library is working great!
- Netduino Forums
- → Viewing Profile: Posts: cobolstinks
- Privacy Policy