Pixy2 Smart Vision Sensor
The Pixy2 camera can do simple object detection and line tracking. Data can be communicated to connected devices over I2C, SPI or UART.
Last updated
The Pixy2 camera can do simple object detection and line tracking. Data can be communicated to connected devices over I2C, SPI or UART.
Last updated
Pixy2 is smaller, faster and more capable than the original Pixy. Like its predecessor, Pixy2 can learn to detect objects that you teach it, just by pressing a button. Additionally, Pixy2 has new algorithms that detect and track lines for use with line-following robots. The new algorithms can detect intersections and “road signs” as well. The road signs can tell your robot what to do, such as turn left, turn right, slow down, etc. And Pixy2 does all of this at 60 frames-per-second, so your robot can be fast, too. -- PixyCam homepage
Pixy2 is a small camera with an NXP LPC4330 microcontroller that is able to do simple object detection and line tracking. It can be connected to all kinds of devices. Its software is available under an opensource license and extensive documentation is available. More information is available on the PixyCam website.
The PixyCam website has a wiki with extensive documentation. It includes many guides and tutorials and additional information for using the Pixy2. Make sure that you are using the Pixy2 documentation, not the documentation for previous version of the Pixy.
A basic port of the Pixy library for Arduino was made for PX4/NuttX. This code allows you to connect the Pixy2 through I2C or SPI to the FMUK66. It provides a simple interface to access the data coming from the Pixy2 in your own PX4 modules.
The code is available under the NXP HoverGames GitHub: