This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:v2:my_arduino_isn-27t_receiving_data_from_pixy [2018/05/20 14:22] pixycam [1. Check the Arduino cable.] |
wiki:v2:my_arduino_isn-27t_receiving_data_from_pixy [2018/05/20 14:27] pixycam [5. Run the ccc_hello_world example on your Arduino.] |
||
---|---|---|---|
Line 29: | Line 29: | ||
- | ===== 4. You need to be running the "default program". ===== | + | ===== 5. Run the "ccc_hello_world" example on your Arduino. ===== |
- | The "default program" is the program that's run by default when Pixy powers up. This program detects objects and sends the corresponding information out of the SPI port to your Arduino. If you're running PixyMon and running the "Pan/tilt demo" or are in "Raw" or "Cooked" modes, no data will be send out of the SPI port. | + | Use Arduino code that is known to work. The ccc\_hello\_world example is a good, simple program for testing communications between Pixy and Arduino. |
- | + | ||
- | You will know that your Pixy is running the default program when the LED on your Pixy glows when it detects objects, or you see a black background on PixyMon with white rectangles. If the LED isn't glowing / you don't see black rectangles, either Pixy isn't detecting objects at the moment (or it hasn't been taught an object) or Pixy isn't running the "default program". | + | |
- | + | ||
- | + | ||
- | ===== 5. Run the "hello_world" example on your Arduino. ===== | + | |
- | + | ||
- | Don't run the "i2c" or "uart" examples. These are other modes of communication and won't work with the included Arduino cable. | + | |