{"product_id":"paa5100je-near-optical-flow-spi-breakout","title":"PAA5100JE Near Optical Flow SPI Breakout","description":"\u003cp\u003eDetect motion of close-up surfaces with this Breakout Garden compatible optical navigation breakout - great for floor tracking for ground-dwelling robots!\u003c\/p\u003e\n\u003cp\u003eThe PAA5100JE sensor is used in robot vacuum cleaners and uses a low-resolution camera and some clever algorithms to detect the motion of surfaces. This sensor has a\u003cspan\u003e \u003c\/span\u003e\u003cstrong\u003esuper close range of 15-35mm\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003eso it's suitable for use with a variety of different surfaces. If you're looking for a similar sensor with a bigger range (for attaching to something like a drone) check out our\u003cspan\u003e \u003c\/span\u003ePMW3901 breakout.\u003c\/p\u003e\n\u003cp\u003eYou can use this breakout completely solder-free with any\u003cspan\u003e \u003c\/span\u003eBreakout Garden\u003cspan\u003e \u003c\/span\u003ewith an SPI slot, for ease of prototyping.\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eCheck out our full range of Breakout's and Breakout Garden's \u003c\/span\u003ehere\u003c\/p\u003e\n\u003ch2\u003eFeatures\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003ePAA5100JE-Q optical tracking sensor (datasheet)\u003c\/li\u003e\n\u003cli\u003eTwo white LEDs on-board for illumination\u003c\/li\u003e\n\u003cli\u003eFrame rate: 242 FPS (frames per second)\u003c\/li\u003e\n\u003cli\u003eRange: 15-35mm\u003c\/li\u003e\n\u003cli\u003eField of view: 42°\u003c\/li\u003e\n\u003cli\u003eMaximum speed: 1.14 metres per second (with sensor 25mm away from the surface)\u003c\/li\u003e\n\u003cli\u003e6mA typical current draw\u003c\/li\u003e\n\u003cli\u003eSPI interface\u003c\/li\u003e\n\u003cli\u003e3.3V or 5V compatible\u003c\/li\u003e\n\u003cli\u003eReverse polarity protection\u003c\/li\u003e\n\u003cli\u003eCompatible with Raspberry Pi and Arduino\u003c\/li\u003e\n\u003cli\u003eMeasurements: approx 24mm x 24.5mm x 5mm (L x W x H, including components)\u003c\/li\u003e\n\u003cli\u003ePython library\u003c\/li\u003e\n\u003cli\u003eMechanical drawing\u003c\/li\u003e\n\u003cli\u003eSchematic\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eSoftware\u003c\/h2\u003e\n\u003cp\u003eWe've adapted our PWM3901\u003cspan\u003e \u003c\/span\u003ePython library\u003cspan\u003e \u003c\/span\u003eto work with this sensor as well. It makes reading the x\/y motion values and their magnitude really straightforward. Use the following line at the beginning of your code to make sure it's set up correctly:\u003c\/p\u003e\n\u003cp\u003e\u003ccode\u003efrom pmw3901 import PAA5100\u003c\/code\u003e\u003c\/p\u003e\n\u003ch2\u003eConnecting to your Raspberry Pi\u003c\/h2\u003e\n\u003cp\u003eIf you're not using a Breakout Garden, this is how to connect your Near Optical Flow Sensor Breakout up to your Raspberry Pi.\u003c\/p\u003e\n\u003cp\u003eOur library is set up to use the front SPI slot by default: BCM 7 for CS, BCM 11 for SCK, BCM 10 for MOSI, BCM 9 for MISO, and BCM 19 for the INT pin.\u003c\/p\u003e\n\u003cp\u003eHere's which pins to connect between your Near Optical Flow Sensor Breakout and your Pi's GPIO (\u003cstrong\u003enote that it's BCM pin numbering\u003c\/strong\u003e):\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e3-5V to any 5V or 3V pin\u003c\/li\u003e\n\u003cli\u003eCS to BCM 7\u003c\/li\u003e\n\u003cli\u003eSCK to BCM 11\u003c\/li\u003e\n\u003cli\u003eMOSI to BCM 10\u003c\/li\u003e\n\u003cli\u003eMISO to BCM 9\u003c\/li\u003e\n\u003cli\u003eINT to BCM 19\u003c\/li\u003e\n\u003cli\u003eGND to any ground pin\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eYou can of course use other pins but you'll have to change them accordingly when you instantiate the sensor in your code.\u003c\/p\u003e","brand":"Pimoroni","offers":[{"title":"Default Title","offer_id":48624181674202,"sku":"piu1789685852431","price":16.74,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0824\/8318\/3834\/files\/paa5100je-near-optical-flow-spi-breakout_1.jpg?v=1789685858","url":"https:\/\/memoryfoamwear.shop\/products\/paa5100je-near-optical-flow-spi-breakout","provider":"My Store","version":"1.0","type":"link"}