Page 2 of 2

Re: STM8

Posted: Tue Dec 29, 2020 4:38 am
by pfk3
I recently came across these STM8L051F3 dev boards on Ali Express:

For that price I figured I'd order a few (I bought 4) and they arrived from China to the US in a few days. Very fast. Then once they arrived I went online to try to figure out a non-Windows IDE that I could use to write some code for them. That lead me here. I installed Sduino in my Arduino IDE but this particular board isn't in the list of boards.

So I'm hoping to get more info on how to get the board definition for this particular board to Sduino so that I would see it in my Tools menu:

Tools->Board->STM8L Boards-> STM8L051F3P6 Development Board

There are some other interesting boards on Ali Express, some for under $1, so I agree with Leif that if supported by any IDE like the Arduino IDE, the STM8 series of ICs & dev boards could grow into a larger community. There are a ton of potential projects which can work just fine with a small breadboard and a tiny STM8 dev board like these.

Here are some of the other boards:

I'm happy to order some and test them to get them added to Sduino, I just don't know how to add board definitions to the Sduino project.

Re: STM8

Posted: Sat Jan 23, 2021 12:04 am
by dannyf
i'm a big fan of those little beasts: stm8s003 and stm32f030. but the 8s has limited utility as an arduino clone - as the space is quite limited, especially if you compile with a free compiler. under iar, they work wonders.

Re: STM8

Posted: Sat Jan 23, 2021 6:26 am
by ag123
i've got 2 pieces of these, originally i'm thinking of using them as stepper controllers

off topic, there are these mx1508 h bridges (pretty low costs) ... ext=mx1508 ... ver-board/

i've worked them on the regular stm32 (e.g. f103) driving 28byj48 motors hacked to work as bipolar steppers ... xt=28byj48
they worked well paring up with stm32 and mx1508

but as h-bridges consume gpio 4 pins each, 2 h-bridges takes 8 pins. so when one is running out of pins on the 'main' mcu boards, these little mcus may help. One stm8s can possibly drive 2 set of h-bridges. but these days ready made stepper controller ICs are more convenient ... Text=a4988 ... xt=drv8825

i still like the idea of using separate h-bridges as h-bridges tend to run hot. hence they still remain valid where the context permits them.
another thing about separating the controller logic from the h-bridges means that one can implement different control schemes and possibly use feedback

however, as stm32f103 boards are relatively inexpensive these days, it is pretty possible to use stm32f103 in the same way as stepper controllers.
just that it'd seem to be 'wasting transistors'. the good thing with stm32f103 is its usb, so i'd guess it can be made into a pc host driven 'stepper driver' ;)