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...
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.
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
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.
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?
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.
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.
"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 ...
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.
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
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
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 ?
@@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
The educational value of this video is very high
Cheers 🍻
Thanks for sharing ! It's really nice to have someone talk about the important stuff !
Very glad not only you did this video, but more importantly glad I didn't skip it.
Thanks a lot.
Wow, awesome 👌, thanks for your kind words ❤️
that was a great tutorial.really enjoyed it and look forward for the next project.
Glad you enjoyed it! More to come 👌
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...
Glad you think so❤️
thank you sir for sharing your knowledge
It's my pleasure
I appreciate your videos - please keep them coming. Thank you for your work.
More to come!
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.
Yeah, it is a real disaster 😕
@3:00, why did you handle the ICs with bare hands? Were you not worried of Electro Static Discharge? Ty
Thank You for video. To avoid wrong connections, can you, please draw a schematics with all resistors condenser values?
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
Amazing video! Found a nice channel. Subscribed ❤
Welcome aboard!❤️
This is an excellent stm32 video! Are you going to post a series of stm32 tutorials?
Awesome tutorial. Can you make a video on using pwm to drive a motor and maybe using oled to display speed and other settings.
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.
Its super fun-20 pin boards u can breadboard
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?
Very good sir
Thanks and welcome ❤️
Very useful
Glad you think so!
I like the 20 pin boards because you can start then right in a breadboard
Good video as usual. Unfortunately can’t download the STM cube ide software. So can’t proceed with those microcontrollers.
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?
Search for hal driver documents
Nice video,thanks:)
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.
Thanks a lot for correction ☺️
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.
Yes it all looks very complicated compared to AVR or PIC.
Yes, stm32 is complicated compared to arduino or esp, but it has its own pros 👌
What pros could there be? Apart from being availible during the chip shortage?
Can debug on chip
@@chillipaste2183:)
Awesome !
Very awesome 👌
Please make this as a complete playlist by turning it from a simple to a complete project level
Good idea 👌
Thanks.
💖💖💖💖
❤️❤️❤️❤️
"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 ...
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.
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
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
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 ?
I think you missed the point he made at the beginning.
Nice kurta
Thank you supreme leader 🙏 😁
Blinky with an STM32? Kind of like driving a Ferrari to your tool-shed. But, granted, you need to start somewhere
This is a hello word project 😀
@@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!
STM32 -> LED
STM32 -> Power Relay
STM32 -> Missile Guidance System
@@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