Avinash Kumar
Published © GPL3+

Rotary Encoder with STM32 Nucleo board

This is a tutorial for the getting position of a rotary encoder, which is an incremental type of encoder.

IntermediateFull instructions provided3 hours3,340
Rotary Encoder with STM32 Nucleo board

Things used in this project

Hardware components

STM32 Nucleo-64 Board
STMicroelectronics STM32 Nucleo-64 Board
×1
Rotary Encoder with Push-Button
Rotary Encoder with Push-Button
×1
Standard LCD - 16x2 White on Blue
Adafruit Standard LCD - 16x2 White on Blue
×1
Male/Female Jumper Wires
Male/Female Jumper Wires
×1

Software apps and online services

Keil uVision
STMicroelectronics STM32Cubemx

Story

Read more

Schematics

Connection Description

Electronics components needed for this project is :-

1)16x2 alphanumeric LCD 2)STM32L476 nucleo board. 3)Bread board 4)Jumper wires. 5)One laptop with windows installed(6)Rotary Encoder. Connection of LCD and STM32L476 board are mentioned below:-

STM32L476 - LCD

GND - PIN1

5V - PIN2

NA - 2.2K resistor connected to GND

PB10 - RS

PB11 - RW

PB2 - EN

PB12 - D4

PB13 - D5

PB14 - D6

PB15 - D7

5V - PIN15

GND - PIN16

Connection of Rotary Encoder and STM32 are below

Rotary Encoder-STM BOARD

Power pin-3.3 V

GND-GND

CLK-PC1

DT-PC0

Credits

Avinash Kumar
3 projects • 5 followers
Contact

Comments

Please log in or sign up to comment.