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

4. Precautions for use

Precautions for use

Precautions for use1. Car assembly2. Development environment setupMDK-ARM(Keil uVision5)STM32CubeMX3. Program downloadNotes on serial port burning program4. Engineering experience and transplantationEngineering experienceProject transplantation5. Development board-car tutorialTutorials and code instructions

Here are some statistics and reminders on frequently asked questions!

1. Car assembly

If you only purchase a development board, you can ignore the assembly issue;

If you purchased the car package, you can install it according to the pictures in the video or tutorial!

2. Development environment setup

The tutorial uses STM32CubeIDE. Users can only read the [4. STM32CubeIDE Installation-Usage] tutorial. The installation tutorials for other software are for the comprehensiveness and completeness of the tutorial!

MDK-ARM(Keil uVision5)

MDK-ARM is a paid software. We will only introduce the installation here. As for registration and activation, you need to solve it yourself!

STM32CubeMX

STM32CubeMX is a graphical configuration interface for initializing code and peripheral configuration.

Some users prefer to use the MDK + STM32CubeMX development environment, but we will not provide corresponding technical support;
We use STM32CubeIDE software throughout the tutorial.

3. Program download

The STM32 development board car supports ST-Link and serial port programming procedures, but for users who are using STM32CubeIDE and ST-Link for the first time, it is recommended to use a Type-C data cable for the serial port programming procedure!

Notes on serial port burning program

  1. There are two Type-C interfaces on the STM32 development board: one is the serial port burning (Burn) interface, and the other is the USB communication (STM32 USB) interface; when burning the program, the interface used is the serial port burning (Burn) interface. interface.

  2. When using the serial port burning program (FlyMcu), you need to connect the Type-C data cable to the computer first, and then open the burning program, otherwise it will not be recognized (or click the search serial port option in the software after inserting the data cable);

  3. When there are multiple serial port devices, you can enter the device manager to distinguish the serial number corresponding to the STM32 development board car (plug and unplug the data cable to observe the device number that disappears and appears);

  4. The serial port burning options must be consistent with the burning pictures in the burning [6. Program download and simulation] tutorial;

  5. Common situations of burning failure:

  • Wrong selection of serial device

  • Entering BootLoader option setting error

  • The serial port is occupied by other peripherals -······

4. Engineering experience and transplantation

Engineering experience

For those who are coming into contact with our products for the first time, it is recommended to directly download the source code program to experience the functions.

The higher version of STM32CubeIDE is compatible with the lower version. When the versions of the STM32CubeMX graphical configuration interface are inconsistent, click the "Continue" option to configure.

image-20231206141010483

Project transplantation

Project transplantation is something that most DIY users will be involved in, but it requires certain development capabilities. The tutorial provided only mentions simple project transplantation!

Precautions:

If an error occurs when a header file is missing when transplanting a project by yourself, priority should be given to the header file and source file path:

  1. Each folder of the header file needs to be included;

  2. The source file only needs to contain the outer folder.

xxxxxxxxxx
Most of our routines provide interface functions for users to call directly. As for the transplantation project, we will not provide too much technical support and it is part of our own development.

5. Development board-car tutorial

For the development board and smart car tutorials, it is recommended to download our project source code first and confirm that the functions are normal before proceeding with your own development!

Frequently Asked Questions Self-Check:

  1. For the development board that does not respond after downloading the program: You can try to burn the program a few more times and press the Reset button after burning the program to restart the development board program.

  2. For abnormal functions of [5. Smart Car Experiment], priority is given to detecting hardware problems with each peripheral:

xxxxxxxxxx
For example: [5. Smart car experiment: infrared remote control] abnormal function
Download the [4. Development Board Development Course: Infrared Remote Control] code by yourself to test whether the key value of the infrared remote control printed on the serial port of the car is normal.

Tutorials and code instructions

The tutorial analyzes the common HAL library and LL library functions used in the project source code, and does not analyze all the initialization functions automatically generated by STM32CubeMX.

xxxxxxxxxx
Files that require a summary of HAL\LL library functions can be found according to the path in the tutorial.

If there is a discrepancy between the tutorial and the code, the project source code shall prevail. If you find any problems, you can report them to technical customer service in the technical communication group!

Smart car installation video
Learn about STM32

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/中文