STM8 hobby projects: a usable small Forth and simple KiCad designs
- Germany
- https://gist.github.com/TG9541
Pinned Loading
-
stm8ef-modbus
stm8ef-modbus PublicA lightweight framework for MODBUS RTU nodes in STM8 eForth that can do more than just I/O
-
stm8s001rs485
stm8s001rs485 PublicA narrow KiCad made PCB with STM8S001J3, RS485 driver and DS1621S Thermometer, e.g., for STM8EF-MODBUS
-
IR Remote Control for an RGBW LED Bu...
IR Remote Control for an RGBW LED Bulb with STM8 eForth 1# STM8 eForth: IR Remote Control for an RGBW LED Bulb
2These days IR remote control is still the cheapest option for consumer electronics.
3I've long had the idea that Forth is ideal for scripting IR remote-controlled devices and I used the light bulb at my desk to learn how to do that with STM8 eForth.
4LED lamps of relatively high quality with a combination of white LED and RGB LEDs have a remarkable low price tag: the set below [costs no more](https://www.aliexpress.com/item/32884777814.html) than a regular white LED lamp.
5In my experience service life is much better (maybe due to a switched mode power supply with constant DC voltage and µC PWM control). The option for occassional colorful illumination is a bonus.
-
STM8L051F3: low-power Forth console ...
STM8L051F3: low-power Forth console experiments 1# STM8L051F3: a low power Forth console
2In the stopped state the STM8L needs just a few µA - but in this state the console can't wake up the device:
3the USART gets no clock. Only GPIO interrupts and peripherals that are clocked from the LSI or the LSE will work!
4A possible solution is a pin-change interrupt on RxD for waking the core - and the USART - up.
5In "Active-Halt" mode RTC and WUT peripherals run on 38kHz LSI or 32.768kHz LSE clock (see [here](https://gist.github.com/TG9541/0a71928f36e29ba92af34ec4312f2b25)). This means that it's possible to have a background task without keeping the core busy.
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.