yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
STM32-BoardCar📖
0. Get started quickly
  • 0.ReadMe
  • 1. Installation Instructions
  • 2. Version configuration
  • 3. Smart car installation video
  • 4. Precautions for use
1. Introduction to STM32 development board
  • 1. Learn about STM32
  • 2. Introduction to STM32 development board
  • 3. Development board pin assignment
  • 4. Introduction to HAL library and LL library
2. Setting up and using the development environment
  • 1. Common development tools
  • 2. STM32CubeMX Install - Use
  • 3. STM32CubeIDE Install - Use
  • 4. Common Driver Installation
  • 5. Program download and simulation
  • 6. Engineering experience and migration
3. Development board basic tutorial
  • 1. RGB searchlight (GPIO)
  • 2. Buzzer control (GPIO)
  • 3. Button control (EXTI)
  • 4. Serial communication (UASRT)
  • 5. Voltage detection (ADC)
  • 6. Internal temperature sensor(ADC)
  • 7. Independent watchdog(IWDG)
  • 8. Window watchdog(WWDG)
  • 9. Basic timer (TIM6)
  • 10. Universal Timer (TIM3)
  • 11. Advanced timers (TIM1)
  • 12. I2C Communication (IIC)
  • 13. Off-chip Flash (SPI)
  • 14. On-chip Flash (Flash)
  • 15. DMA:USART
  • 16. DMA:SPI
  • 17. DMA:I2C
  • 18. USB communication
  • 19. USB analog U disk
  • 20. FreeRTOS
4. Car expansion tutorial
  • 1. Servo control
  • 2. Basic use of ultrasonic steering gear gimbal
  • 3. Motor control
  • 4. OLED display light sensitivity value
  • 5. Infrared sensor
  • 6. Four-way tracking module
  • 7. Infrared remote control
  • 8. Ultrasonic ranging
  • 9. PS2 controller test
  • 10.K230 Vision Module
  • 11.AI voice interaction integration module
5. Robot car tutorials
  • 1. Car line patrol
  • 2. Ultrasonic follow
  • 3. Ultrasonic obstacle avoidance
  • 4. Ultrasonic obstacle avoidance (servo gimbal version)
  • 5. Infrared sensor obstacle avoidance
  • 6. Infrared remote control
  • 7. PS2 handle remote control
  • 8.K230 face tracking on PTZ
  • 9.K230 color tracking
  • 10.K230 Color Line Patrol
  • 11.K230 QR code command
  • 12.K230 machine code tracking
  • 13.K230 road sign indication action (voice)
  • 14.K230 color response (voice)
  • 15.K230 gesture control (voice)
  • 16.K230 Rock-Paper-Scissors Game (Voice)
6. Operation video
  • 1-How to install STM32CubeIDE software
  • 2-How to create Demo project
  • 3-How to download code into STM32 robot car
  • 4-How to open and compile a code file for STM32
  • 5-About IR control and Charge battery
Download
  • Code
  • SCH
  • Software File
  • STM32 Chip DataSheet
  • Installation manual
Download ZIP

Welcome to STM32-BoardCar repository

1. Learn about STM32

Learn about STM32

Learn about STM321、Initial understanding of STM322、ST official study materials3、STM32 series4、STM32 selection5、Advantages of STM326、STM32 naming method

1、Initial understanding of STM32

STM32 is: Cortex-M is used as the core, and it is packaged together through some peripherals and other combinations to become a popular 32-bit embedded processor. The STM32F1 is used for development, which is the M3 core. Cortex-M3 uses ARMv7- M architecture. The ARM architecture was designed by the British ARM company. So what is the connection between STMicroelectronics, ARM, and businesses? ARM proposed an architecture. STMicroelectronics designed the STM32 chip through the architecture provided by ARM. These merchants purchased STMicroelectronics’ STM32 chip and conducted independent secondary development, and connected it with some peripherals to make We got the STM32 development board and microcontroller products.

  • ST:STMicroelectronics is the name of a company.

  • M:The abbreviation of Microelectronics means microcontroller.

    Please pay attention to the difference between microcontroller and microprocessor.

  • 32:32bit means that this is a 32bit.

2、ST official study materials

  1. www.stmcu.org.cn :This website is a link to the ST Chinese community, which includes information on all MCUs of ST, such as: STM32F1 latest chip documentation (reference manual, data manual, errata manual, programming manual, etc.), software resources (firmware library, configuration tools, PC software, etc.), hardware resources (various official evaluation boards), etc.
  2. https://www.st.com/content/st_com/zh.html :This URL is the official link of ST. You can get the latest and most complete information about ST on the website. For beginners, it is okay to obtain ST official information from the ST Chinese community. Because the information of the ST Chinese community is generally moved from ST's official website, but if you want to find the latest STM32 information, you still have to go to ST's official website to search.

3、STM32 series

STM32 is currently divided into 5 major categories, as shown in the figure below:

image-2023022700006

4、STM32 selection

We can choose the appropriate STM32 for design according to actual needs. If our products have high performance requirements, we can choose ST's high-performance MCU. Including: F2, F4, F7, H7 and other 4 series products; if you want to achieve ultra-low power consumption, you can choose ST's ultra-low power MCU and L series products.

The STM32 series has good compatibility. As long as we can master any one of the microcontrollers, we can easily learn and use other series of microcontrollers. For example, after learning STM32F103 well, F4/F7/H7 will be easier to learn. Since the STM32F103 series was first introduced to the market, it has the most information and tutorials, and is also the most widely used in the market. Therefore, for beginners who have not been exposed to STM32, we strongly recommend learning STM32F103 first, and then learning other STM32 series.

5、Advantages of STM32

  1. Cheap price: The price of an 8-bit machine and the performance of a 32-bit machine are the biggest advantages of STM32.
  2. Has many peripherals: STM32 has many peripherals and functions, including: FMC, TIMER, SPI, IIC, USB, CAN, IIS, SDIO, ADC, DAC, RTC, DMA, etc.
  3. Rich models: The stm32 M3 core alone has hundreds of models in 8 series such as F100, F101, F102, F103, F105, F107, F207, F217, etc., with QFN, LQFP, BGA and other packages to choose from. At the same time, STM32 has also launched ultra-low power consumption, wireless application type M3 chips such as STM32L and STM32W. In addition, ST has also launched higher-performance chips such as STM32F4/F7/H7.
  4. Excellent real-time performance: 150 interrupts, 16 levels of programmable priority, and all pins can be used as interrupt inputs.
  5. Excellent power consumption control: Each STM32 peripheral has its own independent clock switch. Power consumption can be reduced by turning off the clock of the corresponding peripheral.
  6. The development cost is extremely low: the program can be downloaded through the serial port, and the corresponding emulator is also very cheap and supports JTAG&SWD debugging interface. You can use 2 IO ports to implement simulation debugging.

6、STM32 naming method

We may see other stm32 chips in the future, so what rules do their commands follow?

We can refer to the following figure for specific naming rules:

image-20231128112655009

 

Precautions for use
Introduction to STM32 development board

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文