PWM with STM8S

PWM is a great way to control brightness of LEDs, speed of motors, etc. Most microcontrollers including STM8S has built in ability to generate PWM signals. In this article I share simple code to generate PWM signal in STM8S microcontroller. However, I don’t write anything about PWM theory other than basic calculation to get required… Continue reading PWM with STM8S

Bootloader-less Programming Arduino Pro Mini

Recently I was creating a configurable timer circuit based Arduino Pro Mini. The circuit has a momentary push button which user can press to turn ON the device. The device will turn OFF itself once the time is elapsed. On starting, Arduino has to turn on a relay to get permanent connection to power source,… Continue reading Bootloader-less Programming Arduino Pro Mini

Program Arduino Pro Mini with CP2102 USB to TTL Coverter module

I like Arduino Pro Mini boards more than other Arduino boards. Mainly because of its minimalist design. But Arduino Pro Mini does not have built in USB interface to program it directly like we do in Arduino Uno. However we can program a Arduino Pro Mini easily using a cheap CP2102 USB to TTL converter… Continue reading Program Arduino Pro Mini with CP2102 USB to TTL Coverter module