Working example: demo-display-hx1230
HX1320 is very cheap and low power 96x72 pixel matrix LCD display. It features optional backlight and configurable contrast. The display is readable, but not great.
When I tried to use the display first time, I did not find a Rust driver
supporting it, but with the help of other drivers like
this micropython one
I was able to write my own, yet simple, but working. The driver is
now published as hx1230
crate.
MCU Board | Other | HX1230 Board | Note |
---|---|---|---|
- | GND | GND | |
- | 100R pull up | BL | Backlight |
- | VCC | VCC | |
PB13 (SCK) | GND | CLK | |
PB15 (MOSI) | GND | DIN | |
- | GND | N/C | |
PB12 | GND | CE | Chip enable |
- | 5k pull up | RST |
Notes:
- backlight can be either connected to VCC via a resistor, or driver with a PWM output
- hardware reset can be permanently inactive using a pull up resistor as the display also features software reset using a command