STM32CubeIDE Course for beginners, stm32f103c8t6, STM32 CubeIDE #stm32cubeIDE

preview_player
Показать описание
STM32 CubeIDE Course for beginners

Welcome to my STM32 CubeIDE Course specifically designed for Beginners. In this course, we will take a step-by-step approach to ensure that you gain a solid understanding of how to use CudeIDE for programming the STM32 Microcontroller.

Throughout this course, I will be using the most popular STM32F103C8T6 microcontroller board which is also known as Blue Pill, and for uploading the programming I will use the ST-Link V2.

Altium Designer: For Schematic and PCB designing

Altium 365:

Octopart, components search engine:

Download codes and circuit diagrams:

Related Videos:
STM32 with Arduino IDE, Bootloader

STM32 and DHT11, Arduino IDE

STM32 and LoRa, Arduino IDE

STM32 LoRa and ESP8266 Gateway

5V Power Supply for STM32

Support me on Patreon and get access to hundreds of projects:

Subscribe to my New YouTube Channel, if you want to watch my videos in Hindi/Urdu

Project Description:
********************
Since, this course is for the absolute beginners, so, I will try my level best to explain each and every detail including,

1. STM32 Blue Pill Board Technical specifications and Pinout.
2. What is CubeIDE? and
3. How to Download and Install STM32CudeIDE.

After covering the most basic things then I will practically show you, how to use the most commonly used electronics components with the STM32. Since this course is for the beginners, so first I will start with the easiest example which is controlling the STM32 onboard LED.

Then in the 2nd example, I will show you how to connect and control external LEDs. These LED blinking examples will help you in understanding; how to turn ON and turn OFF any GPIO pins on the STM32.

In 3rd example, I will show you, how to read a digital input on any GPIO pin of the STM32; for this, I will use a Pushbutton. We will be reading and controlling both at the same time. The STM32 board will sense the button click and then accordingly will turn ON or turn OFF the LED.

In 4th example, I will show you how to interface an I2C supported 16x2 LCD. This is one of the most commonly used LCDs; We will simply print the Hello World text message on the LCD module.

In the 5th example, I will show you how to use an analog sensor with the STM32 and display its value on the I2C supported 16x2 LCD. For demonstration purposes, I will be using a Potentiometer as the analog sensor. After understanding this example then you would be able to use all types of Analog sensors, like for example, LDRs, Flex Sensors, Force Sensors, etc. There is a long list of the Analog Sensors.

In the 6th example, I will show you how to connect an I2C Supported Oled display module with the STM32. I will write a very basic program to print some text on the Oled display module. This is really an important example because in most of the projects you will need an Oled display module to print text messages and sensor values.

In 7th example, I will explain how to make a simple distance measurement system using the most popular HC-SR04 Ultrasonic Sensor. We will simply measure the distance and then print it on the i2c supported SSD1306 Oled display module.

********************

Amazon Purchase links:
*****************
STM32 Blue Pill Board

SSD1306 Oled Display Module

HC-SR04 Ultrasonic Sensor

Push Button

I2C supported 16×2 LCD

Other must-have Tools and Components:

Arduino Uno, Nano, Mega, Micro "All types of Arduino Boards":

Top Arduino Sensors:

Top Oscilloscopes

3D printers:

CNC Machines:

DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I will receive a small commission. This helps support the channel and allows me to continue to make videos like this. Thank you for your support!
****************
For more Projects and tutorials visit my Websites

Electronic Clinic:

Programming Digest:

Follow me on Instagram:

Follow my Facebook Page Electronic Clinic:

Follow my Facebook Group, Arduino Projects:

Email:

#stm32cubeide #stm32 #altiumdesigner
Рекомендации по теме
Комментарии
Автор

11:19 #1 blink onboard LED
17:11 #2-1 control external LED
20:35 #2-2 Multiple External LED
21:30 #3 read a digital input
26:47 #4 I2C16x2LCD
31:47 #5 Analog Sensor
34:26 #6 SSD1306OLED
34:26 #7 HC-SR04 Ultrasonic Sensor

thomasleftwite
Автор

Great video! Thanks. One suggestion:

When you say “…select SYS then click on Debug and select Serial Wire…” you should also explain why. And I’m referring to all areas of the video where you say “… click on this then select that…” It would be extra beneficial to know why.

RobertSmith-wjzf
Автор

This is very underrated. You really make it simple to understand!

rubenstenlund
Автор

In my case I just had to change the debugger setting to ST-LINK GBD Server and upload the programs with the proggraming pin jumper set to 1 and after uploading the program just returning the pins jumper to 0 so the programs doesn't get erased as soon as device is powered off. Thank you for making me be able to use 10 microcontrollers I bought for 6€ on aliexpress 3 years ago.

gainados
Автор

Great video! I have used the STM32 with the Nucleo boards before, but this is my first time trying out the STLink V2 dongle. It worked!

icollided
Автор

Thank your for making this video, it means a lot to me.

Vishalkumar-ezxy
Автор

Excellent explanation and video, many THANKS. Hope you make more video about STM32 projects with Arduino IDE.

vijaysulakhe
Автор

Hello thank you for good video.
I am wondering on stm32 board there are boot 0, 1 pins. I saw some vidoe there are not working without connecting boot 0 pin to 3.3v. But in your video it working. How is it possible? And boot 0, 1 pin is not that important to make code and any projects? Only need bootloader code?

Thamk you so much. Have a good day

Luna-dcru
Автор

Hi
Why uart sends data reversed
For example
If I want to send
1139(ascii) = 0473(hex)
When uart sends data i have
7304(hex) in my computer
How I can prevent this?

Dreamleaguemoments
Автор

Is it necessary to connect the STM32 with ST-Link only? why can't we connect the board using a USB cable like Arduino Nano?

PRIYATHARSHINIMARUTHAVANAN
Автор

I want to learn more programming about

shashikantnikam
Автор

I could connect battery 3v to stm32 or will be not working?

City__Walker
Автор

At 14.34 minutes into the video I found that using OpenOCD for the debug probe does not automatically reset the target hardware (Blue Pill) the STLink has to be unplugged from the computer and replugged as shown in the video, BUT switching to the ST-Link GDB Server does reset the target and start the downloaded code running - much better:) This method does use the STM32CubeProgrammer software so probably this has to be installed beforehand, but it is a free download from STM.

Steven_Bennett_YT
Автор

I made project OLED but it is NOT work. OLED is NOT turn on light. I unable to solve it.

cs_mcudsp
Автор

why do you have to program it with an ST-Link when it has a usb port?

NghtRder
Автор

Can please explain the code, new to hal

PranavVibhute-zi
Автор

Moore Nancy Thompson Daniel Young Linda

NeelesPolash
Автор

Dude we are beginners and know nothing about the board. Reading for us what all the pins CLEARLY SAY is the same as saying "blah blah blah and blah blah blah blah and blah". Tell us how to use it!

....ten minutes in and you're telling programmers how to download and install a program.... sigh... moving on.

MicahJKelly
Автор

If you are going to name this course "STM32CubeIDE Course for beginners" dont be spending over 15 minutes on things unrelated to the program. If I wanted board info I would look for a dedicated video. The majority of this video wastes much time. You are massively regulating your audience by focusing this video around one board, and its also making this video massively prone to becoming outdated.

WhatsTheWordBozo
visit shbcf.ru