RA8875 driver and GUI for large displays

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
Online
User avatar
pythoncoder
Posts: 3543
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

RA8875 driver and GUI for large displays

Post by pythoncoder » Thu Aug 15, 2019 11:16 am

This repo comprises a device driver for the RA8875 and a port of my touch micro-GUI. It enables MicroPython targets to drive 4.3" and 7" touch displays via an SPI interface. It is an alternative to the original version which is based on different hardware with a parallel interface. The original version is faster thanks to the parallel interface and a highly optimised driver written by Robert Hammelrath. However it is STM specific and uses a large number of pins.

The RA8875 repo supports Adafruit hardware, namely
Controller board https://www.adafruit.com/product/1590
4.3 inch display https://www.adafruit.com/product/1591
7 inch display https://www.adafruit.com/product/2354

It is designed to be cross platform and should work (subject to RAM constraints) on any MicroPython target supporting the native and viper decorators.
Peter Hinch

Online
User avatar
pythoncoder
Posts: 3543
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Images

Post by pythoncoder » Wed Aug 28, 2019 9:01 am

My photography does not do justice to the Adafruit display hardware which is excellent.

Vertical slider controls, pushbuttons and dial displays:

Image

Assorted controls - dropdown list, listbox, rotary "potentiometer" controls and dial display:

Image

Dialog box:

Image

New widgets. Vector displays in "clock" or "compass" variants:

Image

The Textbox widget showing word wrap:

Image

Basic tab stop support:

Image

The plot module:

Image

Image
Peter Hinch

Post Reply