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 and open the HTML page. This is what you should see:

Testing the surveillance robot

Now, try the different buttons, and you should see that the robot reacts nearly instantly. Congratulations, you just built your own spy robot based on Arduino!

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.253.55