STM32CubeIDE Course for beginners, stm32f103c8t6, STM32 CubeIDE
Вставка
- Опубліковано 3 жов 2024
- 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
www.altium.com...
Altium 365:
www.altium.com...
Octopart, components search engine:
octopart.com/
Download codes and circuit diagrams:
www.electronic...
Related Videos:
STM32 with Arduino IDE, Bootloader
• STM32 Bootloader, STM3...
STM32 and DHT11, Arduino IDE
• STM32 and DHT11 Librar...
STM32 and LoRa, Arduino IDE
• Lora SX1278 and STM32 ...
STM32 LoRa and ESP8266 Gateway
• ESP8266 Lora Gateway f...
5V Power Supply for STM32
• Power Supply For Ardui...
Support me on Patreon and get access to hundreds of projects:
/ electroniclinic
Subscribe to my New UA-cam Channel, if you want to watch my videos in Hindi/Urdu
/ @letsgetstartedd
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
amzn.to/43EzaRX
SSD1306 Oled Display Module
amzn.to/3KaE0PL
HC-SR04 Ultrasonic Sensor
amzn.to/3Q8wsko
Push Button
amzn.to/43DRjz9
I2C supported 16×2 LCD
amzn.to/43FydZE
Other must-have Tools and Components:
Arduino Uno, Nano, Mega, Micro "All types of Arduino Boards":
amzn.to/3fk5OTi
Top Arduino Sensors:
amzn.to/3vZbnfM
Top Oscilloscopes
amzn.to/3ctF3d8
3D printers:
amzn.to/3ruG1dt
CNC Machines:
amzn.to/3cuZWVv
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:
www.electronic...
Programming Digest:
programmingdig...
Follow me on Instagram:
/ electroniclinic
Follow my Facebook Page Electronic Clinic:
web.facebook.c...
Follow my Facebook Group, Arduino Projects:
/ 190031841821771
Email:
stu_engineering@yahoo.com
#stm32cubeide #stm32 #altiumdesigner
This is very underrated. You really make it simple to understand!
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.
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
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!
AHH! Thank you for this video!
Thank your for making this video, it means a lot to me.
Excellent explanation and video, many THANKS. Hope you make more video about STM32 projects with Arduino IDE.
Kindly do not use background music
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.
Great content, as usual!
Thanks buddy
I want to learn more programming about stm32.......
very well explained
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?
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?
Cut the music it’s distracting
I could connect battery 3v to stm32 or will be not working?
Excuse but what version you used?
I made project OLED but it is NOT work. OLED is NOT turn on light. I unable to solve it.
Check your version of the OLED display.
GM009605v4
Can please explain the code, new to hal
why do you have to program it with an ST-Link when it has a usb port?
You need a special bootloader to use the usb port and it just gets unneccesarily complicated
Is there an explanation or tutorial for that method? Program it directly, for some reason every time I connect it to my PC it says unrecognized USB device@@rubenstenlund
Moore Nancy Thompson Daniel Young Linda
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 soooooo 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.
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.
Stm32 mcu's are pretty damned 'deep', and often a single pin could easily take an entire video, on its lonesome... i haven't watched this yet, but a lot of comments seem pretty positive.
Still, i vet what you mean.
there's tutorials about how to setup this board for using the Arduino IDE instead, but if you're complaining about having to program with the STM32Cube IDE then you're likely gonna complain about programming for Arduino too
Telegram account