VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » Knowledge, science, education » GreatScott!
Easy & Powerful Arduino Alternative? STM32 Beginner's Guide

Easy & Powerful Arduino Alternative? STM32 Beginner's Guide

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Easy & Powerful Arduino Alternative? STM32 Beginner's Guide Tuetuopay: Great video! Here are some points you forgot to mention:
- The blue pill runs at 72MHz, versus a lousy 16 for the arduino.
- Development can be much faster if you use the Maple Mini bootloader. You flash it once, and then it gets programmed simply through the USB port (just like the arduino. Note however that they acheive this feat in a very different way, the STM32 way is better (see next point.
- The blue pill has a USB port straight to the STM32, thus avoiding Arduino's USB/serial chips. It also means that you're free to make a USB peripheral with it. For example, it can enumerate as a HID device (usb, mouse, , COM device (virtual serial, etc.
- The STM32 is a 32 bit ARM CPU, while the Pro Mini/Micro is an 8 bit AVR. This is not a huge selling point, but can be quite useful if you're making extensive use of interruptions with shared large variables.
- SWD interface is exposed (which is standard ARM reduced JTAG, and you can find probes for it on ebay for 2 (just look for ST-Link. This allows for a much better debugging experience, including standard GDB, step by step, registry probing, etc

Date: 2020-09-05

Comments and reviews: 9


Apologies if it has been said. When submitting 5V to the FT pins, the Five volt Tolerant pins, their internal pull-up resistors should not be used.
Marginally, an opinion: I see authors/readers here and there on the web comparing this board with older Arduinos. I think they are products which came to the market in different historical moments. Arduino's merits also reside in the IDE, enabling us to use C++ on various MCUs, and the free software + free hardware combination which empowers so many with such great tools. It's simply great.
I find the STM32 very appealing and certainly a must for certain projects, but this doesn't impede that - just like the author of this video - I still love a ProMini or ProMicro, which are dirty cheap anyway considering what we get. (the Leonardo is also still the good one in certain occasions. as for the Arduino Uno, I've never had one so far, but there are so many great shields for it it that I might end up getting one some day. My first scientific calculator was a TI57, my first computer a Commoder C64.

reply

Hello sir i have a problem with the STM i changed from arduino to stm32 cause i needed higher memory but i couldnt control it i tryed using the ST-LINK methode to upload my program but i need a serial communication so i changed to yours
i used the boot0 on 1 downloaded the biblio nd used serial methode but i cant transfer the code keep geting this message
an error occurred while transferring the sketch can you give me any idea of the reason i need it for a school project and, thank you so much.

reply

It's a waste of time and resources to try to adapt any Cortex M processor to the Arduino philosophy. It's ok to abstract the underlying hardware below the Arduino API, however, who in the world wants to shrink the 16 bits timer capabilities into 8 bits? Not to mention that ST high (sick) level of integration is awesome. Arduino users need to accept an Arduino's API extensions and stop thinking in 8 bits.
reply

If you use the datasheet and atmel studio for Atmega development and use keil microVision with STM32, you will realize how much the ARM architecture is complicated compared to the AVR architecture. But if you will use Arduino IDE there wont be a difference but its not used in industry and its only for hobbyists
reply

Has anyone got quality issues with these boards? I bought a few for a project, but I least half of them didn't work properly. Some didn't start the firmware, the I2C1 port didn't work for others, etc. I used the ST Link to upload firmware and HAL libraries on them.
reply

well, in the video i found that STM32 is much better than arduino, but why the title is arduino alternative? isn't it more like arduino, the alternative for STM32, and it would be great if you could state the cons of using STM32
reply

Is there a way to pair rc receiver to arduino transmitter, I want an rc receiver because of how compact and cheap it is and also the wide voltage range I can input to it
reply

Hi Scott
Thanks for the great video.
Very useful!
####
I have a question my friend
Can I use multiplexer ic with the Bluepills?

reply

Hi. Thank for explain it. I was do what you instructed but when i check again my port not active. When i used arduino my port is fine. Please. Help me.
reply
Add a review, comment






Other channel videos