STM8

IR Signal Decoder using STM8S Microcontroller IR Signal Decoder using TSOP1838 IR Receiver and STM8S Microcontroller

IR or infrared is one of the simplest and easiest ways to transfer data wirelessly. This property of IR makes it undetectable to the human eye and perfect for wireless communication. Apart from that IR receiver comes with a very limited range which is why it's perfect for short-range home automation projects, TV remotes, accurate range detection, RP detection…

SPI Communication on STM8S Using Cosmic C Compiler SPI on STM8S Using Cosmic C Compiler – Interface the MAX7219 module with STM8S

In this tutorial, we will learn about the implementation of the Serial Parallel Interface (SPI) Communication on the STM8S103F3P6 board using an 8x8 Led matrix display module as the SPI device. There are 4 GPIO pins that we will be using to perform the SPI communication as shown in the image below. So, let…

Pulse width Modulation with STM8 using Cosmic C and STVD Pulse width Modulation (PWM) with STM8 using Cosmic C and STVD: Controlling Brightness of LED

Pulse Width Modulation (PWM) is a type of analog modulating technique in which the duration or width of the pulse changes in accordance with the time. It is a commonly used technique to produce a continuous pulse signal with a defined frequency and duty cycle. In short, PWM is about changing the width of a pulse while the frequency remains constant.

…
ADC on STM8S Microcontroller with COMIC C Compiler ADC on STM8S using Cosmic C Compiler – Reading Multiple ADC Values and Displaying on LCD

If you are a regular reader who is following our STM8S Microcontroller Tutorials, you would know that in our last tutorial, we learned how to interface a 16x2 LCD with STM8s. Now, proceeding with it on this tutorial, we will learn how to use the ADC feature on our STM8S103F3P6 Microcontroller. An ADC is a very useful peripheral on a microcontroller that is often used by…

Interfacing 16x2 Alphanumeric LCD with STM8 Microcontroller Interfacing 16x2 Alphanumeric LCD display with STM8 Microcontroller

The 16x2 Alphanumeric LCD display is the most commonly used display among hobbyists and enthusiasts. The display is very useful when you want to display basic information to the user and can also help in testing or debugging our code. This particular 16x2 LCD module is easily available and has been popular for a long time. You can learn more about the basics of the 16x2 LCD module in the…

STM8S Serial Communication using STVD and Cosmic C Serial UART Communication on STM8 using Cosmic C and STVD - Print / Read Characters and Strings

Programming a new microcontroller often takes a longer time due to the new register handling methods and not knowing what bit does exactly what. The same goes for debugging as well without saying. This is why programmers quite often use breakpoints in their code and step through it using a debugger. But using a debugger might need additional hardware (most times expensive)…

Programming STM8S Microcontroller using Arduino IDE Programming STM8S Microcontrollers using Arduino IDE

Arduino has undoubtedly grown into a user friendly and quick prototyping tool, thanks to its supportive user community. Today, because of its open-source nature, the platform is not only limited to the Arduino boards but also to other development boards like the NodeMCU, ESP8266, STM32, MSP430, etc. can also be programmed from the Arduino IDE. If you are interested in…

STM8S103F GPIO Functions using Cosmic C and SPL GPIO Functions on STM8S using Cosmic C and SPL – Blinking and Controlling LED with Push Button

For microcontrollers, an LED blinking program is equivalent to the “hello world” program. In our previous tutorial, we learned how to get started with STM8S103F3 Development Board and how to set up the IDE and compiler to program our STM8S controllers. We have also learned how to use the standard peripheral libraries, and how to compile and upload the code into our…

Getting Started with STM8S using STVD and Cosmic C Compiler Getting Started with STM8S using STVD and Cosmic C Compiler

The STM8 is a series of 8-bit Microcontrollers from STMicroelectronics that has become a common choice of Microcontroller for cost-sensitive product development. 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…

STMicroelectronics STM32 and STM8 Controllers STM32 and STM8 Controllers get Functional Safety Packages for Safety Critical Applications

STMicroelectronics has released three functional-safety packages that simplify the development of safety-critical industrial, medical, consumer, and automotive products based on STM32 and STM8 microcontrollers and microprocessors.

The packages are available free of charge and contain the resources developers need to satisfy applicable IEC and ISO…

One-Board Discovery Kit Contains Three 8-Pin STM8 Microcontrollers for Best Convenience and Value One-Board Discovery Kit Contains Three 8-Pin STM8 Microcontrollers for Best Convenience and Value

For less than $10, the STM8-SO8-DISCO 8-bit microcontroller (MCU) Discovery Kit from STMicroelectronics lets users evaluate all three STM8 variants currently available in the popular 8-pin SO8 package.

 

As well as outstanding three-in-one value, the kit offers no-frills simplicity and features to jump-start…

STLINK-V3 probe for programming and debugging STM8 and STM32 microcontrollers Faster, More Flexible Probe for STM8 and STM32 Programming

STMicroelectronics introduced the next-generation STLINK-V3 probe for programming and debugging STM8 and STM32 microcontrollers, adding enhancements to further increase flexibility and efficiency. Now comes with mass-storage support, a virtual COM port with multipath bridge, and three-times faster write performance, the STLINK-V3 saves development…