Netduino & PHP communication
Posted 16 March 2011 - 05:11 PM
Posted 16 March 2011 - 05:37 PM
I'm new to the Netduino and I'm starting a small project. I'm programming some LEDs in Visual Studio with a dim function. This all works very well. Now I want to make a website in PHP that will send data to the .NET program on the Netduino. So I can remote-access the LEDS and dim them.
I wonder how I can send data via php to the Netduino and handle it. Hope someone can help me out with this,
Are you using a Netduino or a Netduino Plus?
Posted 16 March 2011 - 05:51 PM
Posted 16 March 2011 - 07:00 PM
Sounds like you are trying to do something similar to what I have been doing with Silverlight and a simple web server with the N+. I've put a couple of posts up here which you might find useful:
I'm using both. connected via the serial ports. So i have the netduino plus so I could use the Ethernet port
I thought about creating a url in C# with all the values and I could access these values with a simple GET, but this has to be bi-directional. So that I can change settings on the php website and use them on the Netduino.
Silverlight talking to a simple web server on the Netduino
NE555 Calculator and Silverlight
You could also do a search on REST web services as there have been a few posts here which might also be useful.
Hope this helps,
To be or not to be = 0xFF
Follow @nevynuk on Twitter
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users