STM32 Guide #1: Your first STM32 dev board

Поделиться
HTML-код
  • Опубликовано: 26 сен 2024

Комментарии • 817

  • @roldanmarco1856
    @roldanmarco1856 3 года назад +10

    I'm looking for starter tutorials on STM32 and now I found it. Please continue this series.

    • @raul0ca
      @raul0ca 2 года назад

      Digikey has some good videos. Not that you can buy any from them haha

  • @mientuspug3406
    @mientuspug3406 3 года назад +7

    I was using STM32F4 at work a long time ago. Now I forgot most of my knowledge so I'm very happy to learn it again from your tutorials.

  • @southgrove
    @southgrove 2 года назад +29

    Sometimes you really get lucky and find exactly what you're looking for, this was so perfect.
    I'm interested in STM32 and I didn't really know where to start, now I know.
    Thanks. :)
    Regards
    New subscriber

  • @aviv931
    @aviv931 2 года назад +17

    One of the best tutorials channels! i wish there were more videos like that.
    thank you for the quality content mitch!

  • @partial_
    @partial_ 2 месяца назад

    Insanely well made tutorial. Your channel deserves several times more subscribers.

  • @SeniorAsJunior
    @SeniorAsJunior Год назад +3

    Apart from the fact that I am going back in time about 30 years, at the beginning of my professional career and then I followed other paths according to local job opportunities and I moved away from Hardware.
    Now Taking advantage of the fact that I am already beginning my retirement and resuming as a hobby the MCUs and perhaps some freelance jobs.
    Thank you very much, a great presentation regarding the ARM/STM32 MCUs, it clarified everything regarding this line of MCUs and it helped me a lot to decide to buy the development board and an associated book. And I look forward to seeing the rest of your videos. Very outstanding presentation. ;-)

  • @picklerix6162
    @picklerix6162 2 года назад +24

    The ST-Link is for programming and debugging. If you snap the ST-Link off of your Nucleo board, the main board will probably not work because the ST-Link and the processor share an oscillator. Please note the missing oscillator on the Nucleo board which you will probably have to populate if you separate the two boards. BTW, I recommend the Black Pill based off of the STM32F411.

    • @justinc2633
      @justinc2633 10 месяцев назад

      so it wouldnt default to to the internal oscillator?

    • @photoniccannon2117
      @photoniccannon2117 9 месяцев назад

      I just bought a few black pill boards to play around with. Looking forward to messing around with them.

    • @f4ru
      @f4ru 17 дней назад

      Does the black pill still require the st-link ?

  • @electronicsprojects-gc8mg
    @electronicsprojects-gc8mg Год назад +3

    This was an absolute god mode amazing tutorial and guide video on this complex STM32 topic. Huge thanks man. Never gunna forget.

  • @aakarsh12
    @aakarsh12 2 месяца назад

    Top tier guide! Going with the blue pill because of its form factor and popularity, will be integrating it into a project.

  • @cyclpsrock
    @cyclpsrock 3 года назад +1

    I wish this video had existed before I bought my first STM32!! Enjoying this channel

  • @MactheGeek
    @MactheGeek 8 месяцев назад +1

    Thanks for such an outstanding video tutorial series Mitch! Like everyone else, I am looking forward to your next videos, as your schedule permits. Keep up the great work!

  • @mibo8130
    @mibo8130 3 года назад +8

    Great video that came at the right time for me!
    I previously worked on Microchip PIC32 controllers, but not really sure if there will be further developments based on this architecture - so time to look for alternatives.
    STM offers free all-in-one software suite including compiler, configurator, HAL and programming tools - similar to MPLabX for PIC32.
    I selected STM32 F103 (BluePill), F411 (BlackPill) and STLinkV2 to get started before I found this video.
    The information here is well chosen and presented in a compact manner. Looking forward to more videos ...

    • @947C.Christmas.Siletz.Benton
      @947C.Christmas.Siletz.Benton Год назад

      HOLY KOWABUNGA! You are Internet Scientist Number One! That means that you get to choose your captain. I'll back you.

    • @947C.Christmas.Siletz.Benton
      @947C.Christmas.Siletz.Benton Год назад

      Ew. I'll take the Black pill because it is more forward seeing as the Floyd monopolized the pharmaceuticals over these colors too. So, I'm not so easy to fool.
      ruclips.net/video/nDbeqj-1XOo/видео.html

    • @947C.Christmas.Siletz.Benton
      @947C.Christmas.Siletz.Benton Год назад

      I'm the Thermal Specialist, by-the-way.

    • @947C.Christmas.Siletz.Benton
      @947C.Christmas.Siletz.Benton Год назад

      You design a thermal load, and I will design a solution, air, forced air or liquid---up to superconducting.

    • @947C.Christmas.Siletz.Benton
      @947C.Christmas.Siletz.Benton Год назад

      Hey, mi, have you heard of the Sillycon Valley prophecy?

  • @davidbrooks8621
    @davidbrooks8621 2 года назад +2

    Great Video! We can immediately see that you have the ability to teach, you have great knowledge and high intelligence. You are the optimal person to give lectures on the RUclips channel

  • @giovannimela504
    @giovannimela504 3 года назад +1

    I just bought an STM32 and I see this video in my feed. Awesome 😍

  • @markday3145
    @markday3145 3 года назад +5

    I've mostly been using the Nucleo-64 boards because they are relatively inexpensive, include the STLink, and have Arduino Uno compatible headers.
    There are a couple of "black pill" boards that are similar in size and price to the "blue pill." They feature F4 processors (faster, more peripherals), and buttons instead of jumpers for programming.
    Another possibility is Adafruit's feather STM32F405 express. It's fast, has lots of flash and RAM, small, is compatible with the "feather wing" series of add-on boards, includes a LiPo battery connector and charger, a Neopixel LED, and a Qwiic connector for plug-and-play I2C. It also runs CircuitPython (the "express" in the name), with an external flash module that can be used as a disk.
    The F3 series has extra support for analog (OpAmps, comparators, fast ADCs). The L series is capable of low power, but still reasonably fast, and has analog support similar to the F3's. The G4 series is the faster replacement for the F3 series.

  • @ventor5428
    @ventor5428 3 месяца назад

    Straight to the point. Loved the explanation

  • @bananascannotfly2896
    @bananascannotfly2896 4 месяца назад

    that was an amazing intro to STM32. Thank you very much.

  • @davidesp11
    @davidesp11 3 года назад +18

    Hey Mitchel, glad to see you started a STM32 series. You sure will make a great guide.
    Waiting for the next video!
    Thanks.

  • @MinimoPlayer7
    @MinimoPlayer7 Год назад

    Best video I've ever seen for starters! congratulations

  • @richardbrown2290
    @richardbrown2290 Год назад

    Great video. Just purchased a F103RB. This is just for learning, and some testing. Thanks again Richard Brown

  • @soundforce_nicolas
    @soundforce_nicolas 3 года назад +4

    FYI, all the "bare" STM32 chips come with the bootloader pre-programmed. So you can program your boards with serial and for some models with USB. It's a DFU bootloader. The F103 doesn't have a USB compatible bootloader out of the box, but they are some around.

  • @linq8977
    @linq8977 Год назад

    Thx for the tutorial! Starting to discover the F407VET6 Board which i bought 5 years ago.

  • @profesorpug5551
    @profesorpug5551 Год назад

    Absolutely gorgeous job, @Mitch Davis. You are carrying the word to those of us who are dabbling into the magic of STM32 MCU’s. Thank you!

    • @947C.Christmas.Siletz.Benton
      @947C.Christmas.Siletz.Benton Год назад

      Professor, what do you think of the idea of connecting the dies of the STM32 to its support chips directly like the Duo technology? Why the excess packaging and PCB? Missing packaging, missing price tag.

    • @947C.Christmas.Siletz.Benton
      @947C.Christmas.Siletz.Benton Год назад

      OK, agreed, the price is already comfortably low, but what if we were talking merging a CPU, GPU and an AI processor into one packaging like a multi-core with multi-use dies?

    • @947C.Christmas.Siletz.Benton
      @947C.Christmas.Siletz.Benton Год назад

      Don't you think industry inaction to consolidate the function of the motherboard into a multi-core like architecture with multi-dies leaves the industry vulnerable to the Profesor Pug's sneak attack?

    • @947C.Christmas.Siletz.Benton
      @947C.Christmas.Siletz.Benton Год назад

      If there is one lesson I learned from inventing the Duo technology is that the industry can only tolerate one step at a time. I was conceptualizing computers based on these technologies back in 1992. However, the future I had to sell had to wait until today. The financial widow is open and if you take advantage of it. You will take the industry with you. Why do I not do this on my own? Everybody thinks I'm a con-artist because they don't know what I'm talking about and because I am a black man it is just easier to believe the lie that I'm a con-artist.

    • @947C.Christmas.Siletz.Benton
      @947C.Christmas.Siletz.Benton Год назад

      You can bring me along if you like.

  • @danaberezenjy
    @danaberezenjy 6 месяцев назад

    Very helpful information and nicely summarized, well done

  • @qbitsday3438
    @qbitsday3438 2 года назад

    Excellent Video for Beginners of STM32

  • @saapman
    @saapman 2 года назад +1

    Great video! Thank you for this! Just what I was looking for. A simple explanation of the difference between the various types of STM boards. (Eval, discovery etc.) I just got an STM32f411 discovery today.

  • @vijaysulakhe5605
    @vijaysulakhe5605 3 месяца назад

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

  • @alanizquierdo6783
    @alanizquierdo6783 4 месяца назад

    Very well made. Thank You

  • @suhriddas4453
    @suhriddas4453 3 года назад +1

    Thanks for this video series. Thanks to you I learned stm32 a bit

  • @NeoStory-YTB
    @NeoStory-YTB Год назад

    This video really make things clear to me.

  • @lorenzfalcioni7634
    @lorenzfalcioni7634 3 года назад +1

    Thanks Mitchel, just what I needed to make the transition from Arduino to a stm32 dev board. Great job. 👏

  • @rahatahmed9678
    @rahatahmed9678 2 года назад

    One of the best video i have ever seen. Thank you so much.

  • @ManishMoorjmalani
    @ManishMoorjmalani 2 года назад

    Thank you for great work sir. You are helping world become a better place. Bless.

  • @pd8559
    @pd8559 3 года назад

    Thumbs up. Wish this video was found and I might have gotten a stm32, already got the stlink but when researching models it was overwhelming so I put stm32 aside and ended up getting espressif's Esp32 board. Everything comes onboard two high speed 240MHz cores and a ultra low power core, wifi and Bluetooth and all the peripherals. The only real choice was model ending in D for pcb antenna built in or U ending to have the ability to plug in an external antenna. Price was right at about $5 to $6 for a ESP32-WROOM-32D DevKitC board and Amazon has three packs for $16-$18 so I don't worry about blowing anything up. I'll finish the stm32 series and see if I understand them better to finally get one with no more analysis paralysis. If anyone hasn't tried Esp32 those are just fantastic for all sorts of projects and the built in 4MB flash and half megabyte of ram let's big programs run. Free-RTOS runs everything. STM gets you ARM cores which I don't have yet, various Esp32s get you Tensilica Xtensa and RISC-V cores if anyone wants to try those.

  • @sharathn9672
    @sharathn9672 2 года назад

    Thank you for this great introduction video on stm32 mcu.

  • @秋田悠里-m8g
    @秋田悠里-m8g 2 года назад

    I enjoyed your Video!
    It is really helpful to start with STM32.
    thanks form Japan.

  • @mohsenansary5145
    @mohsenansary5145 2 года назад +1

    Very well and smoothly explained, thanks a lot

  • @HersonBagay
    @HersonBagay 3 года назад +2

    The Discovery boards with LCD, SPI flash, SDRAMs, audio, etc will get you occupied for months. And if you're done learning these built-in peripherals, you can slap in some Arduino compatible boards for more peripherals.

  • @eriklethdanielsen3968
    @eriklethdanielsen3968 Год назад +1

    The blue pill is the way to go, the processor on it, is the one used in the st-link stm32f103c8t6 so this is most used processor because it's on all the develop boards

  • @alfian4553
    @alfian4553 3 года назад

    This is a great video and really help me to know about stm. I picked stm32f446re to make my last project on campus and yeah I'm on the way to overwhelming with this thing already

  • @vevasam
    @vevasam 3 года назад +19

    I personally have a Nucleo- F401RE. I chose this as it is inexpensive and there is Matlab/Simulink support package for hardware driver blocks.

    • @teametf2532
      @teametf2532 2 года назад

      I'm new to embedded, thanx for ur suggestion, I'll go with that

  • @GabrielMielli-z4f
    @GabrielMielli-z4f 10 дней назад

    Thought I would find water, found a whole diamond factory

  • @tobystephen9052
    @tobystephen9052 Год назад

    You seem to be organizing really well.

  • @fernandoi8958
    @fernandoi8958 7 месяцев назад

    I started my journey with a nucleo144 stm32f439, the thing is a beast, I'll probably never use all its features

  • @Hennie588
    @Hennie588 Год назад

    Thank you. Best explanation ever.

  • @inframundo1919
    @inframundo1919 Год назад

    Great vídeo!

  • @ddjazz
    @ddjazz 3 года назад

    I also saw your video's on arduino , attiny & bootloaders , great stuff , thanks for sharing , keep up the good work , subbed

  • @chelsea028
    @chelsea028 2 года назад

    Great... comprehensive work

  • @tomaszwota1465
    @tomaszwota1465 2 года назад

    If you asked what not to but nowadays, the blue pill probably would hit top of the list. It's no longer that cheap, and most importantly, you never know if you just ordered a Chinese knockoff which might give you trouble with usb, etc.
    Get stm32f4, like stm32f411ce*, it's similarly priced at the moment (still a bit more expensive, though) and not nearly as much of a target for Chinese cloners. It's also faster and has more memory.
    Those from adafruit have a space to solder 2mb worth of memory chip costing a bit over a buck.
    Just keep in mind that even though it looks almost the same as a blue pill, it's not a perfect drop in replacement.
    Or get one of nucleo boards for added goodies and quite an amount of gpio pins available in nucleo-144 series.

  • @finnyphilipbiju4520
    @finnyphilipbiju4520 3 года назад

    Thanks. I was really struggling to find out a video like this.

  • @luiserasmoperaltafernandez9336
    @luiserasmoperaltafernandez9336 3 года назад +1

    thanks for the guiide, i will be looking for the next videoss

    • @MitchDavis2
      @MitchDavis2  3 года назад

      I was filming video #4 this evening, but it looks like it’s going to take a few more days to complete. Glad you like it!

  • @rahaz7073
    @rahaz7073 2 года назад

    This is a great video. Thanks for saving me a lot of time.

  • @AlexSKelly-up7lf
    @AlexSKelly-up7lf 3 года назад +2

    You, my man, are the real fucking deal. Thanks a lot.

    • @duncanwalduck7715
      @duncanwalduck7715 3 года назад

      He has the 'right' Nucleo boards, anyway.
      I have a (QFP32) STM32g070kX [~$2.25*] sitting in a bag in another bag in a box some metres away, because I wanted to be 'bare metal', possibly - but I've yet to buy a single Nucleo, or solder a QFP32 anything (0.8 mm pitch - so not exactly super-human). About the other one, it seems to be a 'pedagogical' favourite, so why not?
      * - funny how I'll translate the currency but not the rest, haha: but it was exported from USA, in my case.

  • @chiraggoyal7474
    @chiraggoyal7474 3 года назад

    Great video. Will love to see more.

  • @techbyhabib5521
    @techbyhabib5521 3 года назад

    you're
    a great teacher, best videos

  • @oshosanyamichael9589
    @oshosanyamichael9589 3 года назад

    Really great intro, thanks for the video

  • @achrafeleuch3040
    @achrafeleuch3040 2 года назад

    Thank you for making this fun to watch and so organised and clear 🥹🥹🥹🥹

  • @MMKurdia
    @MMKurdia 2 года назад

    Great Video! Thanks for the detailed info.

  • @tim8086
    @tim8086 3 года назад

    Thank you!!! You saved tons of time!

  • @khomo12
    @khomo12 6 месяцев назад

    Thank you!👍👍👍

  • @flashcorp76
    @flashcorp76 2 года назад

    Okay, my turn now to delve into the STM32…👍🏻🤓

  • @audiodiwhy2195
    @audiodiwhy2195 3 года назад

    Excellent explanation. Thanks!!

  • @roycas3
    @roycas3 2 года назад

    Awesome video! very informative.

  • @ruslanrasyid7985
    @ruslanrasyid7985 Год назад

    thanks for the review, stm32 are to many variant. your review help me a lot

  • @도둘리-i7k
    @도둘리-i7k 2 года назад

    Such a nice video! Thank you!

  • @yebocal
    @yebocal 2 года назад

    I got the blue pill, because it was available, and a nucleo F3... however thats on back order lol! Can't wait for the blue pill to arrive next week!

  • @mnavarrotube
    @mnavarrotube Год назад

    Great tutorial. Thanks 👍🏼

  • @joerit633
    @joerit633 2 года назад

    Excellent video!!

  • @zetaconvex1987
    @zetaconvex1987 3 года назад

    Interesting video. I look forward to your series of videos. I personally have a couple of blue pills, so they're the ones that interest me most.

  • @SelvaGandhi-ob6eq
    @SelvaGandhi-ob6eq 7 месяцев назад

    Thanks for the series brother. If chance kindly upload for Texas instruments development board ❤

  • @andreasschmitt2307
    @andreasschmitt2307 2 года назад

    The Bluepill is known to be broken by design because it has no Schottky diode at the USB power, which makes it dangerous for an attached computer if it is powered by another power supply at the same time. Also it has a wrong USB pull-up resistor, but this still works most of the time.

  • @developersclub3810
    @developersclub3810 3 года назад

    You are awesome bro 🙌 I was confused with what to buy 😕

  • @Jasruler
    @Jasruler 3 года назад

    This was so helpful. Thanks man.

  • @startobytes
    @startobytes 3 года назад +1

    Great Video

  • @shubhamhagavane3297
    @shubhamhagavane3297 3 года назад

    I love your videos.

  • @promisenwaobilor95
    @promisenwaobilor95 3 года назад

    I started out with the blue-pill on the arduino IDE, but I've got the STM32L432KC, as the MCU from my school to pratice with

  • @neilpatil8551
    @neilpatil8551 3 года назад

    Really good video, man. Just what I was looking for. You earned a well-deserved subscription from me, man.

  • @LaptopDoctor
    @LaptopDoctor Год назад

    very informative, thanks

  • @TSA595
    @TSA595 5 месяцев назад

    Thank you bru

  • @MaheshKumar-lq1xm
    @MaheshKumar-lq1xm 3 года назад

    You are awesome. Thank you

  • @vevasam
    @vevasam 3 года назад

    Thank you for this beautiful video. It would be great if you could make some videos on Custom Bootloader for STM32.

  • @ianboard544
    @ianboard544 7 месяцев назад

    They are a screaming bargain - especially when you consider the free IDE that (by and large) works as advertised. You also get a serial port and file system (through the usb connection). The sweet spot is the nucleo boards
    No contest for me.

    • @MitchDavis2
      @MitchDavis2  7 месяцев назад

      I get a kick out of comments like these. I made these videos before the chip shortage, so they went from super cheap, to super expensive, to super cheap again. It’s fun to look through the comment history.
      I think the most I ended up paying for a single chip was around $80 in 2022

  • @makingwithsteve
    @makingwithsteve 3 года назад +4

    Hahaha I'm pretty sure I made the exact same facial expression as you did when you finished reading out the full part name for the Blue Pill

  • @SofianMW
    @SofianMW 2 года назад

    Great introduction!

  • @nakulsingh8444
    @nakulsingh8444 3 года назад +1

    Thank you

  • @neail5466
    @neail5466 Год назад

    Great work man, appreciate it.❤+1

  • @BetulKaplan
    @BetulKaplan 3 года назад

    great help! thank you

  • @wajahatriazmirza
    @wajahatriazmirza 3 года назад

    STM32F407VG is highly recommended for beginners.

  • @OYH_Onyx
    @OYH_Onyx 3 года назад

    good shit
    biggest thanks from Taiwan

  • @Ewecnt
    @Ewecnt 6 месяцев назад

    I have been looking for something a bit more powerful than the Arduino μC, they are a bit limited. Specifically for my current project I want to do 16 bit analog sampling to measure pressure. OK you can use an I²C shield with the Arduino that has 16bit ADC on board, but I’m hoping as I watch the SMT32 videos I’ll be able to do it on chip. 👍

  • @FourthWayRanch
    @FourthWayRanch 2 года назад

    38 bucks for that F4 dev board today! I got one to add to my big stack of dev boards

  • @TechBuild
    @TechBuild 3 года назад

    I have recently started with the 'Blue Pills' and there is no returning back to the Arduino microcontrollers. Although I had to flash each of them with a USB bootloader (It is very easy after the first one), they offer great value for money.

  • @TheRedmainecoon
    @TheRedmainecoon 2 года назад

    table at 8:16:
    i think Harvard and von Neuman are mixed up. M3/4 are von Neumann, M0/1 are Harvard.

    • @MitchDavis2
      @MitchDavis2  2 года назад

      This stuff is out out my expertise. If they look flipped, that table is from Wikipedia. I’m impressed you looked at that with such detail. A+

  • @justdoingodswork
    @justdoingodswork 3 года назад +1

    Thanks for the guide, helped alot (+1 sub)

  • @balkrishnawagle7205
    @balkrishnawagle7205 2 года назад

    Great

  • @gino.avanzini
    @gino.avanzini 3 года назад

    Could you talk more about your project involving CAN-FD? I've used CAN in the past with a bluepill, but I've had no need for CAN-FD.
    Greetings, great video!

  • @saduniwathsala
    @saduniwathsala Год назад

    👍 nice

  • @darkmedievil123
    @darkmedievil123 3 года назад

    Good video!!!

  • @AMATISIG
    @AMATISIG 2 года назад +3

    I just choose a CH32V103 board.🤣

  • @henricoderre
    @henricoderre Год назад

    Hi Mitch. I have the STM32F446RE Nucleo-64 I purchased from Amazon in Canada for about 55$! Why such a difference in price? I don't know. I have not used it yet. I don't understand how to use it exactly. It supports Arduino UNO, but why would I need the UNO when I have the STM32 board? As for the IDE, I can use the Arduino IDE or I can use the STM32Cube MCU. Others mention the STM32Cube IDE. What, if any, are the advantages of using either the Arduino IDE, STM32CubeMCU or STM32CubeIDE? This is not clear at all. I understand your initial confusion. I'm there now.

    • @MitchDavis2
      @MitchDavis2  Год назад

      Hey Henri, the price difference is probably due to the microcontroller shortage. For a while, you couldn't get a Nucleo446RE at all. Now they're available in small quantities, but pretty expensive. Hopefully they return down to their normal price in the next 6-months to a year.
      My second video should clear up some of the questions about which IDE to use. I went with STM32 Cube IDE because I wanted to learn how to write code outside of the Arduino Ecosystem. At the end of the day, no matter what IDE/Framework you choose, you're compiling into machine code that is specific for THAT chip. A bunch of frameworks have tried different approaches to come up with the best way to program a microcontroller. All of them have advantages and disadvantages, ranging from speed/size of the code, to how easy it is to program.