Close

Announcing XY-LPWM Board Support in STM8 eForth

A project log for eForth for cheap STM8S gadgets

Turn cheap modules from AliExpress into interactive development kits!

thomasThomas 05/11/2018 at 10:015 Comments

EDIT: I received both the XY-LPWM and XY-PWM board yesterday. As expected, the Nuvoton chip on the XY-LPWM had to be replaced by a STM8S003F3P6, and a 1uF 0603 capacitor had to be added, but that was quickly done. The XY-PWM for $1.65 came with the required controller, and both worked right after flashing - nice work @Ivan Alf!

=======================================================

@Ivan Alf contributed board support for the Chinese board XY-LPWM in his GitHub fork plumbum/stm8ef:

I never understood what people use "PWM boards" for, but this one, and the slightly cheaper 2CH PWM Generator board both provide a serial interface. Which is really nice for interactive Programming with Forth!

The board provides a 2x4 digit LCD display with a HT1621 LCD controller:

Like many STM8S003F3P6 based boards these days, there is a big risk that the board you rceive has a "pin compatible" Nuvoton N76E003AT20 µC, a controller with an 8051 like core. Better be prepared to do some soldering when you order this board!

Hint: sometimes STM8S103F3P6 chips are cheaper than the lower rated STM8S003F3P6.

Discussions

sergiy wrote 05/28/2022 at 14:23 point

please provide similar for pwm control step 0.1(0.25) %

  Are you sure? yes | no

Ivan Alf wrote 05/18/2018 at 07:58 point

Hello. I placed partial teardowned XY-PWM pictures here: http://tuxotronic.org/xy-pwm/

You can use them on your own.

  Are you sure? yes | no

Ivan Alf wrote 05/11/2018 at 11:05 point

By the way, I have also 2ch modules XY-PWM (also know as HW-0515) modules ;-)

And I even showed on the LED display the inscription '4th' =)
All three two-channel modules, which I ordered from different vendors, were on the MCU STM8S003F3.

  Are you sure? yes | no

Thomas wrote 05/12/2018 at 22:19 point

Ah, the XY-PWM - I've seen this coming and ordered one. I was curious whether this is a safer choice than the W1209 (which has more often than not a Nuvoton 8051 chip nowadays).

It's high time to add more boards to the Wiki :-)

  Are you sure? yes | no

Thomas wrote 05/24/2018 at 20:57 point

Works!

  Are you sure? yes | no