Netduino & PHP communication
#1
Posted 16 March 2011 - 05:11 PM
#2
Posted 16 March 2011 - 05:37 PM
Hi,
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,
Take care,
Are you using a Netduino or a Netduino Plus?
#3
Posted 16 March 2011 - 05:51 PM
#4
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,
Mark
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users