yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
Self-balancing Robot Car📖
00.Get started quickly
  • 01.Balance car manual
  • 02.Balancing car assembly
  • 03.Get started quickly
  • 04.Balance car interface description
  • 05.Common Problem Analysis
  • 06.Balance Car V2 Library Function Development Manual
01.Environment development
  • 01.MDK-ARM installation
  • 02.STM32CubeIDE installation
  • 03.Common driver installation
  • 04.Download the program
  • 05.MDK-ARM project usage
  • 06.Program simulation
  • 07. VSCode Installation
02.STM32 getting started course
  • 01.Project creation
  • 02.LED Control(GPIO)
  • 03.Buzzer control(GPIO)
  • 04.Button control(EXTI)
  • 05.Serial communication(USART)
  • 06.Voltage detection(ADC)
  • 07.Basic timer(TIM)
  • 08.Universal timer(TIM)
  • 09.Advanced Timer(TIM)
  • 10.I2C Communication(I2C)-OLED
  • 11.SPI communication(SPI)-2.4G handle
  • 12.Independent Watchdog (IWDG)
  • 13.Window Watchdog (WWDG)
  • 14.DMA-USART
  • 15.DMA-I2C
03.STM32 expansion course
  • 01.Battery voltage detection (ADC)
  • 02.Ultrasonic module-measuring distance (TIM)
  • 03.Motor drive+encoder (TIM)
  • 04.OLED Data-Display(I2C)
  • 05.MPU6050-Data Read (I2C)
  • 06.Bluetooth module-Data reading (USART)
  • 07.2.4G handle-Data reading (SPI)
  • 08.Tracking module-Read status (GPIO)
  • 09.CCD module-Reading data (ADC)
  • 10.Electromagnetic module-Reading data (ADC)
  • 11.K210 module-Serial communication (USART)
  • 12.Tmini-Plus lidar-Reading data (USART)
04.Robot car PID control course
  • 01.PID basic concept
  • 02.PID example analysis
  • 03.P, PI, PD controller theory
  • 04.Position PID
  • 05.Incremental PID
  • 06.Cascade PID
  • 07.Balance principle of car
  • 08.Car upright control (PD)
  • 09.Car speed ​​control (PI)
  • 10.Car steering control (PD)
  • 11.Got angle and angular velocity (DMP algorithm)
  • 12.Got angle and angular velocity (Kalman filter algorithm)
  • 13.Got angle and angular velocity(Complementary filter algorithm)
05.Robot car basic course
  • 01.Car parameter adjustment
  • 02.Ultrasonic obstacle avoidance
  • 03.Ultrasonic follow
  • 04.Bluetooth remote control
  • 05.Load balance
06.Robot car advanced course
  • 01.4-channel tracking
  • 02.4-channel tracking avoid
  • 03.2.4G handle control
  • 04.CCD tracking
  • 05.CCD tracking avoid
  • 06.Electromagnetic tracking
  • 07.K210-QR code recognition
  • 08.K210-Color line tracking
  • 09.K210-Color follow
  • 10.K210-Self learning
  • 11.K210-Number recognition
  • 12.Lidar avoid
  • 13.Lidar guard
  • 14.Lidar follow
  • 15.Lidar patrol
  • 16.Lidar wall tracking-straight line
  • 17.Lidar wall tracking-multiple walls
  • 18. DIY Automatic driving car
07.Robot car LQR control
  • Robot car LQR control
08.Circuit design
  • 01.Overall circuit design
  • 02.STM32 minimum system
  • 03.Serial port circuit design
  • 04.Power circuit design
  • 05.MPU6050 Circuit Design
  • 06.Motor drive circuit design
09.Mathematical model
  • Mathematical model
10.Expand course
  • Autonomous Driving
Download
  • APP(Android)
  • Codes
  • Hardware-Info
  • SCH
  • Software Tools
  • STM32_Chip_DataSheet
  • 3D_Model_File
  • Video_PPT
Download ZIP

Welcome to Self-balancing Robot Car repository

01.MDK-ARM installation

MDK-ARM Installation

MDK-ARM Installation1. Software Download1. Download URL2. Select product3. Fill in information4. Download the installation package2. Software installation1. Open the installation package2. Installation process-settings3. Software configuration1. Open the application2. Close the start interface3. Install the chip support package4. ARM Compiler1. Install the compiler2. Add compiler3. Verify the installation

Since MDK-ARM software is a paid software, we will only demonstrate how to install it, and will not introduce the software usage and activation in detail!

Software offline installation package path: Attachment → Software Tools

1. Software Download

1. Download URL

Keil official website: https://www.keil.com/

image-20230919192944289

2. Select product

Download Products: MDK-Arm

image-20230919193112470

3. Fill in information

image-20230919194001381

xxxxxxxxxx
This content can be filled in at will

4. Download the installation package

image-20230919193527804

2. Software installation

1. Open the installation package

  • Administrator

Open the MDK installation package as an administrator.

2. Installation process-settings

  • Next

image-20230919214029867

  • Check the agreement → Next

image-20230919214351598

  • Installation location → Next
xxxxxxxxxx
It is recommended to use the system default location

image-20230919214313891

  • User information → Next
xxxxxxxxxx
You can fill in as you like

image-20230919214625085

  • Waiting for installation

image-20230919214741781

xxxxxxxxxx
This process takes a long time
  • ULINKL driver installation

image-20230919215701566

  • Installation completed

image-20230919220011595

3. Software configuration

Install the chip package required during development

xxxxxxxxxx
Tutorial demonstrates how to install the STM32F1xx series chip package

1. Open the application

Left mouse button: Double-click the desktop "Keil uVision5" icon

image-20230920204513610

2. Close the start interface

image-20230919220506716

image-20230919221149444

3. Install the chip support package

  • Pack Installer
xxxxxxxxxx
Keil software comes with it, loading is very slow, not recommended

Installing: The download and installation progress bar is in the lower right corner of the page

image-20230919222701697

Installation completed: After the installation is completed, the update option "Up to date" will appear

image-20230919223014547

  • Official website download chip package

Official website address: https://www.keil.arm.com/devices/

Search chip package: Search for STM32F103 and click on any chip

image-20230919223834601

Download chip package: Click "STM32F1xx_DFP"

image-20230919224043372

Download the official recommended chip package

image-20230919224131229

Open chip support package: Keil.STM32F1xx_DFP.2.4.1

image-20230919224816940

Install chip support package

image-20230919225107905

xxxxxxxxxx
Since I have installed the chip support package through the "Pack Installer" option, a replacement prompt will appear during installation

Installation completed

image-20230919225731058

4. ARM Compiler

Starting from MDK5.37, the AC5 (ARMCC) compiler is no longer installed by default and needs to be installed independently.

xxxxxxxxxx
You need to open a project before you can click this option. You can use the template project provided in the document [Attachment → Source Code Summary] to operate

image-20231010095635507

1. Install the compiler

  • Unzip the compressed package

Unzip the ARMCompiler_5.zip file, the file location is under [Software-Project File] in this chapter

  • Open as Administrator

image-20231010100015606

  • Next

image-20231010100109491

image-20231010100139145

  • Modify the installation location

Installation location: Create a new ARMCC folder under the C:\Keil_v5\ARM folder and select this folder as the software installation location

image-20231010100317400

image-20231010100544648

  • Installation completed

image-20231010100614287

image-20231010100744906

2. Add compiler

The following operations involve Keil5 software, and you need to open a project; otherwise, the relevant menu options cannot be selected

  • Project management

image-20231010100940204

image-20231010101007944

  • Compiler path

Select the location you just installed

image-20231010101121730

image-20231010101158295

3. Verify the installation

If the following options appear, AC5 has been successfully installed!

image-20231010101402666

Balance Car V2 Library Function Development Manual
STM32CubeIDE 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

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文