LCD Name Display
by Srishti Dhoundial in Circuits > Microcontrollers
81 Views, 0 Favorites, 0 Comments
LCD Name Display

In This task we will display “YOUR NAME” on 16x2 LCD without I2C module using HAL programming.
Supplies




Supplies Required-:
- STM32 Black Pill board (STM32F401C)
- 16x2 LCD display
- Jumper wires
- Breadboard
Step Up STM32 IDE
Install STM32CubeIDE on PC and create a new project for your STM32 Black Pill board.
LCD and STM32 Connections


Pin Configuration

Assign GPIO pins for the LCD and set them as outputs.
Write HAL Code
In an STM32CubeIDE project, create code to set up GPIO pins and an LCD display. Implement functions for transmitting commands and data to the LCD. Additionally, craft a function to showcase "YOUR NAME" on the LCD screen.
Conclusion

Name will be displayed on the LCD screen; therefore We've gained proficiency in connecting a 16x2 LCD to an STM32 microcontroller, particularly the STM32 Black Pill board, without relying on an I2C module. Leveraging STM32CubeIDE and STM32CubeMX, we generated essential initialization code, followed by authoring HAL code for LCD control and text display. This fundamental expertise paves the way for diverse embedded projects utilizing STM32 microcontrollers alongside a range of peripherals.