Categories
MATLAB

Skin Color Detection and Segmentation in MATLAB

While exploring image processing, I recently embarked on a project to implement skin color detection and segmentation using MATLAB. This project is helpful and touches on several important applications like face recognition, gesture analysis, and human-computer interaction. In this post, I will walk you through my experience, the techniques I explored, and how I structured […]

Categories
PHP

CodeIgniter 4 Shield User Management

Managing user accounts effectively is crucial for any web application. CodeIgniter 4 Shield simplifies this task with its powerful authentication and authorization tools. In this post, we will explore user profile management, password reset and recovery, and account activation and deactivation using CodeIgniter 4 Shield. In the previous post we described how to create a […]

Categories
STM8

STM8 Microcontroller Readout Protection (ROP) Features and Practical Considerations

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 […]

Categories
Tutorials

Understand Types of Reset in Microcontrollers

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 […]

Categories
CodeIgniter PHP

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 […]

Categories
Arduino

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 […]

Categories
Arduino

Arduino to Arduino i2c communication Example

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. […]

Categories
Git

Remove Your .env file from your GitHub Repository

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 […]

Categories
8051-8052 Assembly Language

Controlling a Motor with 8051 Microcontroller and L298N Motor Driver

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 […]

Categories
Golang

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. […]