You must want to protect your intellectual property firmware in this case. Like any other microcontroller STM8 also provide features to protect the memory access for unauthorized access. We previously added ATMEGA328 microcontroller protection system. But our today’s focus is STM8 microcontroller. STM8 microcontrollers are widely used in various applications due to their robustness and […]
Microcontrollers are the heart of many electronic devices, from simple gadgets to complex embedded systems. One of the critical aspects of their operation is the reset mechanism, which ensures the microcontroller starts correctly and runs reliably. Resetting a microcontroller clears its state and brings it back to a known starting point, allowing the system to […]
CodeIgniter 4 Shield Authentication
Shield is a comprehensive authentication and authorization library for CodeIgniter 4, which simplifies implementing authentication in your application. When building web applications, securing your application’s authentication and authorization is paramount. Enter Shield, the official authentication and authorization framework for CodeIgniter 4. Designed with flexibility and security at its core, Shield provides a robust set of […]
String to const char* Arduino
In Arduino programming, working with strings is a common task, whether you’re sending data over serial communication, displaying messages on an LCD, or interacting with other hardware components. The String class in Arduino provides a convenient way to handle text, but there are situations where you need to convert this String into a C-style string […]
Imagine you have two Arduinos, and you want them to talk to each other—maybe one collects data, and the other controls a motor based on that data. There could be many reasons where you may have to use multiple arduinos to communication with each other and there could be many ways to accomplish this task. […]
If you, just like me, accidentally added the .env file in your GitHub repository, and now tried everything but the .env file changes are still being pushed to your GitHub repository, you can use this tutorial and just remove your .env file being update and synced with your remote origin repository. To exclude the .env […]
Today we are going to use the L298N motor driver with 8051 microcontrollers to control a DC Motor. This motor control system is specially for robotic 2-wheel differential drive car. Or could be used with any other use case where we need to drive one or two motors with the push buttons. The program which […]
Golang int to string Conversion
There are several ways for Golang int to string conversion. We will briefly discuss few of them in today’s tutorial. We have built in strconv package to help us deal with the various data types. We can take help of that package to do our Int to String conversion task in the Go programming language. […]
Today we will try to learn the STM32 Input Capture Mode with the simplest code example to learn how to use STM32 Input Capture Mode? Before we dive into today’s tutorial you may want to check out our previous STM32 tutorials. For today’s example, I’ll connect a push button to one of the timers on […]
In our previous 8051 LED blinking example we used loop iterations to generate the delay but, in this post, we are trying to make use of 8051 timers. With the help of 8051 timers, we will generate exactly 1 second delay. We will explain the process of timer configuration, timer registers, timer register value calculation […]