STM32: First Blinking LED Project

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

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

  • @sia-vash
    @sia-vash Месяц назад +9

    The educational value of this video is very high

  • @jj74qformerlyjailbreak3
    @jj74qformerlyjailbreak3 Месяц назад +2

    Very glad not only you did this video, but more importantly glad I didn't skip it.
    Thanks a lot.

    • @elewizard
      @elewizard  Месяц назад

      Wow, awesome 👌, thanks for your kind words ❤️

  • @TJBEATSAMV
    @TJBEATSAMV Месяц назад

    Thanks for sharing ! It's really nice to have someone talk about the important stuff !

  • @AramAzhari
    @AramAzhari 3 дня назад

    I had no idea that we could purchase the SOP PCB boards separately that matches the pins!
    Thanks for showing this. I do have one of the development kits as well but I find it overwhelming and a bit pricey so it has to be reused, while creating our own on those pre-made PCBs makes it a lot more economical. I've been stuck on working with Arduino for a long time and I think this is my way out.

  • @ahmedelmazaty9459
    @ahmedelmazaty9459 Месяц назад +1

    you are very good in delivering the information i love you too much.I have all tools that you have and you help me alot for electronics maintenance.continue...

    • @elewizard
      @elewizard  Месяц назад

      Glad you think so❤️

  • @shnxc
    @shnxc Месяц назад +2

    that was a great tutorial.really enjoyed it and look forward for the next project.

    • @elewizard
      @elewizard  Месяц назад

      Glad you enjoyed it! More to come 👌

  • @maxvideodrome4215
    @maxvideodrome4215 Месяц назад

    I appreciate your videos - please keep them coming. Thank you for your work.

  • @moulaali9
    @moulaali9 Месяц назад

    Very knowledgeable and please continue...

  • @dannybockius2255
    @dannybockius2255 Месяц назад

    If you usr a rubber washer when you mount the fuel pump a sheet of foam between the pump and heater case it wont make the noise. Same for fuel line, it vibrates through the line as well

  • @ianlee6416
    @ianlee6416 Месяц назад +5

    13:04 if accidentally program without debug pins, you can pull the boot0 pin high, connect the SWD pins to stlink, reset the MCU, go to STM32CubeProgrammer, select swd mode, click connect, then do a full chip erase. Then you can reprogram it but remember to enable the debug pins the next time. I had a half of a workshop participants that forgot to enable the debug pins on a stm32f103cbt6. Big headache.

    • @elewizard
      @elewizard  Месяц назад

      Yeah, it is a real disaster 😕

  • @ngouanewhoumand1999
    @ngouanewhoumand1999 Месяц назад +2

    thank you sir for sharing your knowledge

  • @zmarssojourner7435
    @zmarssojourner7435 Месяц назад +1

    @3:00, why did you handle the ICs with bare hands? Were you not worried of Electro Static Discharge? Ty

  • @sysmonitorbot3976
    @sysmonitorbot3976 Месяц назад +1

    Thank You for video. To avoid wrong connections, can you, please draw a schematics with all resistors condenser values?

  • @FatherGapon-gw6yo
    @FatherGapon-gw6yo Месяц назад

    I like the 20 pin boards because you can start then right in a breadboard

  • @Nabilphysics
    @Nabilphysics 27 дней назад

    great tutorial. you should make a complete course.

  • @chillipaste2183
    @chillipaste2183 Месяц назад

    Thanks for the video. I tried getting into STM32 some some back. Your video proves that it is so convoluted and so difficult to work with them. With my background in pic and assembly language, I must say that STM has lost the race against Atmel and ESP. If only they had an IDE that was easy to use, I might consider giving them another try.

    • @andymouse
      @andymouse Месяц назад

      Yes it all looks very complicated compared to AVR or PIC.

    • @elewizard
      @elewizard  Месяц назад +1

      Yes, stm32 is complicated compared to arduino or esp, but it has its own pros 👌

    • @chillipaste2183
      @chillipaste2183 Месяц назад +1

      What pros could there be? Apart from being availible during the chip shortage?

    • @FatherGapon-gw6yo
      @FatherGapon-gw6yo Месяц назад

      Can debug on chip

    • @andymouse
      @andymouse Месяц назад

      @@chillipaste2183:)

  • @arp_catchall
    @arp_catchall Месяц назад

    Thanks for great video. I have the programmer and the IDE but find the stm chips way more cumbersome than esp32

  • @michaelalex5235
    @michaelalex5235 Месяц назад

    As usual, a very informative and educational video - thank you. I have extensive experience with Nucleo and Discovery boards from ST, and never considered making my own board, but you have changed my mind - I want to try! It would be very useful if you mentioned the breakout board you used to fit the MCU you selected; where can I get one? In addition, more information about the crystal (and capacitors) you used for the oscillator would be helpful. I was under the impression the location of these devices (relative to the MCU pins) is very important. Thank you again.

  • @ChrisHalden007
    @ChrisHalden007 26 дней назад

    Great video. Thanks

  • @jboy6944
    @jboy6944 Месяц назад

    Awesome tutorial. Can you make a video on using pwm to drive a motor and maybe using oled to display speed and other settings.

  • @haideralikhan5947
    @haideralikhan5947 Месяц назад

    Amazing video! Found a nice channel. Subscribed ❤

    • @elewizard
      @elewizard  Месяц назад

      Welcome aboard!❤️

  • @randomised6973
    @randomised6973 Месяц назад +2

    Very useful

  • @sudheerkumar5966
    @sudheerkumar5966 Месяц назад +1

    Very good sir

    • @elewizard
      @elewizard  Месяц назад

      Thanks and welcome ❤️

  • @compbarn
    @compbarn Месяц назад

    This is an excellent stm32 video! Are you going to post a series of stm32 tutorials?

  • @andymouse
    @andymouse Месяц назад

    Awesome !

  • @arvindh4327
    @arvindh4327 Месяц назад

    Please make this as a complete playlist by turning it from a simple to a complete project level

  • @RixtronixLAB
    @RixtronixLAB Месяц назад

    Nice video,thanks:)

  • @JeffSalat
    @JeffSalat Месяц назад

    Thanks.

  • @ianlee6416
    @ianlee6416 Месяц назад

    13:39 small correction. HSE(high speed external) crystal was not selected in the clock configuration. The MCU is using the internal oscillator.
    20:05 I prefer clicking the run button in the stm32cubeide for programming. Much easier but students can't see the hex file. If I want to show them the hex file, I prefer STM32CubeProgrammer.
    Great video by the way. You should link the stm32 hal description document for the hal functions.

    • @elewizard
      @elewizard  Месяц назад

      Thanks a lot for correction ☺️

  • @aboumohamed4467
    @aboumohamed4467 Месяц назад

    Good video as usual. Unfortunately can’t download the STM cube ide software. So can’t proceed with those microcontrollers.

  • @orides5976
    @orides5976 Месяц назад

    Amazing video! I like the idea of make my own PCBs, and put the bare microcontroller in there, instead of using a developement board. Where can we learn more commands, to control ADCs, PWMs, etc?

    • @elewizard
      @elewizard  Месяц назад +1

      Search for hal driver documents

  • @RdGear
    @RdGear Месяц назад

    Thanks. It is a good tutorial ❤
    I have a question,
    If I generate the HEX file from Arduino IDE, Could I upload it by stlink utility?

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

    Very good

  • @ChandrashekarCN
    @ChandrashekarCN Месяц назад

    💖💖💖💖

    • @elewizard
      @elewizard  Месяц назад

      ❤️❤️❤️❤️

  • @KimJonngUn
    @KimJonngUn Месяц назад +1

    Nice kurta

    • @elewizard
      @elewizard  Месяц назад +2

      Thank you supreme leader 🙏 😁

  • @mikejones-vd3fg
    @mikejones-vd3fg Месяц назад +8

    "blink(LED)"; does nothing for me and almost made me quit this hobby, it teaches nothing to beginners and leaves giant gaps in understanding which makes it hard for people who really want to know what they're studying toget into. First step is to stabaliz the oscillator circuit, otherwise the CPU doesnt have any pulse to live. Next step is too ...

    • @ianlee6416
      @ianlee6416 Месяц назад +2

      What you request is not a beginner's lesson. This is a beginner's guide to programming a microcontroller, catering to people who want to *use a microcontroller*. Blinking an LED provides the absolute fundamental of timing and toggling a pin.
      What you request is a lesson in computer architecture and circuits or in other words, *how a microcontroller works*. You will find Ben Eater's breadboard computer interesting, these will teach you how a microcontroller works but will forever not be a practical implementation. Another way, is to enroll yourself in an electronics/computer engineering, or get many books. To get to the in-depth detail I think you want, you will need to have basics in electronic circuits, logic gates and logic design. Which can be simulated with LTspice(circuit) and Logisim evolution(logic). Then there is HDL(Hardware description languages), finite state machines, machine language, architecture, etc... Which is great to know and learn but is definitely more a niche subject than using a microcontroller.
      I am a teaching assistant microprocessor and computer architecture at a university in south east Asia. Most people will only need to know how to use a microcontroller in most projects.
      Anyway, if you want to learn how a microprocessor works, try searching "Logisim processor" or "Logisim CPU". Amazing visualisation of a working processor.

    • @elewizard
      @elewizard  Месяц назад +10

      Making a blinking LED is the most simple project that confirms your hardware and software setups are correctly made 👌
      I think it is helpful for beginners.
      Thank you for sharing your opinions by the way

    • @gower1973
      @gower1973 Месяц назад +2

      You don’t need a microcontroller to blink an LED, its just the hardware equivalent of doing HelloWorld in software, it just confirms your toolchain is correctly setup, even just to do this basic thing, is still built on several layers of the technology stack, if you really want to go to the beginning get an Altair 8800 and physically toggle the switches to set all the bits to put one value in a register and see how painful it is

    • @andymouse
      @andymouse Месяц назад +2

      Fortunately there are millions of kids and adults out there who will disagree, if your struggling with how a crystal oscillator works perhaps a new hobby for you ? maybe pottery or crochet ?

    • @Poult100
      @Poult100 Месяц назад

      I think you missed the point he made at the beginning.

  • @ha13151
    @ha13151 Месяц назад

    +1

  • @eitantal726
    @eitantal726 Месяц назад

    Blinky with an STM32? Kind of like driving a Ferrari to your tool-shed. But, granted, you need to start somewhere

    • @elewizard
      @elewizard  Месяц назад

      This is a hello word project 😀

    • @eitantal726
      @eitantal726 Месяц назад

      @@elewizard So, STM32: is this a one-off thing, or do you have plans to do something else with it? I ask, because STM32 offers so much good stuff!

    • @stivosaurus
      @stivosaurus Месяц назад +2

      STM32 -> LED
      STM32 -> Power Relay
      STM32 -> Missile Guidance System

    • @eitantal726
      @eitantal726 Месяц назад

      @@stivosaurus Appreciate the joke, but in reality, most of the time there's some practical need for a this-or-that. Atari started as an advanced pong machine