Summary
Let's summarize what we did in this chapter. We learned how to connect a USB camera to the Arduino Yùn, and configure the Arduino board so that it streams video to our local Wi-Fi network. Then we created a new Android application to watch the video stream of the camera on our Android phone or tablet. Therefore, we created a simple Wi-Fi security camera based on Arduino and Android.
In the next chapter, we will do something different. We will use the gyroscope of the Android phone to control a servomotor connected to an Arduino board. We will be able to control the angle of rotation of the servomotor just by titling the Android phone.