DFRobot
Gravity: 360 Degree Rotary Encoder Module
This looks like a potentiometer, but it’s an encoder switch. It is a cascadable 360 ° rotary encoder switch with 20 pulses per revolution, and each pulse cor...
Get notified when back in stock
This looks like a potentiometer, but it’s an encoder switch.
It is a cascadable 360 ° rotary encoder switch with 20 pulses per revolution, and each pulse corresponds to a detent. There are LED lights set for each detent to allow users visually check the real-time status of the encoder.
For ease of use, the module is designed with I2C data output and configurable accuracy within 1~51 for every detent (set in the program). For instance, when it is set to 1, turn on one LED light by rotating 2.5 revolutions;when set to 51, then one LED light can be switched on by rotating one detent.
In order to apply to more scenarios, the encoder is equipped with cascade function that enables to control multiple output devices by occupying only one I2C interface, such as, simultaneously controlling light brightness, color, volume, speed, etc.
Use Case Diagram (Control RGB LED by three encoders)
Features
Applications
Application Field
Application Case
Specification
Documents
Shipping List
Jargon buster
Plain-language definitions for the technical terms used above.
- encoder
- An encoder is a sensor that converts the rotation or position of a shaft, knob or dial into electrical signals, reporting movement as incremental steps and direction, or as an absolute position. It is used to track how far something has turned, which matters for precise positioning, speed control, repeatable movement, or using a rotary knob as an input.
- Gravity
- Gravity is DFRobot’s plug-in connector system for sensors, motors and modules, using standard cables to reduce loose jumper wiring. It matters because Gravity-compatible parts can connect directly to these ports, while non-Gravity parts may need adapters or manual wiring.
- I2C
- I2C is a two-wire communication bus used by many sensors and small modules. It matters because several I2C devices can share the same two wires, but each device needs a compatible address and your controller must support I2C.
- Impedance
- Impedance is the total opposition a component or circuit presents to alternating current, measured in ohms, combining resistance with frequency-dependent reactance. It appears in many contexts, such as matching a speaker's impedance (for example 4 ohm or 8 ohm) to an amplifier or the input and output impedance of signal circuits, and a correct match helps avoid weak signals, distortion or damage.
- LED
- A light-emitting diode (LED) is a small electronic component that emits light when current flows through it in the correct direction. Because it only conducts one way, its polarity matters, and a through-hole LED must be soldered the correct way around to light up.
- potentiometer
- A variable resistor usually turned with a knob or shaft to create an adjustable electrical signal. It is often used for inputs such as volume, brightness or position, so it helps beginners learn how a microcontroller reads changing values.
- RGB
- Short for red, green and blue, the three primary colours of light that are mixed in varying amounts to make a wide range of colours. In electronics RGB can refer to an LED or pixel that blends these three colours, or to a colour signal or interface that carries separate red, green and blue channels.
- UART
- UART is a simple asynchronous serial interface that sends data over separate transmit and receive wires, usually labelled TX and RX, with both ends set to the same baud rate. It is a common way for microcontrollers and other serial devices to exchange data.
Find this product in
Brands
Components
Supplier page — dfrobot.com
Supplier Description · 770.0 KB · Click any page to view full size
Source Code
Open-source libraries, firmware & example projects for this product
9fde268
about 4 years ago
· 3 commits
- examples 添加产品实物图,完善readme about 4 years ago
- python 添加产品实物图,完善readme about 4 years ago
- resources 添加产品实物图,完善readme about 4 years ago
- DFRobot_VisualRotaryEncoder.cpp V1.0.0 over 4 years ago
- DFRobot_VisualRotaryEncoder.h 添加产品实物图,完善readme about 4 years ago
- keywords.txt V1.0.0 over 4 years ago
- library.properties 添加产品实物图,完善readme about 4 years ago
- LICENSE V1.0.0 over 4 years ago
- README.md 添加产品实物图,完善readme about 4 years ago
- README_CN.md 添加产品实物图,完善readme about 4 years ago
Related Tutorials
Free guides on learn.littlebird.com.au