shop/ buttons-switches/ dfrobot rotation sensor / rotary encoder

Use Beam Interruption for Fast Optical Detection

The Rotation Sensor Rotary Encoder Analog is a rotation sensor with analog output designed for slot sensing, encoder feedback, speed counting, and position detection. It is a practical fit for makers, students, and engineers who want reliable sensor data in embedded builds.

Key details include Supply Voltage: 3.3V to 5V; Interface type: Analog ; Size: 22x31mm (0.87x 1.2 in).

Important: Motion sensors often need calibration in software to get the best accuracy. Mounting angle and vibration can change the result.

Why you’ll love it

  • Wide voltage range from 3.3V to 5V: Wide voltage range from 3.3V to 5V
  • Key feature: Easily recognitive interfaces of sensors ("A" for analog and "D" for digital)
  • High quality connector: High quality connector
  • Easy wiring: Analog
  • Power range: 3.3V to 5V
  • Compact size: 22x31mm (0.87x 1.2 in)

Compare with similar products

Product Sensor style Standout
Rotation Sensor Rotary Encoder Analog rotation sensor with analog output Current item
Vibration Sensor Digital Gravity vibration sensor with SPI SPI interface, digital output
Rotary Encoder EC11 Module rotation sensor model EC11
Rotary Encoder Module rotation sensor with digital output digital output

What you can build

This sensor is a good fit for wheel encoders, slot sensors, paper-feed monitors, shaft counters, and motor feedback.

Starter bundles

Pair it with an Arduino-compatible board, ESP32, or Raspberry Pi, plus a breadboard and jumper wires for quick setup and testing.

Recommended add-ons

Useful add-ons include breadboards, jumper wires, displays, enclosures, and logging modules, depending on how you plan to power, mount, and log the sensor.

Technical specifications

Product Rotation Sensor Rotary Encoder Analog
Interface type Analog
Supply Voltage 3.3V to 5V
Size 22x31mm (0.87x 1.2 in)
Interface Analog and digital
Category position angle displacement speed acceleration sensors

Wiring & usage notes

Many modules in this style expose both analog and digital pins. Use the analog pin for raw readings and the digital pin for threshold-based switching, if available. Motion sensors often need calibration in software to get the best accuracy. Mounting angle and vibration can change the result.

What’s in the box

1 × Rotation Sensor Rotary Encoder Analog

Frequently Asked Questions

What does the Rotation Sensor Rotary Encoder Analog measure? It is designed to measure motion, tilt, rotation, or orientation.
Can I use it with Arduino, ESP32, or Raspberry Pi? Yes. It is well suited for common maker and embedded platforms, as long as you power it at the correct voltage and match the signal level to your controller.
How do I connect this Analog and digital sensor? This module may provide both analog and digital outputs, depending on how you wire and read it.
Does it need calibration? Usually yes. Motion sensors often benefit from software calibration to improve offset, drift, and orientation accuracy.
Is it good for prototyping? Yes. It is a practical choice for learning, proof-of-concept builds, and small automation projects.

Build with this board

// from learn.circuit.rocks

Notes from the bench

// from blog.circuit.rocks

Ask the community

// from forum.circuit.rocks