Download the Sketch
A .zip file with all of the RoboTurret Sketches can be found here.
Unzip the file and you will have a folder called
We recommend that you create a folder
RobotGeek Sketches in your Arduino user folder and put the
desktopRoboTurretV3-master in there. The rest of this guide will assume you've placed your sketches in the following folder.
Arduino -> RobotGeek Sketches -> desktopRoboTurretV3-master
This will be the same 'Arduino' folder you put your libraries and robotgeek tools in, and NOT the folder where the Arduino application is.
Edge programs and firmware are offered with limited support and documentation. They are experimental and offered 'as-is' for advanced users.
Wiring to the Sensor Shield for Vision Tracking is identical to the Test setup. You will also need to attach the webcam directly to your computer.
|Device||Pin Type||Pin #|
Arduino -> RobotGeek Sketches ->desktopRoboTurretV3-master -> roboTurret3_roboRealm ->Desktop_RoboTurret_v3_face_tracking.robo
The program should recognize human faces and do its best to track them. Lighting can be very important for this example.
Arduino -> RobotGeek Sketches -> RoboTurret v3 -> roboTurret3_roboRealm ->Desktop_RoboTurret_v3_object.robo
Double Click the Object Recognition module. Towards the bottom there is a 'Add Objects' button. Click the button and use the interface to crop an image from the camera as a object you would like to recognize. Keep in mind that rectangular objects (or rectangular crops of objects) work the best. Using objects with irregular shapes will require you to have a uniform background.