SIGN IN | REGISTERSign in to get more opportunities
3D PrintingPopularWide range of 3D printers and filaments!
3D PrintersHot
Filaments
Resins
Spare Parts & Upgrades
Accessories & Tools
3D Scanners
Laser Engravers
3D Pen
RoboticsTOP
Arduino
Raspberry Pi
micro:bit
Sensors
Breakout Boards
Development Tools
Communication
STEM
Displays
Wearables
Electronics
Transistor-Mosfet-Triac
Integrated Circuits
Bridge Rectifiers
Buzzer - Speakers
Fuses
Prototyping Boards
Relays
Resistors
Optoelectronics
Diodes
Mechanical Parts
Servo / Motors
Linear Motion
Build Parts
Bolts / Nuts
Pneumatic Components
Couplers
Pulleys and Belts
Actobotics
Ball Bearings
Collars/Hubs
Hardware
Project Boxes
Cooling
Power Supplies
Cables
Batteries
Wires
Switches
Terminals
Connectors
IC Sockets
Tools
Soldering Equipment
Multimeters
Hand Tools
Portable Measuring Devices
Electric Tools
Laboratory Equipment
Heatshrink
Chemical
Organization and Storage
Panel Meters
STEMEducation
Level
Platform
per Brand
BrandsAll brandsFull list of all brands in the store. Browse all brands
Promotions
Brands
Newest
On sale
+302118004320 Mon-Fri 9:30-17:30
Email [email protected]
Address
Free shipping for orders over 85€ and up to 2 kg parcels.
For orders under 85€ the shipping costs start from 2.70€.
Wide range of payment methods: Cash on delivery, Debit/Credit card, Iris, PayPal
Payments | Shipping options
This fancy optical flow sensor detects motion of surfaces in front of it, from ~80mm to infinity! It's great for DIY drone builds, and it's compatible with our new Breakout Garden HAT with SPI.
The PMW3901 is a crafty little sensor that uses a low-resolution camera and some clever algorithms to detect motion of surfaces. A great use for it is detecting and correcting for drift of a drone by looking for x/y motion of the ground below.
Connecting to your Raspberry Pi
If you're not using our Breakout Garden HAT with SPI, then this is how to connect your Optical Flow Sensor Breakout up to your Raspberry Pi. Our 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.
Here's which pins to connect between your Optical Flow Sensor Breakout and your Pi's GPIO (note that it's BCM pin numbering):
You can of course use other pins but you'll have to change them accordingly when you instantiate the sensor in your code.
Software
We've put together a Python library to use with your Optical Flow Sensor Breakout. It makes reading the x/y motion values and their magnitude really straightforward.