Skip to product information
1 of 3

Use Beam Interruption for Fast Optical Detection

The Rotary Encoder Module is a rotation sensor with digital 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 Working voltage: 0 – 5V.; Interface: Digital GPIO; Size: 32 x 19 x 30 mm..

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

  • Power range: 0 – 5V.
  • Compact size: 32 x 19 x 30 mm.
  • Useful spec: Incremental Encoder.
  • Easy wiring: Digital GPIO
  • Maker-friendly build: Easy to use in prototypes, classroom projects, and custom electronics
  • Common controller support: Works well with Arduino, ESP32, Raspberry Pi, and similar boards

Compare with similar products

Product Sensor style Standout
Rotary Encoder Module rotation sensor with digital output Current item
Rotary Encoder EC11 Module rotation sensor model EC11
Rotation Sensor Rotary Encoder Analog rotation sensor with analog output analog output
Rotary Angle Sensor Grove rotation sensor with analog output analog 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 a microcontroller board, jumper wires, and pull-up or pull-down support when needed, depending on how you plan to power, mount, and log the sensor.

Technical specifications

Product Rotary Encoder Module
Model KY-040.
Working voltage 0 – 5V.
Size 32 x 19 x 30 mm.
Type Incremental Encoder.
Weight 10 gm.
Material PCB + Brass.
Cycles per revolution (CPR) 20.
Interface Digital GPIO

Wiring & usage notes

Connect power and ground, then wire the output pin to a digital GPIO input. Check whether the module uses active-high or active-low logic in your code. 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 × Rotary Encoder Module

Frequently Asked Questions

What does the Rotary Encoder Module 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 Digital GPIO sensor? This sensor provides a digital switching-style signal that is easy to read from a GPIO pin.
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.

Rotary Encoder Module w/ Push Button - KY-040 Compatible

Rotary Encoder Module w/ Push Button - KY-040 Compatible

42 in stock

Product Code

SKU:AC093

Regular price ₱ 45.00
Regular price Sale price ₱ 45.00
Sale Sold out
View full details

Related Post