Рет қаралды 4,099
This video provides an overview of the EC11 encoder with push button. The differences between absolute and incremental encoders are shown. Detailed explanation of how an incremental encoder works. In the video, we'll talk about the pinout of the encoder, and which of its legs are connected to where. To demonstrate how the EC11 encoder works, we will build a circuit on a breadboard, connect the encoder to the Arduino, and write a small sketch to work with it. In the sketch, we will reflect the possibility of changing the value of a variable, depending on which direction the ecoder knob is rotated in. And also we will handle the event of pressing the encoder button.
The EC11 encoder is very convenient for switching between operating modes of various devices and navigating through menu items.
Link to the sketch from the video - drive.google.com/file/d/13ZWd...
Links to electronic components from the video:
- Encoder with button - alii.pub/62nc00
0:00 Incremental encoder with EC11 button
0:32 EC11 encoder device
1:10 How encoders work
2:22 Connecting the encoder to the Arduino
2:50 Sketch for working with the encoder
5:47 Operation with encoder button