Uploaded December 2022 | Updated November 2026, 1 hour ago
Purchase my new book: Arm Microcontroller Programming and Circuit Building Volume 1
amzn.to/3LFRaU5
This video was made for my usual viewers, but if you want to get started in PCB design and schematic layout, this is for you!
My Patreon:
patreon.com/NewbieHack
Buy our new shirts and hoodies:
etsy.com/shop/BuildYourCNC
Learn how to use integrated circuit application notes to make circuits, or to add to your existing microcontroller projects.
Links to get started quickly!
Setup the software and the development environment: youtube.com/watch?v=Y5012XpqHmw
Change the Speed of the Microcontroller: youtube.com/watch?v=hNogrcE-wSI
USART Initialization Part 1:youtube.com/watch?v=1uLgqKqQD44
USART Initialization Part 2: youtube.com/watch?v=L1SMn8c5UsI
FTDI USB to Serial interface
amzn.to/3NS64XU
The full playlist for the new ARM tutorial series
youtube.com/playlist?list=PL6PplMTH29SEJhWqxhxkDKYPtw0C4mnNY
Introduction to USART:
youtube.com/watch?v=lOD4KcQ8mpY
In this video, I show how to receive a character.
All of the links below help support me at no extra cost to you.
ARM Kits: newbiehack.com/Categories/ARM
Links to the software:
STM32CubeIDE: st.com/en/development-tools/stm32cubeide.html
STM Studio: st.com/en/development-tools/stm-studio-stm32.html
STM32CubeMonitor: st.com/en/development-tools/stm32cubemonitor.html
Parts you will need in your prototyping environment:
Kits to get you up to speed quickly:
newbiehack.com/Categories/ARM
If you already have the microcontroller, here are some breakout boards to use:
64 pin - amzn.to/3rUXeiq
48 pin and others - amzn.to/3IVkC6D
STM-Link V2 Programmer:
newbiehack.com/categories/newbiehack-development_tools-prototyping-microcontroller-USB-ARM-Programmer-stlinkv2-stm32-stm8
amzn.to/3IIZlgj
Prototyping Breadboards:
newbiehack.com/categories/newbiehack-prototyping-breadboard-opaque-white
amzn.to/3o2Nh1g
Resistor Assortment Kit:
amzn.to/3H4R3ii
Solid core hook-up wire 22 AWG:
amzn.to/3IDGinA
amzn.to/3g5TKUJ
LEDs and Displays:
newbiehack.com/Categories/LCD_Displays_and_LEDs
amzn.to/3Az1zf7
Trimmer potentiometers:
newbiehack.com/Categories/Potentiometers
amzn.to/3H6q067
The Dynamixel servo I will be using in the USART videos:
amzn.to/35s3qHl
Microfarad Capacitor Assortment:
amzn.to/32BIX1G
Capacitors on Newbiehack.com:
newbiehack.com/Categories/capacitors
Electrolytic Capacitor Assortment:
amzn.to/33TtLxt
The cheap oscilloscope that I use (because it's cheap and will work all of the projects in these tutorials): amzn.to/2rSHnBa
A better oscilloscope and the one I would recommend: amzn.to/2qizK5M
The brand of the multimeter that I use and the one I recommend: amzn.to/2qicUez
#kicad #microcontroller #stm32 #tutorial #ARMMicrocontroller #uart
Purchase my new book: Arm Microcontroller Programming and Circuit Building Volume 1
amzn.to/3LFRaU5
This video was made for my usual viewers, but if you want to get started in PCB design and schematic layout, this is for you!
My Patreon:
patreon.com/NewbieHack
Buy our new shirts and hoodies:
etsy.com/shop/BuildYourCNC
Learn how to use integrated circuit application notes to make circuits, or to add to your existing microcontroller projects.
Links to get started quickly!
Setup the software and the development environment: youtube.com/watch?v=Y5012XpqHmw
Change the Speed of the Microcontroller: youtube.com/watch?v=hNogrcE-wSI
USART Initialization Part 1:youtube.com/watch?v=1uLgqKqQD44
USART Initialization Part 2: youtube.com/watch?v=L1SMn8c5UsI
FTDI USB to Serial interface
amzn.to/3NS64XU
The full playlist for the new ARM tutorial series
youtube.com/playlist?list=PL6PplMTH29SEJhWqxhxkDKYPtw0C4mnNY
Introduction to USART:
youtube.com/watch?v=lOD4KcQ8mpY
In this video, I show how to receive a character.
All of the links below help support me at no extra cost to you.
ARM Kits: newbiehack.com/Categories/ARM
Links to the software:
STM32CubeIDE: st.com/en/development-tools/stm32cubeide.html
STM Studio: st.com/en/development-tools/stm-studio-stm32.html
STM32CubeMonitor: st.com/en/development-tools/stm32cubemonitor.html
Parts you will need in your prototyping environment:
Kits to get you up to speed quickly:
newbiehack.com/Categories/ARM
If you already have the microcontroller, here are some breakout boards to use:
64 pin - amzn.to/3rUXeiq
48 pin and others - amzn.to/3IVkC6D
STM-Link V2 Programmer:
newbiehack.com/categories/newbiehack-development_tools-prototyping-microcontroller-USB-ARM-Programmer-stlinkv2-stm32-stm8
amzn.to/3IIZlgj
Prototyping Breadboards:
newbiehack.com/categories/newbiehack-prototyping-breadboard-opaque-white
amzn.to/3o2Nh1g
Resistor Assortment Kit:
amzn.to/3H4R3ii
Solid core hook-up wire 22 AWG:
amzn.to/3IDGinA
amzn.to/3g5TKUJ
LEDs and Displays:
newbiehack.com/Categories/LCD_Displays_and_LEDs
amzn.to/3Az1zf7
Trimmer potentiometers:
newbiehack.com/Categories/Potentiometers
amzn.to/3H6q067
The Dynamixel servo I will be using in the USART videos:
amzn.to/35s3qHl
Microfarad Capacitor Assortment:
amzn.to/32BIX1G
Capacitors on Newbiehack.com:
newbiehack.com/Categories/capacitors
Electrolytic Capacitor Assortment:
amzn.to/33TtLxt
The cheap oscilloscope that I use (because it's cheap and will work all of the projects in these tutorials): amzn.to/2rSHnBa
A better oscilloscope and the one I would recommend: amzn.to/2qizK5M
The brand of the multimeter that I use and the one I recommend: amzn.to/2qicUez
#kicad #microcontroller #stm32 #tutorial #ARMMicrocontroller #uart



![[OLD VERSION - SEE V3] Learn STM32 Microcontroller Programming - Full Course
Link to the new Version 3: https://youtu.be/vKyL43qXPpk
Get the kits to complete these projects here: https://buildyourcnc.com/collections/arm-stm32-microcontroller-kits
If you wish to support me and the efforts in making more content: https://buymeacoffee.com/patrickhooddaniel
Get the companion book here: https://amzn.to/49Bv8QX
Join this channel to get access to perks:
https://www.youtube.com/channel/UCC7ifdmN7ebFo-eXBUZkeiw/join
00:00 Introduction
00:04:32 Introduction to Bare Chip Microcontroller Development
00:07:36 The Prototyping Setup
00:11:19 IDE and Monitoring Software Setup
00:17:00 Getting Familiar with the STM32CubeIDE
00:19:48 Creating a Project in the IDE
00:23:23 Transferring the Program to the Microcontroller
00:26:17 Monitoring Runtime Data (STMStudio / CubeMonitor)
00:31:11 Troubleshooting 1 – Boot Pin Chip Erase
00:32:43 Troubleshooting 2 – Reset Pin Chip Erase
00:33:59 Troubleshooting 3 – AVCC Not Present
00:38:10 4 Most Important Code Instructions
00:44:12 Project 1 – LED (Hello World)
01:03:14 Project 2 – Button Input
01:19:07 Project 3 – Latching Input
01:33:06 Project 4 – LCD Interface
02:51:31 Pointers and String Construction
02:56:48 Project 5 – Integers to LCD
03:03:32 Project 6 – Floating Point to LCD
03:08:46 Project 7 – LCD Cursor Position
03:18:37 ADC Introduction
03:28:45 Project 8 – ADC Internal Temperature Sensor
03:52:35 Project 9 – Temperature Conversion
04:01:04 Project 10 – Potentiometer ADC
04:08:25 Project 11 – Timers Prescaler
04:18:31 Project 12 – Timers ARR, Direction, Center-Aligned
04:23:43 PWM Introduction
04:31:20 Project 13 – PWM
04:45:48 Project 14 – ADC Header File
04:55:03 Project 15 – ADC to PWM (RC Filter Required)
05:01:12 Project 16 – PWM LED Dimming via ADC
05:02:46 Project 17 – Hobby Servo PWM
05:20:40 Project 18 – Servo + Potentiometer
05:26:56 Interrupts Introduction
05:33:27 Project 19 – ADC Interrupt
05:47:19 Project 20 – ADC Interrupt (2 Channels)
05:57:21 Project 21 – LCD Artifact Fix
06:02:39 Project 22 – Button Interrupt
06:15:05 Project 23 – External Interrupts
06:19:39 Project 24 – Output to STMStudio
06:27:01 I2C / IIC Introduction
06:39:10 Project 25 – ADXL345 Write (I2C)
07:05:15 Project 26 – ADXL345 Read (I2C)
07:14:35 USART Introduction
07:24:38 Project 27 – 48 MHz Clock
08:01:58 Project 28 – USART Init
08:46:08 Project 29 – USART Receive Character
08:55:26 Project 30 – USART Transmit (CubeMX + HAL)
09:11:21 Project 31 – USART Interrupt TX/RX
09:27:11 Project 32 – KiCad PCB from FTDI Diagram
Get our Merch to support the channel: https://www.etsy.com/shop/BuildYourCNC [OLD VERSION - SEE V3] Learn STM32 Microcontroller Programming - Full Course](https://i.ytimg.com/vi/oD1qRFDBN74/mqdefault.jpg)






