Template: E-paper for stm32 use 1in02

From Waveshare Wiki
Revision as of 06:54, 2 September 2023 by Waveshare-admin (talk | contribs) (Text replacement - "https://www.waveshare.com/w/upload/" to "https://files.waveshare.com/upload/")
Jump to: navigation, search

STM32

Hardware Connection

Connect with the 8PIN cable, please refer to the following pinout table:

STM32 Pin Correspondence
e-Paper STM32
VCC 3.3V
GND GND
DIN PA7
CLK PA5
CS PA4
DC PA2
RST PA1
BUSY PA3

Run the Program

  • Click to download the program, then unzip it into the E-Paper_code directory and you will see the following content.

STM32 for 4.37 e-paper010.jpg

  • Use Keil to open the "epd-demo.uvprojx" in the directory of "E-Paper_code\STM32\STM32-F103ZET6\MDK-ARM".
  • Open Keil's compile toolbar (which is usually already open)

STM32 for 4.37 e-paper012.jpg

  • Select the EPD_1in02d_test target at the location shown in the picture.

E-paper stm32 cede1 1in02.jpg

  • Click to compile:

STM32 for 4.37 e-paper014.jpg

  • Make sure the appropriate burner is connected, then click LOAD to download the program to the microcontroller: