STM8S003 Timer
This is a timer for watering plant and supplyment light in the winter with LED. There is a simple menu system (UI.C,UI.H) for setting preferences that may be of interest.
Schematic/layout: Eagle CAD. Firmware compiled using "Free" Cosmic C for the STM8 series.
Project page:
https://hw-by-design.blogspot.com/2018/10/stm8-timer.html
Licensing:
Firmware: Unless otherwise stated are in GPL3.0. stm8s.h is licensed under "MCD-ST Liberty SW License Agreement V2"
Schematic: Creative Commons 4.0 Attribution 4.0 International
PCB & Layout: Creative Commons 4.0 Attribution 4.0 International
See https://creativecommons.org/licenses/by/4.0/
Change log
-
back port from LED clock project: NCO for better trimming, Daylight Saving Time, Date and leap year
-
Mar 18 2020: Servo support + fixing alarm remainder time after time adjustment
-
Mar 4 2021: V2 hardware/firmware release. V1 will no longer be maintained
Hardware changes:
-
Supercap backup power, switcher module
-
Different connector for LED/sensor + Servo connector
-
LCD, buttons I/O changes. LCD backlight on/off control by ambient light
-
I2C connector
-
expansion connector for nRF24 (no firmware support)
See https://hw-by-design.blogspot.com/2020/03/stm8-timer-servo-controlled-water-valve.html