STM32 example project of LCD, RS232, I2C, ADC DMA, GPIO. We will be looking at LCD menu, reading 2 Pots voltage level, buzzer alarm set , button read, the board temperature, PC temperature and time by using Python UI. This basic example is the combination of some previous videos of STM32. You may download example source codes by clicking the link below.
Connections(default):
| STM32F407 | LCD |
| PB7(I2C1_SDA) | SDA |
| PB6(I2C1_SCL) | SCL |
| 5V | VCC |
| GND | GND |
| BUZZER | |
| PD14(GPIO_Output) | IO |
| 3V | VCC |
| GND | GND |
| POT1, POT2 | |
| 3V | 1 |
| PC4(ADC1_IN14), PC5(ADC1_IN15) | 2 |
| GND | 3 |
| USB RS232 TLL | |
| PA2(USART2_TX) | Rx |
| PA3(USART2_RX) | Tx |
| <<SourceCode>> | Download |