top of page

LCD Display controller using STM32 with no Library Function

Updated: Dec 20, 2020

In this Project, I controlled the LCD display using STM32F446RE on the Register level with no library function.


Components:

  1. STM32F446RE as controller (link)

  2. 16x2 LCD Display (link)

  3. Breadboard(link)

  4. Jumper wires(link)

  5. Potentiometer(link)

  6. 100 ohms Resistor (link)



Hardware Part:


  1. Place the LCD display in the BreadBoard.

  2. Connect the Supply and Gnd PIN to the controllers +5v and Gnd respectively.

  3. A potentiometer can be used if required to control the contrast of the Display.

  4. We will connect the RS(Reset) pin of LCD to the PB5 of the controller

  5. Then the R/W(Read/Write) pin of LCD to the PB6 of the controller

  6. Next, the EN(Enable) pin of the LCD to the PB7 of the controller

  7. At last the data pins(D0 to D7) of the LCD to the PC0 to PC7 of the controller



Software Part:

  1. Install Keil software

  2. Connect the STM32F446RE controller and update the driver

  3. You can get the code from here

  4. You can change the contrast by varying the potentiometer.


Thanks...

67 views0 comments

Recent Posts

See All

Yorumlar


bottom of page