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.
Color:
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
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!!
Todo está excelente, gracias. Con gusto, nuevamente
Es lo que esperaba, aún no los he probado, pero se ven funcionales.
Exactamente como se describe y todo funcionando perfectamente. Envío muy rápido
envío y entrega rápidos
Buena calidad. Suave a la hora de manejarlo. No lo he probado pero tienen buena pinta
Buena calidad. Entrega en 10 días.
Muy suave, aún no los he usado, pero estoy deseando probarlos.
Corresponde completamente a la descripción. Entrega rápida.
Tal como se anuncia, gracias.
Todo bien. Entrega rápida. ¡Recomiendo!
0,99 € 2,38 €
Productos relacionados
- AUUPGO, zapatos de senderismo para hombre, botines transpirables para deportes al aire libre, zapatos de agua, zapatos de escalada, zapatos acuáticos de malla, zapatillas de Trekking para mujer
- Bolsas de caza 600D, bolsa táctica pequeña para botella de agua, sistema externo Molle con cordón ajustable multifunción para exteriores, color caqui
- Ropa de seguridad para caza, chaleco táctico SWAT, chaqueta SWAT, sujetador con múltiples bolsillos, CS, accesorios de camping
- Bolsa de batería para casco táctico, funda de batería para casco rápido Airsoft, accesorios para bolsa de equilibrio de contrapeso Multicam
- Cable casco auricular civil Com II sonido recogida y reducción de ruido auriculares táctico caza garganta auriculares PTT
- Pelacables de plumas de tiro con arco, raspador de flecha, herramienta de eliminación de paletas, hoja de acero inoxidable, quitar pegamento, eje de flecha, accesorios de caza