Easy & Powerful Arduino Alternative? STM32 Beginner's Guide

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2018
  • ​​Upload Gerber files for review & order $2 PCBs: jlcpcb.com/quote
    Support me for more videos: / greatscott
    Previous video: • How does Magnetic Levi...
    Facebook: / greatscottlab
    Twitter: / greatscottlab
    Arduino videos mentioned in the video: • Arduino Basics 101: Ha... • Arduino Basics 102: Co... • Arduino Basics 103: Li... • Electronic Basics #30:...
    You can get the STM32 Development Board here: (affiliate links):
    Ebay: rover.ebay.com/rover/1/711-532...
    Aliexpress: s.click.aliexpress.com/e/_dXJ...
    Amazon.de: amzn.to/2G0DWzq
    USB to Seriell Converter:
    Ebay: rover.ebay.com/rover/1/711-532...
    Aliexpress: s.click.aliexpress.com/e/_dV4...
    Amazon.de: amzn.to/2Dte0in
    You can find more information about the board and how to use it here:
    www.st.com/en/microcontrollers...
    wiki.stm32duino.com/index.php?...
    wiki.stm32duino.com/index.php?...
    grauonline.de/wordpress/?page_...
    www.stm32duino.com/
    docs.leaflabs.com/static.leafl...
    github.com/rogerclarkmelbourn...
    Thanks to JLCPCB for sponsoring this video
    Visit jlcpcb.com to get professional PCBs for low prices
    In this video we will have a look at the Blue Pill development board that is based around an STM32 32-bit ARM uC. Along the way I will show you how to easily program it with the Arduino IDE and what advantages/disadvantages it offers in comparison to the traditional Arduino.
    Music:
    2011 Lookalike by Bartlebeats
    Killing Time, Kevin MacLeod
    (incompetech.com)
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @bzqp2
    @bzqp2 ปีที่แล้ว +40

    One very important thing that wasn't mentioned: You need to install drivers for your programmator/USB>TTL converter. By default there is no USB driver which would translate the serial signal and you will be getting port errors while trying to upload your code. If you don't know this you might waste hours trying to debug the wrong things and might come to a false conclusion that your STM32 is broken.

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

    I have been following this channel since you had about just 8 videos. No other youtuber that I know of makes videos as good as you do. Your videos are in a class of its own. I look forward to seeing more of your work.

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

    Great Scott!! Great video!Of all the stm32f103 videos I have viewed, you gave the most info and also using leaflabs makes it easier to continue learning about the board. Thanks for sharing

  • @TheSolderingGuy007
    @TheSolderingGuy007 6 ปีที่แล้ว +15

    Very happy to see the STM32 getting more attention.
    An additional thing to note is that most of these boards actually have 128KB memory instead of the documented 64KB. Thats a lot of space ! but your luck may vary.
    BTW, using an ST-Link to program the board is a lot easier than fiddling with FTDI boards and jumpers.

  • @NNNILabs
    @NNNILabs 6 ปีที่แล้ว +10

    I simply don't know how you do it, but you make videos about a subject a few days after I come to know about it!
    I received my STM32 board a few days back.

    • @justinc2633
      @justinc2633 3 หลายเดือนก่อน +1

      i have no clue how he does it but he seems to make videos on a subject only 5 years before i learn about it!

  • @nielsjohnson-laird6589
    @nielsjohnson-laird6589 6 ปีที่แล้ว

    I had been considering the Blue Pill Arduino for a while now, but you convinced me to order some from Amazon. Thanks for you time and effort in creating this video guide.

  • @matracch
    @matracch 6 ปีที่แล้ว +2

    as I'm doing internship in STM I really appreciated this video :)

  • @Braeden123698745
    @Braeden123698745 6 ปีที่แล้ว

    How in the heck do you ALWAYS give me the exact information I needed for my new projects in every new video you put out? Interrupts are exactly what I'm looking for!

  • @jamesmcfarland8975
    @jamesmcfarland8975 6 ปีที่แล้ว +5

    This chip (STM32) is also used in the iconic Naze32 flight controllers for drones. It's known as an F1 board, we use the new versions of the STM, like the f405

  • @noealves8400
    @noealves8400 6 ปีที่แล้ว

    thank you for the testing. always good to have another board to look after.

  • @turtleb01
    @turtleb01 5 ปีที่แล้ว

    I just love JLCPCB as a sponsor for your channel. It fits so well to this channel, you get that money for these videos and you don't overuse/overadvertise their services

  • @captdev
    @captdev 6 ปีที่แล้ว

    I had no idea that the STM32 in this form existed, even though much of my work in embedded systems in the past has been centered around the cortex. I went and ordered a few of these to have some fun with - thanks for the suggestion @GreatScott!

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

    lol i love your videos, they are so calming and satisfying to watch. And i always learn something new :)

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

    Great Video. One of the Blue Pill's best benefits is that it has a WS2812 library that is timer/interrupt based. The Arduino utilizes program instruction timing to create the waveform needed, but that requires them to disable interrupts. The Blue Pill has no problem servicing external interrupts while driving the led strips.

  • @Taran72
    @Taran72 5 ปีที่แล้ว

    Thanks for the product review. It's always good to know there are alternatives that can meet more demanding PWM applications.

  • @coreyh55
    @coreyh55 6 ปีที่แล้ว

    Love your videos bro! Many of your videos have helped me come up with new ideas on how to make my personal projects better :) keep up the great work :D

  • @leonardocorti1919
    @leonardocorti1919 6 ปีที่แล้ว +15

    Finally you upgraded your highlighter, good job man

  • @LazerLord10
    @LazerLord10 6 ปีที่แล้ว +24

    Just ordered four of these.
    No clue when I'll use them, but I can see how these would be great for embedded systems in the future.

  • @JayEffW
    @JayEffW 6 ปีที่แล้ว

    Man. When I made a project with the nucleo dev board, I had to set up my own tool chain and I wrote the entire code for communicating with the peripherals myself. Good to know this exists!

  • @mihaiadam4024
    @mihaiadam4024 5 ปีที่แล้ว

    like always great explaining, great videos, GREAT SCOTT!

  • @amitpatelpatel144
    @amitpatelpatel144 6 ปีที่แล้ว

    Thanks GreatScott for uploading this kind of video.

  • @TheMrFixMe
    @TheMrFixMe 5 ปีที่แล้ว

    Thank you GreatScott, it was a great instructive video, I wanted to use STM32 in my projects but I haven't found a great beginner's guide like yours. Now I know exactly what I'm going to do to develop STM32 projects. Thank you.

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

      This is a youtube channel on Firmware development for 8-32 bit MCU and IoT.
      Explanation of sensors , modules, pheriferals from datasheet
      Do have a look into it : th-cam.com/channels/aRUL90bhP-TdCLUlla3gMg.html

  • @dakcn
    @dakcn 6 ปีที่แล้ว

    Fantastic video. I learned more in 10 minutes then hours of fumbling around on the internet. Thank you for sharing.

  • @gshunlee5073
    @gshunlee5073 6 ปีที่แล้ว

    Do you know how good your straight lines and hand writing is MAN I AM JEALOUS!!

  • @dernicolas6281
    @dernicolas6281 6 ปีที่แล้ว

    Great video, everything so well explained and thanks for all the links.

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

    Stm32f4 discovery boards are powerful little beasts. Used one with an Arduino in an autonomous vehicle class while at university.

  • @Gabi-ct3sz
    @Gabi-ct3sz 6 ปีที่แล้ว +1

    OMG a new video after 1000 light years . Dude i m so excited when You post a new video . You make a very grate job . Keep up the work 😃

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

      light years measure a distance

    • @Gabi-ct3sz
      @Gabi-ct3sz 6 ปีที่แล้ว

      i know.... a distance from the videos :))

  • @robr4662
    @robr4662 6 ปีที่แล้ว

    Another great video! Definitely will be checking these out.

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

    Great job! I was wondering when you would try this board!

  • @pjak2000
    @pjak2000 6 ปีที่แล้ว

    Thanks for bringing this to our attention. I've bought 4 of these to see what they can do :) cheers!

  • @MaxintRD
    @MaxintRD 6 ปีที่แล้ว

    Thank you for another inspirational video! For those interested: in video #11 Andreas Spiess compared speed/power of ATmega vs. STM32 vs. ESP.

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

    Excellent Video my friend!!! Just got my hands on a couple STM32 Boards to add to my Arsenal and I was a little worried that writing sketches would be significantly different from Arduino! This video cleared that up nicely!!!

  • @Neffers_UK
    @Neffers_UK 6 ปีที่แล้ว

    Good shout man. I'm not sure for now that anything I plan will require the better resolutions etc, but it's good to know that if I require a higher fidelity, there's a decent similarly priced option out there - without me having to go searching among all the other solutions out there. Cool vid, thanks.

  • @keithofarns8738
    @keithofarns8738 6 ปีที่แล้ว

    Thank you for this video, I was interested in this microcontroller a while ago when I started to out grow the nano but was hesitant because of the scarce documentation and support

  • @AntonioBdeJesus
    @AntonioBdeJesus 5 ปีที่แล้ว

    Thanks guy! Great video, plenty of golden information!

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

    I personally use the NodeMCU ESP-12E and i love it! it functions pretty much like a uno, and has wifi built-in. plus they cost $2.40 on aliexpress

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

    very nice & clear explanation, Brother Scott ...

  • @SpecialEDy
    @SpecialEDy 6 ปีที่แล้ว +80

    Can you do a video showing the nucleo stm32 boards? They range from the ARM Cortex M0, all the way up to the 400MHz Cortex M7. And even the M7 is cheaper than a Nano from Mouser Electronics.
    I work for Mouser incidently, I could mail you some Nucleo boards if you'll make a video. I'm too inexperienced to know how to make the jump from Arduino IDE to programming these things.

    • @traviscalvin431
      @traviscalvin431 6 ปีที่แล้ว +2

      I agree. I have a couple of the Nucleo boards (NUCLEO-F746ZG) to play with. I couldn't resist trying them based on the hardware specs, but find them to be a little harder to deal with at this stage in my microcontroller learning process. I was making decent progress but os.mbed.org quit compiling temporarily and I went back to Arduino...

    • @julienboucaron9780
      @julienboucaron9780 6 ปีที่แล้ว +2

      Yes, I love my Nucleo boards (F411RE and F446RE). Nucleo boards are relatively well supported by mbed and few other real time OSes. What is cool on those Nucleo boards is to have the hardware to really be able to debug it, the price is competitive and you can have a lot of IOs and interesting features: Fast ADC, Correct DAC, I2S, CAN, Ethernet on the Nucleo-144 series. I am using mbed, www.openocd.net/ and github.com/texane/stlink to program.

    • @7xr1e20ln8
      @7xr1e20ln8 6 ปีที่แล้ว

      Absolutely love my stm32 nucleo boards. They are cheap, superior and powerful in every aspect.

    • @asderidelp
      @asderidelp 6 ปีที่แล้ว

      Julien Boucaron I would suggest you to try Keil Microvision to program them
      it works as well as atollic truestudio, but you can get it for free
      And with the STM HAL Library and CubeMX configuration Programm they can be quite easy to program
      Unless you want to get a stable CAN connection and you have to go back to the old Library's..

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

      Here is a nice start:
      trinirobotics.com/category/stm32-microcontroller/

  • @fieldsofomagh
    @fieldsofomagh 6 ปีที่แล้ว

    Looking forward to some great projects in the future. There's gold in them thair hills!!

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

    Thanks so much for this video! You're the best.

  • @ScottLahteine
    @ScottLahteine 6 ปีที่แล้ว +2

    Thanks for the helpful overview! We're learning all kinds of fun things about the STM32F1xxx processors as we're working on porting Marlin Firmware to various 32-bit MCUs including this one. The lack of 3rd-party libraries definitely makes it more challenging. Nevertheless, we're making progress and have it mostly running at this point. Considering the large size of Marlin compared to most Arduino applications, I'm impressed that it has been relatively quick and straightforward to refactor most of it. After we get past the first hurdle of getting everything running as well as AVR, then we will be able to start taking advantage of the extra timers and other capabilities offered by these more powerful platforms.

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

      If you're one of those responsible for making Marlin 2.0 available for the ender3v2, thanks so much! It's a great firmware for those who want to customize lots of things but not attach a raspi to the printer like with Klipper etc. The stm32 boards are amazingly cheap as well and are really fun to use for all kinds of projects.

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

      STM32 minimum system is also very useful 😊

  • @harshsrivastav5199
    @harshsrivastav5199 6 ปีที่แล้ว

    Your Videos are Really High Quality and Rich Content with Lot of educational Stuff...Thank You #GreatScott!!

  • @quranforlife4665
    @quranforlife4665 4 ปีที่แล้ว +2

    If you want to get a little bit complicated. One can also use ST link programmer along with STM CubeMX and Keil IDE. In that way you can get full outcomes from that ARM STM.

  • @pgdelhiganesh
    @pgdelhiganesh 6 ปีที่แล้ว

    More informative about STM32.
    Thank you.

  • @12co3dy21
    @12co3dy21 6 ปีที่แล้ว

    Just so you know, I have a playlist of videos I have been compiling for some time based around electronics and you represent 95% of my list

    • @greatscottlab
      @greatscottlab  6 ปีที่แล้ว

      +Cody Deforest Haha I like it

  • @Victoratguitar
    @Victoratguitar 6 ปีที่แล้ว

    Thanks for another amazing video, always following your channel

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

    Really good video and explanations, thank you!

  • @joejohns3543
    @joejohns3543 6 ปีที่แล้ว

    Nice video! I'll be trying one of these soon.

  • @anibalvilelarj
    @anibalvilelarj 5 ปีที่แล้ว

    It is a great vídeo. Thank you. Recently I bought 3 stm32 from aliexpress. I am waiting for them.

  • @rodrigo_dm
    @rodrigo_dm 6 ปีที่แล้ว +11

    Now we need a ESP32 guide!!! nice video Greatscott btw youre the best

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

      I did a small ESP32 guide. Here it is: th-cam.com/video/ZAqNKaX3LQ0/w-d-xo.html

    • @rodrigo_dm
      @rodrigo_dm 6 ปีที่แล้ว

      Gotta check that right now. Keep up the awesome work!

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

    Hi Scott, thanks for the great videos that you upload :), always interesting.

  • @electrospark1765
    @electrospark1765 6 ปีที่แล้ว

    Great video and love you Scott

  • @pablo_costas
    @pablo_costas 6 ปีที่แล้ว

    I purchased 2 of these a year ago, cool concept, but never used them with Arduino. In think that they are more useful using STM32CubeMx + eclipse + STlink. Proper IDE, proper HAL. I know that your channel is not oriented towards what im thinking, but I see it as the natural progression. You got yourself into electronics by arduino and later on you go deeper by learning what a microcontroller actually is. Discovery Boards are also a great way to get you into STM32 microcontrollers !!!
    cheers !

  • @RyanJones-lv9dj
    @RyanJones-lv9dj 6 ปีที่แล้ว +27

    What’s the difference in power consumption?

  • @pixelflow
    @pixelflow 6 ปีที่แล้ว +2

    The magic of BOOT0 pin moved to '1' is that there is a serial bootloader installed on the chip by default at that location. For those with usb ST-LINK programmers, you can mostly ignore that OR use st-link to replace the bootloader with whatever you wish.

  • @phpn99
    @phpn99 6 ปีที่แล้ว

    You gotta love the signatures from top TH-camrs: "VSauce, Michael here..."; EngineeringExplained: "Hellooo everyone, aaand welcome!". I always make sure I stay till the end of GreatScott's videos, just to hear "Stay creative, and I'll see you next time !" - funky intonation and all.

  • @Prestigeairsoft
    @Prestigeairsoft 6 ปีที่แล้ว +2

    We used the stm32 in a control systems lab at my university. Except we coded it in C. Now that was a challenge

  • @DerLetsPlayer333
    @DerLetsPlayer333 6 ปีที่แล้ว +97

    It would be awsome if you made a video about FPGA's

    • @shivashankar28
      @shivashankar28 5 ปีที่แล้ว +10

      ya FPGAs for the WIN !!!!

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

      Little did he know.... the comment came true.

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

    Thanks for the info Scott :)

  • @1996BRECHT
    @1996BRECHT 6 ปีที่แล้ว +4

    Very interesting! I was unaware of the arduino IDE compatibility! Since STmicro took over Atollic, TrueStudio PRO is now free to use with STM32 MCU's! This IDE has very powerfull debugging capibilities and also very easy to install in Ubuntu! Might be interesting to take a look at that!

    • @pepe6666
      @pepe6666 5 ปีที่แล้ว

      yeah mate i got it installed. im still figuring it out. it looks like it has my wee blue pill board available. but im kinda running in bareback and seeing what kind of crazy shit i can get away with. still somewhat lost.

  • @vthrash7832
    @vthrash7832 6 ปีที่แล้ว

    Really useful! i was looking for a faster board to try a "current chopper" like the one you made in the brushless edc video, but measuring the current with a shunt resistor

  • @ashangstrom8362
    @ashangstrom8362 6 ปีที่แล้ว

    Nice comparison of the general feature. What's missing IMO is a comparison of power consumption, for example if one wanted to run those boards on batteries.
    Granted, as the STM32 will get a job done faster due to the higher clock speed it's not an easy comparison, but a base line of maybe one of your sketches would be nice.

  • @ConsultingjoeOnline
    @ConsultingjoeOnline 6 ปีที่แล้ว

    I clicked ur bell! Your great Scott.

  • @ams0063
    @ams0063 6 ปีที่แล้ว

    Hey I reached a bit late but again excellent video learned new things and as usual keep it up

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

    Set your timer's ARR to 7199 instead of 7200 for an interrupt per second. Its a small difference but can make a difference in the long run.

  • @alterratz665
    @alterratz665 6 ปีที่แล้ว +5

    I switched from Arduino to STM32 back 4 Years ago and never looked back. Especially the Eclipse/GDB/Stlink-Combination is unbeatable and by not using the Arduino Library you also get a massive performance boost.

    • @pepe6666
      @pepe6666 5 ปีที่แล้ว

      have you been able to use any DSP libraries? i'm attracted to the CMSIS DSP libraries but the whole CMSIS or HAL thing confuses the crap out of me

  • @Tim_Small
    @Tim_Small 6 ปีที่แล้ว

    You can also program these MCUs with the Rust programming language as well as C. It's great to be able to use a high level language without sacrificing performance or code size... You can even mix both languages in the same project...

  • @TheFlyingScotsmanTV
    @TheFlyingScotsmanTV 6 ปีที่แล้ว

    exellent video. as a producer of videos too - I could really see the amount of work you've put into that - be interesting to know how long the shooting/editing took - my guess is 5-10 hours. probably more towards 10 (note: not effort of finding code, experimenting, getting it all working - that obviously was much longer!). keep em coming!

  • @jbraMoVal
    @jbraMoVal 6 ปีที่แล้ว

    I'm about to finish my first Arduino class and even though I find this interesting, the terms used in here are new to me. I really learning from people's comments!!!

    • @jbraMoVal
      @jbraMoVal 6 ปีที่แล้ว

      Would this micro controller be suitable for beginners? I am looking for inexpensive Arduino arlternatives for different projects I'm planning on doing based on GreatScott projects

  • @Hackvlog
    @Hackvlog 6 ปีที่แล้ว +2

    I like those STM32 boards. They are very cheap, powerful and overall they are like Arduino Nano on steroids.
    In my opinion there are some things that still make me get and use Nanos instead of those STM32 boards in most cases. For example Nano's external USB-to-UART -converter is a pro and a con. Can't make HID devices with it, but it allows having serial port present on computer side, even during the reset (of the microcontroller). Also the possible compatibility issues with libraries can be annoying.
    Anyway, great comparison and video.

  • @ECOENERGI1
    @ECOENERGI1 6 ปีที่แล้ว

    Very informative. Thanks for sharing

  • @Hasitier
    @Hasitier 6 ปีที่แล้ว

    Great video. I did not know about this stm32 and that it can be programmed with the for me very familiar Arduino IDE. Ordered a few of them.

  • @John_Ridley
    @John_Ridley 6 ปีที่แล้ว +17

    Thank you, I bought one of these on an eBay buying spree a year or two ago and never got around to messing with it. Sounds like I should consider using it instead of the Nano as my default device in projects. Have to see how it does at low power though.

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

      John Ridley it actually performs better than Arduinos in low power situations thanks to the cortex m3 core. In fact it can make it to a couple microamps in full-on sleep mode

  • @TheBdd4
    @TheBdd4 5 ปีที่แล้ว

    Thank you! Great video. I am a analog /digital engineer but have not used any of tyhe ne Arduin type stuff. This video excited me so much I am going to buy the parts you used in your demonstration right now, 2-12-19. What monitor did you use to see the potentiometer values?

  • @zuyanchang
    @zuyanchang 5 ปีที่แล้ว

    This video helpful for me so mach. I'll begin to learn STM32 Chip.

  • @saurabhsharma-ts6ky
    @saurabhsharma-ts6ky 4 ปีที่แล้ว

    Man you have in depth knowledge and great patience to make that video's 👍
    I am 0
    Please let me where I can start learning.

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

    Perfect timing I'm looking at STM uC for two projects. Danke schon! Aber the 'blue pill' some-one might get the wrong idea if I said I was getting some blue pills!

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

    The STM32 is my favourite MCU to date (I however program it without the Arduino IDE). I've totally fallen in love with the ARM architecture!

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

      Bro I'm confused right now I wanna buy this bourd but the not enough library thing is bothering me right now and im not a very good coder so can you tell me how can I get this to work? In any kind of project?

  • @nathanas64
    @nathanas64 5 ปีที่แล้ว

    Outstanding! Thank you!

  • @eatdrinkwineguy
    @eatdrinkwineguy 6 ปีที่แล้ว

    Another informative video! Thank you! I have just started getting interested in using micro controllers like Arduino recently but have not yet taken the plunge. Do you think going straight to this is a better option given price and availability? Or do you think Arduino is better to learn and practice on then when I am interested in more powerful projects I move to this? Or do you think it may be best for a beginner to start with Arduino Uno? I have read that the Nano and smaller boards can just be a bit fiddlier to work with.

  • @waqarshakoor9265
    @waqarshakoor9265 6 ปีที่แล้ว

    You are a good teacher,.
    Thanks

  • @jasonmhite
    @jasonmhite 6 ปีที่แล้ว +19

    If you plan on using these regularly I recommend getting an ST-LINK programmer. The clone ones work well and cost

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

      No, it's not serial like an Arduino, it's a protocol called SWD. You need an ST-Link like this one. www.amazon.com/Electronics-Emulator-Simulator-Programmer-Programming/dp/B072J7QKDJ
      You need two if you want to flash the Black Magic firmware.

  • @jameswood721
    @jameswood721 4 ปีที่แล้ว

    Great Video Scott thanks!

  • @sayanpaul1057
    @sayanpaul1057 6 ปีที่แล้ว

    Love watching your videos great...

  • @moradtamer
    @moradtamer 6 ปีที่แล้ว +8

    Now waiting for the next big project where you will make an awesome (as always) project that needed the STM32 because the Arduino couldn't cut it

    • @F3arRa1n
      @F3arRa1n 6 ปีที่แล้ว

      Morad Tamer I can see the coil gun with other features

  • @codebeat4192
    @codebeat4192 4 ปีที่แล้ว

    Thanks to this video I realize why my first attempt with the STM32 failed.

  • @puits-de-science
    @puits-de-science 3 ปีที่แล้ว

    Great video !

  • @ralfjahns3777
    @ralfjahns3777 6 ปีที่แล้ว +4

    I never see you use the DIY soldering station you built. I liked this project. Is something wrong with it?

  • @ranjithg7598
    @ranjithg7598 6 ปีที่แล้ว

    Thanks for your advice

  • @EcuaCrudo
    @EcuaCrudo 6 ปีที่แล้ว

    OMG you drive me crazy with the high lighter pen.

  • @BerndFelsche
    @BerndFelsche 6 ปีที่แล้ว

    There's a 16-bit timer on the ATmega328 that's not exposed to the Arduino IDE; other than hidden in the servo library. I used the 16-bit functionality in a proprietary project; it wasn't too hard. Being a glutton for punishment, I even developed an I²C connected ATtiny85 that'd drive a PWM at any frequency (over the range of 15Hz to 30kHz ), at the nominated duty cycle. Even had a spare interrupt for tacho feedback where available, but didn't get around to implementing closed loop control of speed; development time being the restriction, not a lack of chip facilities.
    BTW: The PB version of the ATmega328 chip has more external interrupts, timers and UARTS, another I²C and some more goodies but is unfortunately not pin-for-pin compatible, employing some of the "duplicated" power supply pins for I/O. So you can't simply replace the microcontroller on a PCB.
    When comparing the options, it's also necessary to look at the power consumption; especially for battery operation.
    If you need the raw computing power or the many interrupts, or the finer ADC resolution then obviously take the STM32 option.
    I use a set of tables to *plan* out the required microcontroller resources for a project, detailing I/O - input/output - analog/digital, interrupts, hardware timers and their respective allocation. Then I choose the microcontroller. The tables can start out on a whiteboard next to a rough map of the electronics before I migrate them to an electronic document. I stick printouts of the tables on the wall next to my desk while programming. Paper being slightly cheaper than the equivalent 70" LCD. ;-)

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

    Thanks for featuring this, can you feature how to uses the Can Bus to communicate to another Arduino

  • @nitexozo
    @nitexozo 4 ปีที่แล้ว

    Scott, u are great !

  • @saadkarim6994
    @saadkarim6994 6 ปีที่แล้ว

    Scoot you are the best.keep going

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

    Danke fûrnso viele Tips, Maestro, looks like some good documentation available from the sources that you mentioned! Have you done any low-power testing on the Blue Pill? I used to use hc11 processors, and some others, and got used to the uA range work when I worked in the "mobile phone" world... BTW, if you want a very nice LED driver, look at the L5521/5523 (3 ch/9 ch) from TI; these are programmable, via I2C, with three "engines" that drive the LEDs, even with you CPU powered down, or in 'sleep' mode

  • @PhilipStubbs
    @PhilipStubbs 6 ปีที่แล้ว

    I have a desk littered with Arduinos and Pis. Now I want some of these too.

  • @subspectacle
    @subspectacle 6 ปีที่แล้ว

    Daaamn, this board is even cheaper than arduino nano on aliexpress (arduinos are quite hyped this days). Thank you for showing an easy way to programm this bad boy)

  • @mortensentim511
    @mortensentim511 6 ปีที่แล้ว

    I like the Node MCU which is based on an ESP8266 which is a similar price and you can program in the Arduino IDE over the USB port. I also like the Nucleo boards for anything that has to come from a reputable source, you get something seriously powerful and it's just £10-12 from Farnell. That doesn't support Arduino and you have to use mBed instead, but it's very similar with most libraries I use being supported.

  • @Mr.Unacceptable
    @Mr.Unacceptable 6 ปีที่แล้ว

    These are fantastic project devices. They come in several flavors. I have used them to make several one-off automation devices. We need a PieHole app for it. Instead of blocking adverts the PieHole plays and watches them so I don't have to.