Skip to main content

Posts

Showing posts from May, 2021

STM8S001J3 based Programmable timer module

Programmable timer lite is a miniature, USB programmable timer module. This module can handle more than 100 alarm configurations and trigger the output channel based on the programmed conditions. The timer module can program using SRIKit 's Timer Controller software. All the timer configurations are store in the EEPROM to prevent the loss of data during power failures. Programmable timer module. We design this module around the STM8S001J3M microcontroller and DS3231 real-time clock. AMS1117-3.3 regulator in this module can handle a maximum of 9V DC input without installing an external heatsink. Bottom side of the timer module These programmable timer modules were specifically developed to handle long-duration alarm configurations which span up to years. Firmware of this timer module develops using SDCC version 3.9. Programming utility is a GUI application and develops using Lazarus and FPC toolchain. Both these projects are built and tested on a 64-bit Linux environment. Th...

SD card extension for OpenFAT library

OpenFAT is an open-source FAT file system implementation for embedded systems. The original library is well written and documented. We recently came across this library while looking for a LibOpenCM3 support SD/MMC FAT file system library. At the initial review, we notice that this library does not maintain for the last ten years. Also, it does not provide support to the latest SD card types. After review the latest SD card specifications , we add SD card support to this library and release it with the same license. The updated library is available at the github.com/dilshan/sdfatlib . The testing of this library is carry on a popular STM32F103C8T6 blue pill development board. The suggested wiring layout is given, below. Wiring layout for the test setup. For the above test layout, we use a standard SD card adapter module (which comes without a built-in level-shifter and voltage regulator). Due to the 3.3V support of the STM32F103C8T6 , the wiring layout is straightforward. The CH34...