#345

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ค. 2020
  • Many commenters tell me that the STM32 MCUs are great. The last time they were used on this channel was in video #11 on Jul 27, 2015. High time for a closer look.
    I am a proud Patreon of GreatScott!, Electroboom, Electronoobs, EEVblog, and others.
    Links:
    Bluepill: s.click.aliexpress.com/e/_dWH... or or bit.ly/2WugLYj or amzn.to/30cVrHC
    Maple Mini: s.click.aliexpress.com/e/_dXg...
    ESP32 Mini: s.click.aliexpress.com/e/_dYE... or amzn.to/3jePfrh
    STLink V2: s.click.aliexpress.com/e/_d67... or amzn.to/2ZCe6xN
    Blackpill: s.click.aliexpress.com/e/_dZm... or bit.ly/3ji15kt
    Preferences link for STM32 installation: dan.drown.org/stm32duino/packa...
    STM flasher: www.st.com/content/st_com/en/...
    Bootloaders: github.com/rogerclarkmelbourn...
    install_drivers.bat: github.com/rogerclarkmelbourn...
    STM32 discord channel: / discord
    New STM32 version: • How to Install the STM...
    Lot's of good stuff: theta.eu.org/2018/12/20/stm32...
    STM32 forum: www.stm32duino.com/viewforum....
    STM32 Discord channel: / discord
    List of STM32 libraries: www.arduinolibraries.info/arc...
    Libraries wiki: github.com/stm32duino/wiki/wi...
    STM32 boards: stm32-base.org/boards/
    The links above usually are affiliate links which support the channel (no additional cost for you).
    Supporting Material and Blog Page: www.sensorsiot.org
    Github: www.github.com/sensorsiot
    My Patreon Page: / andreasspiess
    Discord: / discord
    If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission (of your purchases the next 24 hours) to buy new stuff for the channel
    My Amazon.com shop: www.amazon.com/shop/andreassp...
    For Banggood bit.ly/2jAQEf4
    For AliExpress: bit.ly/2B0yTLL
    For Amazon.de: amzn.to/2r0ZCYI
    For Amazon UK: amzn.to/2mxBaJf
    For ebay.com: ebay.to/2DuYXBp
    profile.php?...
    / spiessa
    www.instructables.com/member/...
    Please do not try to Email me or invite me on LinkedIn. These communication channels are reserved for my primary job
    As an Amazon Associate, I earn from qualifying purchases
    #no-midroll-ads
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @hygri
    @hygri 3 ปีที่แล้ว +93

    The guy with the Swiss Accent - Smashing the Arduino learning curve into a pancake since Video #1.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +9

      Thank you!

    • @Bravo_L
      @Bravo_L ปีที่แล้ว +1

      The guy with the Swiss accent knows alot of cool things for sure 👍

  • @beauregardslim1914
    @beauregardslim1914 3 ปีที่แล้ว +3

    You always seem to know exactly what I'm wondering about. Thanks so much for the comprehensive comparison.

  • @jessiegashler427
    @jessiegashler427 3 ปีที่แล้ว +1

    A genuinely clear and concise comparison of the two. I'll be subscribing to your channel based solely on this video. Fantastic work.

  • @Brandon-rc9vp
    @Brandon-rc9vp 2 ปีที่แล้ว +2

    Thank you for freely sharing such great content. It is intellectually interesting, quirkily entertaining, and best of all technically informative for us trying to get back to our roots in electronics and learn how to operate todays newfangled gadgets :) If I had to guess I would say you are one of those rare individuals that know what an exciter is and at the same time can hold your own at any maker fair today. Good on you sir!

    • @AndreasSpiess
      @AndreasSpiess  2 ปีที่แล้ว

      Thank you for your kind words! And enjoy your hobby (again). Quite a few of my viewers report the same. We live in a beautiful (electronics) time.

  • @RTmadnesstoo
    @RTmadnesstoo 3 ปีที่แล้ว +5

    I always wait a while to watch your videos so the comment section can fill up. Sometimes the comments are almost as good as the video. Almost. Thanks for your efforts.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      You are right. I am proud of my commenters. They know much more than me alone.

    • @RTmadnesstoo
      @RTmadnesstoo 3 ปีที่แล้ว

      @@AndreasSpiess Well, nobody has taught me more than you. Thanks, again.

  • @crckdns
    @crckdns 3 ปีที่แล้ว +14

    I personally am using the blackpill for smaller projects. Great video as always! Please more STM32 content 😻👍 (we use them also in our flight controllers ^^)

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +5

      I think I will have a look at the interest and decide about the future plans.

    • @giorgioboiero
      @giorgioboiero 3 ปีที่แล้ว +3

      Some information about the Black Pill STM32F4x1 from the chinese designer
      github.com/WeActTC/MiniF4-STM32F4x1
      It's now supported by STM32Duino but it's not yet integrated the USB Bootloader of WeAct

    • @happysingh-gk2dj
      @happysingh-gk2dj ปีที่แล้ว

      Hiii brother can u send your email.i want to learn black pill

  • @TheAoab50
    @TheAoab50 2 ปีที่แล้ว

    Many thanks again for the great efforts to give us comparison results ready and free.

  • @theboots39
    @theboots39 3 ปีที่แล้ว

    Thank you for this video. I was trying to answer this exact question for the last week. I've been using esp32, but I rarely have any need for internet connectivity. At the moment, I don't think it's worth changing over, but definitely a consideration for future projects. Perfect timing!

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      Without Wi-Fi the STM32 boards are a good selection, I think

  • @NotMarkKnopfler
    @NotMarkKnopfler 3 ปีที่แล้ว +6

    Great video. What I would really like to see is an STM32 video showing how the low power modes work. Particularly wake-on-interrupt. I would really like to see that. Thanks again, Andreas.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +5

      Power consuption is stuff for a whole video...

    • @ch94086
      @ch94086 3 ปีที่แล้ว +4

      ST has some nice dev boards with the STM32L low power series. These dev boards (discovery) have a separate processor to measure chip power down to nanoamps, and there are tutorials demonstrating all the power modes. After wake, it can read the sleep power and show on the epaper display.

    • @RRits57
      @RRits57 3 ปีที่แล้ว +1

      Would love to see this comparison as well

  • @iforce2d
    @iforce2d 3 ปีที่แล้ว +55

    Depending on what you're making, the larger memory of the ESP32 can be a HUUUGE win, probably should have been given a mention in your summary

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +16

      Thanks for the addition. Coming from the ESPs I did not think too much about memory. Maybe I will miss it when I do more with STM32...
      BTW: Did not see a Video since a Long time on your channel. Always love them!

    • @Stopinvadingmyhardware
      @Stopinvadingmyhardware 8 หลายเดือนก่อน

      @@AndreasSpiessstop the pill shit. These people don’t even care what they did to our lives

    • @bananaman2495
      @bananaman2495 7 หลายเดือนก่อน +2

      @@Stopinvadingmyhardware what?

    • @Stopinvadingmyhardware
      @Stopinvadingmyhardware 7 หลายเดือนก่อน

      @@bananaman2495 Nobody asked you a damn thing

    • @mattmurphy7030
      @mattmurphy7030 6 หลายเดือนก่อน

      @@Stopinvadingmyhardwaresomeone needs their pills…

  • @alfredopreciadomolina1576
    @alfredopreciadomolina1576 3 ปีที่แล้ว

    wow, just what I was looking for, you can't ask for a better explanation, as always, master.

  • @VideoDetection
    @VideoDetection 3 ปีที่แล้ว

    Another interesting and informative video, Andreas, thank you!
    Watching this video and the Arduino IDE being used made me realise my move to test micropython on the ESP32 was worthwhile.
    Maybe you can have another look at the ESP family being programmed using micropython and the Thonny IDE.
    Micropython have a generic board version for ESPs and Thonny makes it all a easy and effective tool. Love to see a future video from you on using this IDE and language!

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      I wait for the S2 to do the next MicroPython Video.

  • @mr.meticulous1241
    @mr.meticulous1241 3 ปีที่แล้ว +3

    Exactly the video I was waiting for! Thanks Andreas :)

  • @derecwilsom4546
    @derecwilsom4546 3 ปีที่แล้ว +5

    that little hand makes me so happy, i giggle every time I see it!

  • @PhG1961
    @PhG1961 3 ปีที่แล้ว

    Thnxs for this very well explained overview. A nice wrap up !

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      Glad you enjoyed it!

    • @PhG1961
      @PhG1961 3 ปีที่แล้ว

      @@AndreasSpiess I always do ;-)

  • @shabbarvejlani
    @shabbarvejlani 3 ปีที่แล้ว +2

    Thank you Sir for your analysis ! Appreciate!

  • @drbra1n
    @drbra1n 3 ปีที่แล้ว +7

    STM32F4xx has FPU, USB OTG working in both, device and host mode (some MCUs have 2 ports), support for external FLASH/SRAM/LCD screen, internal RTC clock, support for SD cards. The debugging capabilities are also awesome - breakpoints, single stepping, memory & register view, SWO tracing. AFAIK, ESP32 can be debugged too :)

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +2

      You are right. I made a video about debugging the ESP32. And I should get some F4 boards...

  • @rcfreakamit
    @rcfreakamit 3 ปีที่แล้ว +4

    Great video!
    For me though, the main motivation for going with stm32 over arduino or esp32 is the much more capable (and more difficult to learn) STM CubeMX config suite with the STM32 eclipse IDE, with St-link debugger, rather than the difference in sheer hardware capabilities.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      Good point!

    • @evabaroni6693
      @evabaroni6693 3 ปีที่แล้ว

      System workbench for STM32 (SW4STM32) by AC6 tools with cubeMX is my go to for these CPUs. Sorry but can't call Arduino an IDE after using SW4STM32.

    • @RustedCroaker
      @RustedCroaker 3 ปีที่แล้ว

      @@evabaroni6693 Did you tried Keil by any chance?

  • @hebersolisbravo4502
    @hebersolisbravo4502 3 ปีที่แล้ว

    Excelente análisis, me ayudo mucho en la selección para el proyecto. Muy bueno

  • @BluCasper
    @BluCasper 3 ปีที่แล้ว

    Thank you for such an amazing content. It was really helpful. Stay safe and have a great day. Best wishes for you.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      You are welcome! I am vaccinated twice already:-)

    • @BluCasper
      @BluCasper 3 ปีที่แล้ว

      @@AndreasSpiess that's great. waiting for your upcoming videos. if possible please make a video how a newbie can program esp with micropython and use AI somehow to make something intelligent.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      This channel is more for the advanced (or at least ambitious) Maker. So you probably will not find stuff for beginners...

    • @BluCasper
      @BluCasper 2 ปีที่แล้ว

      ​@@AndreasSpiess there are tons of channels for beginners. I like your contents sepcially the comparing. But i think you should make another video comparing different ESPs and different STM MCUs. How good are other ARM products from atmel, TI and other brands. It'd be really helpful. Thanks in advance

  • @mrrboo
    @mrrboo 3 ปีที่แล้ว +4

    Thx for the interesting video. I think it's also a matter of "makers" VS "pro", in a pro embedded development environment STM32 is the king (with ST official boards, mbed dev environment for example more than Arduino) and ESP + Arduino rules the makers market.
    In my company we use a lot of STM32 dev boards, you can find official STM32 "Arduino nano format" boards with Cortex-M4F for 10€ like the NUCLEO-L432KC

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      You are right about the different environments. For professional usage, you usually go with the supplier tools. On this channel, most users use Arduino IDE because they do not use STM chips as a first choice.

  • @anvz6
    @anvz6 3 ปีที่แล้ว +59

    Atvantages of stm32: it can act as USB keyboard, serial, even as USB storage... All at the same time if needed.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +11

      True. I did not mention this fact explicitly. I only used this feature for upload.

    • @ami6packs
      @ami6packs 3 ปีที่แล้ว +1

      @@cambouiscom it supports hid.

    • @ami6packs
      @ami6packs 3 ปีที่แล้ว +9

      And DMA too. It makes coding a lot easier in case of data sampling e.g. ADC Samp.

    • @arduinoguru7233
      @arduinoguru7233 3 ปีที่แล้ว

      @@cambouiscom HID works on it .

    • @crosswick
      @crosswick 3 ปีที่แล้ว

      Also, the F105 and F107 have USB-OTG functionality (as do some more expensive ones)

  • @newburypi
    @newburypi 3 ปีที่แล้ว

    Yet again, both useful and interesting. Thank you.

  • @yunshi7786
    @yunshi7786 2 ปีที่แล้ว

    Thank you very much for such a detailed and clear comparison. Since they are all pretty cheap, I’ll buy all of them to have a try and compare the outputs in my projects.

    • @AndreasSpiess
      @AndreasSpiess  2 ปีที่แล้ว

      You are welcome!

    • @unclejoe8310
      @unclejoe8310 ปีที่แล้ว

      Where the hell do you get STM32 chips right now 🥴

  • @TimSavage-drummer
    @TimSavage-drummer 3 ปีที่แล้ว +11

    The one big advantage I found for the STM32 is the ease at which I can set up a hardware debugger with the STM32Cube IDE. The STM32 Discovery boards are great for prototyping and cheap, I only use ESP boards now for wifi connectivity. Have a black pill driving my DIY modular synth as a MIDI to CV converter, the hardware debugger came in really handy for developing that.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +2

      You are right: A debugger is a good thing. I probably will try to use it, but with platformIO.

  • @bobblaine1437
    @bobblaine1437 3 ปีที่แล้ว +4

    Thank you for the very useful video. I've been curious where the STM32 fit in the micro controller pecking order, and when to use it.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      There are many more STM chips. I assume I will cover a few more to get an overview.

  • @avejst
    @avejst 3 ปีที่แล้ว

    Great update video as always 👍
    Thanks for sharing 👍😀

  • @GlennHamblin
    @GlennHamblin 3 ปีที่แล้ว

    Thanks for the testing and advise. Very helpful.👍

  • @wingedrhino_
    @wingedrhino_ 3 ปีที่แล้ว +32

    This is the first thing I'm seeing after waking up late on a Sunday, having spent the whole night dreaming about pitch detection algorithms. Wish I was a little more normal 😂

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +10

      Nice you remember what you dreamed of. I never remember :-(

    • @BenMitro
      @BenMitro 3 ปีที่แล้ว +3

      I think the correct word is fretting rather than dreaming.

    • @hamjudo
      @hamjudo 3 ปีที่แล้ว +1

      An FFT is a common way to get a list of approximate frequencies out of a microphone or other noisy analog source.
      I've never needed very precise frequencies, so I haven't any experience with those algorithms.

    • @stephenborntrager6542
      @stephenborntrager6542 3 ปีที่แล้ว

      FFT is probably better, but one simple method that I know if is to set a window of a several thousand samples (maybe 4x the max frequency you care about), measure the time between peaks, and then average the periods. 1 / period (seconds) = frequency (Hz). From there, tables can be used to lookup "notes" ie A4 = 440Hz.
      I don't know how well it works, since it was a very crude method and I never actually used it. Probably won't work with lots of harmonic content. Might need to weigh the sample periods by the amplitude or something... or add some sort of hysteresis to keep the output stable...
      Great. Now I'M stuck thinking about them!

    • @williamdunn5081
      @williamdunn5081 3 ปีที่แล้ว

      Normal is totally overrated.

  • @EdFrench_uk
    @EdFrench_uk 3 ปีที่แล้ว +23

    Most of the "Blue Pills" have an incorrect resistor, which means the USB interface wont be recognised on a lot of machines (I think it depends on your PC's USB driver chip). I think there is also some software problem as I haven't been able to get it to work consistently even when I fix the bad resistor.

    • @giorgioboiero
      @giorgioboiero 3 ปีที่แล้ว +8

      The problem with the USB is sometime related to the use of clones of the STM32 chip , not only the wrong USB resistor
      www.cnx-software.com/2020/03/22/how-to-detect-stm32-fakes/
      List of STM32 compatible chips
      www.richis-lab.de/STM32.htm
      A good work around is to upload the firmware using the ST-LINK and then upload an USB HID bootloader
      github.com/Serasidis/STM32_HID_Bootloader

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      Thank you for the hint. I saw a remark about that resistor, but have no blue pill.

    • @cbm80amiga
      @cbm80amiga 3 ปีที่แล้ว +4

      @@AndreasSpiess In most cases "wrong" resistor doesn't cause any issues. At least I tested it on 9 computers I have at home - USB works as expected.

    • @marcovalenti2621
      @marcovalenti2621 3 ปีที่แล้ว

      @@giorgioboiero where may i find a "healthy" Blue Pill ( For Healthy i mean that it doesn't have problem with HID)? (sorry for my bad english)

    • @TomaszStachewicz
      @TomaszStachewicz 3 ปีที่แล้ว +3

      @@marcovalenti2621 most new sold blue pills now have corrected usb pullup resistor. check out the photo of the boards underside, it's resistor r10. it should read 152 (1.5k ohm) and definitely not 103 (10k ohm)

  • @phymacillustrator
    @phymacillustrator 5 หลายเดือนก่อน

    Thank you so much, It helped me to understand options to program STM32. Thanks again.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      You are welcome!

  • @deangreenhough3479
    @deangreenhough3479 3 ปีที่แล้ว

    Good work Andreas 😁🏴󠁧󠁢󠁥󠁮󠁧󠁿

  • @EdFrench_uk
    @EdFrench_uk 3 ปีที่แล้ว +14

    I like both, I haven't looked much at power consumption on the stm32- that might be something where it wins a bit? I don't think anyone has done a video on stm32 sleep modes and power consumption with Arduino?

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +12

      Power consumption is also on my list...

    • @edwitte4752
      @edwitte4752 3 ปีที่แล้ว +4

      I believe Stm32 supports DMA for peripherals (ADC/ I2C etc). This can free up the processor for other tasks... Maybe add this one to the 'to do' list?

    • @damny0utoobe
      @damny0utoobe 3 ปีที่แล้ว +5

      @@AndreasSpiess STM32 also has the L0 lineup which is the ultra low power line. This one can run on a small battery for years. It's much more energy efficient than ESP32

  • @victorlacerda9659
    @victorlacerda9659 3 ปีที่แล้ว +6

    The blackpill stm32f411 or stm32f410 both was floating point hardware and a faster clock speed than the bluepill.
    This make thinking if stm32f4 could be a better choice for floating point calculation.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +3

      True! The Blackpills are in the mail...

    • @m0rph171
      @m0rph171 3 ปีที่แล้ว

      @@AndreasSpiess Would be really interesting to see the calculation result for the f4 blackpill!

  • @korishan
    @korishan 3 ปีที่แล้ว

    Very nice comparison Andreas. I had wondered what the biggest difference (other than BT/WiFi/cost) between the two would be. Thanks for the info! 😎

  • @christianlennertz5780
    @christianlennertz5780 3 ปีที่แล้ว

    Like always great video. I also like the „Black Pill“. The Stm32F411 is very good in my opinion. What I really like of it, is the integrated USB ports.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      As I said, they are in the mail and for sure I will play with them...

  • @sharana.p5921
    @sharana.p5921 3 ปีที่แล้ว +3

    My favourite is STM32. Please make video to program esp8266 using embedded c or bare metal programming. Thank you.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      I will stick to the Arduino IDE :-( But I did a video about assembler programming of the ESP32

    • @sharana.p5921
      @sharana.p5921 3 ปีที่แล้ว

      @@AndreasSpiess Oh ok thank you Mr. Andreas and another one is there, what about making a RF circuit like 435 MHz 4 channel or 8 channel circuit from scratch? Would you make it si, please.

  • @RickB3n
    @RickB3n 3 ปีที่แล้ว +26

    I have a suggestion: Try also the ST Nucleo boards, i think it's a good alternative to "blue pill" or other.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +6

      I thought they were bigger and more expensive?

    • @RickB3n
      @RickB3n 3 ปีที่แล้ว +3

      @@AndreasSpiess I understand, but an original Arduino UNO is more expensive. The ST Nucleo costs between 10 and 40$ For a hobbist it's possible. ST if you read this give me more boards 😂

    • @anvz6
      @anvz6 3 ปีที่แล้ว +2

      @@RickB3n You can buy an UNO or a mini for 3€

    • @RickB3n
      @RickB3n 3 ปีที่แล้ว

      @@anvz6 It's true, but a chinese copy. They often also use a low quality clone for the atmega 328p.

    • @SamupamIn
      @SamupamIn 3 ปีที่แล้ว

      @@AndreasSpiess you can buy stmf407vgt etc boards with more I/0 then mega or due at 10 USD from AliExpress.

  • @a1nelson
    @a1nelson 3 ปีที่แล้ว

    Thanks for all the good work you do channel. I’ve learned a lot from it and look forward to new videos. This one, unfortunately, was the rare exception when I cannot really agree with your conclusions. The main issue is that the STM32 model chosen, while being very cheap and popular, isn’t really in the same class as the ESP32. In STM32F4 or STM32L4 would have been more appropriate, since they have similar clock speeds and feature an FPU (among other things). The other thing is that, in the absence of at least two excellent voltage references, pretty much all ADCs need to be calibrated. Their output magnitude and slope are relative, not absolute - despite what the datasheets imply. As an aside, neither board has very much in the way of decoupling, so noise is going to be a significant factor too. STM recommends a ferrite bead or independent decoupling for the VDDA input, but the blue pill and other low-cost boards do not have those parts. Based on the form factor, I doubt the ESP32 boards have them either. If the data points for the comparison were not collected under the same conditions (at about the same time), that adds a lot of uncertainty. Just things to consider. Thanks again for all your hard work.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      You are right with the FPU. I will look at it in a future video. And about noise reduction on boards: The ADC of the Maple Mini was better than the ESP32 in the configuration bought by my viewers. And this is what counts on this channel. I am sure all boards could be improved if buyers would see the differences pay a little more. But platforms like AliExpress support a race to the bottom price. So, if you want a decent board, you have to make your own. Which is also not too complicated anymore.

    • @a1nelson
      @a1nelson 3 ปีที่แล้ว

      Andreas Spiess Thanks for your quick and thoughtful reply. What you said makes very good sense. It caused me to check my assumptions. The first is that, as one moves beyond just flashing an LED, the cost of the MCU board becomes a smaller and smaller part of the total system cost. Using a board with better ADCs or more IO pins may be easily justified by eliminating the need for IO expanders, external ADCs, more complicated software, etc. But, importantly, not every project requires that. You mentioned checking battery voltage, which is a good example of a situation when high accuracy isn’t critical. My second assumption was related to your final comment. Although I have a handful of STM dev boards, Teensys, etc., for non-trivial projects, I often just roll a new board. And, although it’s pretty easy to do so, it’s definitely not for everyone. So, after a bit of reflection, I do appreciate your position much better. Thanks again. Be well.

    • @Ottmar555
      @Ottmar555 3 ปีที่แล้ว

      @@a1nelson Do you have the reference about using ferrite in the VDDA input? I'm having a little more noise than I'd like for my application in my ADC, and a moving average is not a good option, since I need fast code. Do you have any suggestions?

  • @GeorgeWMays
    @GeorgeWMays 3 ปีที่แล้ว

    Very interesting and informative. Thank you for your project and video. It is truly appreciated.

  • @moudi0082
    @moudi0082 3 ปีที่แล้ว +6

    stm32 f4 and f7 series have built in FPU for floating point operations

  • @curlybrace6694
    @curlybrace6694 3 ปีที่แล้ว +10

    bluepill has software floating point implementation. esp32 has hardware. stm32f4 also has hardware floating point. xtensa is a very slow core, compared to cortex. even having much faster clock, it wins only a little bit in speed.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +3

      You are right with the speed difference: It was very small for port I/O and integer. Maybe I will do some tests with the F4 when I get it.

    • @thegittubaba
      @thegittubaba 3 ปีที่แล้ว +1

      @@AndreasSpiess can you run ESP32 at slower clock? It'd be interesting to see the comparison when both are running at same clock frequency.

    • @ragesmirk
      @ragesmirk 3 ปีที่แล้ว

      @@AndreasSpiess Use these boards: www.aliexpress.com/item/4000103610226.html I have them they are very high quality

    • @Cracked1ce
      @Cracked1ce 3 ปีที่แล้ว +2

      @@AndreasSpiess The F4 black pill is a beast. i am doing floating point calculations for engine management and the speed difference is astronomical. it takes nearly 700 clock cycles for the F1 for a floating point multiply or divide whereas it is instantaneous on the F4.

    • @happysingh-gk2dj
      @happysingh-gk2dj ปีที่แล้ว

      @@Cracked1ce hii brother can you send your contact or email I facing problem in blue pills ..thankyou

  • @mieszkogulinski168
    @mieszkogulinski168 3 ปีที่แล้ว

    Thank you for explaining - not "which is better", but when to use one, and when to use another :)

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      Titles on TH-cam have their own rules ;-)

  • @ivolol
    @ivolol 3 ปีที่แล้ว

    It's great of you to mention the makers of the software/firmware/libraries that enable all the tinkering!

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      We all stand on their shoulders and we should know that!

  • @cwbh10
    @cwbh10 3 ปีที่แล้ว +4

    Lol I just replaced my "Blue Pill" with an ESP32 on a project I'm working on, since the community support for the ESP32 is just better

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      I think you are right with the community.

    • @cwbh10
      @cwbh10 3 ปีที่แล้ว

      @@AndreasSpiess In my specific case I was trying to use the NRF24 modules, and it worked flawlessly with the RF24 library on the ESP32 and not the STM32. I figured I could get it working, but for the project the time is important and if it just works, I'm going to go with that device (mostly)

    • @danielegger6460
      @danielegger6460 3 ปีที่แล้ว +2

      Outside of Arduino the support and community for Cortex-M MCUs is way beyond the support for ESP32 and AVR MCUs combined. I'm actually slightly disappointed that Andreas Spiess fell back to using the lame Arduino instead of going for platformIO which would have allowed for a much better comparison.

    • @Vicolaships
      @Vicolaships 3 ปีที่แล้ว

      Give libopencm3 a chance, it's a great hardware library with a nice community and documentation (libopencm3.org/docs/latest/stm32f1/html/modules.html ). STM32 for Arduino is a little bit dead and the code quality is poor.
      libopencm3 for Blue-Pill examples here: (C or C++, project configured with CMake): gitlab.com/VictorLamoine/libopencm3_bluepill_examples.
      You can pick any IDE you like that supports CMake, I like KDevelop.
      "Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC" (Warren Gay) book is a great way to get started with practical examples and explanations.
      If you want to do some real-time (detailed in Warren Gay book) check-out: gitlab.com/VictorLamoine/libopencm3_freertos_bluepill_examples
      Feel free to reach me for help!

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      @Daniel: Can you contact me to discuss the integration into platformIO?

  • @tigercat3864
    @tigercat3864 3 ปีที่แล้ว +5

    I abandoned the Blue Pill because there's no reliable supply of legit or even consistent boards. Too many of them are fakes or bad clones that don't work reliably. It's ESP8266/ESP32 & Teensy FTW.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      Thank you for sharing your experience!

  • @silverjohnson3163
    @silverjohnson3163 3 ปีที่แล้ว

    wifi is important to my projects, it's one of the very cool things about the 8266 and esp32 boards. Thanks for the review

  • @mariasaranoursadoun4194
    @mariasaranoursadoun4194 3 ปีที่แล้ว

    Thank you so much for the informative video ! I'm new to your channel but I absolutely love it. You covered all my interrogations expect for one: while each of them has its pros and cons what can explain the obvious price tag difference between them ?

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      I cannot change the price. I just counts in your decision making

  • @WacKEDmaN
    @WacKEDmaN 3 ปีที่แล้ว +6

    apples vs oranges... ESP32 has wifi and bluetooth... STM32 does not...it all depends on the use and features needed..

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +6

      I thought I covered these things in the video...

    • @WacKEDmaN
      @WacKEDmaN 3 ปีที่แล้ว +1

      @@AndreasSpiess sorry mate..i deleted that bit after i seen you covered it! :P

    • @zoli11
      @zoli11 3 ปีที่แล้ว

      Not quite. I have been doing stuff with ESP32, but this comparison showed me that even if I don't need wifi, in most cases I don't miss out if I just keep using those, and save myself the trouble of getting familiar with a different setup.

  • @santorcuato
    @santorcuato 3 ปีที่แล้ว +2

    Thanks Andreas. I do mainly IoT so WiFi is a must, even bluetooth to read some sensors, so...
    The ESP32 is not perfect but as a maker I focused on it and it works for me.
    Nevertheless it's always interesting to know some other alternatives to right choose in the future.
    Good job!

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      That was the purpose of the video. To know the choices.

    • @AttilaAsztalos
      @AttilaAsztalos 3 ปีที่แล้ว

      If one needs WiFi there's simply no alternative to the ESP32 series. On the other hand, not a single project I did ever needed WiFi and at that point that RTOS and WiFi stack preempting everything you do is just a liability.

  • @lohikarhu734
    @lohikarhu734 3 ปีที่แล้ว +2

    I missed a comparison of power consumption when running benchmarks...
    Also, just a note that the differences in non-floating-point are quite a bit smaller than the clock speed difference.
    Thanks very much for this work, i especially like the walk-through on software setup. Alles gute, MfG'n

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      I was also astonished about the small difference... This was an introduction and, depending on the response, I plan to do something with power consumption in the future.

    • @lohikarhu734
      @lohikarhu734 3 ปีที่แล้ว

      @@AndreasSpiess very good comparison, and i know that you are guided by comments, so it's clearly a fine response to those... as you probably note, i'm a bit of a 'picky' one on some things ;-) i kind of wonder at these microsecond(s) interrupt times, it would, perhaps, be interesting to see what code the compiler generates for IRQ handling, how much is stacked on entry. With 80 MHz clock rates, a fast IRQ should be sub-microsecond.... maybe a bit too deep for the average user?

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      I posted the measurements done for digitalwrite in another comment. It takes nearly half of the time...

  • @stewartrv
    @stewartrv 3 ปีที่แล้ว +2

    I like the Bluepill and the newer Blackpill's even more, especially if you get one with the extra memory. For about $5 it's very fast and will also run MicroPython. It's a pity you didn't have the new Blackpill baords yet. I hope you'll do a quick update with them when you get your hands on them. Oh and don't forget to have some USB-C cables on hand the blackpills use that now instead. 73

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      I have more and more USB-C cables. That should not be teh limitting factor ;-)

    • @stewartrv
      @stewartrv 3 ปีที่แล้ว

      @@AndreasSpiess I have Android only and so didn't have any USB-C and forgot to order at the same time :) I have a few now though! Of course you can program without a USB-C anyway.

  • @srtech2205
    @srtech2205 3 ปีที่แล้ว +1

    Awesome video Bud!!! I've been moving away from Arduino bc they r weak and slow! They r awesome for beginners, and some of the modified boards such as my Beloved DFRobot RoMeo V2.2 R3 and Mega+WiFi RobotDyn (Mega2569/ESP8266 Hybrid) are better than stock Arduinos, but I got my hands on some ESP and STM32 Hardware to add 2 my Arsenal and this video makes it easy to pick a board for a project! Especially a more advanced project! Great work as always Bud!!!!

  • @mxmxjrjr
    @mxmxjrjr 3 ปีที่แล้ว +1

    The most kind heart to make this video

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      Unfortunately I do not understand :-(

    • @mxmxjrjr
      @mxmxjrjr 3 ปีที่แล้ว +1

      @@AndreasSpiess someone like you who have resources showing knowledge like this on internet makes a lot of different for people who want to learn and only have youtube. If some day i want to build something and need to compare what you did, i do not need to try and error by buying each of those. Now i know what to choose for my project all thanks to your video. Great job you have done.

  • @felixruiztorrez5192
    @felixruiztorrez5192 3 ปีที่แล้ว

    Really good videos! Thank you!

  • @ales_xy
    @ales_xy 3 ปีที่แล้ว

    This is great video with a lot of interresting informations. There is another aspect of choosing the MCU - the development environment. I really hate Arduino, so I'm using Atmel Studio, MPLAB or different IDE's provided by chip's manufacturers, usually based on Eclipse IDE. The Atmel Studio, which is based on Microsoft Visual Studio, suits me best and I think it's also superior to MPLAB, which is based on NetBeans. That's why I prefer the SAM and AVR.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      This channel would be dead in weeks if I would change the IDE. Also because you find at least as many people proving you that you are completely wrong and their IDE is much better :-( I suggest using platformIO for the more advanced guys.

  • @erygion
    @erygion 3 ปีที่แล้ว

    Great video! I've been wanting to get to running STM32F103 without a FTDI breakout board! I'll use it a lot more now thanks 😁

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      Glad it was helpful!

    • @erygion
      @erygion 3 ปีที่แล้ว

      @@AndreasSpiess Yes sir, thank you. 🙂

  • @R3VISION3
    @R3VISION3 3 ปีที่แล้ว

    I personally had to install the USB bootloader using the ST-Link only since the FTDI boards I ordered are still in the mail. I was about to recommend the video guide made by Caleb Marting back in February until I noticed it in the description, since that's the one that helped me figure out the bootloader flashing without having to use FTDI boards like most other videos seem to show.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      Calebs video is very good. I found quite a few references on how to use ST-Link to flash the bootloader. But only blogs, not videos.

  • @sail4life
    @sail4life 3 ปีที่แล้ว

    Thanks for another awesome video. I was wondering about the comparison. I have used ESP8266, stm32f.. and arduinos for my projects, will definitely start looking for an excuse to use an ESP32 soon ;-) Maybe with an external ADC...

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      You will love the WiFi capability and lots of pins...

  • @leonardoh6140
    @leonardoh6140 2 ปีที่แล้ว

    @ 7:14 a wise man said: When you "pluck" the usb "pluck"... Just kiddind, nice video as always!

  • @blekenbleu
    @blekenbleu 3 ปีที่แล้ว +2

    Thanks; looking forward to a similar comparison for Nordic dongles

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +4

      This is definitively on my list!

  • @GreatProjects
    @GreatProjects 3 ปีที่แล้ว

    Great Job! Thanks for sharing.

  • @kwazar6725
    @kwazar6725 3 ปีที่แล้ว +1

    Thanks Andreas. Nice work. Good conclusions. Stm has a higher res adc from specs. Interesting to see floating point comparison though. What about power draw?

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +3

      Power consumption is stuff for another video...

  • @DanDrown
    @DanDrown 3 ปีที่แล้ว +2

    Thank you for creating this nice tutorial on the STM32 boards
    For the ADC, the Vref channel is not used automatically. You can read from it using readVref on the ADC object, but it looks like the code is incomplete.

  • @electronic7979
    @electronic7979 3 ปีที่แล้ว +1

    Very helpful video 👍

  • @AlexShoyhit
    @AlexShoyhit 3 ปีที่แล้ว

    very helpful info
    thank you very much

  • @samuelvieira4504
    @samuelvieira4504 3 ปีที่แล้ว

    Ty for the video. You should also consider measuring energy consumption. In this case, I believe stm32 would be the best choice as well.

    • @FIREMAN-ff3cj
      @FIREMAN-ff3cj 2 ปีที่แล้ว

      Best choince is rpi pico

  • @dabupk3807
    @dabupk3807 3 ปีที่แล้ว

    Awesome video 👌

  • @tasty_sand
    @tasty_sand 3 ปีที่แล้ว

    I didn't know you can code a moving average without recording data samples. I was mindblown!

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +2

      The moving average should be ok. A true average needs storing the data.

  • @asm_nop
    @asm_nop 3 ปีที่แล้ว

    In my college courses, we used a board running an STM32F405. That board runs a Cortex-M4F at up to 168MHz with an integrated FPU. It's more expensive, but it was extremely capable, had multiple separate ADCs/DACs, etc.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      As I mentioned, I should get some F4 blackpills.

  • @UReasonIt
    @UReasonIt 3 ปีที่แล้ว +1

    The newer Risc-V offerings may be a good thing the look at as well. The GD32VF103 is a little monster of a processor. Built-in floating-point support and a high fast clock rate. It has been fairly easy to use via PlatformIO and the SDK they have. There may be an Arduino like framework for it now, but I have not checked. LillyGo and Sipeed both make a board with the GD32 chip on it.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +3

      There are many cool processors around and these Risc-V ones are for sure interesting. My problem is that I have to produce videos for a big community. So I always have to decide.if the topic would be interesting...

  • @joakinsa
    @joakinsa 3 ปีที่แล้ว +4

    Great video as usual! You should definitely check out the Teensy 4.1, I think it is the fastest on the Arduino market right now (600MHz) and it also have an Ethernet phy on board. Unfortunately it doesn't have an RJ45 connector populated...

    • @St0RM33
      @St0RM33 3 ปีที่แล้ว +1

      That MCU is a beast and offers much more I/O it's just they are not fanned out

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      The Teensy seems to be a different class and probably only for specialties where you do not want to use a Linux system... I am not sure I will cover it on this channel.

    • @joakinsa
      @joakinsa 3 ปีที่แล้ว

      @@AndreasSpiess I wouldn't compare it to a Linux computer but I get what you're refering to. It's not ESP-cheap and it doesn't have the felxibility of a WiFi connection. I just thought that would be great comparing both boards. By the way the Teensy 4.0 or 4.1 are on the same level as some NUCLEO boards that you mentioned on the video. Thank you for your awesome work!

  • @Bianchi77
    @Bianchi77 ปีที่แล้ว

    Nice video, keep it up,thanks :)

  • @TristanGomez
    @TristanGomez 3 ปีที่แล้ว +1

    I've been playing around with the NRF52832 and the low power BLE capabilities mean I can have it running on coin cells without much problems! It's the younger brother (sister?) of the NRF52840 found in the new Arduino Nano 33 BLE and also programmable with the Arduino IDE. I'd love to see more of the this Nordic Semiconductor chip in your videos :)

  • @MithatKonar
    @MithatKonar 3 ปีที่แล้ว +1

    A word of caution around "Black Pills": There are (at least) two different strains of products using the "Black Pill" moniker out there. Before the current crop of STM32F4-based Black Pills were a thing, RobotDyn started making several modules based on the STM32F1 Blue Pill and referred to them as Black Pills. These are very good STM32F1 modules -- in black rather than blue. They are not what the cool kids mean when they talk about Black Pills.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      I odered boards with an F4 chip and hope I will get the right chips..

  • @behnamrasti7486
    @behnamrasti7486 ปีที่แล้ว

    thanks it was helpful for me

  • @lylerodericks
    @lylerodericks 3 ปีที่แล้ว

    Very clear! Thanks a ton

  • @Ramucho25
    @Ramucho25 3 ปีที่แล้ว +1

    Very interesting video. Many thanks. Have you ever considered testing Teensy boards to make a comparison ? They also used Arduino IDE to be programmed and are good boards too.
    Regards.

    • @frankrivers4653
      @frankrivers4653 3 ปีที่แล้ว

      I'm a huge fan of Teensy boards too. Their latest one, the Teensy 4.0 (and 4.1) they claim use the fastest microcontroller currently available, 600MHz! Hold onto your hat.

  • @bobdoritique7347
    @bobdoritique7347 3 ปีที่แล้ว

    Merci andreas. Very interesting.

  • @wm6h
    @wm6h 3 ปีที่แล้ว

    Espressif provides a DSP library for the ESP32 and I was surprised at the speed of their floating point math. If only the ADC worked better. I use the DACs to make sound. You can control the volume better in software than with the Arduino pwm method. Not sure if the STMs have a DAC.
    I can’t see starting any new project without wireless built-in. Even if I don’t use it initially.
    Thanks for the videos Andreas.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      Also here most of my projects use Wi-Fi...

  • @valentinmakes
    @valentinmakes 3 ปีที่แล้ว

    I really like the STM32 series, unfortunatly there are not that many boards with different MCUs available (I even had to make my own PCB once).
    But I think if you want to get the full potential of the STM32 series, you have to use the IDE provided by ST (CubeIDE) or a similar IDE (Segger, etc.). Then you get extremly handy features like Line-by-Line debugging via SWD, full control over the system clock(s), DMA Controller, low power features, librarys provided by ST and much more.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      I hope I will get inline debugging similar to the ESP32 also with platformIO...

    • @CandyHam
      @CandyHam 5 หลายเดือนก่อน

      I disagree; there are many STM32 development boards available, in various flavors and capabilities.

  • @muflah
    @muflah 3 ปีที่แล้ว +1

    It was hard for me to convince my co-workers to look at esp32. Earlier they were using stm32 with esp8266 in master/slave configuration. Now the go-to choice is esp32 for most projects.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      If you need connectivity, the ESP32 is for sure the better choice.

  • @georgegu3374
    @georgegu3374 ปีที่แล้ว

    availability of libraries, documentations, and example projects are crucial.
    price is probably the least of concern, unless you plan for mass production.

    • @AndreasSpiess
      @AndreasSpiess  ปีที่แล้ว

      The Maker community is quite price sensitive, I think. Maybe because of the cheap Chinese prices in the past

  • @AirzonesBlasters
    @AirzonesBlasters 3 ปีที่แล้ว

    Regarding the Blue Pill resistor, it really depends on the PC you connect it to. Some are tolerant and some are not. In the STM32F103 based board I put together, it of course uses the correct resistor.
    However I have since changed the board design over to the STM32F411. And that's such a nice chip.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      Thank you for the info. I will look at it as soon as I get my bluepills...

  • @RobertLugg
    @RobertLugg 2 ปีที่แล้ว

    Great comparison. Because there are so many stm32 variants it would be interesting to compare others. For instance for the same price as esp32, are there stm32 boards with WIFI and Bluetooth and a floating point number?

    • @AndreasSpiess
      @AndreasSpiess  2 ปีที่แล้ว +1

      No STM32 with WiFi is currently supported by the Arduino IDE :-(

  • @saeedkizzy
    @saeedkizzy 3 ปีที่แล้ว

    I am a big fan of STM32 family I use IAR tool for compiler, embOS, or freeRTOS for RTOS library and also standard library provided by ST semiconductor. also, stm32F7 has higher freq and also floating-point support and pin-compatibility in same packages also is a useful feature.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      Thank you for sharing your experience. Next time I try to use at least an F4 chip...

  • @1828fernando
    @1828fernando 3 ปีที่แล้ว +1

    Great video!!! Can you compare both microcontrollers with native language??

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      C++ is native enough for me...

  • @fullsolutionslab
    @fullsolutionslab 3 ปีที่แล้ว

    Dear Andreas. As you told us in another video from you, you are a true swiss biker :) and I dont mean a bicycle-biker but a motorcycle biker! because I'm a Swiss biker too, it would be cool if you can make a motorcycle project. For example to collect multiple data by riding like speed, real-time, position (GPS), temperature, humidity, pressure, angle of the motorcycle, acceleration, break way (how long it takes), distance from the wheels to the chassis (to record if the street is rough), power consumtion an so on. then collect all the data in an excel sheet and do some machine learning to evaluate your driving style and to see if your driving style is good or not. then of course with real time online update with a GSM module and connect all sensors to each other by wifi or something similar like BT. The whole system could be controlled via a voice regonition interface or a gesture sensor and all data could be displayed on a TFT display or maybe a Nextion. And to round up everything an ESP32-Cam could record everything on your way.
    What do you think? I'm creating something similar at the moment, but it would be realy cool to see how you would do a project like this ;)
    I hope you stay healthy and keep corona free :o) kind regards, delf from Bern

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      As you might know, I am an old man and therefore I own a Harley: So most of the things you want to measure are not of interest to me anymore ;-) The only thing I measure is fun per time...
      So you need a younger, more ambitious guy for such a project.
      BTW: I have a Hero on my bike to keep the impressions of our journeys.

    • @iforce2d
      @iforce2d 3 ปีที่แล้ว +1

      Many of those things could be recorded pretty well by just slapping an Ardupilot board on :)

    • @fullsolutionslab
      @fullsolutionslab 3 ปีที่แล้ว

      ​@@AndreasSpiess Come on Andreas, you are not an old man yet. Take a look on all miracles you are doing, inventing and sharing with us. I think because of your grey hears you look older than you are ;o) I'm just joking :) I can fully understand, that you arent interessted in a motorcycle data capture project. Thats ok.
      The reason, why I have proposed this project is, because I miss sometimes some realistic applications in your nearly perfect video's. Everytime you explain very complicated stuff so good, that even the biggest noob can understand what you are teaching. The part, that you are allready doing for long time has nothing on it that I could do critics on it. But unfortunely I often have not enough ideas how to use your content in real life. Maybe if you like you could make a project with a real life application/use. You have done a lot of LoRa instructions and presentations. Some of your LoRa instructions i have successfully achieved. Now I have a LoRa Gateway and some working LoRa modules. But what can I do now with them? For what should or could I use it? Very nice to have, but till now useless for me :) But I had a lot of fun to replicate your instructions.It was very cool ;) Yeah, maybe you have more ideas than me for the future.
      I hope you stay healthy and I wish you only the best :) Kind regards

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      I agree that I often leave the imagination to my viewers. But this is how I am built. My firm belief is, that the wish is the first thing in a project, especially in hobby. I have quite a few videos where I show how I use it (for example the hacked garage door opener below the saddle on my Harley). But often I only want to spark the imagination of my viewers.
      LoRaWAN is a special case because it is a technology with a lot of enthusiasm but not a lot of applications for the average Maker. I liked it because I am a HAM operator and love RF stuff. I also thought I can help a lot of people with my knowledge in these areas.

  • @fernando7517
    @fernando7517 2 ปีที่แล้ว

    Thank you!

  • @kapdivyang
    @kapdivyang 3 ปีที่แล้ว

    Nice video 👌

  • @KerbalLauncher
    @KerbalLauncher 3 ปีที่แล้ว +1

    I really never understood why people don't just buy nucelo boards off digikey. They come with an embedded st-link! The PSOC6 prototyping kits are a great alternative to the ESP32 as well, much lower power consumption.
    The H7 series are really powerful and under $30.

  • @villageidiot8718
    @villageidiot8718 3 ปีที่แล้ว

    If physical space is not an issue, I prefer the ESP32 with the external ADC. Thanks for this video

  • @brycedavey1252
    @brycedavey1252 3 ปีที่แล้ว +1

    This shows how good the esp32 is, given it also has WiFi and Bluetooth!! It also has a core just for the Rf

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      The ESP32 is also newer. But it is definitely a good choice for many applications.

    • @brycedavey1252
      @brycedavey1252 3 ปีที่แล้ว

      @@AndreasSpiess One thing I would point out is that the STM32 product line has some very nice development boards. Plus the programmable brushless motor controllers are fantastic for DIY projects :)
      I do normally recommend the esp32 for beginners though if I'm honest

  • @Promilus1984
    @Promilus1984 3 ปีที่แล้ว +2

    Comparison of ESP32 with really old Cortex-M3 based STM32F1 proved bluepill is pretty decent hw. Blackpill is even faster. Usually there's nearly 50% performance gain just by using higher clock rate and STM32F4 does have integrated FPU as well so doesn't suffer such penalty as STM32F1. Both flash and ram are significantly bigger as well than old F1 and architecture is based on Cortex-M4 so with additional dsp instructions. That makes it pretty big improvement. I hope you will be so kind to repeat tests once you get hold on STM32F411 based black pill :)

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      You are right. But I think, speed and flash size are not real limitations for most makers. This is why I did not focus on those features. The FPU is a game changer if you need it. This is why I mentioned it. I have no plans for the moment, but this easily can change ;-)

  • @kanapkazpasztetem
    @kanapkazpasztetem 3 ปีที่แล้ว

    Did you have a look at the Nucleo boards? I've bought one few years ago but didn't really get into STM, it is hard to beat a generic uno/leonardo for quick testing (like when you just want to test some new sensors) and now if I'm going to create some device the wireless connectivity always on the table in some sort so the ESP already having wifi/BT seems like a better choice. The STMs for sure seem to be great if they fit your application but my applications don't fit STMs 😅

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      I once used a nucleo board for testing TOF sensors. It was much bigger and, if I remember, also much more expensive.

  • @mysomervda
    @mysomervda 3 ปีที่แล้ว

    An oldy but a goody. I was just looking at this in the context of RPI Pico Vs Esp32 Vs STM32 (Blackpill) . Have you done any tests to update the numbers for a Blackpill with a Cortex M4F. I would be interested in if the interrupt and Floating point improved a lot over the M3 based Bluepill

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      I did not do any further benchmarks.

  • @khomo12
    @khomo12 หลายเดือนก่อน

    Thank you!👍👍👍

  •  3 ปีที่แล้ว

    I would love to see a video about cheap but reliable power supplies for smaller MCU projects which don't require that much current. USB phone chargers are an option, but they often cost more than the whole project :|
    Eg. if I like to put something like a RCWL-0516 sensor and an ESP8266 to every room in the house, it needs a separate PSU in every room.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      I do not see any cheaper 220/110V power supplies than USB PSU :-(

  • @alexatdeineroehre
    @alexatdeineroehre 3 ปีที่แล้ว

    Hey, as always you made a super video but i don't like the comparison of the floating point test. you are comparing aples with pears. maybe take the next time a stm board with fpu? i personally want to know which fpu is the best. So if i need fast floating point calculation should i choose stm or esp? Thanks and Bye Bye ;-)

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      I think I mentioned that this STM32 has no FPU I do not know anything about FPUs because I never had the need to search for one.

    • @alexatdeineroehre
      @alexatdeineroehre 3 ปีที่แล้ว

      Yes ofcourse you mentioned that. My question is more about why compare things one Controller familiy has but the other Not. Thanks for your reply.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      To see if or how much it matters...