0,99 € 2,38 €

Módulo codificador rotatorio de 360 grados, placa de desarrollo de Sensor de ladrillo de KY-040 con tapa de perilla, KIT de potenciómetro DIY para Arduino, 1-10 Uds.

(Votos: 23) 287 unidades vendidas

Color:

Comprar

Descripción

Operating voltage: 5V

Pulse count in one turn: 20


The rotary encoder can count the number of output pulses in the forward direction and the reverse direction by rotation. Unlike the potentiometer, the rotation count is unlimited. With the key on the rotary encoder, it can be reset to the initial state, that is, counting from 0.


Working principle:

Incremental encoder is a rotary sensor that converts rotating displacement into a series of digital pulse signals. These pulses are used to control angular displacement. The angular displacement conversion in Eltra encoder is based on photoelectric scanning principle. The READING SYSTEM IS BASED ON THE ROTATION OF A RADIAL DIAL (CODE DIAL) CONSISTING OF ALTERNATING LIGHT AND OPAQUE Windows, SIMULTANEOUSLY ILLUMINATED VERTICALLY BY AN INFRARED LIGHT SOURCE, WHICH PROJECTS THE IMAGE OF THE CODE DIAL ONTO THE RECEIVER SURFACE. The receiver is covered with a diffraction grating, which has the same window width as the code plate. The receiver's job is to sense the changes caused by the rotation of the disc and then convert the optical changes into corresponding electrical changes. The low level signal is then raised to the high level to produce a square pulse without any interference, which must be processed by electronic circuits. The readout system is usually differential, in which two different signals with the same waveform but a phase difference of 180° are compared to improve the quality and stability of the output signal. The reading is based on the difference between the other two signals, thus eliminating interference.


Incremental encoder:

The incremental encoder gives two phase square waves with A phase difference of 90°, commonly referred to as A channel and B channel. One of the channels gives information related to the rotation speed, and at the same time, the information of the rotation direction is obtained by sequential comparison of the signals of the two channels. There is also A special signal called Z or zero channel, which gives the zero bit of the encoder. This signal is a square wave that coincides with the center line of the square wave in channel A.


Incremental encoder accuracy depends on both mechanical and electrical factors, such as grating indexing errors, disc eccentricity, bearing eccentricity, errors introduced by electronic reading devices, and optical inaccuracies. The measurement unit to determine the encoder accuracy is the electrical degree, and the encoder accuracy determines the pulse degree produced by the encoder. In the following, 360° electrical degrees are used to represent the rotation of the mechanical shaft, and the rotation of the shaft must be a complete cycle. To find out how many mechanical angles are equivalent to an electrical 360 degrees, use the following formula: electrical 360=mechanical 360°/n° pulse/revolution


Figure: Signal of A and B reversing


The encoder indexing error is expressed as the offset of two consecutive pulse waves in electrical Angle. Error exists in any encoder, which is caused by the foregoing factors. The Eltra encoder has an error of ±25 electrical angles (under any condition stated), which corresponds to a rating offset of ±7%, and a deviation of ±35 for two channels with a phase difference of 90° (electrically). The electrical degree corresponds to a rating offset of about ±10%.


UVW signal incremental encoder


In addition to the above traditional encoders, some are incremental encoders integrated with other electrical output signals. An example is the incremental encoder integrated with the UVW signal, which is commonly used for AC servo motor feedback. These magnetic pole signals generally appear in AC servo motors, and UVW signals are generally designed by simulating the function of magnetic components. In the Eltra encoder, these UVW signals are generated optically and appear as three square waves, which are offset 120° from each other. These correct signals are required for the starter to control the motor for easy starting. These UVW pole pulses can be repeated many times in a mechanical shaft rotation because they depend directly on the number of motor poles connected and are used for UVW signals for 4, 6 or more pole motors.


******************

test code:

const int interruptA=0; / / Interrupt 0 (pin 2)

const int interruptB=1; / / Interrupt 1 (pin 3)

int CLK=2; / / PIN2

int DAT=3; / / PIN3

int BUTTON=4; / / PIN4

int LED1=5; / / PIN5

int LED2=6; / / PIN6

int COUNT=0;

void setup ()

{

attachInterrupt (interruptA, RoteStateChanged, FALLING);

/ / AttachInterrupt (interruptB, buttonState, FALLING);

pinMode (CLK, INPUT);

digitalWrite (2, HIGH); / / Pull High Restance

pinMode (DAT, INPUT);

digitalWrite (3, HIGH); / / Pull High Restance

pinMode (BUTTON, INPUT);

digitalWrite (4, HIGH); / / Pull High Restance

pinMode (LED1, OUTPUT);

pinMode (LED2, OUTPUT);

Serial.begin (9600);

}

void loop ()

{

if (! (digitalRead (BUTTON)))

{

COUNT=0;

Serial.println ("STOP COUNT=0");

digitalWrite (LED1, LOW);

digitalWrite (LED2, LOW);

delay (2000);

}

Serial.println (COUNT);

}

/ / -------------------------------------------

void RoteStateChanged () / / When CLK FALLING READ DAT

{

if (digitalRead (DAT)) / / When DAT=HIGH IS FORWARD

{

COUNT;

digitalWrite (LED1, HIGH);

digitalWrite (LED2, LOW);

delay (20);

}

else / / When DAT=LOW IS BackRote

{

COUNT -;

digitalWrite (LED2, HIGH);

digitalWrite (LED1, LOW);

delay (20);

}

}



Con la garantía de:

Opiniones (20)

Opiniones de clientes que compraron este producto

Anónimo CO
12/28/2025
5/5
Variante: Color:5PCS
J***a ES
12/23/2025
5/5
Variante: Color:2PCS
G***o IT
12/23/2025
5/5
Variante: Color:2PCS
a***r MX
12/15/2025
5/5

Llegó en el tiempo estipulado por el vendedor, bien embalados, producto de calidad y a un excelente precio, ya he comprado antes y todo funcionando muy bien en prácticas escolares, el seguimiento siempre actualizado, recomiendo al vendedor. Gracias!!

Variante: Color:10PCS
D***g DE
12/13/2025
5/5

Todo está excelente, gracias. Con gusto, nuevamente

Variante: Color:2PCS
J***a PE
12/9/2025
5/5

Es lo que esperaba, aún no los he probado, pero se ven funcionales.

Variante: Color:5PCS
m***r AU
12/8/2025
5/5

Exactamente como se describe y todo funcionando perfectamente. Envío muy rápido

Variante: Color:3PCS
G***c PL
11/28/2025
5/5
Variante: Color:2PCS
Anónimo DE
11/26/2025
5/5
Variante: Color:5PCS
q***q UA
11/23/2025
5/5

envío y entrega rápidos

Variante: Color:2PCS
2***r PL
11/6/2025
5/5
Variante: Color:4PCS
t***a ES
11/5/2025
5/5

Buena calidad. Suave a la hora de manejarlo. No lo he probado pero tienen buena pinta

Variante: Color:3PCS
f***r FR
10/28/2025
5/5
Variante: Color:10PCS
Anónimo GR
10/17/2025
5/5

Buena calidad. Entrega en 10 días.

Variante: Color:3PCS
S***O ES
10/10/2025
4/5
Variante: Color:2PCS
g***r GB
10/6/2025
5/5

Muy suave, aún no los he usado, pero estoy deseando probarlos.

Variante: Color:10PCS
I***v UA
9/24/2025
5/5

Corresponde completamente a la descripción. Entrega rápida.

Variante: Color:2PCS
S***t FR
8/26/2025
5/5

Tal como se anuncia, gracias.

Variante: Color:10PCS
Anónimo PL
8/9/2025
5/5

Todo bien. Entrega rápida. ¡Recomiendo!

Variante: Color:2PCS
S***r SE
8/9/2025
5/5
Variante: Color:2PCS

0,99 € 2,38 €

Productos relacionados