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.

DracoRSA

Member Since 27 Jan 2011
Offline Last Active Feb 03 2015 07:49 AM
-----

Topics I've Started

Web Request Error

23 March 2011 - 08:08 AM

Hi, I am having problems communicating with a web server. I am sending data to a URL and embedding data into the URL which will then be processed on the server appropiately. I am however battling to coomunicate with the server and a exception is thrown every time. I am communicating straight via Ethernet on a Netduino Plus. I have setup a static IP address for the device. Below is some details on the exception being throw as well as a code snippet on where I make the call. Any help will be highly appreciated :) Debug extract: Sending reading to the server ... Device Network Address: 192.168.0.108 Server URI: "http://DEVSERVER/WMW...robeReading=33" #### Exception System.Net.Sockets.SocketException - CLR_E_FAIL (1) #### #### Message: #### Microsoft.SPOT.Net.SocketNative::getaddrinfo [IP: 0000] #### #### System.Net.Dns::GetHostEntry [IP: 0008] #### #### System.Net.HttpWebRequest::EstablishConnection [IP: 00e1] #### #### System.Net.HttpWebRequest::SubmitRequest [IP: 0013] #### #### System.Net.HttpWebRequest::GetResponse [IP: 000c] #### #### CSIR.WaterMonitoring.Netduino.WMServerComms::SendReading [IP: 00d9] #### #### CSIR.WaterMonitoring.Netduino.WMProbeData::UpdateReading [IP: 0035] #### #### CSIR.WaterMonitoring.Netduino.WMStart::Main [IP: 0120] #### #### SocketException ErrorCode = 10060 #### SocketException ErrorCode = 10060 A first chance exception of type 'System.Net.Sockets.SocketException' occurred in Microsoft.SPOT.Net.dll #### SocketException ErrorCode = 10060 #### SocketException ErrorCode = 10060 #### Exception System.Net.WebException - 0x00000000 (1) #### #### Message: host not available #### System.Net.HttpWebRequest::EstablishConnection [IP: 00f1] #### #### System.Net.HttpWebRequest::SubmitRequest [IP: 0013] #### #### System.Net.HttpWebRequest::GetResponse [IP: 000c] #### #### CSIR.WaterMonitoring.Netduino.WMServerComms::SendReading [IP: 00d9] #### #### CSIR.WaterMonitoring.Netduino.WMProbeData::UpdateReading [IP: 0035] #### #### CSIR.WaterMonitoring.Netduino.WMStart::Main [IP: 0120] #### A first chance exception of type 'System.Net.WebException' occurred in System.Http.dll #### Exception System.Net.WebException - 0x00000000 (1) #### #### Message: #### System.Net.HttpWebRequest::GetResponse [IP: 00d3] #### #### CSIR.WaterMonitoring.Netduino.WMServerComms::SendReading [IP: 00d9] #### #### CSIR.WaterMonitoring.Netduino.WMProbeData::UpdateReading [IP: 0035] #### #### CSIR.WaterMonitoring.Netduino.WMStart::Main [IP: 0120] #### A first chance exception of type 'System.Net.WebException' occurred in System.Http.dll The code: // Send the request to the server webRequest = (HttpWebRequest)WebRequest.Create(webServerUri); webRequest.Method = "GET"; webResponse = (HttpWebResponse)webRequest.GetResponse();

SM5100B Cellular Shield

16 February 2011 - 07:48 AM

I have a Netduino with a SM5100B Cellular Shield attached. I also have an external power supply which allows me to supply the required power to the Cellular shield. I had the SM5100B working perfectly. I could send AT commands and receive the relevant responses with no problems. I then proceeded to attach a analog probe to the Netduino and got that working as well. When I switched the probe to the Analog pin 5, the SM5100B stopped working and since then I have been unable to communicate with the SM5100B :( I have tried everything. I can open the COM2 port and send just a normal AT command, but then receive no response ... Not even with a 15 second timeout. Anybody have any ideas on what could be wrong and how to test the SM5100B?

DPWS

09 February 2011 - 02:19 PM

Hi, I am having problems connecting and / or hosting a web service on the Netduino. I have created a small WCF Service and generated the relevant classes using MFsvcUtil.exe for the Netduino application. I then have to reference the DPWS Dll's. However, once these DLL's has been referenced, the application becomes to big to deploy to the Netduino. Even a small service that will be hosted on the device is too big :( Anybody have a possible solution around this problem? Thanks

Analog Read

27 January 2011 - 02:09 AM

Hi, I am quite a newbie at electronics and specifically the Netduino. I would like some help on setting up the relevant circuit to allow me to do the following: I have a sensor that communicates on a range of 4mA to 20mA based on what it senses. I would like to monitor this reading with the Netduino. The sensor has two outputs used to connect an external monitor (Netduino) to it. A postive and negative analog connection. Could anybody help me with what I need in the circuit to connect this sensor to the Netduino? I would really appreciate some help :)

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.