Arduino Forum

Development => Other Hardware Development => Topic started by: PhysX on Jan 07, 2018, 04:20 pm

Title: STM32 Bluepill Arduino Compatible 32bit Board
Post by: PhysX on Jan 07, 2018, 04:20 pm
Anyone uses generic STM32 Bluepill board? What  advantages it has over an Arduino Uno or Mega? And what advantages we have in a 32 bit board over an 8 bit board?
Title: Re: STM32 Bluepill Arduino Compatible 32bit Board
Post by: anwofis on Jan 28, 2018, 06:40 pm
I would be interested in this too. These things are super cheap - like 2$ from China - and can be programmed via USB with the stm32duino-Bootloader. I just tested some example sketches with mine.
Title: Re: STM32 Bluepill Arduino Compatible 32bit Board
Post by: zoomx on Mar 28, 2018, 11:23 pm
stm32duino.com is the forum about these cheap boards.
Title: Re: STM32 Bluepill Arduino Compatible 32bit Board
Post by: 68tjs on Apr 14, 2018, 08:50 am
A ARM 32bit micro with 72 MHz clock is speeder  than a 8 bits micro with 16 MHz clock.
There are more I2C, SPI, Serial,
There is a CAN bus.
There are much analog inputs with best acuracy
There are more of all because it is a more recent micro.

But for me main advantage is 50 % Inputs are 5V tolerant.
I don't known other ARM micro with this capability and no arduino ARM-Atmel board (DUE,Zero,MKR) can do that.
Title: Re: STM32 Bluepill Arduino Compatible 32bit Board
Post by: Tophobbies on Apr 14, 2018, 06:40 pm
I use it now for 2 months. Very nice MCU. Flaster that UNO. So fast that you have to put a delay (1000);  at the start of setup function. Else serial interface will not work.
Then pinMode(PA0, INPUT_ANALOG); IS A MUST.
Dont use pa0 must be PA0.
Some small changes. The example code that comes with installation is not all correct.
Patients is all you need.
Title: Re: STM32 Bluepill Arduino Compatible 32bit Board
Post by: zoomx on Apr 16, 2018, 03:46 pm
So fast that you have to put a delay (1000);  at the start of setup function. Else serial interface will not work.
Are you talking about USB serial? The reason is because of reenumeration of USB devices.
Hardware serial doesn't have this problem.
Title: Re: STM32 Bluepill Arduino Compatible 32bit Board
Post by: ickyan on May 07, 2018, 02:27 pm
One of the resistors apparently need changing for USB to work and apparently you cant connect external power and usb at the same time.

http://wiki.stm32duino.com/index.php?title=Blue_Pill#Hardware_installation

You also need at USB to serial converter to get started with it (cheap from china).

I have only uploaded the blink sketch but will be trying to implement more when I have time, my only concern is that library support is going to be more limited than typical Arduinos (but im new to it, so I can't tell you it is good or bad), but if i need to do something really basic at higher speed than Arduino it could be very handy and affordable.