Quick Order Tool Pimoroni Customs New From Pimoroni
Register Login
Register Login

Delivery region

Choose your delivery region to set your pricing and currency. All prices exclude VAT and other local taxes.

/
Your order is empty
Raspberry PiPicoPimoroniAdafruitBreakoutsBadgewareSmart HomeToolsNew Popular
DisplaysCamerasLED StripsComponentsSensorsEnvironmentalRoboticsAudioRetro/ArcadeYukonFeatherTinyFXMerchandise

Departments

New Popular
Raspberry Pi
Pico
Pimoroni
Adafruit
Breakouts
Badgeware
Smart Home
Tools
Displays
Cameras
LED Strips
Components
Sensors
Environmental
Robotics
Audio
Retro/Arcade
Yukon
Feather
TinyFX
Merchandise
  • 58,698 reviews rated 4.8 out of 5!
  • Volume pricing save on larger orders
  • Credit accounts flexible payment options
  • Expert support by email or phone

Search

Filter

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

PimoroniSensors

PMW3901 Optical Flow Sensor Breakout

PMW3901 Optical Flow Sensor Breakout - 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. PMW3901 Optical Flow Sensor Breakout PMW3901 Optical Flow Sensor Breakout PMW3901 Optical Flow Sensor Breakout PMW3901 Optical Flow Sensor Breakout

Log in for trade pricing

You’ll need a trade account and be logged in to view pricing or place an order.

Accounts are available to schools and universities, businesses, and resellers of maker products.

Log in Apply for an account

Only need one or two? Buy it from our retail shop

PMW3901 Optical Flow Sensor Breakout

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.

Select an option:

  • Default Title

PMW3901 Optical Flow Sensor Breakout

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.

You can use this breakout completely solder-free with our new Breakout Garden HAT with SPI!

Features

  • PMW3901 optical flow sensor
  • Two white LEDs on-board for illumination
  • Frame rate: 121 FPS (frames per second)
  • Speed: 7.4 rad/s (radians per second)
  • Field of view: 42°
  • Range: ~80mm to infinity 
  • 6mA typical current draw
  • SPI interface
  • 3.3V or 5V compatible
  • Reverse polarity protection
  • Compatible with all models of Raspberry Pi and Arduino
  • Python library

    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.

    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):

    • 3-5V to any 5V or 3V pin
    • CS to BCM 7
    • SCK to BCM 11
    • MOSI to BCM 10
    • MISO to BCM 9
    • INT to BCM 19
    • GND to any ground pin

    You can of course use other pins but you'll have to change them accordingly when you instantiate the sensor in your code.

    Notes

    Dimensions: 24x24x5mm

    Guides & tutorials

    Customer reviews

    Trade newsletter

    Join our trade newsletter and we'll keep you up to date with new product launches.

    The Good Ship Pimoroni

    We've been designing and making electronics in Sheffield since 2012, with our own manufacturing and fulfilment under one roof.

    Our business store makes it easy to buy Pimoroni, Raspberry Pi, micro:bit, Adafruit, SparkFun and more in volume, with competitive pricing and support from people who know the products. Need something specific? Drop us a line.

    Useful links (we hope)

    How to order Quick order tool Contact our business team Pimoroni customs Our retail shop

    Pimoroni Ltd.

    Unit 1, Parkway Business Park, Parkway Drive, Sheffield, S9 4WN, United Kingdom
    Registered in England and Wales Company №: 07510759 VAT Reg №: GB140870721
    Terms & Conditions Privacy Policy