yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
310 Motor📖
1.Hardware parameter
  • Hardware parameter
2.ROS robot control board tutorials
  • 3.0 ReadMe
  • 3.1 Control motor
  • 3.2 Timer got encoder data
  • 3.3 PID control robot movement
  • 3.4 4WD Robot kinematics analysis
  • 3.5 Ackerman Robot kinematics analysis
  • 3.6 Mecanum wheel kinematics analysis
3.STM32 smart car tutorials
0. Get started quickly
  • 14.Infrared sensor obstacle avoidance
  • 0. Installation Instructions
  • 1. Version configuration
  • 2. Smart car installation video
  • 3. Precautions for use
1. Introduction to STM32 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. 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. Car expansion tutorial
  • 1.Servo control
  • 2.Basic use ultrasonic servo PTZ
  • 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.Car line patrol
  • 11.Ultrasonic follow
  • 12.Ultrasonic obstacle avoidance
  • 13.Ultrasonic obstacle avoidance (servo PTZ version)
  • 15.Infrared remote control
  • 16.PS2 handle remote control
4.2-channel motor drive module tutorial
  • 2.1 Introduction of Module
  • 2.2 For STM32
  • 2.3 For Arduino
  • 2.4 For RaspberryPi
  • 2.5 For RaspberryPi Pico
  • 2.6 For jetson nano
  • 2.7 For MSPM0G3507
  • 2.8 For MSPM0G3519new
5.4-channel motor drive tutorials
Introduction and debugging
  • 0.Motor introduction and usage
  • 1.Introduction to 4-channel motor drive board
  • 2.Control command
  • 3.PC host
USART communication
  • For Arduino
  • For Jetson NANO
  • For MSPM0G3507
  • For MSPM0G3519new
  • For PICO2
  • For RDK X5
  • For RPi5
  • For STM32
IIC communication
  • For Arduino
  • For ESP32
  • For ESP32
  • For Jetson NANO
  • For MSPM0G3507
  • For MSPM0G3519new
  • For PICO2
  • For RDK X5
  • For RPi5
  • For STM32
Download
  • Motor_3D_Model_File
  • Annex_ROSRobotControlBoard
  • Annex_STM3RobotCar
  • Annex_2-channelMotorDriveModule
  • Annex_4-channelMotorDriveModule
Download ZIP

Welcome to 310 Motor repository

3. STM32CubeIDE Install - Use

STM32CubeIDE Install - Use

STM32CubeIDE installation

STM32CubeIDE installation1、Software download1.1、Software download1.2、Choosing a platform1.3、Filling in information2、Software Installation2.1、Open the installer2.2、Installation Process - Setup3、Software configuration3.1、Open the application3.2、Sign-up - Login to your account3.3、Installing the firmware package4、Software Usage4.1、New construction4.2、Chip selection4.3、Project setup4.4、Pin layout and configuration4.5、Clock configuration4.6、Project management4.7、Generate initialization code4.8、Writing the code4.9、New construction again5、Q&A5.1、Encoding format problem

The development tool used for the tutorial is the STM32CubeIDE software

1、Software download

1.1、Software download

ST office website:https://www.st.com/content/st_com/en/stm32cubeide.html

image-20231201104829607

1.2、Choosing a platform

  • platform:Windows

image-20231201104853151

1.3、Filling in information

  • Agreement of consent

image-20231201104913109

  • Filling in information

image-20231201105456821

The email address needs to be filled in accurately, and the software download link will be sent to you by email
  • Complete submission

image-20231201105525702

  • Email to download the installer

image-20230921173555796

xxxxxxxxxx
Click on the link to go to the official website, the website will automatically jump out of the software compressed package download window

2、Software Installation

2.1、Open the installer

  • Administrator

    Open the installation package as an administrator

image-20230921174506709

​x
If you open the software installation package, then you see "NSIS ERROR: error launching installer" error:

Please put the package in the path without Chinese characters

2.2、Installation Process - Setup

  • Next

image-20230921174734406

  • Agreement of consent → I agree

image-20230921174827723

  • Location of installation → Next → Install

xxxxxxxxxx
The following are recommended to use the default installation location of the software and the path does not contain Chinese characters

image-20230921175019951

image-20230921175121934

xxxxxxxxxx
Check the option to install ST-Link and J-Link drivers
  • Installing the driver

image-20230921175245637

xxxxxxxxxx
If you followed the tutorial in Chapter 2 to this point, you'll notice that the ST-Link, J-Link, and ULINK drivers are all installed
  • Waiting for installation → Next

image-20230921175518924

  • Finish

image-20230921175801203

3、Software configuration

Familiar with software options and functions.

3.1、Open the application

  • Click on Left mouse button:double-click the desktop app

image-20230921175945830

  • Choosing a workspace

image-20230921180438030

xxxxxxxxxx
You can create a new folder, the folder path can not contain Chinese characters

image-20230921180730651

3.2、Sign-up - Login to your account

image-20230921180902783

xxxxxxxxxx
Since I installed STM32CubeMX before and logged in my account on that software, the system logged in my account by default

Do not register and login accounts can refer to the "STM32CubeMX installation" tutorial

3.3、Installing the firmware package

  • Help → Manage embedded software packages

image-20230921181435546

  • Install the latest firmware package of the STM32F1 series

image-20230921181947516

xxxxxxxxxx
1. The chip firmware package cannot be installed without logging into the account

2. To install or uninstall, check the box in front of the chip firmware package. Click this option and there will be no install and uninstall options
  • Waiting to download

image-20230921182157454

  • Close the page

image-20230921182233264

4、Software Usage

STM32CubeIDE integrates STM32CubeMX functions, which can be used for pin configuration, and can be directly used for code writing and debugging.

Tips:The following are required for almost every project. Later in the Peripheral driver tutorial, we will skip the following steps and walk through the pin layout and configuration options to guide the user through the configuration.

4.1、New construction

image-20230921183202024

xxxxxxxxxx
Generally, new projects can only be built through this option when the software is used for the first time, and new projects in the later period can be referred to [9, new construction again].

4.2、Chip selection

  • Chip selection and interface

image-20230921183505357

4.3、Project setup

image-20230921183713450

xxxxxxxxxx
The default configuration is enough, and the project file name can be customized

image-20230921183800887

image-20230921184008958

image-20230921184612020

xxxxxxxxxx
The interface is the same as STM32CubeMX

4.4、Pin layout and configuration

image-20230921184726486

  • SYS

image-20230921192037669

  • RCC

image-20230921192125144

4.5、Clock configuration

image-20230921192322285

xxxxxxxxxx
refer to the options involved in the red line

4.6、Project management

  • Project

image-20230921192608898

xxxxxxxxxx
STM32CubeMX Install - Use
Common Driver Installation

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
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文