Page 1 of 1
Using HTML Webpage to control the device?

Posted:
Mon Jan 27, 2014 11:39 am
by twd2
Hi,
I'd like to use an HTML webpage for the purpose of controlling a robot, using the Wifi Dipcortex for wireless connectivity.
Does anyone know what would be the simplest way of acquiring connectivity between the module and a webpage? Would it be best to use the Kitchensink example project as a basis and modifying it to communicate with a webpage instead of putty?
Cheers,
Tom
Re: Using HTML Webpage to control the device?

Posted:
Mon Jan 27, 2014 7:55 pm
by Carl-SolderSplash
You could use the HTTP client library on mbed, perhaps have it fetch
www.yourdomain.com/commands.txt on a timer. you could then create a php script that gives you an interface and writes commands to this file.
This method bypasses any NAT issues as your making the dipcortex fetch the data.
Re: Using HTML Webpage to control the device?

Posted:
Sun Feb 02, 2014 5:21 pm
by twd2
Thanks for the reply Carl.
I've done a little bit of googling around the topic and some sources suggest that using an HTTP Server on the mbed itself is the best way to go about it. I have absolutely no experience in this type of thing so it could be quite a challenge!
Re: Using HTML Webpage to control the device?

Posted:
Thu Feb 06, 2014 1:46 am
by peter247
I`m using about 7 different platform for my project right now, each platform as its advantages and disadvantages.
If you just want simple control of a robot etc , try looking at the flyport platform , it will not do half of the stuff which mbed will do , but having a web page with ajax control ouputs / inputs that`s flyport does best.