Upload it and bring up the Serial Monitor which can be found in Tools➜Serial Monitor. Next, load the “ccc_hello_world” example by selecting it in File➜Examples➜Pixy2. ZIP Library… (or if you're using an older version Sketch➜Import Library) in the Arduino IDE, and then browsing to the Arduino zip file that you just downloaded. Bring up the Arduino IDE and import the Pixy library by selecting Sketch➜Include Library➜Add. Next, download the latest Arduino library “arduino_pixy2-x.y.z.zip” here. If the cable is plugged in backwards, you won't be able to upload to the Nano, or have serial communication with it. Note: if you're using Arduino Nano, the ribbon cable faces the interior of the Nano, it doesn't exit off the side like on the Uno (pictured). OK, to get Pixy and Arduino talking to each other, use the supplied Arduino cable to connect Pixy to your Arduino. It sends block information to Arduino at 1 Mbits/second, which means Pixy can send more than 6000 detected objects per second or 100 detected objects per frame (Pixy can process 60 frames per second.) Out of the box, Pixy2 is ready to talk to an Arduino. Pixy is meant to talk to a microcontroller.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |