#2 ARM Microcontroller Tutorial - Setting Up the Prototyping Environment

  Рет қаралды 31,575

BuildYourCNC

BuildYourCNC

2 жыл бұрын

Set up your physical environment with the breadboard, STM32 chip on a 64 pin, or 48 pin breakout, and get all of the components that you will need to successfully carry out the projects in this series.
Purchase my new book: Arm Microcontroller Programming and Circuit Building Volume 1
www.amazon.com/dp-B09PHBT859/...
I recommend using the STM32CubeIDE:
www.st.com/en/development-too...
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/new...
amzn.to/3IIZlgj
Prototyping Breadboards:
newbiehack.com/categories/new...
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...
amzn.to/3Az1zf7
Trimmer potentiometers:
newbiehack.com/Categories/Pot...
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/cap...
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 multimeter that I use and the one I recommend: amzn.to/2qicUez
4561737465722045676720496e736964652e20436f6c6c656374207468656d20616c6c2e20476976656177617920736f6f6e21

Пікірлер: 116
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
Start setting up your prototyping environment if you haven't already. If you notice a motion blur in the video, I am trying 4k video for the first time and I am still learning how to use my new camera.
@domainmojo2162
@domainmojo2162 29 күн бұрын
I'm not an engineer, but I'm nearing the end of a product prototype that will be many times more cost-effective than the imported options that are available to local individuals and companies. All thanks to you! *Thank You* !
@PatrickHoodDaniel
@PatrickHoodDaniel 29 күн бұрын
Wow!! That's incredible. I am happy and proud to be of such help. Keep the momentum!
@TylerFerrara
@TylerFerrara Жыл бұрын
You are doing a true service to the education of this entire field. We are all very grateful.
@PatrickHoodDaniel
@PatrickHoodDaniel Жыл бұрын
Thanks!!
@user-bw5kw2ck8e
@user-bw5kw2ck8e 3 ай бұрын
The best course I have seen so far, thank you
@PatrickHoodDaniel
@PatrickHoodDaniel 3 ай бұрын
You're very welcome!
@spicesmuggler2452
@spicesmuggler2452 Жыл бұрын
I could tell in the first 10 seconds of your part 1 video that you are invested deeply in this. I am starting to dabble with arduinos but have to learn everything. It is so much fun i am happy i found this wonderful community.
@PatrickHoodDaniel
@PatrickHoodDaniel Жыл бұрын
Excellent!! Thank you for being a part of this community!
@Darkside13139
@Darkside13139 2 ай бұрын
Thank you very much for these series, you really make a big difference, I am an electrics and electronics engineering student and i am trying to learn as much as i can besides school, most of the videos are too complicated or too basic , your videos are the best ones i have ever watched, thank you again
@PatrickHoodDaniel
@PatrickHoodDaniel Ай бұрын
Glad you like them!
@venkateshsv7434
@venkateshsv7434 Жыл бұрын
I am personally wanted to say thank you for your avr video , which helped me to get my first job 🙏
@PatrickHoodDaniel
@PatrickHoodDaniel Жыл бұрын
Wow, I am so happy for you!!
@rihebsassi8466
@rihebsassi8466 2 жыл бұрын
I have already watched the AVR microcontroller series and it was one of the best tutorials on microcontrollers I've ever watched👏👏👏. I want to thank you Patrick for all the time and effort you're dedicating to make these tutorials. Can't wait to start the projects with you. 😊
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
Thank you!!
@pgsahoo2397
@pgsahoo2397 2 жыл бұрын
Really excited for this new tutorial series !!!
@eis3nheim
@eis3nheim 2 жыл бұрын
I'm excited and very happy about this series can't wait to get started. Thank you for the effort. You are the best.
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
Thank you for the kind words.
@iparvaizahmad
@iparvaizahmad 2 жыл бұрын
I learned a lot from your previous AVR as well as ARM series, excited about this new series. I learned a lot from you. Much much appreciated.
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
You are very welcome. Thank you for watching!
@elreypic8620
@elreypic8620 2 жыл бұрын
Man! I am really excited about this new series for ARM microcontroller. I can't wait to get started. Thanks a lot for sharing your knowledge.
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
You are very welcome. Enjoy!!
@vovanikotin
@vovanikotin 2 жыл бұрын
Your Atmega tutorials was legendary for me. I`ve learned a lot from them. Now I`m looking forward for STM32 tutorials! Thank you!
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
Thanks and enjoy!!
@rubempacelli6815
@rubempacelli6815 Жыл бұрын
Embedded Systems is not my field, I am from the Signal Processing field. But after watching your videos I got really excited about ARM microcontrollers. I hope one day build up a PCB from a bare ARM chip by using your videos as reference, just for fun. Thank you for making them available for everyone!
@mostafagaberahmed6657
@mostafagaberahmed6657 2 жыл бұрын
Really excited
@kryptocat4240
@kryptocat4240 2 жыл бұрын
Very excited
@fuzzs8970
@fuzzs8970 2 жыл бұрын
Thank you for taking the time to share your knowledge. Very interested to learn how to read those microcontrollers
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
Sure, my pleasure!
@MrLRankin2
@MrLRankin2 Жыл бұрын
Oh you've made an impact alright. I watched your entire AVI series, and applied what I learned to the PIC micro-controller. I have recently decided to program the ARM7 microcontroller in assembler and C, using CPULATOR, so I will be watching the ARM microcontroller series also, as the ARM microcontroller seems a little different. We have similar backgrounds also as I am also self taught. Keep up the great work. Thank you.
@shahzaibshamim6524
@shahzaibshamim6524 2 жыл бұрын
I learned AVR register level programming from you. That was a great series.
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
That's great. That is a great series and gets people ready to program virtually any microcontroller.
@abhishekrawat5096
@abhishekrawat5096 2 жыл бұрын
@@PatrickHoodDaniel Hey, I learned AVR register level programming from you as well, I am ready for this one as well.
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
@@abhishekrawat5096 Nice! Enjoy the new series.
@fareed1258
@fareed1258 Жыл бұрын
That is really interesting , and very helpful too . Thanks alot.
@onertan1501
@onertan1501 Жыл бұрын
Your knowledge is irrefutable. Also i want to thanks for your clear english . Go on sir...
@jimmymaracas6442
@jimmymaracas6442 11 ай бұрын
You are an excellent teacher, thank you for your efforts
@PatrickHoodDaniel
@PatrickHoodDaniel 11 ай бұрын
Thanks!
@qwertyuiop-ke7fs
@qwertyuiop-ke7fs Жыл бұрын
Looking forward to working with the kit/book
@Wesley-gu2he
@Wesley-gu2he 5 ай бұрын
I’m gunna buy your book dude
@ayushdude100
@ayushdude100 2 жыл бұрын
Sir, you are one of the most brilliant person on KZbin
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
Thank you so much.
@guzman-do
@guzman-do 2 жыл бұрын
my favorite electronics teacher
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
Thank you so much!!
@classyjohn1923
@classyjohn1923 2 жыл бұрын
I just want to say that your content is good. For me, at least, its hitting the areas, especially in the explanations that, I find, tend to be missed in many other KZbin channels or even online courses.
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
Thanks. Let me know if there is anything I can add.
@borakportlegacy3138
@borakportlegacy3138 11 ай бұрын
Thank you so much ❤
@EngCBRfire
@EngCBRfire Жыл бұрын
Your explanation is excellent
@PatrickHoodDaniel
@PatrickHoodDaniel Жыл бұрын
Thank you!!!
@khomo12
@khomo12 11 ай бұрын
Thank you!👍👍👍
@bendustin7609
@bendustin7609 Жыл бұрын
Thank you!
@MASalam-fq2lu
@MASalam-fq2lu 2 жыл бұрын
Love you bro. carry on. I learned AVR from you.
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
That's awesome!!
@advanceddigitalizationengi2875
@advanceddigitalizationengi2875 2 жыл бұрын
Good video
@billiniowa9123
@billiniowa9123 2 жыл бұрын
Just wanted to say hi. Im a retired C programmer. I do the ARM for a hobby. Great job on your video's. Kerp up tge good work. Ps: i use the stm32CubeProgrammer as my monitor system
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
Nice, thank you so much. I will take a look at the STM32CubeProgrammer. Do you ever use STM Studio or STM32CubeMonitor?
@billiniowa9123
@billiniowa9123 2 жыл бұрын
@@PatrickHoodDaniel The programmer will show all the registers and you set/reset any bits just like your source code would do, so you can see whether or not it works without any code
@yousefabdelsamie5983
@yousefabdelsamie5983 24 күн бұрын
Hi Patrick, Thank you for this series. The effort you put in is much appreciated. I just do not understand how can I can reuse the chip in another PCB if it is already soldered in the programming PCB.
@PatrickHoodDaniel
@PatrickHoodDaniel 23 күн бұрын
Thanks for the kind words. The chip in the PCB is only for prototyping and ensuring the program and circuit work correctly. It is intended as the first phase just before you go with a PCB for the real project and to go into production. The breakout PCB with the chip can be reused for a different prototype when that first project is completed.
@Baraka-yl2dp
@Baraka-yl2dp 2 жыл бұрын
Please don't forget to number your videos so that those who come in late can follow the progression accordingly.
@AKKJ420
@AKKJ420 7 ай бұрын
Thanks for the videos. I have been binge watching all your videos. I was wondering can you program/flash/debug NXP LPC - ARM based microcontrollers with ST link?
@PatrickHoodDaniel
@PatrickHoodDaniel 7 ай бұрын
You need to use open-source tools like OpenOCD (Open On-Chip Debugger) which supports a wide range of debug probes and chips. I haven't tried, but should work. It's not the standard approach.
@dev-rachid
@dev-rachid Жыл бұрын
Top👍
@saeedfili6910
@saeedfili6910 Жыл бұрын
hi there. keep up the good content. i just wanted to ask something ,how frequent are you going to upload a new session? is it on weekly basis?
@PatrickHoodDaniel
@PatrickHoodDaniel Жыл бұрын
It's variable right now as I need to make videos and fullfill for buildyourcnc.com, so I do the ARM videos at every chance I get. If I can get more traction from the ARM and electronics public, I will spend more time on it since it will be helping financially.
@intjengineering
@intjengineering 2 жыл бұрын
I have the H757 Eval Board, which I got [as a gift] a couple of months ago and am still getting to know it. There's no material (tutorials, books, etc...) for these high performance boards. I can kinda understand it - like, if you have such a board, then you should be fine with all the fundamentals, right? Haha But still. Still I will follow the series since many of the concepts apply to all STs with ARM Cores. Keep it up!
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
You will be perfectly fine with these tutorials. you can follow along, but make sure to have the reference manual ready. I use the reference manual heavily in these tutorials. If the code should work, but just confirm with the reference manual for your chip when using the register level code. The registers should mostly be the same, so for the few that m ay not be, use your reference manual.
@micah2936
@micah2936 Жыл бұрын
Thank you for making these videos. I’ve been designing PCBs which I need to mount the arduino to and if I can just remove the arduino then I can lessen my size constraints drastically. My last project I literally made a separate PCB which awkwardly mounts on the side of my project that connects with a ribbon cable just to connect 6 pins of an arduino Nano to the main PCB. I could not make one PCB with my size constraints using the arduino.
@PatrickHoodDaniel
@PatrickHoodDaniel Жыл бұрын
Excellent. I'm happy to hear you broke off of the Arduino hold. Now you are free!! Haha!
@muhammadqaisarali
@muhammadqaisarali Жыл бұрын
Amazing.. you started programing at the age of 11 or 12 years.
@PatrickHoodDaniel
@PatrickHoodDaniel Жыл бұрын
Yes.
@muhammadqaisarali
@muhammadqaisarali Жыл бұрын
@@PatrickHoodDaniel Salute Sir. It's amazing. Knowing about microcontrollers at the age of 11/12 years in 1970's is amazing. Indeed you must be at a place of advance technology.
@setter3329
@setter3329 2 жыл бұрын
hi Patrick, im fairly new to your channel, should i go back and look at your other ARM tutorials or can i start from this series.......thanks
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
You can definitely start with this series as I explain in a very detailed way so anyone can grasp the content. It doesn't hurt to watch the others in-between.
@HETRM
@HETRM 10 ай бұрын
Hello sir ...I really like your tutorial ...I am a newbie to mcu and programming I have built few Arduino projects ...I want to use st mcus in my future projects because they are cheap and I came to know they are better and faster .I am planning to use stm8 mcus ...just wanted to know is coding and ide same for STM8 and stm32?
@JohnFerrier
@JohnFerrier 2 жыл бұрын
I ordered one of your boards like 2 years ago and it arrived broken. :( But I do still appreciate your videos.
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
Hey John, That is unfortunate. Please send me an email and I will replace the board if you are still interested in following along.
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
It was fun watching your drone footage compilation. The footage was beautiful!
@JohnFerrier
@JohnFerrier 2 жыл бұрын
@@PatrickHoodDaniel really? That's awesome!! I'd love that.
@micah2936
@micah2936 Жыл бұрын
Where can I find the videos that you teach about programming the ARM chips from an STM-Link? Or J-tag
@PatrickHoodDaniel
@PatrickHoodDaniel Жыл бұрын
Here is a link to the playlist. kzbin.info/aero/PL6PplMTH29SEJhWqxhxkDKYPtw0C4mnNY
@ganeshdagadi6577
@ganeshdagadi6577 Жыл бұрын
Great series! Can I follow along with the STM32F1 blue pill?. Would you recommend learning the arduino first before coming here? Thanks.
@PatrickHoodDaniel
@PatrickHoodDaniel Жыл бұрын
Hi Ganesh, I would not recommend learning Arduino prior to this series. If you want to eventually create products that will be potentially manufactured, this series will provide the most efficient way as you are building from the bare chip rather than a development platform that you will need to pare down. Have fun and enjoy the process. Let me know if you have any questions.
@ganeshdagadi6577
@ganeshdagadi6577 Жыл бұрын
@@PatrickHoodDaniel Sure thanks. Can I follow along using any of the STM32Fxxx bluepill boards? i am not able to find a bare chip breadboard interface like the one you use in the videos.
@PatrickHoodDaniel
@PatrickHoodDaniel Жыл бұрын
@@ganeshdagadi6577 You can always get them from me. It helps me with funding these videos.
@ganeshdagadi6577
@ganeshdagadi6577 Жыл бұрын
@@PatrickHoodDaniel i thought about that but do you ship to india
@PatrickHoodDaniel
@PatrickHoodDaniel Жыл бұрын
@@ganeshdagadi6577 Yes, I ship these all over the world.
@peircedan
@peircedan 6 ай бұрын
It appears your breakout boards are not available on amazon at this time. I was only curious as to how much you were charging.
@PatrickHoodDaniel
@PatrickHoodDaniel 5 ай бұрын
Interesting. I may need to create this listing.
@mic03311
@mic03311 2 жыл бұрын
Hi many thanks for the video. The book just arrived today 😁 question: I do have several STM32 Dev board like the nucleo-l476rg and others. I guess it is fine for following along. I see the benefit of being able to attach the MCU on the breadboard but appart from that is there any advantage of not using a devkit? (Please also share the Gerber and exact STM32 version you will be using) - great work !
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
Absolutely. The Nucleo development kit is fine to use since you are using the same IDE and programming as the bare chip method. Just remember that when creating a final circuit for a potential product, you will need to determine which components on the Nucleo are relevant and necessary.
@mic03311
@mic03311 2 жыл бұрын
@@PatrickHoodDaniel can you share the physical dimensions of the breakout board and the exact chip you will be using. I will try to create mine on kicad. This should be fairly easy to implement. Thanks
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
@@mic03311 I am using the STM32F030. Don't worry too much with the specific chip though. Using the reference manual that I show in the videos will allow you to understand exactly how to program any of the STM32 chips. The breakout board is 3.44 inches (87mm) x 0.89 inches (23mm).
@mic03311
@mic03311 2 жыл бұрын
Thanks for your reply! I also wanted to mention that STM32cubemobitor is the alternative to stmstudio. I used it recently to monitor a particulate sensor. It is an interesting software.
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
@@mic03311 Good to know. I will check it out while I make the next video.
@ric2play
@ric2play 11 ай бұрын
Will the advanced kit on your website work for this new series?
@PatrickHoodDaniel
@PatrickHoodDaniel 11 ай бұрын
Absolutely!
@TheOldKid
@TheOldKid 6 ай бұрын
I looked on their site and it's possible I just overlooked it but I couldn't find just the chip.
@PatrickHoodDaniel
@PatrickHoodDaniel 6 ай бұрын
Here you go: newbiehack.com/categories/newbiehack-microcontroller-ARM-stmicro-STM32F0R6-withBreadboardInterface
@taytaycan
@taytaycan 2 жыл бұрын
Firstly congrats, I really wondering about the new video series about ARMs. I will follow it firt time, but I didn't get it, why video is freazing little?
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
Yes, I mentioned this in my pinned comment. I am still learning how to use my new camera.
@taytaycan
@taytaycan 2 жыл бұрын
@@PatrickHoodDaniel Thank you ❣ good works
@frixux
@frixux 2 жыл бұрын
Can you recommended a good book Sr
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
Yes, I just released a book not too long ago. Here is the link: amzn.to/3jameP1
@MrSami-kg5eu
@MrSami-kg5eu Жыл бұрын
i dont know if you will response or not but im new at this and i have an ATmega328P-PU PDIP-28 Microcontroller that my dad had in his drawer. can i start with that?
@PatrickHoodDaniel
@PatrickHoodDaniel Жыл бұрын
Definitely, but go to my AVR series instead.
@MrSami-kg5eu
@MrSami-kg5eu Жыл бұрын
@@PatrickHoodDaniel alright thanks alot
@ruslan.zhumabai
@ruslan.zhumabai 2 жыл бұрын
I think this will be hard to learn and to catch some necessary information than learning avr microcontrollers.
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
No, this will be easier to learn than the AVR series. The tools that STMicro provides are better than I have seen for most platforms and this will allow you to understand everything in detail. I am planning on demonstrating and instructing at a level that a 5th grader (10 year old) will be able to understand and follow as long as there is an interest and persistence in following along with every step.
@WolfgangEgger
@WolfgangEgger 2 жыл бұрын
Is there something wrong with your framerate?
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
Yes, I'm still learning how to use my new camera.
@albertsong8662
@albertsong8662 Жыл бұрын
what is ADC
@SmashDuo
@SmashDuo Жыл бұрын
Analog to Digital Converter
@dawe5961
@dawe5961 2 жыл бұрын
Y porque ese cambio tan radical de contenido?
@PatrickHoodDaniel
@PatrickHoodDaniel 2 жыл бұрын
Este es el contenido que normalmente subo. ¿Has mirado mis listas de reproducción? Todavía subo contenido relacionado con CNC también.
#345 ESP32 vs STM32: Which one is better (Bluepill)?
15:37
Andreas Spiess
Рет қаралды 235 М.
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 58 МЛН
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 30 МЛН
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 41 МЛН
бесит старшая сестра!? #роблокс #анимация #мем
00:58
КРУТОЙ ПАПА на
Рет қаралды 2,9 МЛН
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Рет қаралды 173 М.
EEPROM Memory - Store Anything - Arduino101
13:16
Electronoobs
Рет қаралды 100 М.
Arduino vs Pico - Which is the Best Microcontroller For You?
20:38
Gary Explains
Рет қаралды 284 М.
STM32 Guide #1: Your first STM32 dev board
12:12
Mitch Davis
Рет қаралды 195 М.
#5 ARM Microcontroller Tutorial - The 4 Basics to Control ALL!!
28:21
Top Fifteen Mistakes People Make When Designing Prototype PCBs
12:26
Cosplay Light and Sound
Рет қаралды 131 М.
10 steps to start AVR microcontrollers
28:53
Electronic Wizard
Рет қаралды 10 М.
Getting Started with the Black Pill Arduino STM32F4
5:25
Caleb Marting
Рет қаралды 65 М.
Закон тайги | 1 сезон | 21 серия | Без свидетелей
42:27
Лучшие детективы
Рет қаралды 889 М.
Закон тайги | 1 сезон | 21 серия | Без свидетелей
42:27
Лучшие детективы
Рет қаралды 889 М.