GithubHelp home page GithubHelp logo

hongmin-mao / epd-library-stm32 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from soonuse/epd-library-stm32

0.0 0.0 0.0 8.68 MB

STM32 libraries for Waveshare e-paper series 1.54"/1.54" B/2.13"/2.13" B/2.7"/2.7" B/2.9"/2.9" B/4.2"/4.2" B/7.5"/ 7.5" B

License: GNU General Public License v3.0

C 96.37% C++ 0.33% Assembly 2.74% HTML 0.33% Makefile 0.23% D 0.01%

epd-library-stm32's Introduction

STM32 libraries for Waveshare e-paper series

STM32 libraries for Waveshare e-paper series 1.54"/1.54" B/1.54" C/2.13"/2.13" B/2.7"/2.7" B/2.9"/2.9" B/4.2"/4.2 B/7.5"/ 7.5" B

Development environment

  • Keil v5
  • STM32CubeMX
  • Library: HAL (hardware abstraction layers)

Hardware connection (EPD => STM32F103ZE)

for 1.54" B/1.54" C/2.13" B/2.7"/2.7" B/2.9" B/4.2"/4.2 B/7.5"/ 7.5" B

  • VCC -> 3.3
  • GND -> GND
  • DIN -> PA7
  • CLK -> PA5
  • CS -> PA4
  • D/C -> PA2
  • RST -> PA1
  • BUSY -> PA3

Hardware connection (EPD => STM32F103R8)

for 1.54"/2.13"/2.9"

  • VCC -> 3.3
  • GND -> GND
  • DIN -> PA7
  • CLK -> PA5
  • CS -> PA4
  • D/C -> PC7
  • RST -> PA9
  • BUSY -> PA8

How to use

  • The e-paper libraries are based on HAL and you can migrate them to other STM32 boards with STM32CubeMX.
  • The projects are built in Keil V5.
  1. open the project /stm32/MDK-ARM/epd-demo.uvprojx by Keil V5.
  2. click "Build" to compile the project.
  3. click "Download" to download the program to your target board.

How to migrate the project to other devices

  1. open the .ioc file with STM32CubeMX.
  2. set the toolchain/IDE (MDK-ARM V5 is recommended).
  3. generate source code based on user settings.
  4. open the project in the IDE.
  5. add the directories BSP/Fonts to the project.
  6. build the project and download it to your STM32 chip.
    • this project is created on STM32F103ZE but you can migrate it to your own chip, see the .ioc file.
    • for other chips, you may have to edit the epdif.h and change this line #include "stm32f1xx_hal.h" according to the target chips.

Supported models

1.54"/1.54" B/2.13"/2.13" B/2.7"/2.7" B/2.9"/2.9" B/4.2"/4.2 B/7.5"/ 7.5" B

e-paper display

epd-library-stm32's People

Contributors

soonuse avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.