ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

ESP8266 Rotary Encoder move servo motor with LCD displaying angle degrees values

Rotary Encoder

Servo Motor

LCD 1602

ESP8266 Mini-Pro-D1

Автор: Electricum

Загружено: 2024-12-18

Просмотров: 107

Описание: Hardware Connections
Rotary Encoder
CLK D6 (GPIO12) Encoder pin for step detection.
DT D7 (GPIO13) Encoder pin for step direction.
SW (Button) D5 (GPIO14) Push button on the encoder (optional).
(VCC) 5V Power supply for the encoder.
GND GND Ground connection.

Servo Motor
Signal D2 (GPIO4) PWM signal for the servo.
VCC External 5V Power supply for the servo.
GND GND Ground connection (shared).

LCD 1602 i2c
SDA D2 (GPIO4) I2C data line.
SCL D1 (GPIO5) I2C clock line.
VCC 5V Power supply.
GND GND Ground connection.

How It Works

Rotary Encoder:
Turning the rotary encoder adjusts the servo angle in real-time.
The angle is constrained between 0° and 180° using constrain().

Servo:
The servo moves to the specified angle whenever the encoder is turned.

LCD Display:
The current angle is displayed in real-time on the LCD.

Code:
https://github.com/ukkokalevala/Rotar...

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
ESP8266 Rotary Encoder move servo motor with LCD displaying angle degrees values

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]