Testing the surveillance robot

Now that we have all the elements in place, it's time to test our little surveillance robot. Note that you can grab the complete code from https://github.com/marcoschwartz/arduino-secret-agents.

Make sure that you configured the code and the hardware with the instructions from the previous sections.

Now, it's time to power your robot from the battery. Insert the battery into the robot chassis, and then plug it into the Arduino Uno DC jack input.

Then, connect the Arduino Uno 5V pin to the Vin pin of the Yun. Also connect the GND pins of the two boards together. This will ensure that the Arduino Yun will be powered as well. Don't forget to start the live video stream again after that.

Now, place your robot on the ground ...

Get Arduino: Building exciting LED based projects and espionage devices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.