STM32: First Blinking LED Project

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 64

  • @sia-vash
    @sia-vash 4 วันที่ผ่านมา +8

    The educational value of this video is very high

    • @elewizard
      @elewizard  4 วันที่ผ่านมา +1

      Cheers 🍻

  • @TJBEATSAMV
    @TJBEATSAMV 11 ชั่วโมงที่ผ่านมา

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

  • @jj74qformerlyjailbreak3
    @jj74qformerlyjailbreak3 4 วันที่ผ่านมา +2

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

    • @elewizard
      @elewizard  3 วันที่ผ่านมา

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

  • @shnxc
    @shnxc 4 วันที่ผ่านมา +2

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

    • @elewizard
      @elewizard  4 วันที่ผ่านมา

      Glad you enjoyed it! More to come 👌

  • @ahmedelmazaty9459
    @ahmedelmazaty9459 4 วันที่ผ่านมา +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  4 วันที่ผ่านมา

      Glad you think so❤️

  • @ngouanewhoumand1999
    @ngouanewhoumand1999 4 วันที่ผ่านมา +2

    thank you sir for sharing your knowledge

    • @elewizard
      @elewizard  4 วันที่ผ่านมา

      It's my pleasure

  • @maxvideodrome4215
    @maxvideodrome4215 4 วันที่ผ่านมา

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

    • @elewizard
      @elewizard  3 วันที่ผ่านมา

      More to come!

  • @ianlee6416
    @ianlee6416 4 วันที่ผ่านมา +4

    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  4 วันที่ผ่านมา

      Yeah, it is a real disaster 😕

  • @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 2 วันที่ผ่านมา +1

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

  • @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

  • @haideralikhan5947
    @haideralikhan5947 4 วันที่ผ่านมา

    Amazing video! Found a nice channel. Subscribed ❤

    • @elewizard
      @elewizard  3 วันที่ผ่านมา

      Welcome aboard!❤️

  • @compbarn
    @compbarn 3 วันที่ผ่านมา

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

  • @jboy6944
    @jboy6944 3 วันที่ผ่านมา

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

  • @michaelalex5235
    @michaelalex5235 3 วันที่ผ่านมา

    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.

    • @FatherGapon-gw6yo
      @FatherGapon-gw6yo 3 วันที่ผ่านมา

      Its super fun-20 pin boards u can breadboard

  • @RdGear
    @RdGear 20 ชั่วโมงที่ผ่านมา

    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?

  • @sudheerkumar5966
    @sudheerkumar5966 4 วันที่ผ่านมา +1

    Very good sir

    • @elewizard
      @elewizard  4 วันที่ผ่านมา

      Thanks and welcome ❤️

  • @randomised6973
    @randomised6973 4 วันที่ผ่านมา +2

    Very useful

    • @elewizard
      @elewizard  4 วันที่ผ่านมา

      Glad you think so!

  • @FatherGapon-gw6yo
    @FatherGapon-gw6yo 3 วันที่ผ่านมา

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

  • @aboumohamed4467
    @aboumohamed4467 3 วันที่ผ่านมา

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

  • @orides5976
    @orides5976 4 วันที่ผ่านมา

    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  4 วันที่ผ่านมา +1

      Search for hal driver documents

  • @RixtronixLAB
    @RixtronixLAB 3 วันที่ผ่านมา

    Nice video,thanks:)

  • @ianlee6416
    @ianlee6416 4 วันที่ผ่านมา

    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  4 วันที่ผ่านมา

      Thanks a lot for correction ☺️

  • @chillipaste2183
    @chillipaste2183 4 วันที่ผ่านมา

    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 4 วันที่ผ่านมา

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

    • @elewizard
      @elewizard  3 วันที่ผ่านมา +1

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

    • @chillipaste2183
      @chillipaste2183 3 วันที่ผ่านมา +1

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

    • @FatherGapon-gw6yo
      @FatherGapon-gw6yo 3 วันที่ผ่านมา

      Can debug on chip

    • @andymouse
      @andymouse 3 วันที่ผ่านมา

      @@chillipaste2183:)

  • @andymouse
    @andymouse 4 วันที่ผ่านมา

    Awesome !

    • @elewizard
      @elewizard  3 วันที่ผ่านมา +1

      Very awesome 👌

  • @arvindh4327
    @arvindh4327 4 วันที่ผ่านมา

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

    • @elewizard
      @elewizard  3 วันที่ผ่านมา

      Good idea 👌

  • @JeffSalat
    @JeffSalat 8 ชั่วโมงที่ผ่านมา

    Thanks.

  • @ChandrashekarCN
    @ChandrashekarCN 3 วันที่ผ่านมา

    💖💖💖💖

    • @elewizard
      @elewizard  3 วันที่ผ่านมา

      ❤️❤️❤️❤️

  • @mikejones-vd3fg
    @mikejones-vd3fg 4 วันที่ผ่านมา +6

    "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 4 วันที่ผ่านมา +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  4 วันที่ผ่านมา +9

      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 4 วันที่ผ่านมา +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 4 วันที่ผ่านมา +1

      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 3 วันที่ผ่านมา

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

  • @KimJonngUn
    @KimJonngUn 4 วันที่ผ่านมา +1

    Nice kurta

    • @elewizard
      @elewizard  4 วันที่ผ่านมา +2

      Thank you supreme leader 🙏 😁

  • @eitantal726
    @eitantal726 4 วันที่ผ่านมา

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

    • @elewizard
      @elewizard  4 วันที่ผ่านมา

      This is a hello word project 😀

    • @eitantal726
      @eitantal726 4 วันที่ผ่านมา

      @@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 4 วันที่ผ่านมา +2

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

    • @eitantal726
      @eitantal726 4 วันที่ผ่านมา

      @@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