![:)](http://forums.netduino.com/public/style_emoticons/default/smile.png)
![;)](http://forums.netduino.com/public/style_emoticons/default/wink.png)
![]() |
  | |||||||||||||
![]() |
|
![]() |
||||||||||||
![]() Sample Requests
Started by MosziNet, Nov 10 2011 09:51 PM
7 replies to this topic
#1
Posted 10 November 2011 - 09:51 PM
Hey everyone,
I'm a Netduino enthusiast
![]() ![]()
#2
Posted 10 November 2011 - 10:42 PM
Thanks, MosziNet. That's very generous of you!
Any requests for MosziNet?
Chris
#3
Posted 11 November 2011 - 02:38 PM
Hello Mozsi and welcome to the wonderful world on Netduino!
I am not a Mac person, but I can tell you that having simple routines that allow reliable communication between a microcomputer and a desktop (e.g PC or Mac) is something that virtually everyone struggles with. The key hangup is reliability. To be useful in the real world communication needs to be resilient; automatically recovering from such things as power failures, cables being unplugged and being plugged in again etc. If that is something you can workout it will be a great service to us all. I don't know if this helps, but here is a project someone is doing for the Arduino: http://robotgrrl.com...no/matatino.php
#4
Posted 11 November 2011 - 09:35 PM
Hi Jonny, thanks for the warm welcome ![]() If that helps though - I've created a solution for netduino plus that has the following things built in it: - starts a webserver on a specified tcp port (can be accessed with a password, has content type based request handler which invokes directly the methods specified in a URL, something like: http:/ /netduino/MyClass/MyMethod/MyParam1/MyParam2) - starts a service discovery broadcaster on a specified udp port, so mobile phones connected to the same network can easily find the netduino plus - starts a scheduler thread for the service discovery However it _doesn't_ have the capability to restart the webserver if the UTP cable is plugged back in. I will build this into the solution with a scheduled check. I'm not sure what kind of resilient solution would you like to have, but if this webserver would be okay for you with the monitoring solution to restart the webserver, then I would be glad to share it after I brought it to a semi-finished state. Moszi
#5
Posted 11 November 2011 - 11:30 PM
Not necessarily. I saw 2 projects just today.... Here is an Audio Jack Modem for 2-way communication between an Arduino and an iPhone/Android via the headphone jack. (with source code available, I believe)
You could also talk to the iPhone via the dock connector via a USB host, which is much easier now thanks to the feature SDK but still a lot harder than it should be. And that's not even considering the Wi-Fi and Bluetooth options.
#6
Posted 18 November 2011 - 02:07 AM
Thanks for offering your assistance!
I’m trying to create a device that could monitor temperature and humidity in an area like a switch closet. Not only would I be able to collect the data from its sensors, but I could control the HVAC systems that affect it. A preferred example would be something that would involve the Netduino receiving a signal from a sensor that registers a value. Pass this to the main pc based program and have it recognize the value in a windows based form or website. How do these two best communicate? Please show how to send data between the two and I’ll figure out the rest. C# across the board is great for me, but I’ll take anything that runs in Visual Studio. I’ll need to send values both directions. Thanks so much!!
#7
Posted 18 November 2011 - 10:56 PM
If I understand correctly, you would like to send some values to your computer having your device connected directly to it ? If so, than the "Driverless PC <-> Netduino communication using USB" article might be what you are looking for ![]()
#8
Posted 19 November 2011 - 02:59 PM
That's exactly what I was looking for - Thanks!! 0 user(s) are reading this topic0 members, 0 guests, 0 anonymous users | ||||||||||||||
![]() |
||||||||||||||
![]() |
|
![]() |
||||||||||||
![]() |
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ![]() |
||||||||||||
![]() |