#353

  Переглядів 136,500

Andreas Spiess

Andreas Spiess

3 роки тому

In video #345 I asked the question whether the ESP32 or the STM32 Bluepill is the better choice. The video created quite some controversy, mainly because I compared the weakest STM32F103 chip with the quite powerful ESP32. Some viewers thought I was unfair and suggested to do a test with more powerful chips like the blackpill. This is what we will do (incl. ESP8266). And we will learn quite a few things about the chances and the weakness of the “STM32duino” project. For example, its capability to do inline debugging. At the end of the video, you will have a good overview and know some tricks to save you a lot of time and hassle. And of course, you will know which board you need for speed…
I am a proud Patreon of @greatscottlab , @ElectroBOOM , @ELECTRONOOBS , @EEVblog , and others
No Docker, Microsoft Teams, Zoom
Links:
Bluepill: s.click.aliexpress.com/e/_d9B...
Blackpills: s.click.aliexpress.com/e/_d9D...
Teensy 4.1: amzn.to/3iPIn3k
STM-Link 2-1: s.click.aliexpress.com/e/_d83...
ST-Link V2: s.click.aliexpress.com/e/_dXD...
Lots of STM32 info: 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
#noMidrollAds

КОМЕНТАРІ: 847
@naimfuad5913
@naimfuad5913 3 роки тому
that windows usb disconnect sound 12:57 left me scrambling by checking all usb port
@AndreasSpiess
@AndreasSpiess 3 роки тому
:-))
@Dust599
@Dust599 3 роки тому
you get what you deserve by running windows.
@TheInreamir
@TheInreamir 3 роки тому
I was copying a really big file from my PC to HDD. 😅😅 mini heartattack.
@BenMitro
@BenMitro 3 роки тому
The man with the Swiss accent does it again - another video of really useful information and comparisons. Thanks Andreas.
@AndreasSpiess
@AndreasSpiess 3 роки тому
My pleasure!
@eddybash1342
@eddybash1342 3 роки тому
No, he is : ' The " guy " with the Swiss' accent '. ;)
@BenMitro
@BenMitro 3 роки тому
@@eddybash1342 I have different speakers on my computer...
@eddybash1342
@eddybash1342 3 роки тому
@@BenMitro yeah, I am so happy for you ! ;)
@marleyemery5785
@marleyemery5785 2 роки тому
you prolly dont care but does someone know a tool to get back into an instagram account? I stupidly lost the password. I love any assistance you can offer me.
@john-r-edge
@john-r-edge 3 роки тому
Great having a silverback expert to listen to about the latest tech - as he can relate it to the legacy gear of the 60s and 70s. As someone a similar level of chronological endurance as Andreas, I encountered some of the items mentioned in the 70s. At University I did Fortran programming via punch cards - one 80 char line per card; don't drop your card stack and get them out of order. We had Digital Equipment Corp computers - though not their VAX line, rather the earlier PDP-11 which were accessed via hardcopy terminals (and a very few dumb terminals with VDU, cutting edge for the time). The oldest input method I worked with was having to submit code via paper tape, 7-hole type (so 7-bit) prepared on a teletype which had a keyboard, paper tape punch and tape reader. Like Telex but with full ASCII character set (Telex is 5-bit). That was painful - to correct just one error the old paper tape was copied to a new one up to the bad line, you type in the new line, and copy the rest of the tape. I also used the Teletypes as a primitive word processor to generate newsletters onto Gestetner stencils for printing newsletters for a club (photocopying still rather expensive). And who knows what a Gestetner stencil is?
@AndreasSpiess
@AndreasSpiess 3 роки тому
Yea, during those days quality of typing and programming was on a different level because the limit was compute power. Today, the bottleneck is our time and no more computers. So our behavior is adapted...
@lohikarhu734
@lohikarhu734 3 роки тому
This part I need to "borrow": " a similar level of chronological endurance" Since my first "computer" was an MEX6800D2 ....
@lohikarhu734
@lohikarhu734 3 роки тому
@@AndreasSpiess yep, my friend and I developed a complete monitor and in-line assembler for MC146805, in 2K , using a ksr-33 as our "user interface", and sold the evaluation board in quite a few countries, as we actually beat Motorola in getting the eval board for MC146805 to the market. The "good old days" ;-)
@waynet8953
@waynet8953 3 роки тому
I remembered that era. The IBM printer was huge, and open itself up automatically when it ran out of paper; graduated in '72. Feels like another life technologically.
@lohikarhu734
@lohikarhu734 3 роки тому
I've only watched the introduction, and already in awe of your ability to get this work done! And, additionally, how responsive you are to viewer input... Respekt!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Now this answer took two days. But there were so many comments. An UKposts sorts the wrong way round :-(
@peter.stimpel
@peter.stimpel 3 роки тому
nice jumps into history, like that.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Me too. They are nice memories. And they come with a reason like that video...
@TheAoab50
@TheAoab50 3 роки тому
Thanks a lot for the awesome video, you have spent a lot of time to make all the comparisons and give us the results ready. Thanks again. By the way, the small hand is very funny.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome! And it seens this small hand has some "fans"...
@sarveshk09
@sarveshk09 3 роки тому
Wow! Just uploaded! Watching it because it's Uncle Andreas testing my favorite boards! I've started using Bluepills now, and wonder why I wasn't using them before. Amazing microcontrollers with lots of customization options.
@AndreasSpiess
@AndreasSpiess 3 роки тому
True. And the Blackpills offer even more...
@sarveshk09
@sarveshk09 3 роки тому
@@AndreasSpiess Haven't used Blackspills yet, but gotta test them soon! So much improvement over the previous boards.
@edwardcdg
@edwardcdg 3 роки тому
Wow! You have organized an enormous amount of great information in this video. Many thanks from all of us!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad it was helpful!
@Beatfreak19831
@Beatfreak19831 3 роки тому
Thanks for another great video. I hope you will find the time in the future to test the power consumption for the stm32s, especially the L series boards.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Me too. They should be quite good.
@ristomatti
@ristomatti 3 роки тому
Often it seems though that the problem is not so much the power consumption (in deep sleep at least) but the development boards having constantly on power LED's, serial to USB chips and non-LDO power regulators. One could think the STMicro boards for the low power STM's might have this thought out but I wouldn't bet on it.
@noweare1
@noweare1 3 роки тому
This was a large undertaking. You did a great job. Who could even speculate that in 2020 makers would have access to these type of chips to program and make awesome things with.
@AndreasSpiess
@AndreasSpiess 3 роки тому
True. And I love it!
@darrylrogue7729
@darrylrogue7729 3 роки тому
This guy is setting some high standards! Thanks for doing all of this for the community.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome! If we do it, we do it right (learned from my father ;-)
@klassichd10
@klassichd10 3 роки тому
Thanks for the great overview and comparision!
@AndreasSpiess
@AndreasSpiess 3 роки тому
My pleasure!
@1DR31N
@1DR31N 3 роки тому
Thank you for another enjoyable video full of useful information. Great job again.
@AndreasSpiess
@AndreasSpiess 3 роки тому
My pleasure!
@midiup
@midiup 3 роки тому
Andreas I always appreciate your videos and I thank you for the clarity and seriousness of the contents. I am a professional user of STM32 and fortunately my work is also the hobby for which I use STM32 for my projects as well: I liked what he said about STM32 but I think those you say represent 10% of the STM ecosystem, very more complete and resourceful than what you say. I hope that this video will be followed by others to best represent a family of 1000+ components used in thousands of applications, from wearables to industrial controllers, from IOT to 3D printers. Good job!
@AndreasSpiess
@AndreasSpiess 3 роки тому
I will not touch the commercial world and will stay with the Arduino IDE. This is a Maker channel and "Rapid Prototyping" is what we usually do. There are other platforms or channels for corporate education, I think. The second problem I see: If I would abandon Arduino IDE and join whatever other Ecosystem, I would lose 90% of my viewers because they would not like my decision :-( Too many other possibilities. Just read the comments in my "micropython" video. The only video I do not answer comments, BTW. Too many "fanboys"
@mikesnapper9001
@mikesnapper9001 3 роки тому
I ordered some of the black pills to give them a spin. So far i mostly use arduinos, and AVR chips, but debugging through serial printing, or even just blinking leds is pretty annying, having a full live debugger support in vscode is going to be amazing if i get it to work. Your videos are constantly improving ee hobbyist life. I still frequently use the wire wrapping tool i got because of your video (never knew it even existed before) and love it.
@tapizvolador
@tapizvolador 3 роки тому
Hi Andreas, again an excellent video. i didn't understand everything, not because you are not clear but because I am still learning. However, I looked the whole video till the very last second because I find it addictive and would like to become versatile in these technologies. Being more or less of the same generation as you, I appreciated your jump in the past with which I am more comfortable. Congratulations.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I have quite a few viewers of our age. This is why I sometimes do these jumps back in time... And it is also good for me to remember. Do not forget: I had to learn all this stuff, too. My normal job is to build large ESP systems for big corporations... So it is possible!
@Electromakerio
@Electromakerio 3 роки тому
We loved this project so much, that we featured it in this weeks episode of The Electromaker Show!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you, also for your very nice words! I wish you all the best with your show. I am already a subscriber.
@luizcassettari
@luizcassettari 3 роки тому
I have the small ST-Link and works great on the Arduino IDE, I update the firmware on the STM32CubeProgrammer and everything works! Great video!
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are right. I learned it from other viewers and tried all of my sticks. 1 of 3 was also upgradable...
@amansaxena5898
@amansaxena5898 3 роки тому
Woah!!! That tiny teensy is FAST 😯😯😯. I wasn't really expecting that big of a surprise! Looking forward to a dedicated video on it.
@AndreasSpiess
@AndreasSpiess 3 роки тому
As I said: I have no use for that performance. So I also have no idea for a video :-(
@amansaxena5898
@amansaxena5898 3 роки тому
@@AndreasSpiess 😕. Still, lived this nice video!
@jankomuzykant1844
@jankomuzykant1844 3 роки тому
@@AndreasSpiess I think there should be something interesting for your radio hobby and teensy 4 github.com/DD4WH/Teensy-ConvolutionSDR
@skewedmaker
@skewedmaker 3 роки тому
Always interesting and useful. Thanks for the trip down memory lane: I learned FORTRAN on an IBM in high school (on punch cards) and did my computer science courses in college on a VAX.
@AndreasSpiess
@AndreasSpiess 3 роки тому
There are quite a few viewers of our age with similar experience on this channel. At least according the many comments.
@keithsafford3056
@keithsafford3056 3 роки тому
Learned COBOL, Fortran, and BASIC on an NCR Century 101 in high school and programmed COBOL on an IBM 30xx series in the early 80's. Learned Pascal, C, C++, VB, VB.NET, C#.NET and have been using SQL Server since v6.5. Has been interesting IT evolve over the years.
@avejst
@avejst 3 роки тому
Impressive test Great job Thanks for sharing your great video👍😀
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you. It took some time to create this video... But it was a lot of fun!
@gregorymccoy6797
@gregorymccoy6797 2 роки тому
Your videos are very information dense. Other channels have alot of fluff and covey far less in more time. Thanks for doing what you do in the manner you do
@AndreasSpiess
@AndreasSpiess 2 роки тому
Thank you for your nice words. I create my videos in a way I would also like them on other channels.
@John_Smith__
@John_Smith__ 3 роки тому
Great video once again ! And Great for you to mention the History of Digital and the VAX machines, great times! Thanks once again for the video!
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome! My history fitted well int this video...
@McTroyd
@McTroyd 3 роки тому
I hadn't put the link together in my head that STMicro is so often used in commercial applications. Now we can see why -- relatively high power in a relatively inexpensive package! My old Arduinos might need some new buddies... Thanks for the video!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad it was helpful! And enjoy the new "buddies"
@krystofvydra
@krystofvydra 3 роки тому
The video comes out right when we are starting to learn about programming cortex M0's that must such a coincidence lool. Great video tho! Your channel is one of the best when learning about mcu's and rf stuff!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you. MCUs and RF happen to be the most interesting things for me ;-)
@rodstartube
@rodstartube 3 роки тому
I was about to shout "include any Teensy 4.x in the benchmarks"... and at the end on the video you included it, as the surprise !!! AWESOME! as always I tell you, this was an awesome video as always!
@AndreasSpiess
@AndreasSpiess 3 роки тому
We UKpostsrs have to tell a story to stay interesting ;-)
@circadianrebel
@circadianrebel 3 роки тому
Oh, a correction: The bluepills (and pretty much all STM32's) do have a built in bootloader. They have a serial bootloader that is burned in the silicon itself and can be selected with the boot jumpers. They actually have 3 different bootloader slots, but the USB requires flashing and doesn't come installed by default.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I did not know about a serial bootloader. Maybe I did not find a lot of information about it because using SWD instead of Serial has lots of advantages.
@circadianrebel
@circadianrebel 3 роки тому
@@AndreasSpiess Indeed. SWD is so much better. And that also highlights that limited documentation targeted at hobbyists might be one of the biggest stumbling blocks for these STM32 boards right now.
@user-mr3mf8lo7y
@user-mr3mf8lo7y 3 роки тому
Second that.. All of Bluepills I ordered (2+ years ago) from China came with bootloader installed.
@PerchEagle
@PerchEagle 3 роки тому
I had a maple mini that got stuck in DFU mode and kept the last code I uploaded to it until it cracked while I was installing/uinstalling different USB drives in hope to get it to respond to Arduino IDE. And of course bought other maple minis.
@dieSpinnt
@dieSpinnt 3 роки тому
@@circadianrebel Maybe these people can't use google or the STMicro own search bar or don't know what an application note is? AN3155: USART protocol used in the STM32 bootloader AN4657: STM32 in-application programming (IAP) using the USART Also it is a shame that people think a "bootloader" is a development tool. Thank you Arduino... Instead a bootloader is a tool to provide updates to an end-user or to ease in-circuit flashing and .... yes, for development, too. But that is not its main purpose. What you do when using a bootloader on the STM32 platform is in fact that you block your way to (easy) access the USB-Stack and waste the opportunity of rich debugging. I really can't understand this with 3$ ST-Link clones out there in the wild or the ability to use a second Blue-Pill as full blown ST-Link v2 Programmer. Please excuse the rant (not directed at you), I had to get this off my head:) Bonus: AN3156 USB DFU protocol used in the STM32 bootloader - Lists chipfamilies with integrated USB Bootloader, no need to roll your own. As always: RTFM :)
@henrydokie
@henrydokie 3 роки тому
Great content! Informative and clear, I was able to learn a lot.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you enjoyed it!
@dreamcat4
@dreamcat4 3 роки тому
A lovely video, thank you so much. Learned some useful info!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you enjoyed it!
@pranavsrinivas4299
@pranavsrinivas4299 3 роки тому
Exactly what I needed right now. Thanks.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad I could help!
@marklewus5468
@marklewus5468 3 роки тому
Thanks for putting all of this information together, I always enjoy your videos. For a couple dollars more you could use a STM32F7 or H7.The F4 is rated 225 DMIPS while the F7 is 462 DMIPS and the H7 is 1177 DMIPS. They are more or less software compatible. So you get more than 5x the single/double integer performance of the F4. The H7 also has a double precision floating-point processor compared to single precision on the F4. The H7 NUCLEO board costs $29 for the official ST micro board. These will blow an ESP32 out of the water in single precision, double precision, or float.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks for the info. I would not compare the H7 boards with the ESP. I would compare them with a Teensy. Then I assume they will be similar. Anyway, as said in the video: I have no usage for this power for the moment :-(
@BenjaminEggerstedt
@BenjaminEggerstedt 3 роки тому
Great, a new video! Thanks, Andreas!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you liked it!
@EliSpizzichino
@EliSpizzichino 3 роки тому
great video! this overview saves tons of time!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad it helped!
@AndreasSpiess
@AndreasSpiess 3 роки тому
The small ST-Link sticks seem also be upgradeable if you try hard and plug- and unplug them several times. Quite a few viewers helped me to get the job done. Thank you!
@ronaldhofman1726
@ronaldhofman1726 3 роки тому
Thanx, i wil try this.
@galileo_rs
@galileo_rs 3 роки тому
Bluepills that come with the genuine ST chips are all 128K (yes the datasheet states 64) and can be overclocked to 128MHz. The usual problem with those is a wrong resistor (R10) that prevents some usb controllers from enumerating the device and awful USB micro connectors (like the one you got). Spent quite some time trying to find the problem when the issue was a bad connector. The stlink adapters (with 128K flash) or any stm32 for that matter can be flashed with "Black Magic Probe" firmware. That gives you another virtual serial port that you can connect to RX/TX of target micro, which simplifies the monitoring since there is only BMP connected to the computer. BMP also has support for TRACESWO so that is another added benefit.
@ugetridofit
@ugetridofit 3 роки тому
One should remember and take into account when comparing ESP32 is that you have 2 cores both running 240MHZ. The rest just have one.
@Spongman
@Spongman 3 роки тому
you _can_ debug an Arduino UNO using PlatformIO. I don't know if they changed something recently, but it works fine. I don't know why anyone with an ounce of embedded experience would use the Arduino IDE instead of PlatformIO for anything.
@JessieKropp
@JessieKropp 3 роки тому
I encountered the same issues with my cheap ST-Link clone. Unplugging it at the right moment allowed me with upgrade it. I was also able to use it for programming through the Arduino IDE.
@migueljosemedinacarrillo420
@migueljosemedinacarrillo420 Рік тому
Mis respetos máster ❗muy útiles tus videos
@AndreasSpiess
@AndreasSpiess Рік тому
Gracias!
@Ed19601
@Ed19601 3 роки тому
I may give them a try. Thanks for the explanation
@robinrobinstrand
@robinrobinstrand 3 роки тому
Check out the mbedOS.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome. A "test ride" is not very expensive...
@Ed19601
@Ed19601 3 роки тому
@@AndreasSpiess i tried the black pill. Very nice board. But i miss the wireless. I may try it as an i2c slave for an esp01 or add an nrf24l01
@patric8283
@patric8283 3 роки тому
To get the most out of the STM32 boards try using the STM32CubeMX and STM32CubeIDE development tools. Not as straightforward as the Arduino IDE but great for configuring all the hardware features
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are right. But I use the Arduino IDE on this channel. It has many advantages, for example that we can use it for different architectures. And it has libraries. And most of my viewers use it. As you write, the cube environment is a very different world.... I had a short glimpse during the video production.
@farvezfarook3422
@farvezfarook3422 3 роки тому
With the cube IDE it is very easy to configure pin functions , adc ,timer ...etc
@adlerweb
@adlerweb 3 роки тому
@@farvezfarook3422 Sure, but it's a closed program and hard/impossible to get running on anything but a few OS versions and hardware configurations. You can, however, use STM32CubeMX (which is based on Java) and PlatformIO (which sadly also limited their OS/Hardware support in the last months) to get a similar feature set.
@StephenHoldaway
@StephenHoldaway 3 роки тому
I've found CubeMX is useful for figuring out what configurations are possible without reading the datasheet cover to cover, but the code it generates is pretty marginal, and the STM32 HAL documentation isn't great either. Configuring USB endpoints with the code gen from Cube MX had me going in circles for a week of evenings as an experienced programmer; switched to libopencm3 and it was a breath of fresh air compared to the HAL 😅
@glewiss6696
@glewiss6696 3 роки тому
@@StephenHoldaway But don't see a great tutorial on how to use libopencm3.
@Wolfram69756D
@Wolfram69756D 3 роки тому
Amazing! Thanks for this video! :)
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome!
@madengineer6833
@madengineer6833 3 роки тому
Great video! What do you think of the STM32 nucleo boards in combination with their HAL (hardware abstraction layer), which can be created with STM32CubeMX and the STM32CubeIDE (Eclipse C with integrated CubeMX)? It is more like classical programming in C rather than using the Arduino libraries but should be easier to use for standard-tasks than writing custom function handlers.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I do not know how they handle sensors (libraries). This is why many of us like the Arduino IDE.
@sramctc
@sramctc 3 роки тому
've been learning a lot from you, Sir~~~ thx
@AndreasSpiess
@AndreasSpiess 3 роки тому
My pleasure!
@jeffbornes3986
@jeffbornes3986 3 роки тому
As Always I love your videos. I would like to know if you were running the ESP8266 at 80 or 160 mhz for your testing? Thanks
@AndreasSpiess
@AndreasSpiess 3 роки тому
I used the standard settings for all boards. So it was 80 MHz for the ESP8266
@kleindavid9416
@kleindavid9416 Рік тому
this is just awesome information
@AndreasSpiess
@AndreasSpiess Рік тому
Thank you!
@ES-qe1nh
@ES-qe1nh 2 роки тому
Super video!
@AndreasSpiess
@AndreasSpiess 2 роки тому
Danke!
@mattsaxey529
@mattsaxey529 3 роки тому
Very helpful, very informative! I loaded a reel-to-reel data tape onto a mainframe (Univac?) when I did work experience (14 years old).
@AndreasSpiess
@AndreasSpiess 3 роки тому
This was hard work back then. Bytes per kg were small back then
@crckdns
@crckdns 3 роки тому
Danke fürs Video Andreas^^
@AndreasSpiess
@AndreasSpiess 3 роки тому
Bitte. gern geschehen!
@bertbrecht7540
@bertbrecht7540 3 роки тому
This video cleared up so much confusion for me. Thanks! Are the Black Pill boot loaders located in a protected area of the flash where it does not get erased when larger scripts are written to it or if I set all flash bits to 0? Also, would love a video on the STM8.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I assume they are in a protected space, but I do not know.
@UpcycleElectronics
@UpcycleElectronics 3 роки тому
Very helpful. I just got a F411 working with micropython 2 days ago. REPL for the win! No proprietary cube programmer tracker/spyware needed. I'm on Fedora Silverblue as well. So the toolchain is completely sandboxed, containerized, and independent of my OS. It will never break from Mr. Bill looking through my Windows and deciding to close his Gates. I used the micropython and mcauser github repos. I only needed the USB connection to the DFU bootloader for programming. The only hiccup I had was solved by reading the ../micropython/ports/stm32/README and using the suggested dfu-util (from Linux repos) instead of the utility packaged with micropython. This was probably due to the fact the user space I am running in is rootless. With Silverblue, a udev device rule needs to have permissions set to mode 0666 for the specific device while programming. Just having the user name added to the dialout group is not enough.
@cfeigel
@cfeigel 3 роки тому
This is great! I've seen mention of a BlackPill 2.0 board based on the F411 chip by a company called WeAct. Supposedly micropython is supported on it through paltform.io? micropython seems the way forward, now that we have sufficient processing power. I'd love to see Andreas load up micropython on the F11 and the ESP32 and compare some real sensor-handling code!
@UpcycleElectronics
@UpcycleElectronics 3 роки тому
@@cfeigel I haven't tried it with Platform IO yet. I can say, the python prompt works with a basic serial terminal emulator. I used sterm, a very simple terminal written recently in python 3. It's available with _pip install sterm_ and has easy to read and well commented source for hacking. I have also gotten as far as a connection to the onboard python prompt using PyCharm. I read a 2 page forum thread on μpy IDE options from 2018-19. The most recommended option there was the thonny.org IDE, PyCharm was a close second. PyCharm is available as a pre-containerized flatpak while thonny is not. Atom is also containerized, but it makes even more external IP calls than PyCharm. I whitelist firewall my workstation so I'm in control of most of my traffic. Punching holes in my firewall for an IDE is annoying. I probably won't use PyCharm either. I need to just suck it up and figure out the full jedi master Vim skilz
@UpcycleElectronics
@UpcycleElectronics 3 роки тому
@@cfeigel Definitely use Thonny! I got it working in an isolated toolbox container with $ dnf install thonny. It's the easiest, cleanest, most functional embedded hardware IDE I've ever seen, intuitive too. No nonsense. BTW, if anyone does this F411 thing, be sure to get the W25Qxx flash sop8 memory chip you need. After installing μpy without the external flash there's only 45k of the 512k flash left. You need to set the configuration bits to put μpy in the flash chip and set the size of chip in the ../ports/stm32/boards/WEACT_F411CEU6/mpconfigboard.h file. Supported chips in the config file are the W25Q16, W25Q32, W25Q64, W25Q128, (2MB/4MB/8MB/16MB). There is not a setting available for the Q256, although the chip does exist. The W25Q128 can be purchased for around $2 for x5, shipped, on AliEx, yes, even now, to me, in California, a week ago (Sept 2020). Follow the μpy documentation to start and on the blackpill: >>> import pyb >>> pyb.LED(1).on() >>> pyb.LED(1).off() ((!)) mic drop
@cfeigel
@cfeigel 3 роки тому
@@UpcycleElectronics Nice! Thanks for the tips! I'll have to give Thonny a try (in my copious free time). This has the makings of a nice How-To document!
@glewiss6696
@glewiss6696 3 роки тому
Thanks Andreas for this video that I was waiting for! One question. How to import libraries in the project in platformio like on arduino IDE? for instance wifi,blth shield library... Thanks
@AndreasSpiess
@AndreasSpiess 3 роки тому
Maybe you watch a tutorial on PlatformIO. AFAIK it should take care of it automatically.
@rbphilip
@rbphilip 3 роки тому
A very good video. Thanks!
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome!
@rbphilip
@rbphilip 3 роки тому
@@AndreasSpiess I have a handful of STM32 boards from work stuff and an ESP32 I bought a while ago. Perhaps I'll find some spare (ha!) time to do similar comparisons.
@jasontay4704
@jasontay4704 2 роки тому
I'd like to offer another perspective as well. We used NXP chips for years in our product, but we were still considered low volume, a small company making just a few hundred pieces a year - NXP never ever contacted us ever. Later we thought of switching to STM32, even at the point of deciding which STM32 to use, ST sent out an FAE to help us choose and decide and sent us samples even though we are in Malaysia, the FAE helped us all the way. When we had doubts, they helped us check internally within their organisation which way was the best way to fix it. So to me, I really respect ST, they really make an effort.
@AndreasSpiess
@AndreasSpiess 2 роки тому
Seems to be a good company. Thank you for sharing your experience!
@pavankumar-ff9bo8zc5y
@pavankumar-ff9bo8zc5y 3 роки тому
I may not understand a lot of things related to microcontrollers and electronics (Still trying. I am only a computer science graduate), but boy does he deliver every single time. Bam bam bam. 💥💥 💥 Andreas has to be one of the top rated quality content creator/reviewer on youtube that exist today.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for your nice words. I am glad you like my videos.
@pavankumar-ff9bo8zc5y
@pavankumar-ff9bo8zc5y 3 роки тому
Andreas Spiess Thanks to you!! 🙏🙏We get to see some amazing stuffs on your channel. You make it lot easy for hobbyists/electronic enthusiasts to make the right choice of components for their projects and also reduce the hurdle of setting up some of the components which otherwise would be tedious for most beginners like me. What amazes me is you walk into such great lengths in deducing/deciphering the components and explaining them, making it easy for the viewers to make the right choices. I can only imagine the amount of hardwork and dedication that has gone into each of your videos. Respect and total support ✊
@varunkoganti9067
@varunkoganti9067 3 роки тому
Mr. Spiess I use the stm33f103c8t6 (blue pill) with the cheap clone stlink V2 debugger , my experience is positive. I faced no issues. Edit - I only use ARM Keil cause I like C.
@AndreasSpiess
@AndreasSpiess 3 роки тому
It did not work with the CubeProgrammer, which is also used by the Arduino IDE. As said, it worked with PlatformIO. But in the meantime viewers pointed me in the direction of upgrading also the small programmers. And really I found one which was upgradeable. The first wo were not.
@GeekRedux
@GeekRedux 3 роки тому
The hilariously contrasting hand sizes at about 12:56 might be my favorite part of the video :D
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are right. This small hand seems to have a quite a few "fans"
@khomo12
@khomo12 Місяць тому
Great! Thank you!
@AndreasSpiess
@AndreasSpiess Місяць тому
You are welcome!
@jedandecko5585
@jedandecko5585 3 роки тому
Teensy 4.1 soon :) Another great video, thank you.
@AndreasSpiess
@AndreasSpiess 3 роки тому
As said: I have no plans for the Teensy for the moment...
@Cptnbond
@Cptnbond 3 роки тому
Awesome episode, and quite extraordinary that you got access to tax authorities computers for student education at night, such trust at old times.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I agree. This would no more be possible today. Nobody would take this risk.
@jackhoffman6120
@jackhoffman6120 3 роки тому
During 1990 I tried to impress my girlfriend at the time and show her the various mainframe systems for the OEM computer company I was employed at.... at 2:00am in the morning. During normal working hours I had access to the computer room, but explaining to the company director what I was doing in the computer room at 2am might have proved difficult. . At the point my girlfriend and I returned to my car in the company carpark to depart which technically was "unauthorised access " a security guard arrived in his patrol car and very quickly entered the building to see what triggered the alarm system and fortunately for us did not see us in the carpark, so we were able to disappear unnoticed. . I wasn't aware that 24/7 computer room alarm monitoring service was installed as my access was normally during working hours. . I was an "idiot" logged in as "root" at 2:00am trying to impress my girlfriend and the company never found out what really occurred. . I had no malicious intentions as all I was trying to do was impress a lady who I was dating.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I hope it helped ;-) We all did a lot but remember only the things we should not have done...
@travelvideos
@travelvideos 3 роки тому
Same here. Asked to be locked into computer lab for nights to learn and program, but it was 90s and we had already IBMs.
@unomasenelmar
@unomasenelmar 3 роки тому
Excelente, gracias por iluminar a las bestias como yo, grandioso vídeo de presentación yo uso el stm401ce con programación HAL lo hace todo bien. Saludos
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome. And thanks for sharing your experience!
@DienNguyen-pm6fi
@DienNguyen-pm6fi 3 роки тому
very nice and detail video, thumb up
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks for the visit
@a1nelson
@a1nelson 3 роки тому
The square, black STM32F407 boards shown early in the video are my favorite STM32 option. They come with a header for the very inexpensive and popular NRF wireless boards. You can just plug it right in and start writing code. That combination doesn't provide functionality that's directly equivalent to the ESP modules, but for many applications, it's cheap, effective and super easy to work with.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Unfortunately mine only has a 103 chip. It is quite old...
@science4allworld587
@science4allworld587 3 роки тому
Hi Andreas... i have blue pill and had managed to program it with arduino ide using chinese st link adapter... had to do lots of tweaks, can't remember now though ;). More than a year old story. But amazing to know teensy working as Ferrari. I didn't knew they are so fast. Any idea if they are power hungry too? At 100s of MHz i believe they might be draining current too much?
@AndreasSpiess
@AndreasSpiess 3 роки тому
I did not measure the current. Keep in mind that a Raspberry is even faster...
@christopherstimek5154
@christopherstimek5154 3 роки тому
Great overview of STM32’s I have been looking for an overview. I have done a lot of work with MSP430’s and have been looking for something faster.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad it was helpful!
@evolyenergy5916
@evolyenergy5916 3 роки тому
Hello, What do you think of the newly released STM32WL for LoRa applications ? It seems like its the equivalent of an MCU + a LoRa transmitter (like a Atmega 328p + RN2483) at a smaller price if I understood correctly (correct me if I am wrong). Also on the same note, what is for you the best combination (MCU, Lora transmitter, antenna) to make a cheap, small & battery efficient node ? (simple one sensor node, humidity, temperature, tachymeter....) ? Thank you very much for your videos ! Very helpful and inspiring !!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Currently, I do not have an overview of all the modules. So I cannot answer. Maybe the differences are relatively small because all have to use the same chips and the same SW.
@khalid_ba
@khalid_ba 3 роки тому
Two years ago, I ported OnStep, an open source telescope controller to the STM32F1. I used the Blue Pill, since it was cheap (US $2) and available from multiple sources (Amazon, eBay, AliExpress), unlike the Teensy at the time. The Blue Pills always came with 128K which is about enough for OnStep. Both STM32 and CKS chips worked perfectly with no issues for about a year and a half. Over 350 people built OnStep controllers based on the PCB I co-designed for the Blue Pill. We program the Blue Pill using PA9/PA10 and a USB to TTL adapter (FTDI, CP2102, CHG340). However, in the past few months we saw Blue Pills with only 64K and OnStep would not run. No idea what the issue is. It is impossible to guarantee that a Blue Pill has 128K before testing it, so this confuses users. We are looking into alternatives, including the Black Pill. I also ported OnStep to the STM32F4, and since we use stepper motors for it, I used a ready made 3D printer board (FYSETC S6 in this case). I program it using DFU without any issues.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for sharing your experience. Looking at your GitHub it seems you did not use the Arduino IDE for your project.
@khalid_ba
@khalid_ba 3 роки тому
@@AndreasSpiess It is definitely Arduino based. My github is just a fork of the main project, and not kept up to date, just when I have features and code changes. The project Wiki is here onstep.groups.io/g/main/wiki/3884 The Blue Pill is only one low cost platform that can run it. groups.io/g/onstep/wiki/STM32F103-Blue-Pill You will also find videos in my playlist for the project ukposts.info/have/v-deo/rJerrWeZfah4o5c.html Oh, and thank you for your videos. I learn a lot from them, and loved the 1970s memories. My memories on computers are from the early 80s!
@JanJeronimus
@JanJeronimus 3 роки тому
As always an interesting video. Regarding applications for these devices, perhaps MIPS does not tell everything. The boards shown in this video have more MIPS than a VAX! However is there word processing, spreadsheet or real database software for any of these boards? Perhaps one of your viewers know. On a VAX i used in a multi user environment MASS-11, 20/20 (S2020) and 1032. On a cheap Raspberry PI you can use office software. Also, a cheap micro-processor seems to be more dangerous than your knife. Perhaps someone if afraid that you would use it in your tank project?
@AndreasSpiess
@AndreasSpiess 3 роки тому
I am sure they would have enough power for simple word processing as we knew it in the 1980s (I used a Z80 for that). But these days user comfort and graphics interface takes 90% of the power.
@MrCareyer
@MrCareyer 3 роки тому
Thank you very much for the really good video. Could you do a comparison or projects with K210 chips as well? These emerging buggers and the topic of "edge computing" and AI inference are somewhat missing on this channel which is a bit sad. Keep up the excellent work. 👌
@ristomatti
@ristomatti 3 роки тому
Everything AI/ML is still typically expensive and more or less vendor specific. It's also a very big rabbit hole to dive in. So is SDR/RF stuff which has been a topic several times but I assume it's because of Andreas' prior experience on the area. As an example, during the summer I bought a Jetson Nano to use it for IP camera object detection together with Node-RED. Eventually got it to work as I wanted but it was a lot of work. Countless hours of googling, waiting hours of library compilation, learning a little Python and in the end I still knew only the most basic terminology and had pretty much no idea what I was doing (just modifying example code). With that said, the edge computing stuff is an interesting topic. I just think we'll have to wait until it gets more mature tech with community maintained tools and easy to use abstraction libraries before we see any of it on this channel. This is just my opinion of course, Andreas is full of surprises! Do you happen to know of some hobbyist cheap solution that fits the criteria already existing?
@ristomatti
@ristomatti 3 роки тому
BTW I had never heard of K210 and googled it a bit. Is this something you were talking about www.seeedstudio.com/Grove-AI-HAT-for-Edge-Computing-p-4026.html? I agree that's not prohibitely expensive. Didn't yet read of the potential applications but will now.
@MrCareyer
@MrCareyer 3 роки тому
Ristomatti Airo Yes, this is what I was taking about. Google for MAIXbit and MAIXduino for example or for Huskylens to get an impression of what is possible. The boards are generally not more extensive than those of the ESP32 kind but they have way more power under the hood and can do some impressive stuff. This brings some fresh air to the work bench 😉
@ristomatti
@ristomatti 3 роки тому
@@MrCareyer I'll check these, looks interesting. If I see something cool, I'll tip Andreas about it on Patreon. :)
@AndreasSpiess
@AndreasSpiess 3 роки тому
@MrCareyer: It is on my list...
@123behoo
@123behoo 3 роки тому
Great video Andreas! Ever think of doing a video with microchip and LCD?
@AndreasSpiess
@AndreasSpiess 3 роки тому
I do not understand what you mean
@123behoo
@123behoo 3 роки тому
@@AndreasSpiess maybe we could do a sponsorship.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I do no sponsored videos :-(
@dansdroids4067
@dansdroids4067 3 роки тому
Great video, thanks! Ive had some good success with the WeAct BluePill-Plus and the supplied stm32duino compatible usb bootloader, had to use a ST-Link v2 to flash the bootloader without any problems.. it seems that WeAct is the same company that made the BlackPill..
@AndreasSpiess
@AndreasSpiess 3 роки тому
They also have a nice GitHub page with a lot of info.
@OM222O
@OM222O 3 роки тому
I really wanted to use the teensy 4.1 for one of my projects but unfortunetly the suport isn't there! The datasheet has a bunch of marketing points and since it's a new board there aren't many people posting about how to use it. Perhaps you can make a video about it?
@user-mr3mf8lo7y
@user-mr3mf8lo7y 3 роки тому
It is the job of those (non-sense) companies to release proper support documents, not Andreas. They have budget for marketing but not for documentation? Give me a break!!
@AndreasSpiess
@AndreasSpiess 3 роки тому
I ordered the board mainly because some viewers wanted to see a comparison. For the moment I have no plans with it.
@shadow7037932
@shadow7037932 3 роки тому
Hey Andreas, I'm interested to see how the speed/performance of the STM Fxxx MCUs stack up with the IMXRT1060 used in the Teensy 4.1. Any chance you'll be looking/reviewing the Teensy 4.1?
@AndreasSpiess
@AndreasSpiess 3 роки тому
Did you watch the video to the end?
@marcusfallen5315
@marcusfallen5315 Рік тому
Hi thanks a lot. I am searching for the additional Boards Manager URLs. I cant see them in the video.
@AndreasSpiess
@AndreasSpiess Рік тому
Google should find them. I cannot post links here.
@yahmk3978
@yahmk3978 3 роки тому
Thank you.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome!
@jorgedelcastillo2811
@jorgedelcastillo2811 3 роки тому
Good job, Andreas ¡¡¡
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you!
@PerchEagle
@PerchEagle 3 роки тому
Seriously ! Very interesting video about comparison with different boards, specs, interesting information .. I liked the how is the effectiveness of the STM32 memories compared with the larger ones in ESP32, because of the RTOS and wifi background running in ESP32. But is it that the ESP32 would be more beneficial compared to STM32 in wifi applications because of the builtin wifi ?
@AndreasSpiess
@AndreasSpiess 3 роки тому
Wi-Fi was covered in my last comparison video...
@PerchEagle
@PerchEagle 3 роки тому
@@AndreasSpiess oh .. ok so this comparison is about specifications regarding memory and performance ?
@AndreasSpiess
@AndreasSpiess 3 роки тому
Yes.
@manusholm3536
@manusholm3536 2 роки тому
can you do a test video on the teensy4.1 . im interested in using it for a cnc with closed loop control, so i need some thing that can deal with several encoders and spindle and still have a brain cell left to rung the gcode. it is done with lot of different boards, but thy all fall short on faster operations were curate positioning is critical. im a novice at electronics and dont quite understand it all, but your videos are very clear to explain thing. Thank you. do you do any tutorials on c++? how to integrate/combine several sketches so that it still work in the end.....never manage that.
@AndreasSpiess
@AndreasSpiess 2 роки тому
Your project setup is very special and I do not have such gear. Maybe you search for Marlin on Teensy (e.g. github.com/MarlinFirmware/Marlin/issues/17973 ). Combining programs is very difficult and usually cannot be taught because every situation is different.
@ted356
@ted356 Рік тому
I got a big chuckle of the comment about the Swiss Army knife. 😀
@AndreasSpiess
@AndreasSpiess Рік тому
:-)
@hinkelstein4six
@hinkelstein4six 3 роки тому
Hello Andreas, my cheapo Chinese Stlinks are working fine with the Arduino-IDE, after updating them to the newest STM-firmware. The STM-Cube-flasher identifies the CKS32F103C8 having the the chip-ID as the original STM32F103C8-chips. Unfortunately I don't have boards with the GD32F103C8-chips, so I can't test those. The jumpers of an nucleo-board can be set to use the STLINK of those boards to program external chips. I hope that was useful for you.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I tried to upgrade. The programmer says: ST-Link not in the DFU mode. Please restart it. Edit: I tried another one laying in my boxes and this one was updateable. So different models seem on sale. Two did not work and a third one worked...
@hinkelstein4six
@hinkelstein4six 3 роки тому
@@AndreasSpiessyes, that's right. Unplug it and plug it in again. That worked fine.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for the tip. After plugging the stick in and out for a few times it suddenly was programmable. I created a comment about it and pinned it that everybody can read it.
@TMS5100
@TMS5100 3 роки тому
You should do comparison of I/O as well. For example Nucleo 144 boards are really crazy.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are right about the I/O. But because all STM chops are different it is not possible to do a comparison in a video. It was already hard for me to get an overview about their numbering...
@hinkelstein4six
@hinkelstein4six 3 роки тому
@@AndreasSpiess f0 is based on Cortex M0, f1 is based on cortex M3, f2, f3, f4, l4, and g4 are based on Cortex M4, and f7 and h7 is based on Cortex M7. Cortex M7-types are the only ones with 64bit FPUs. Cortex M4-types have only 32bit-FPUs. Cortex M0 and Cortex M3 types don't have a FPU and the compiler uses only 32 it-arithmetic.
@jstro-hobbytech
@jstro-hobbytech Рік тому
Thanks!
@AndreasSpiess
@AndreasSpiess Рік тому
Thank you for your support!
@zundi6136
@zundi6136 3 роки тому
Hey you mind telling me where you bought these gloves, would love to have them to. ( Could you also tell me if you bought them localy i live near your location)?
@AndreasSpiess
@AndreasSpiess 3 роки тому
I bought them on Aliexpress (ESD gloves)
@BorisDessimond
@BorisDessimond 3 роки тому
@@AndreasSpiess I laughed.
@amintayebi
@amintayebi Рік тому
Thanks for your videos, in case you put an experimental experience regarding sdi12 sensors using stm32 it would be so helpful for many people, as there is no existing sdi12 sensor library for stm32 which easily cold be used.
@AndreasSpiess
@AndreasSpiess Рік тому
So far I never had a sensor with this interface :-(
@ahasani2008
@ahasani2008 3 роки тому
Thanks for the video, really enjoy and learn a lot from it. Seems like you have spare flash space in your benchmark sketch, could you kindly re run the stm32f4xx with -O2 flag (O2 flag is easily set in the Arduino IDE and in PlatformIO, just add "build_flags = -O2 build_unflags = -Os"), During my test 168Mhz F4 can easily match 240Mhz esp32, if you overclock the F4 to 240Mhz it will leave the esp32 in the dust (though ESP32 has a dual core trick up its sleeve). Thanks again for your great videos
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are right. I tried double-precision Wheatstone on the F446 and it got 14.53 MIPS with this optimization instead o around 1 on default.
@gaeljaton
@gaeljaton 3 роки тому
To answer one of the last questions, teensy products (from 3.2 serie) is especially design for real time audio processing. For complex applications like quality reverb, vocoder or time/buffer based effects it requier lot of power. Then the add-on for arduino IDE "teensyduino" inclued lots of usefull libraries, like compliant MidiUSB and HID (keyboard / mouse / joystick / raw hid emulation) and a powerfull audio library with synthesizer patching tool in visual on-line editor, effects, samples manipulation (from on board sd card reader or rom)... As a digital artist, it's my prefered developpement boards for simplicity, power and good support (the developpers oftently answer you in person on the dedicated forum). But simplicity have a (little more) cost, so if you're not affraid and need lot of power in a small factor form, just go teensy!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for showing me some examples for the usage of this power.
@chuxxsss
@chuxxsss 3 роки тому
I got your show 1 hour after you put it up. While fixing a Samsung lcd TV.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I assume you have a lot of spare time because you cannot watch TV ;-)
@chuxxsss
@chuxxsss 3 роки тому
@@AndreasSpiess No just want one for my background when doing vlogs. It was free, and I did repair them for Samsung for 8 months 11 years ago. So hopefully I can fix it. They are pretty simple.
@PauloSilva-ll4vs
@PauloSilva-ll4vs 3 роки тому
This video came in a good moment for me because, my blue pills arrived this week and I spent a big amount of hours trying to program the USB bootloader int it, I get it working using Caleb Marting instructions, every others I tried didn't work for me, but I am waiting my st-link arrive to forget the USB for blue pill it is a strange manner to program a chip, every time you program the virtual com port goes out and get back again a great nonsense, at least for me. Thank you Andreas for this great video...
@AndreasSpiess
@AndreasSpiess 3 роки тому
This USB behavior is common for all boards using native USB. If you program it they stop to execute the USB code and are disconnected by the PC.
@joeymurphy2464
@joeymurphy2464 3 роки тому
It would be great if you could add the new Atmega chips to the lineup. It would be great to learn the ways to program them with the new UPDI. I would especially love to learn to program them without Arduino, or to use the chips that nobody has made board files for. For example, the Atmega 809. Thank you.
@AndreasSpiess
@AndreasSpiess 3 роки тому
This channel focusses on the Arduino IDE. So you have to search elsewhere for other IDEs
@Hulker69
@Hulker69 3 роки тому
There's also Adafruit's STM32F405 Feather Express, which while a more expensive dev board than the blue/black pills does have good support (Arduino and CircuitPython) plus they have connected an SD Card writer/reader connected using high-speed SDIO
@AndreasSpiess
@AndreasSpiess 3 роки тому
Adafruit's product generally have a good support, but are not easily available around the world :-(
@drmocm
@drmocm 3 роки тому
If you break off the st-link from one of the nucleo boards, you can use it for other boards and also still connect it to the board you broke it off from.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Good tip. so far I did not try it. But maybe a good way to save money.
@Richardincancale
@Richardincancale 3 роки тому
I’m glad you included Teensy at the end. For projects using sound they are very good, supporting I2S. And the add-on IDE is very easy to use. I was a PDP11 person, VAXes are a bit too modern!
@AndreasSpiess
@AndreasSpiess 3 роки тому
So you started probably a little earlier than me... We had a PDP11 at my first job. But when I worked with DEC it was the high time of VAX... The Teensy seems to be a well maintained product and the upload worked flawlessly, you are right.
@ristomatti
@ristomatti 3 роки тому
I think the add on IDE (for audio) only works for Teensy 3.x boards. I wanted to try some of that and bought a Teensy 4.1 only to notice this in the documentation after the fact. Teensy boards are quite expensive to buy from the Europe. I bought mine from The Pi Hut in UK, it was 29€. Wouldn't have bought unless I had other stuff for the same shipping cost.
@Richardincancale
@Richardincancale 3 роки тому
Ristomatti Airo Thanks for highlighting the audio question about Teensy 4.x. As you say the documentation for the audio IDE tool is all about 3.x, but lots of talk in their forums about audio on the 4.x - confusing! Apparently 4.x doesn’t have a built-in DAC so that may limit it’s use unless you add an external DAC.
@ristomatti
@ristomatti 3 роки тому
@@Richardincancale Interesting, it didn't occur to me to go check the forum. Thanks for the tip!
@ristomatti
@ristomatti 3 роки тому
@@Richardincancale The audio tool interests me mainly as it's based on Node-RED and I love Node-RED. 😁
@loligesgame
@loligesgame 3 роки тому
Hi. Nice video. Did you intentionally misspell surprise in your Titel?
@AndreasSpiess
@AndreasSpiess 3 роки тому
Changed. Thanks!
@SimoWill75
@SimoWill75 3 роки тому
Did you intentionally misspell title?
@loligesgame
@loligesgame 3 роки тому
@@SimoWill75 german spelling. sorry
@SimoWill75
@SimoWill75 3 роки тому
@@loligesgame haha I know, don't apologise, was just poking fun. I should've ended with a smiley face. But I hate smiley faces. (Insert wink here)
@GaMa998
@GaMa998 3 роки тому
Hey, You might as well use the CubeIDE to test the faster F7 (and maybe even H7) if they're not supported by the Arduino IDE. It's really quite simple, eclipse based IDE.
@AndreasSpiess
@AndreasSpiess 3 роки тому
My problem was not the IDE when I looked at it. It was the completely different naming... And STM is not my main platform. Most of my projects still need WiFi
@joba1560
@joba1560 3 роки тому
wanted to write about the same. I knew Arduino and PlatfoemIO. When I first looked at STM32s I tried Arduino and failed, tried PlatformIO and failed. Tried CubeIDE / CubeMX and had it blinking within an hour. All chips supported, not just some selected boards. Now I have a coin cell lora node that should run much longer than my ATTiny based node.
@mvadu
@mvadu 3 роки тому
Thank you for this in depth video Andreas. Given the omnipresent WiFi I think i am going to stick with Esp32.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are right. Most of my projects profit from Wi-Fi. But for low power projects it might be an interesting choice.
@robinrobinstrand
@robinrobinstrand 3 роки тому
There is alot of STM32 microcontrollers with WiFi capabilities, check out mbedOS and go to their hardware overview
@AndreasSpiess
@AndreasSpiess 3 роки тому
I know. I just did not see boards on AliExpress with these chips. And no Wi-Fi lib for the Arduino. So for the moment they are not very useful for me...
@emilalmberg1096
@emilalmberg1096 3 роки тому
I love your little embedded jokes. Hope you are well, your voice sounds strained.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I am well and I do not know why my voice sounds differently...
@ThatEgghead
@ThatEgghead 3 роки тому
Yeah, the Teensy ecosystem is amazing. I've not really played with the 4.x yet. But the 3.x line are fantastic. With the Snooze library, power consumption excellent. The audio GUI from PJRC is great. The forums & support are great. Only downsides I'm aware of are some people don't like anything closed source (the HalfKay bootloader & MKL02/MKL02 are required to program various Teensy's) and on that basis... I hope there are contingency plans to keep it going if anything ever happened to Paul (though I really hope nothing ever does of course!).
@AndreasSpiess
@AndreasSpiess 3 роки тому
Good to know! This is my first Teensy and, as said, I have not yet a project needing this power.
@timobreumelhof88
@timobreumelhof88 2 роки тому
Thank you, again. :-)
@AndreasSpiess
@AndreasSpiess 2 роки тому
My pleasure!
@sharpbends
@sharpbends 3 роки тому
I too started with IBM360 in the 70's and also now marvel at the size, power & cost of Teensy4.1 Esp32 and Pi zero etc. Imagine what we will be impressed with in another 10 or 20 years :-)
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are right: Time will give us better electronics. But still, current times are ideal for me. We get a lot of good stuff for a decent budget...
@homelessrobot
@homelessrobot 3 роки тому
In the early 2000s i used to work at the university of alabama in their surplus warehouse, refurbishing and processing electronics and computer equipment so they could dispose of it, sell it, or reuse it. We would every so often get a 'mini' vax. About the size of a refrigerator.
@AndreasSpiess
@AndreasSpiess 3 роки тому
And very expensive when they were new...
@ForOurGood
@ForOurGood Рік тому
So I have been working through all my microcontrollers to get them working with PlatformIO. It occurred to me the reason I sometimes blew up a Bluepills bootloader was caused by using wrong programming settings when switching between microcontrollers in the Arduino IDE (so many settings!). PlatformIO effectively makes that problem go away. To be honest I am reminded how fabulous and Arduino Uno like the Bluepills is with a bootloader installed. On the flipside dealing with the Blackpill has been a total pain to work with, I can't say I am loving it yet..
@AndreasSpiess
@AndreasSpiess Рік тому
So we had different experiences with the Blackpill. It worked ok here…
@ForOurGood
@ForOurGood Рік тому
@@AndreasSpiess I got it to work, it turned out mostly to be some weird problem related to an old USB-3 port on my PC. First I tried to use the built-in WeAct bootloader.. but that is garbage. Now I am using DFU which works but is a pain pressing the button to program everytime. Also entering DFU mode is a bit flakey.. I would say that is the strength of the Bluepills HID bootloader as it behaves just like an Uno. Got my first ESP32 with USB-C yesterday, looks pretty nice but physically larger than I expected. At first it would not program without pressing the boot button, But I found a cheat of adding a 10uf cap on the EN pin that solved that. Loaded a little web server test program and connected it to my WiFi, overall a smooth experience.
@bluedeath996
@bluedeath996 3 роки тому
Can you compare the Teensy to some of the new RISC-V boards that are coming out? They are comparably priced and have similar clock speeds (Kendryte K210 ~ 400MHz adjustable)
@AndreasSpiess
@AndreasSpiess 3 роки тому
Maybe I will once create a Risc-V video. Not decided yet.
@klif_n
@klif_n 3 роки тому
Interesting look at the STM boards. I haven't yet tried one.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you. If no Wi-Fi is needed I think they are a good choice. Particularly for low power or ADCs. And if you need more pins.
@crckdns
@crckdns 3 роки тому
..and if you need more hardware UARTs .. that's one of the points I was "missing" in the test - even though the test compared their power, not capabilities :) so no offence to the video meant!
@AndreasSpiess
@AndreasSpiess 3 роки тому
@crckdns: It would not be possible to compare all 1000 STM32 chips. They differ too much.
@crckdns
@crckdns 3 роки тому
@@AndreasSpiess your videos are great, you can do it, I believe in you! :D Not but for serious, there are only 2 of the F4 series, only 1 (maybe 2 if not high performance) of F7 series (F7 is great, take a look at them!) deserving a deeper review.. UART is great for your viewers to know, they can talk with active sensors in real-time like GPS etc. ^^
@CaliBeta
@CaliBeta 2 роки тому
Excellent 🔥📟👍
@AndreasSpiess
@AndreasSpiess 2 роки тому
Thank you!
#370 Raspberry Pi Pico vs ESP32 (-S2) and STM32 Blackpill
15:53
Andreas Spiess
Переглядів 382 тис.
БАБУШКА vs НАСТЯ?? #shorts
00:40
Паша Осадчий
Переглядів 8 млн
How does NB-IOT and CAT-M1 / LTE-M compare to LoRaWAN (Tutorial)?
21:58
Andreas Spiess
Переглядів 50 тис.
STM32 Guide #1: Your first STM32 dev board
12:12
Mitch Davis
Переглядів 182 тис.
461 The Tools and Organizers I Use (with some tricks)
15:32
Andreas Spiess
Переглядів 81 тис.
Use the very attractive new ATTINY chips for your projects
14:34
Andreas Spiess
Переглядів 185 тис.
Radar Sensors from $3 to over $100: Which one is Best?
14:31
Andreas Spiess
Переглядів 142 тис.
#345 ESP32 vs STM32: Which one is better (Bluepill)?
15:37
Andreas Spiess
Переглядів 230 тис.
Are Fuses from AliExpress and Amazon really dangerous? How to test yours!
13:19
#366 9 New ESP32 Boards: Comparison and Tests
15:11
Andreas Spiess
Переглядів 172 тис.
#363 Which ESP32 pins are safe to use?
11:53
Andreas Spiess
Переглядів 123 тис.
My cat Nika wanted the same handbag as mine #cat #cats
0:31
Princess Nika cat
Переглядів 5 млн
What’s Your Animal Strength?
1:00
Browney
Переглядів 58 млн
Mac & Cheese Donut @patrickzeinali @ChefRush
0:53
albert_cancook
Переглядів 106 млн
My boss asked for a private meeting 🫢 #dress #workwife #model #coworker
0:14
Lizzie Lifestyle Channel
Переглядів 11 млн