3 years, 6 months ago.

STM32F411 which display to add?

I want to add a display to my STM32F411. Can somebody advise me a specific one and protocol to focus on?

You have to decide first what kind of display you want. Simplest are probably 7 segment displays which are usually a set of LEDs you use to display Digits or even Characters. These you can drive each led by connecting it to any micro digital output. Then you have alpha numeric LCD displays. These are black and white and can show one or more lines of letters and numbers. These tend to have a lot of pins and require a dedicated IC to drive them. You can buy modules that have the driver IC built in and then you connect it to your micro via some serial protocol like I2C or SPI or even uart or some other interface. You should identify a particular display you want to use and then look at the datasheet/manual for details on what kind of interface it requires.

Some mbed devboards even come with an LCD display and there is example code as well (disco L476VG for example). So that is another route to take. You could also search mbed libraries to see if there is a popular LCD driver that you could use. For example this one seems to be hugely popular and targets a particular interface IC - so if you got an LCD with that module it should work: https://os.mbed.com/users/simon/code/TextLCD/

posted by Graham S. 10 Mar 2018

1 Answer

3 years, 6 months ago.

Check out the component library for all kinds of displays: 7 segment LED, text of graphics monochrome LCDs, OLEDs, color graphics LCDs or even some more exotic displays such as VFDs. To get started a simple text LCD is probably best.

Thanks all for the advice!

posted by Twan Dieltjes 16 Mar 2018