Cameras may be used to take holiday photos, but when integrated into robotics projects there may purpose is usually to detect objects and/or patterns. We’ve previously covered specialized computer vision camera such as the Linux based JeVois camera powered by Allwinner A33 processor, HICAT.Livera machine vision board, or STMicro STM32F7 Arm Cortex M7 powered OpenMV Cam M7 open source computer vision board.
Another popular option is PixyCam PIXY camera that was first launched via a Kickstarter campaign in 2013. The company has recently introduced an updated version, aptly named PIXY2, which can still detect objects – just faster at 60 fps-, and also includes new algorithms to detect and track lines or barcodes.
PIXY2 camera specifications:
- MCU – NXP LPC4330 dual core Arm Cortex M4/M0 @ up to 204 MHz with 264KB RAM, 2MB flash
- Image sensor – OnSemi (previously Aptina) MT9M114 1296×976 resolution with integrated image flow processor
- Lens field-of-view – 60 degrees horizontal, 40 degrees vertical
- USB – 1x micro USB port
- I/O port with UART serial, SPI, I2C, digital, analog I/O
- RC servo header for up to 2 servos
- Misc – 2x white LEDs, 1x RGB LED, 1x button
- Power Supply – 5V via USB input, or 6 to 10V unregulated input
- Power consumption – 140 mA typical
- Dimensions – 42mm x 38mm x 15mm
- Weight – 10 grams
The board can learn to detect objects that you teach it, can connect to Arduino port with provided cables, as well as Raspberry Pi, BeagleBone Black, and other Linux boards. Libraries are provided in C/C++ and Python, and the configuration utility works with Windows, Mac OS, and Linux. Both the software and hardware design are (mostly) open source with resources provided on Github.
- Detects lines, intersections and small barcodes, intended for line-following robots
- Improved 60 fps framerate
- Tracking algorithms have been added to color-based object detection
- Improved and simplified libraries for Arduino, Raspberry Pi and other controllers
- Integrated light source – The two white LEDs delivering around 20 lumens)
I first found PIXY2 in Seeed Studio, where they sell it for $59.90 plus shipping, but you’ll find the camera on other shops too, including Amazon and eBay. A Pan/Tilt2 Servo Motor Kit for Pixy2 is also sold for $29.90. For more details, visit the product page.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
|Support CNX Software - Donate via PayPal or become a Patron on Patreon|