Wireless control-need help

I want to learn how to communicate wirelessly, particularly using WiFi. The aim is to achieve an automatic lighting system(inputs from sensors like ldr, motion sensor) and a robot(input from sensors like android phone's gyroscope). Please help me get through, first step will be to be able to use WiFi.

For my WiFi needs I mostly

For my WiFi needs I mostly go to the ESP8266 module, which you can program easily in Lua or using an Arduino IDE. For more advanced stuff, when I actually need Linux, I used one of those boards based on a MIPS cpu from a WiFi router. There is a bunch of those available for quite cheap prices.

As for programming side, you probably want to learn all about sockets and maybe a little bit about the http protocol (or whatever protocol you plan to use, maybe mqtt).

links

It would be helpful of u could suggest some links… Thnks

i love these modules

~6.5$
http://www.aliexpress.com/item/NodeMcu-Lua-WIFI-development-board-based-on-the-ESP8266-Internet-of-things/32339203041.html

Programmable as an arduino. 1Mb of memory and 80MHz clock, 6-8 Gpio, 1ADC, usb to serial converter, 5v to 3.3v regulator.