Categories
Examples

STM8s External interrupt example

Using External Interrupt is one of the key feature of any microcontroller. Just like any other microcontroller, STM8s series also provide the external interrupt functionality out of the box. If you are coming with any other 8-bit microcontroller family like the 8051 series you may notice that those microcontrollers provides limited numbers of pins for […]

Categories
STM8 Cosmic C Examples

STM8S UART Example Code

UART is one of the rudimentary and crucial peripheral. Using UART in STM8 microcontroller is also effortless. We will use STM8S003F3 or STM8S103F3 Blue pill board for the demo purposes. But this code will equally work well on other variants of the STM8S microcontrollers. As I had tested this code on STM8S903K3 micro controller as […]

Categories
STM8 Assembly Language

CPU Registers of STM8 for Assembly Programming

While programming STM8 microcontroller using assembly language, it is very important to know the internal architecture of the STM8 micro controllers. We are going to use the STM8s microcontroller and according to the Reference manual of STM8s microcontroller , the CPU of STM8s microcontroller consists 6 internal registers. Because the STM8 microcontroller is 8-bit microcontroller, […]

Categories
C#

How to use AForge.Net Framework in C#?

AForge.net is wonderful Image Processing and Computer vision framework for the C#.net Language. This framework comes with few power full machine learning tools as well. Because it is built on the dot net version 2.0, so it could work on previous Visual Studio versions as well. Just like we are going to use it with […]

Categories
Assembly Language Microchip PIC16

PIC microcontroller LED Blink Code Example in Assembly Language

PIC Microcontroller 16f887 assembly code example for LED blinking is very simple and easy to implement. This is why it is always recommended to blink an LED for any embedded system development beginner. The microcontroller PIC16F887 is used for demo purposes but this code is equally applicable to other variants of PIC16 micro-controllers, like PIC16F877A […]

Categories
ESP8266 Examples

Log Temperature sensor data to Google sheet using NodeMCU ESP8266

We often need to log data to different platforms. Due to the wide popularity of the NodeMCU, it is now possible to Log data to a secure and easy to access data sources like Google Sheet. Today, we are going to log temperature sensor data to google sheet using nodemcu esp8266. The reason for choosing […]

Categories
Examples ESP8266

DS18b20 Interfacing with ESP8266 NodeMCU board

DS18b20 is a temperature Sensor module which works on single wire protocol. The reason to choose DS18b20 as a temperature sensor is because, we can interface many DS18b20 sensors on single wire. So we do not need extra pins for interfacing as well as we also do not need analog pins. Because ESP8266 Nodemcu module […]

Categories
Arduino

How to use LM35 temperature sensor with Arduino

Reading the environment temperature is one of the most important task for the majority of the applications. We are going to use LM35 Temperature sensor with Arduino in this example. Even in embedded systems, temperature sensors are one of the most basic and most important sensors used in wide variety of products. Some of the […]

Categories
React-js Examples

How to create a React Bootstrap Navbar?

React bootstrap is a very handy and popular framework for using the bootstrap in React.js applications. Today we are going to create a react-bootstrap navbar example. In this example I will show you from a simplest navbar to a little bit complex one. So grab your keyboards and let’s get started. Installing react-bootstrap First thing […]

Categories
Arduino C#

Arduino + C# Serialport ReadLine and Display on Textbox

Today we are going to read analog input in Arduino and send that read value to Serial port via serial.println() function. After that we are going to create C# based winform application and read data coming from Arduino and display into a Textbox using delegate methods in C#. SerialPort Object in C# will help us […]