Skip to content
View TG9541's full-sized avatar

Block or report TG9541

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. stm8ef stm8ef Public

    STM8 eForth - a user friendly Forth for simple µCs with docs

    Assembly 314 66

  2. W1209 W1209 Public

    W1209 data logging thermostat with an STM8 eForth interactive console

    Forth 31 12

  3. stm8ef-modbus stm8ef-modbus Public

    A lightweight framework for MODBUS RTU nodes in STM8 eForth that can do more than just I/O

    C++ 31 12

  4. stm8s001rs485 stm8s001rs485 Public

    A narrow KiCad made PCB with STM8S001J3, RS485 driver and DS1621S Thermometer, e.g., for STM8EF-MODBUS

    19 4

  5. 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  
    2
    These days IR remote control is still the cheapest option for consumer electronics.
    3
    I'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.
    4
    LED 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.
    5
    In 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.
  6. STM8L051F3: low-power Forth console ... STM8L051F3: low-power Forth console experiments
    1
    # STM8L051F3: a low power Forth console
    2
    In the stopped state the STM8L needs just a few µA - but in this state the console can't wake up the device:
    3
    the USART gets no clock. Only GPIO interrupts and peripherals that are clocked from the LSI or the LSE will work!
    4
    A possible solution is a pin-change interrupt on RxD for waking the core - and the USART - up.
    5
    In "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.