Utilizing a TFT-LCD on STM32F4 to display ADC measurement values. The idea is to achieve kinda DMM behavior, where the multiple channels' measured values are displayed in the real time. Touchscreen would make it possible to modify and configure measurement settings. This is a first step of the bigger project for "on-the-run" configurable MCU, where you'll be able to configure MCU peripherals without flashing.
This is an educational project, so the purpose is only fun and learning.
- A NUCLEO-F411RE board with STM32F411RET6 (100 MHz SYSCLK)
- A TFT-LCD with ILI9341 driver from AliExpress, with SPI (100 MHz SCK)
LCD Board | Nucleo | STM32F411RE | |
---|---|---|---|
VCC | CN6-4 | - | 3.3V |
GND | CN6-6 | - | GND |
CS | CN5-3 | PB6 | D10, Chip Select |
RST | CN9-5 | PB5 | D4, LCD Reset |
DC | CN7-21 | PB7 | Data control |
MOSI | CN5-4 | PA7 | D11, MOSI |
SCK | CN5-6 | PA5 | D13, SCK |
LED | CN7-5 | VDD | 5V |
MISO | CN5-5 | PA6 | D12, MISO |
T_CLK | CN8-4 | PB10 | A3, Touch CLK |
T_CS | CN10-6 | PC5 | |
T_DIN | CN10-34 | PC3 | |
T_DO | CN10-22 | PC2 | |
T_IRQ | CN10-24 | PB1 |
- Standard STM32 HAL Libraries, on the fresh STM32CubeIDE
- ILI9341 Driver - I'm using an existing library from this guy
- Actually, I switched to this one; it has nice GUI.
- Display single ADC measurement
- Display multichannel ADC measurement values
- Make some cool professional font
- Multiple measurements using DMA
- Add touchscreen functionality
- Config menu options
- Calculate some statistics on touchscreen touch
- Plot some values maybe
- FreeRTOS
- Some kickas graphics, like TouchGFX or uGFX2
- ILI9341 Datasheet. Unreadable
- Adafruit Library
- PJRC reference