Categories
MATLAB

Plot Arduino ADC Readings on MATLAB Live Plot

In this post we are going to create a real time live plot from the Arduino ADC Readings into the MATLAB. We will open up the serial communication in MATLAB and the received signal will be plotted on the MATLAB in Real TIME. Arduino ADC Reading First of all, let’s read the ADC in Arduino […]

Categories
MATLAB

ECG Signal Processing in MATLAB

In this article we are going to demonstrate basic ECG Signal Processing techniques in MATLAB. These techniques involves filtering a noisy ECG Signal as well as normalizing the ECG Signal. We will also discuss about the ECG Signal Processing which deals with R-R Peak Detection and Hear beat calculation through R Peaks and R-R interval […]

Categories
Examples Next js

How to Create API Routes in Next.js 14

Next.js 14 got some cool stuff like the app router which makes it very different of creating API routes. Although you can use the same old convention but due to the new Server actions, this is going to change forever. This feature was originally introduced from the Next.js 13 and was introduces as an experimental […]

Categories
OpenCV-Python

Leaf Disease detection using image processing OpenCV Python

Leaf disease detection using image processing, OpenCV, and Python is a non-invasive and efficient way to detect the diseases in the plant. There are some benefits for this First, it is much faster, allowing farmers to inspect large fields of crops quickly and easily. Second, it is more accurate, as algorithms can be trained to […]

Categories
OpenCV-Python

Real Time MOG Background Subtractor OpenCV Python

Toady’s tutorial is about MOG Background Subtractor in OpenCV Python. We are going to use the built in MOG2 background subtractor with OpenCV Python. In this code we will create a VideoCamera Class to simplify the process of background subtracted frame capturing. Here is the output how it gives the binary image as an output […]

Categories
OpenCV-Python

Real Time Coin Detection OpenCV python

In this project we are going to implement Coin Detection algorithm in OpenCV Python. We are going to use real time webcam feed for detecting the coins. We created a simulated lab bench environment where we tested our algorithm. Similar code could be used in Raspberry PI as well. So if you installed the OpenCV […]

Categories
8051-8052

LED blinking program in KEIL for 8051 Timers

We know we can generate delays with the help of loops and/or NOP instructions but we are talking today about 8051 timers. Although the accuracy of exact timings is compromised, yet it satisfies the needs so why are we talking about timer now specifically?There are some scenarios where we need to do more complex timings […]

Categories
Arduino Examples

Basic Arduino LCD and Keypad Example Code

This code is about basic example where we interface a 4×4 keypad with Arduino and one 20×4 LCD with Arduino. You can also use 16×2 LCD with Arduino in same code. Here is the complete working code example.

Categories
8051-8052 Assembly Language

Digital Dice using 8051 microcontroller Assembly Language

Let’s create a digital dice using 8051 microcontrollers in assembly language. This is very basic problem and will help you to learn very core concepts of 8051 microcontroller assembly language programming. By creating a digital dice using 8051 microcontroller you will get hands on experience on how to make use of most widely used instructions […]

Categories
Python

Django Bootstrap alert Closeable

In this post we are going to create a new base.html file which will handle the bootstrap and the most important django messages to display in alert div. We send error or success messages from the backend code using standard messages api and in the front end we display that messages using the bootstrap alert […]