
The controller can also be made to operate on 5V if required. A power led and a test led connected to PB5 (Port B pin 5) and an AMS1117 Voltage regulator that converts the 5V from a USB port to 3.3V for the controller. Taking a closer look, you will notice, apart from the STM8S103F3p6 controller, we have a reset button to reset the controller. The internal circuit diagram for the development board is shown below. It is breadboard friendly and suitable for compact applications. The board only consists of the bare minimum components that are required to begin development. The image of the STM8S103F3P6 Development board that we will use in this tutorial is shown below. The official development board for ST’s 8-bit Microcontroller is called the STM8 Discovery kit, but we will use another low-cost development board that you can easily find with a local supplier or on online store. There are many options, here I have selected the ones that are free to use and easily available to everyone.

Now that we have deicide the microcontroller, we will have to select hardware and software development tools to begin our learning process. Selecting the Hardware and Software Development Tools You can also check out the STM32F103C8 Tutorial and projects if you are interested in 32-bit STM Microcontrollers. Starting from this, we will have a sequence of tutorials, similar to the PIC Programming Tutorials where we will learn how to program this controller from a basic blink to various display and sensor interfacing. Who would not be intrigued? Also, the STM8S103F3P6 is widely popular, and hence as a beginner, you will find enough support if you need help outside the tutorials. 20 Rupees) we get an 8-bit microcontroller with 16Mhz Internal Oscillator, 8kB Flash, 10-bit ADC, UART, SPI, and I2C. Like!! just look at it just for 0.25$ (approx. The reason for getting started with this specific part number is just for its price to performance factor. In this series of tutorials, we will learn how to program the STM8S microcontrollers, more specifically the STM8S103F3P6. For instance, the STM8S series of controllers (which we will learn in this tutorial series) is a general-purpose controller but there are other series like the STM8A for Automotive Designs and STM8L for Low Power battery-powered designs which extends the application of these controllers. The IC is not only cheap but also packed it with lots of features and options making it suitable to be used in many different applications.

Recently, after tearing down a few cheap Chinese products, I found that most of them had an STM8 microcontroller inside it. I have previously work with AVR, PIC, and a few other ARM Cortex Microcontrollers, but surely in some applications, they become overkill and increase the BOM cost considerably. The STM8 is a series of 8-bit Microcontrollers from STMicroelectronics that has become a common choice of Microcontroller for cost-sensitive product development.
