Let's now summarize what we learned in this project. What we've built in this project is a security camera that can automatically log pictures locally and to Dropbox whenever motion is detected. We also learned how to stream the video that comes from this camera live on YouTube via Wi-Fi.
The following were the major takeaways from this project:
In the first part of the project, we connected the USB camera to the Arduino Yún as well as the PIR motion sensor. We also plugged a micro SD card to the Yún so we can also record pictures locally, even if the Internet connection is not available. We also installed the required software packages for the project, such as the driver, to access the USB camera from a terminal command.
Then, we tested our hardware by checking whether the motion sensor was working properly and by making sure that we can actually take pictures using the USB camera.
Then, we built a simple application using our hardware to automatically take a picture when motion is...