Git Product home page Git Product logo

basic-eve-demo-stm32's Introduction

BASIC EVE2, EVE3 AND EVE4 TEST DEMO SOFTWARE for STM32

A quick and easy sanity check to ensure that your Matrix Orbital EVE2, EVE3 or EVE4 SPI TFT Display and touch hardware works properly.

This demo was developed on an STM32-Nucleo-F104RE but should easily transfer over to other variants


Hardware Requirements:

alt text

EVE4 SPI TFT - Uses BT817/BT818 Graphics controller

https://www.matrixorbital.com/ftdi-eve/eve-bt817-bt818

OR

EVE3 SPI TFT - Uses BT815/BT816 Graphics controller

https://www.matrixorbital.com/ftdi-eve/eve-bt815-bt816

OR

EVE2 SPI TFT - Uses FT812/FT813 Graphics Controller

https://www.matrixorbital.com/ftdi-eve/eve-ft812

INTERFACING

To interface the EVE display modules with the STM32-Nucleo there are two options:

EVE2-SPI2BBC

An EVE2-SPI2BBC SPI to Bread Board Cable development Interface Kit w/ cable

This will work for most development kits and is the most flexible option to attach your EVE module to your MCU

Wiring diagram

Nucleo EVE Kit
3.3V 3.3V
GND GND
SCK/D13 SCK
MISO/D12 MISO
MOSI/D11 MOSI
PWM/CS/D10 RST
PWM/D9 CS

EVE2-SHIELD

An EVE2-SHIELD an arduino compatible shield.

(arduino not included)

NOTE: These will work with the STM Nucleo as long as external 5V power is provided on the VIN pin.

FIRMWARE

Clone this repository and open up the project in the STM32CubeIDE

Depending on the EVE module you have connected, you will need to make a small modification in main.c look for the call to FT81x_Init and adjust to parameters to fit your hardware.

  1. First Parameter : display size
Display Parameter
29 - 2.9" 320 x 102 TFT DISPLAY_29
35 - 3.5" 320 x 240 TFT DISPLAY_35
38 - 3.8" 480 x 116 TFT DISPLAY_38
39 - 3.9" 480 x 128 TFT DISPLAY_39
43 - 4.3" 480 x 272 TFT DISPLAY_43
50 - 5.0" 800 x 480 TFT DISPLAY_50
52 - 5.2" 800 x 128 TFT DISPLAY_52
70 - 7.0" 800 x 480 TFT DISPLAY_70
  1. Second Parameter : EVE Module
Generation Parameter
EVE2 BOARD_EVE2
EVE3 BOARD_EVE3
EVE4 BOARD_EVE4
  1. Third Parameter: Touch screen
Touch Panel Type Parameter
None TOUCH_TPN
Resistive TOUCH_TPR
Capcitive TOUCH_TPC

RUN THE CODE

Once properly configured, click the Play button

Play

If you have a touch screen, TPR or TPC, you will need to calibrate the touch screen by pressing the dots. After the calibration is complete, you will see Matrix Orbital with a blue circle. If you press the circle it will enlarge.

alt text alt text alt text

** SUPPORT **

Support Forums: http://www.lcdforums.com/forums/viewforum.php?f=45

basic-eve-demo-stm32's People

Contributors

hjakl avatar matrixraym 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.