4.STM32 platform------- OLED
1) Preparation
1-1 STM32 expansion board
1-2 STM32 smart car
1-3 0.96 inch OLED
2)Purpose of Experimental
After the car is powered on, press the start button next to the PS2 logo on the expansion board, you will see that “亚博智能123” on the first row of the 0.96 inch OLED; “创客教育123” on the second row of the 0.96 inch OLED; “创客abc12” on the third row of the 0.96 inch OLED; three diamonds on the fourth row of the 0.96 inch OLED. As shown below.
3)Principle of experimental
This experiment uses the 0.96-inch screen. The experiment uses the SPI communication method. This module does not have a font library and needs to display the model on the molding software. It can display Chinese, English, pictures, etc.
4) Experimental Steps
4-1 About the schematic
4-1 STM32 main control board circuit diagram
4-2 0.96OLED interface
4-2 According to the circuit schematic:
D0(OLED)-----PB6(STM32)
D1(OLED)-----PB7(STM32)
RES(OLED)-----PC8(STM32)
DC(OLED)-----PC9(STM32)
CS(OLED)-----PC0(STM32)
4-3 About the code
Please see the folder named OLED in the code folder.
The code of the experiment: 4.OLED.rar
STM32 Visual Tracking Car Tutorial Overview
2.Development environment
- 2.1 Keil uVision5 install tutorial
- 2.2 Keil uVision5 create a new project tutorial
- 2.3 How to download code
3.Experimental tutorial
- STM32 Visual Tracking Car Tutorial 3.1 Light up LED
- STM32 Visual Tracking Car Tutorial 3.2 Advance
- STM32 Visual Tracking Car Tutorial 3.3 Servo control
- STM32 Visual Tracking Car Tutorial 3.4 OLED
- STM32 Visual Tracking Car Tutorial 3.5 Battery voltage detection
- STM32 Visual Tracking Car Tutorial 3.6 Color LED
- STM32 Visual Tracking Car Tutorial 3.7 Ultrasonic obstacle avoidance
- STM32 Visual Tracking Car Tutorial 3.8 Screen display font
- STM32 Visual Tracking Car Tutorial 3.9 Camera vision tracking
- STM32 Visual Tracking Car Tutorial 3.10 PS2 control car
- STM32 Visual Tracking Car Tutorial 3.11 Bluetooth control car
4. About battery
5. About installation
Download
Buy the STM32 Visual tracking robot car