Connecting to your robot over Wi-Fi
Lastly, we will briefly look at the possibility of connecting to your robot over Wi-Fi. Wi-Fi is an immensely powerful and versatile wireless interface with many potential applications. The way you would most commonly use it on your robot is by running a web server on your Arduino. This server serves up a web interface that you can connect to from any browser over Wi-Fi. It can display live sensor data (even camera data) or expose control interfaces. Wi-Fi is rarely the best choice of wireless interface for your robot due to its complexity. And while there are many great tools available to make using Wi-Fi easy, it is still a lot more complicated to use than any of the other interfaces we discussed so far in this chapter. However, connecting your robot to the internet is great when you need to access it from anywhere in the world – for example, if you build a home security robot that you want to control over the internet when you are away...