Posts

Electronic Dice With 7-Segment Display

Image
Aim The Aim of this project is to learn, study and create different ICs in digital logic and designing and create a unique project. This project gives us an immense knowledge of electronic components which are important to know. Introduction Electronic dice is simple electronic circuit with a push button that can be used like a normal dice in games. The dice works by switching Light Emitting Diodes (LEDs) on and off just like the pattern of dots found on a traditional dice. Playing with dice needs us to pick up a dice and make sure that it is unbiased. Making a block as a dice and cutting it clearly to make sure that it is unbiased is all an old story. The dice becomes biased if the shape is not cut well. Also, the dice can become biased due to deformations. If it is a wooden die, it can deform due to dampness in the atmosphere or due to mechanical stress. To solve all these problems which we have with a conventional dice, we have made a dice circuit which solves all the problems ...

Building a 4x4x4 LED Cube Controlled with STM32F401

LED cubes are an excellent way to learn about electronics, microcontroller programming, and creative visual effects. This project involves building a 4x4x4 LED matrix and controlling it with an STM32F401 microcontroller. The 4x4x4 LED cube consists of 64 LEDs arranged in 4 layers, with each layer containing 16 LEDs. Using multiplexing, we light up individual LEDs or create dynamic patterns without requiring 64 GPIO pins. How the 4x4x4 LED Cube Works Hardware Layout : The cube is structured in a grid where each LED is connected to a row and column. Each layer has a common cathode, and the columns connect the anodes. Multiplexing Control : Only one layer is powered at a time, and the LEDs within that layer are controlled using the column connections. By rapidly switching between layers (persistence of vision), we create the illusion that all LEDs are on simultaneously. STM32 Control : GPIO pins control the rows and columns, while timer interrupts or DMA handle mult...

DPOAE-Based Ear Testing Using MATLAB and Amplifier

Image
Distortion Product Otoacoustic Emissions (DPOAE) testing is a non-invasive way to assess cochlear health. This technique uses sound frequencies to stimulate the inner ear and measures the resulting otoacoustic emissions, which indicate whether the cochlea is functioning properly. In this project, I developed a custom DPOAE testing device using an amplifier for sound generation and a MATLAB app for signal processing. Understanding DPOAE Testing DPOAEs occur when two pure tones (frequencies f 1 f_1 and f 2 f_2 ) are presented to the ear. These tones interact in the cochlea, producing distortion products—new frequencies that are not part of the original tones. The most prominent distortion product is 2 f 1 − f 2 2f_1 - f_2 , which is generated by the cochlear nonlinearities. Detecting these emissions helps evaluate the integrity of outer hair cells in the cochlea. Why Two Frequencies? The cochlea responds differently to various frequencies due to its tonotopic organization, where s...

Motion Detection Using RF Transmitter and Receiver with Arduino and Python

Image
  In the world of IoT and automation, motion detection is a fundamental concept used in security systems, smart homes, and more. In this project, we create a motion detection system using an RF transmitter and receiver. The transmitter detects motion using an IR sensor and sends the data wirelessly to the receiver. An Arduino connected to the receiver processes this data and communicates with a Python script via PySerial to control a computer screen or change tabs dynamically. Project Overview This system detects motion and triggers an action on a connected computer. The components work together as follows: Transmitter Side: An IR sensor detects if someone crosses its path. The RF transmitter sends a signal (1 or 0) to the receiver. Receiver Side: An RF receiver captures the signal and sends it to an Arduino. The Arduino communicates with a Python script via PySerial. Python interprets the signal to shift tabs or change the screen. Components Required Ardui...

Tesla coil

Image
  Unlocking the Potential of a Tesla Coil: Driving Wireless Power with a TV Transformer and ZVS Driver The Tesla coil, invented by Nikola Tesla in 1891, is a marvel of engineering that demonstrates the fascinating principles of resonant inductive coupling and high-frequency power transmission. One of its exciting applications is wireless power transfer, which is as relevant today as ever, given our growing demand for innovative power delivery methods. In this blog, we’ll delve into how to build and power a Tesla coil using a TV transformer and a Zero Voltage Switching (ZVS) driver to create a simple yet effective wireless power supply. Understanding the Tesla Coil A Tesla coil comprises two main components: Primary Coil and Capacitor: These form a resonant LC circuit driven by an external power source. Secondary Coil and Topload: The secondary coil, coupled inductively to the primary, steps up voltage to incredibly high levels, with the topload serving as a capacitor for energy s...

Controlling devices with ESP32 integrated with website

  ESP32 IoT Project Overview This project demonstrates how to manage Wi-Fi connections and interact with a server using an ESP32. The goal is to provide an efficient solution for handling dynamic Wi-Fi connections and device control through HTTP requests. We also include methods for resetting Wi-Fi credentials and troubleshooting common issues. Wi-Fi Manager with AutoConnect and Reset Option The ESP32 uses the WiFiManager library to simplify the Wi-Fi setup process. The following code demonstrates how to enable AutoConnect with an option to reset the Wi-Fi settings by holding a button for more than two seconds. Example Code #include <WiFiManager.h> // https://github.com/tzapu/WiFiManager #include <WiFi.h> #include <WebServer.h> #include <HTTPClient.h> #include <ArduinoJson.h> // Replace with the server URL const char* serverURL = "http://your-server.local/ESP32_MySql_Database/Final/get_device_status.php"; int ledPin = 2; // GPIO for the LED i...

RFID-based home automation with door lock

  RFID-Based Home Automation Using Arduino: A Step-by-Step Guide The advent of IoT has paved the way for smarter and more secure home automation systems. RFID (Radio Frequency Identification) technology, paired with Arduino, offers a simple yet effective solution for automated access control. In this blog, we’ll create an RFID-based home automation system that allows you to control appliances or secure access through RFID tags. Overview of the System This project leverages an RFID reader to identify unique RFID tags. Once a tag is detected, the Arduino processes the tag's ID and performs actions like turning appliances on/off, unlocking doors, or activating devices based on predefined logic. Components Required Arduino Board (e.g., Uno, Mega) RC522 RFID Module RFID Tags Relay Module (for controlling appliances) 12V DC Power Supply (optional for external devices) LEDs (for status indication) Buzzer (optional for feedback) Connecting Wires and Breadboard Home App...