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:porting_guide [2019/02/01 15:39] pixycam |
wiki:v2:porting_guide [2019/02/23 00:11] pixycam |
||
---|---|---|---|
Line 46: | Line 46: | ||
* analog/digital x - this will output the x value of the largest detected object as an analog value between 0 and 3.3V on pin 8. It also outputs whether an object is detected or not as a digital signal (pin 1 of the I/O connector). | * analog/digital x - this will output the x value of the largest detected object as an analog value between 0 and 3.3V on pin 8. It also outputs whether an object is detected or not as a digital signal (pin 1 of the I/O connector). | ||
* analog/digital y - this will output the y value of the largest detected object as an analog value between 0 and 3.3V on pin 8. It also outputs whether an object is detected or not as a digital signal (pin 1 of the I/O connector). | * analog/digital y - this will output the y value of the largest detected object as an analog value between 0 and 3.3V on pin 8. It also outputs whether an object is detected or not as a digital signal (pin 1 of the I/O connector). | ||
+ | * LEGO I2C - this is a special protocol for LEGO Mindstorms EV3 brick. | ||
Note, the USB interface and protocol is always enabled, while each of the interfaces above can only be enabled one at a time. | Note, the USB interface and protocol is always enabled, while each of the interfaces above can only be enabled one at a time. | ||
Line 109: | Line 110: | ||
Here's how to hook up your controller's UART to Pixy: | Here's how to hook up your controller's UART to Pixy: | ||
- | - Pin 10 ➜ your controller's ground signal | + | - Pin 6 ➜ your controller's ground signal |
- Pin 1 (UART RX) ➜ your controller's UART TX output | - Pin 1 (UART RX) ➜ your controller's UART TX output | ||
- Pin 4 (UART TX) ➜ your controller's UART RX input | - Pin 4 (UART TX) ➜ your controller's UART RX input |