This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
wiki:v1:run_the_pantilt_demo [2018/01/12 22:44] jfrench [Running the demo from PixyMon] - image size |
wiki:v1:run_the_pantilt_demo [2018/01/12 22:45] jfrench [Running the demo from an Arduino] |
||
---|---|---|---|
Line 51: | Line 51: | ||
**This requires that you run the "default" Pixy program -- not the pan/tilt demo program.** The default program is the program Pixy runs upon power-up by default without pressing any buttons. You can also run the default program by selecting it in the **Actions** menu in PixyMon. | **This requires that you run the "default" Pixy program -- not the pan/tilt demo program.** The default program is the program Pixy runs upon power-up by default without pressing any buttons. You can also run the default program by selecting it in the **Actions** menu in PixyMon. | ||
- | OK, start by getting the latest Arduino-Pixy code, described [[wiki:v1:Hooking_up_Pixy_to_a_Microcontroller_like_an_Arduino|here]]. Load the pantilt demo by selecting it in **File➜Examples➜Pixy➜pantilt** in the Arduino IDE. Upload it, and as long as Pixy is running the default program, you should start seeing the pan/tilt move to track any object that matches signature 1. (Note, you'll need to [[wiki:v1:Teach_Pixy_an_object_2|teach Pixy an object]] if you haven't done so already.) | + | OK, start by getting the latest Arduino-Pixy code, described [[wiki:v1:hooking_up_pixy_to_a_microcontroller_-28like_an_arduino-29|here]]. Load the pantilt demo by selecting it in **File➜Examples➜Pixy➜pantilt** in the Arduino IDE. Upload it, and as long as Pixy is running the default program, you should start seeing the pan/tilt move to track any object that matches signature 1. (Note, you'll need to [[wiki:v1:Teach_Pixy_an_object_2|teach Pixy an object]] if you haven't done so already.) |
You can also play with the Arduino code, such as changing the proportional and derivative gains. | You can also play with the Arduino code, such as changing the proportional and derivative gains. |