Solar Power Monitoring Device Using ESP32, DC Current and Voltage Sensors for Online Monitoring

Solar Power Monitoring Device Using ESP32, DC Current and Voltage Sensors for Online Monitoring

As the demand for renewable energy grows, solar power systems are becoming more widespread. However, maintaining optimal performance and ensuring the system's efficiency requires monitoring key parameters like voltage, current, and power output. With the advancements in IoT technology, it’s now possible to build a Solar Power Monitoring Device using an ESP32 microcontroller, DC current and voltage sensors, and online monitoring capabilities. This article outlines how to design and implement such a system, providing real-time data access and system control remotely.

Why Monitor Solar Power Systems?

Monitoring solar power systems offers several benefits:

  1. Optimize Performance: Monitoring helps to ensure that the system is working at maximum efficiency.
  2. Prevent Failures: Real-time monitoring allows for early detection of issues such as poor connections, faulty wiring, or malfunctioning panels.
  3. Track Power Generation: It enables you to track the amount of power generated daily, weekly, or monthly, ensuring you’re getting the most from your system.
  4. Remote Control: With IoT integration, the system can be accessed remotely, allowing you to monitor and control your solar setup from anywhere.

Components Required

Here’s what you’ll need to build the Solar Power Monitoring Device:

  • ESP32 Microcontroller: A powerful and versatile microcontroller with built-in Wi-Fi and Bluetooth for IoT functionality.
  • DC Voltage Sensor: A sensor to measure the voltage from the solar panels or battery.
    • Example: Voltage Divider Circuit (or INA219 for both voltage and current measurement)
  • DC Current Sensor: A sensor to measure the current flowing from the solar panel or battery.
    • Example: ACS712 Current Sensor or INA219
  • LCD Display (Optional): To locally display real-time voltage, current, and power.
  • Wi-Fi Module (ESP32’s built-in): For sending data to a cloud platform for remote monitoring.
  • Cloud IoT Platform: To monitor and analyze data remotely (e.g., Blynk, ThingSpeak, Firebase, or custom server).
  • Power Supply: 5V power supply for the ESP32 and sensors.
  • Jumper Wires: For making connections.
  • PCB (Optional): For a cleaner, more professional build.

Working Principle

The Solar Power Monitoring Device measures the voltage and current coming from the solar panel or battery using sensors connected to the ESP32. The ESP32 then processes the sensor data and calculates the power output of the solar system. The processed data is displayed on an LCD screen (optional) for local monitoring and is sent over Wi-Fi to a cloud platform for remote monitoring and data logging.

Key Features:

  • Real-time Voltage and Current Measurement: Accurate tracking of the solar panel’s output.
  • Power Calculation: Using the formula:
    Power (W)=Voltage (V)×Current (A)\text{Power (W)} = \text{Voltage (V)} \times \text{Current (A)}
  • Online Monitoring: Via Wi-Fi, data is sent to a cloud platform for remote access and historical analysis.
  • Alerts and Notifications: Users can set up notifications when voltage or current drops below or exceeds certain thresholds.
  • Historical Data Analysis: The system can track solar performance over time, providing insights for maintenance and optimization.

Schematic Diagram

Below is a basic schematic diagram showing the connections between the ESP32, current and voltage sensors, and the solar system.

Key Connections:

  • Voltage Sensor: Connect the voltage sensor across the terminals of the solar panel or battery to measure the DC voltage. If using a voltage divider, ensure the resistor values are appropriate for the voltage range.
  • Current Sensor: The current sensor should be placed in series with the solar panel’s positive output to measure the current flowing to the load or battery.
  • ESP32: The sensors connect to the ESP32’s analog input pins (e.g., GPIO34 for voltage and GPIO35 for current).
  • Wi-Fi: The ESP32’s built-in Wi-Fi module connects to your home network or a mobile hotspot to send data to a cloud platform.

Software and Code

The software consists of three main parts:

  1. Reading Sensor Data: Measuring the voltage and current using the sensors.
  2. Power Calculation: Calculating the solar power output based on the sensor data.
  3. Online Monitoring: Sending data to the cloud for remote monitoring.

Step 1: Sensor Data Acquisition

#define VOLTAGE_SENSOR_PIN 34 // Example pin for voltage sensor
#define CURRENT_SENSOR_PIN 35 // Example pin for current sensor
float voltage = 0.0;
float current = 0.0;

void setup()
{
Serial.begin(115200);
pinMode(VOLTAGE_SENSOR_PIN, INPUT);
pinMode(CURRENT_SENSOR_PIN, INPUT);
// Wi-Fi setup here (for cloud communication)
}
void loop()
{
voltage = analogRead(VOLTAGE_SENSOR_PIN) * (reference_voltage / ADC_resolution) * voltage_scale_factor;
current = analogRead(CURRENT_SENSOR_PIN) * (reference_voltage / ADC_resolution) * current_scale_factor;
float power = voltage * current;
Serial.print("Voltage: ");
Serial.println(voltage);
Serial.print("Current: ");
Serial.println(current);
Serial.print("Power: ");
Serial.println(power);
// Send data to cloud platform (via Wi-Fi)
delay(2000); // Wait for 2 seconds before next reading
}

In this example, replace voltage_scale_factor and current_scale_factor with values determined by the specific sensors you are using.

Step 2: Cloud Platform Integration

To send the sensor data to the cloud, you can use platforms like Blynk. For example, if using Blynk:

#include <WiFi.h>
#include <BlynkSimpleEsp32.h>
char auth[] = "YourBlynkAuthToken"; // Blynk Auth Token
char ssid[] = "YourWiFiSSID"; // Wi-Fi SSID
char pass[] = "YourWiFiPassword"; // Wi-Fi Password

void setup()
{
Serial.begin(115200);
Blynk.begin(auth, ssid, pass);
}
void loop()
{
// Send sensor data to Blynk app
Blynk.virtualWrite(V1, voltage);
Blynk.virtualWrite(V2, current);
Blynk.virtualWrite(V3, power);
Blynk.run();
}

In the Blynk app, you can create virtual pins (V1, V2, V3) to display voltage, current, and power in real-time.

Step 3: Power Calculation

The power generated by the solar panel can be calculated using the formula:

xmlns="http://www.w3.org/1998/Math/MathML">Power (W)=Voltage (V)×Current (A)\text{Power (W)} = \text{Voltage (V)} \times \text{Current (A)}

The ESP32 reads the voltage and current values, computes the power, and sends this data to the cloud for monitoring.

Online Monitoring Platforms

There are various cloud platforms available for monitoring your solar system. Here are a few examples:

1. Blynk

Blynk provides a user-friendly app interface that allows you to monitor the solar system from your smartphone. You can visualize real-time data, create graphs, and set up notifications.

Advantages of the Solar Power Monitoring System

  1. Real-time Monitoring: Continuous tracking of solar performance ensures immediate detection of any issues.
  2. Remote Access: Data can be accessed from anywhere via the cloud platform.
  3. Scalable: The system can be expanded to monitor multiple solar panels or arrays.
  4. Cost-effective: Using an ESP32 and affordable sensors keeps the system within budget.
  5. Custom Alerts: Set alerts for when the system underperforms, allowing for immediate maintenance.

Conclusion

Building a Solar Power Monitoring Device using ESP32, DC voltage and current sensors, and cloud connectivity provides an efficient and affordable way to keep track of your solar system’s performance. With this device, you can optimize power generation, detect issues early, and ensure that your solar panels are working at maximum efficiency.

The device not only offers local data visualization through an optional LCD display but also provides remote monitoring and historical data analysis through online platforms like Blynk, ThingSpeak, or Firebase. This ensures that your solar investment delivers the best possible returns while contributing to a sustainable, clean energy future.

Share:

Why Everyone Should Switch to Green Energy

Why Everyone Should Switch to Green Energy

As climate change accelerates and the demand for sustainable energy sources grows, the need for green energy solutions is more critical than ever. Solar power, wind energy, and other renewable resources have become viable alternatives to traditional fossil fuels, providing a cleaner, more sustainable future for our planet. This article explores the reasons why everyone should switch to green energy, using Casino Digital Tech Engineering Services as a case study in solar installation, design, and repair.

The Urgent Need for Green Energy

1. Environmental Benefits

Green energy sources, such as solar, wind, and hydropower, produce little to no greenhouse gas emissions. Unlike fossil fuels, which release harmful carbon dioxide (CO2) into the atmosphere, renewable energy is clean and sustainable. Switching to green energy can significantly reduce air pollution, slow the effects of climate change, and help preserve ecosystems for future generations.

2. Energy Independence

Reliance on fossil fuels leaves countries vulnerable to fluctuations in global oil and gas prices, often leading to economic instability. By switching to renewable energy sources like solar power, individuals and businesses can reduce their dependence on non-renewable resources. This independence can lead to stable energy costs and reduce the risks associated with energy supply disruptions.

3. Cost Savings

In recent years, the cost of renewable energy technologies has decreased significantly, making solar and wind power more affordable than ever before. Solar panels, in particular, have become a popular choice due to their low maintenance costs and long lifespan. Once installed, solar systems can provide free energy for decades, reducing electricity bills and offering a high return on investment.

4. Job Creation and Economic Growth

The renewable energy sector is a growing industry that offers numerous job opportunities in installation, maintenance, research, and development. As the world shifts towards a green economy, new industries are emerging, and workers are being retrained to meet the demands of a cleaner energy future. Investing in green energy is not only beneficial for the environment but also contributes to economic growth and stability.

5. Energy Access in Remote Areas

One of the most significant advantages of green energy is its potential to bring electricity to remote and underserved areas. In regions where traditional power grids are not feasible, solar and wind power systems can be installed to provide reliable energy. This is particularly important in developing countries, where access to electricity can improve quality of life, support education, and boost local economies.

Why Solar Energy is the Future

Among the various renewable energy sources, solar power stands out due to its widespread availability, affordability, and versatility. Solar energy is a clean, abundant, and renewable resource that can be harnessed by both residential and commercial users. Here are some reasons why solar energy is the future of sustainable power:

  • Low Operating Costs: After the initial installation, solar panels require minimal maintenance, and the energy generated is free, offering significant long-term savings.
  • Grid Independence: Solar systems with battery storage allow users to generate and store their own energy, providing power even during outages or in areas without access to a reliable grid.

Case Study: Casino Digital Tech Engineering Services

Casino Digital Tech Engineering Services, a leading provider of solar design, installation, and repair services, exemplifies the growing shift towards green energy solutions. As a company committed to sustainability, Casino has helped countless homes, businesses, and institutions transition to solar power.

Who is Casino Digital Tech Engineering Services?

Casino Digital Tech Engineering Services is an innovative company based in Nigeria that specializes in:

  • Solar Panel Installation: Casino offers professional solar panel installation services for both residential and commercial properties, ensuring that clients can generate clean, renewable energy.
  • Solar System Design: The company designs custom solar systems tailored to the specific energy needs of each client. From small home setups to large industrial applications, Casino’s solar systems are efficient and cost-effective.
  • Solar Repair and Maintenance: Regular maintenance is essential to ensuring the longevity and performance of solar systems. Casino provides comprehensive repair and maintenance services to keep solar systems running at peak efficiency.

With a mission to promote green energy adoption, Casino Digital Tech Engineering Services is playing a vital role in helping Nigeria and the rest of Africa transition to renewable energy.

The Casino Digital Tech Difference

What sets Casino Digital Tech Engineering Services apart is their dedication to customer satisfaction and sustainable energy solutions. The company takes a holistic approach, guiding clients through every step of the solar energy process, from system design to installation and ongoing support.

Key Services:

  • Comprehensive Solar Design: Casino offers detailed solar system designs based on individual energy consumption patterns and needs, ensuring optimal efficiency and cost savings.
  • Professional Installation: With a team of experienced engineers and technicians, Casino guarantees high-quality installations that meet the highest standards.
  • 24/7 Customer Support: Casino provides round-the-clock support for its clients, ensuring that any issues with solar systems are resolved quickly and efficiently.
  • Solar System Monitoring: To ensure maximum performance, Casino offers monitoring services that track energy production and system health in real-time.

Success Stories

Casino Digital Tech Engineering Services has successfully installed solar systems in a wide range of settings, including:

  • Residential Homes: Casino’s solar installations have helped homeowners significantly reduce their electricity bills while minimizing their carbon footprint.
  • Commercial Buildings: Businesses have benefited from lower energy costs and improved energy independence through Casino’s tailored solar solutions.
  • Remote Areas: In regions where access to electricity is limited, Casino’s solar installations have provided reliable, off-grid energy, improving the quality of life for local communities.

Why Choose Casino Digital Tech Engineering Services?

Casino is committed to providing affordable, high-quality solar solutions that are accessible to everyone. By choosing Casino for your solar needs, you are not only investing in renewable energy but also contributing to a cleaner, more sustainable future for the planet.

With Casino, you can expect:

  • Expertise and Experience: Over the years, Casino has developed a reputation for excellence in solar installation and repair.
  • Tailored Solutions: Each project is customized to meet the unique needs of the client.
  • Reliable Service: Casino is dedicated to ensuring that your solar system operates efficiently for years to come.

Conclusion

Switching to green energy is no longer just an option—it’s a necessity. With the growing threat of climate change, everyone has a role to play in reducing their carbon footprint and supporting sustainable energy solutions. By making the switch to solar power, you not only reduce your energy costs but also contribute to a cleaner and more sustainable future for generations to come.

Companies like Casino Digital Tech Engineering Services are at the forefront of the green energy revolution, providing expert services in solar installation, design, and maintenance. Whether you’re looking to install a solar system at home or for your business, Casino has the expertise and dedication to make your transition to green energy seamless and successful.

For more information or to get started with your solar project, contact Casino Digital Tech Engineering Services today:

Switch to green energy today and join the movement towards a sustainable future with Casino Digital Tech Engineering Services!

Share:

Digital Church Bell Using ESP32, LCD, and DFPlayer Mini

Digital Church Bell Using ESP32, LCD, and DFPlayer Mini

A Digital Church Bell System automates the traditional bell ringing at specified times, making it ideal for churches, schools, or any setting where bells ring at specific intervals. Using modern electronics, this system can play pre-recorded bell sounds stored on a memory card and trigger them based on set times. This article will guide you through designing and building a Digital Church Bell using an ESP32, 16x2 LCD, and DFPlayer Mini. We will cover the necessary components, the working principle, the schematic and PCB layout, and provide source code for the system.

Components Required

To build the Digital Church Bell system, you will need the following components:

  • ESP32 microcontroller: The core controller of the system.
  • DFPlayer Mini: A small, low-cost MP3 player module that reads audio files from a microSD card.
  • 16x2 LCD (I2C interface): To display current time, system status, and scheduling information.
  • Real-Time Clock (RTC) module DS3231: For keeping track of time to trigger the bell at the correct moments.
  • Push Buttons: For setting bell ringing times and other configurations.
  • Amplifier and Speaker: To play the bell sounds loudly.
  • Memory card (MicroSD): Stores the bell sounds in MP3 format.
  • Power supply: To power the ESP32, DFPlayer Mini, and other components.
  • PCB and connectors: For organizing and interconnecting components.

Working Principle

The Digital Church Bell system is designed to ring a bell sound at specific times, such as at the start of services or certain times of the day. The system works by reading the current time from the RTC (DS3231) module and comparing it to pre-configured bell-ringing schedules. When the current time matches a scheduled time, the ESP32 commands the DFPlayer Mini to play a pre-recorded bell sound.

The system allows the user to set ringing times via push buttons, which can be adjusted based on different schedules (e.g., daily, weekly). The LCD display provides real-time feedback, showing the current time, upcoming bell rings, and system status. The EEPROM stores scheduled times, ensuring that the bell schedule persists even after power loss.

Key Features:

  1. Automatic Bell Ringing: Rings the bell at scheduled times without manual intervention.
  2. Real-Time Clock (RTC): Ensures accurate timekeeping for triggering the bell.
  3. DFPlayer Mini MP3 Module: Plays pre-recorded bell sounds stored on a microSD card.
  4. LCD Display: Provides feedback on the current time, bell status, and allows for easy configuration.
  5. EEPROM Storage: Saves scheduled times, so the system retains settings after power loss.
  6. Easy Configuration: Push buttons allow for manual adjustment of ringing times.

Schematic Diagram

Below is the schematic diagram of the Digital Church Bell System:

Key Schematic Connections:

  • ESP32 to DS3231 RTC: The I2C pins (SDA, SCL) of the DS3231 connect to the ESP32 to read the current time.
  • ESP32 to DFPlayer Mini: The TX pin of the ESP32 connects to the RX pin of the DFPlayer Mini for serial communication.
  • ESP32 to LCD: The I2C pins of the LCD display are connected to the same I2C bus as the RTC module.
  • Push Buttons: Connected to the ESP32 GPIO pins, used to set bell ringing times.
  • Speaker and Amplifier: Connected to the DFPlayer Mini to amplify and play the bell sound.

PCB Layout

The PCB layout is designed to ensure all components fit neatly and operate efficiently. The PCB layout accommodates the ESP32, DFPlayer Mini, RTC, LCD display, and buttons. Special care is taken in the design to avoid interference between the audio signals and the digital circuits.

DOWNLOAD PCB FILES

Source Code

Here’s the source code for the Digital Church Bell system. It allows you to set and trigger bell sounds based on the current time using the RTC, and play audio files stored on the microSD card through the DFPlayer Mini.

Code Explanation:

  1. RTC Integration: The DS3231 module provides the current time, which is compared against the bell's scheduled time.
  2. DFPlayer Mini Control: The ESP32 uses serial communication to instruct the DFPlayer Mini to play the selected MP3 file (the church bell sound).
  3. Button Handling: Push buttons are used to set the bell's ringing time.
  4. EEPROM Storage: The bell ringing time is saved in EEPROM, ensuring it remains even after power loss.

Setting Bell Times

Users can configure the bell ringing times using the SET, UP, and DOWN buttons. Once the desired time is set, the system will automatically ring the bell at that time every day.

Conclusion

The Digital Church Bell System using ESP32, DFPlayer Mini, and RTC DS3231 provides a modern, automated solution to the traditional bell ringing system. This device can be used in churches, schools, or any institution that requires scheduled bell ringing, allowing for easy control and automation. The system's flexibility, ease of use, and reliability make it an ideal solution for automating bell sounds without requiring manual intervention.

Share:

SMART LOAD CONTROL DEVICE ESP32

Smart Time-Based Load Control Device Using ESP32


In today's world of automation, controlling electrical devices based on time schedules is a vital aspect of home and industrial automation. A Smart Time-Based Load Control Device using the ESP32 microcontroller offers a powerful and flexible solution to manage electrical loads based on pre-configured schedules. This device is ideal for controlling devices like lighting systems, heating units, or other appliances automatically, making it energy-efficient and convenient.

In this article, we will explore how to design and implement a Smart Time-Based Load Control System using the ESP32 microcontroller. We will provide an overview of the components used, the system's working principle, the schematic and PCB layout, and the source code for programming the ESP32.

Components Required

To build this device, the following components are required:

  • ESP32 microcontroller: The brain of the system responsible for controlling the loads.
  • Real-Time Clock (RTC) module DS3231: Provides accurate time for scheduling load control operations.
  • 16x2 LCD Display (I2C interface): For displaying the current time and system status.
  • Relay Module (3 Channels): Used for switching electrical loads (e.g., lights, fans, appliances) ON or OFF.
  • Push Buttons: To set the ON/OFF times.
  • EEPROM: For storing scheduled ON/OFF times even after power loss.
  • Power Supply (5V and 3.3V regulators): To power the ESP32 and the other components.
  • PCB and connectors: To organize and interconnect components.

Working Principle

The Smart Time-Based Load Control System works by allowing the user to pre-set ON and OFF times for the connected loads. The RTC (DS3231) module keeps track of the time accurately, and the ESP32 continuously monitors the current time. When the scheduled ON or OFF time is reached, the corresponding relay is activated or deactivated, controlling the connected load.

This system is highly flexible, as users can manually set or update the time schedules via push buttons. The LCD display shows the current time and system status, providing real-time feedback. Additionally, the EEPROM stores the time schedules, ensuring the system retains its functionality even after a power outage.

System Features:

  1. Manual Time Scheduling: Users can manually set ON and OFF times using the provided buttons.
  2. Real-Time Clock (RTC): The DS3231 provides accurate timekeeping, ensuring that load operations are performed on time.
  3. EEPROM for Data Storage: Saves time settings permanently, even after power loss.
  4. Flexible Load Control: Capable of controlling up to three separate loads.
  5. LCD Display for Status: Provides real-time feedback on the current time and system status.

Schematic Diagram

Key Schematic Connections:

  • ESP32 to DS3231 RTC: The I2C pins of the DS3231 are connected to the ESP32's I2C bus (SDA, SCL pins).
  • ESP32 to Relay Module: Digital GPIO pins of the ESP32 are connected to the IN pins of the relay module to control the relays.
  • ESP32 to LCD: The I2C pins of the LCD are connected to the same I2C bus as the RTC.
  • Push Buttons to ESP32: Buttons are connected to digital GPIO pins, and they are used to set the ON/OFF times.
  • Power Supply: The ESP32 is powered with 3.3V, while the relay and other components use a 5V power supply.

PCB Layout

The PCB layout was designed to accommodate all components and ensure that the circuit is compact and efficient. The PCB includes headers for connecting the ESP32, RTC module, relays, push buttons, and LCD display. The design prioritizes clean signal routing and minimizes noise interference to ensure reliable operation of the system.

Source Code

Here’s a simplified version of the source code to get you started. The code is designed to allow users to set ON and OFF times via push buttons, and it controls the relays accordingly based on the scheduled times.

OR WHATSAPP +2348146005581

The code uses EEPROM to store the ON and OFF times, ensuring that the system can restore the schedule even after a power outage. EEPROM addresses are used to read and write the time values.

Conclusion

The Smart Time-Based Load Control Device using ESP32 is a practical and efficient system for managing electrical loads based on a scheduled time. It is highly versatile, can handle multiple loads, and offers user-friendly operation with the LCD interface and push buttons. The system is also energy-efficient, as it ensures devices are only powered on when needed, reducing unnecessary electricity usage.

By leveraging the power of the ESP32, RTC, and relays, this project can be adapted for various applications, such as home automation, industrial automation, and energy management.

Share:

dspic30f2010 inverter hex file inverter project full with hex file and schematic

A sine wave inverter converts DC (Direct Current) power into AC (Alternating Current) power. It is commonly used in applications such as solar power systems, UPS (Uninterruptible Power Supply) systems, and portable power systems for camping or outdoor use.

The DSPIC30F2010 microcontroller is widely recognized for its exceptional performance and affordability, making it a popular choice for implementing sine wave inverters. In this article, we will explore the design and implementation of a sine wave inverter using the DSPIC30F2010 microcontroller.

Design Considerations:

Before embarking on the design of the circuit and code for the sine wave inverter, it is important to take into account several design considerations. Here are some examples:

The size of the components used in the circuit will be determined by the resulting power of the inverter. The power output can vary from a few watts to several kilowatts, depending on the specific application.

The voltage output of the inverter will depend on the specific application. As an electrical engineer, you may encounter different voltage outputs in a solar power system, such as 120V AC or 240V AC.

The outcome recurrence of the inverter will depend on the application. As an electrical engineer, it’s worth noting that the standard frequency in the US is 60Hz, whereas in Europe it’s 50Hz.

Efficiency is a crucial factor to consider when evaluating the inverter’s impact on the overall performance and cost of the system. An inverter with improved efficiency will result in reduced power consumption and lower output intensity.

The waveform of the resulting signal is an important consideration. A pure sine wave output is the preferred waveform as it produces minimal harmonic distortion and poses less risk of damaging delicate devices.

Designing Circuits:

The circuit design for the sine wave inverter using the DSPIC30F2010 microcontroller is shown in the figure below.

Graph of a Sine Wave Inverter Circuit





The circuit consists of several components:

DC Power Supply: The DC power supply can be a battery or a solar board depending on the application.

The DSPIC30F2010 microcontroller serves as the central component of the inverter. It generates a PWM signal that is used to power the MOSFETs.

The IR2110 MOSFET driver is used to drive the MOSFETs. It produces a high voltage and high current output that is intended to power the MOSFETs.

Utilizing MOSFETs, the DC power supply can be switched on and off at the frequency of the PWM signal. The circuit can use IRF3205 MOSFETs or similar options.

LC Channel: The LC channel consists of an inductor and capacitor that work together to optimize the square wave output of the MOSFETs, resulting in a sine wave output.

Load: The heap is linked to the outcome of the LC channel. The heap can serve as a resistive load or an AC motor depending on the application.

Hey there, I’m hosting a giveaway for an awesome inverter project! This project is a digital pure sine wave inverter based on the dspic30f2010 microcontroller. It has some really cool functions that you’ll love!

  1. Presetting low battery levels through calibration
  2. Safeguarding against 440v mains

3. The current range of the PWM battery charger is from 5A to 20A.

  1. Protection against inverter overload
  2. Protection against short circuits
  3. Sensitive to current and voltage in isolated AC mains.
  4. The voltage range is from 100V AC to 230V AC at 50/60 hertz, with low noise.

LCD display is used to show various important information such as battery voltage, output voltage, input voltage, load wattage, charging current, and more. In this case, you have the option of choosing between a 7.162 or 164 LCD display.

Share:

Design and Construction of a Time-Based Load Control System

Design and Construction of a Time-Based Load Control System Using Arduino Nano, RTC, LCD, and Set Buttons


Abstract

This project report details the design and construction of a time-based load control system using an Arduino Nano, Real-Time Clock (RTC) module, Liquid Crystal Display (LCD), and set buttons. The system is designed to automate the switching of electrical loads at predefined times, offering an efficient solution for energy management in both residential and industrial settings. The load control system ensures that devices are powered on or off according to user-defined schedules, which can be easily set and adjusted through the interface provided by the LCD and buttons. The system’s accuracy is ensured by the DS3231 RTC module, which maintains precise timekeeping even in the event of power interruptions. This report covers the design considerations, component selection, circuit design, software development, testing, and final implementation of the project.


Chapter 1: Introduction

1.1 Background of the Study

Automating the control of electrical loads based on time schedules is crucial for optimizing energy usage and reducing costs. Traditional methods of manual switching are not only inefficient but also prone to human error. A time-based load control system provides a reliable solution by automating the process, thereby ensuring that electrical appliances operate only when needed. The use of microcontrollers like the Arduino Nano, in conjunction with a Real-Time Clock (RTC), allows for precise control over timing, making it an ideal choice for such applications.

1.2 Problem Statement

Manual control of electrical loads can lead to inefficiencies, such as forgetting to turn off devices when not in use, leading to unnecessary energy consumption. There is a need for an automated system that can control the operation of these loads based on a predefined schedule.

1.3 Objectives of the Project
  • To design and construct a time-based load control system using Arduino Nano, RTC, LCD, and set buttons.
  • To provide a user-friendly interface for setting the on and off times for the loads.
  • To ensure accurate timekeeping and load control using the DS3231 RTC module.
  • To test the system for reliability and efficiency in controlling electrical loads.
1.4 Significance of the Project

The proposed system offers significant benefits in energy management by automating the control of electrical loads. It reduces the risk of leaving devices on unnecessarily, thus saving energy and reducing costs. The project is also significant in educational contexts, as it demonstrates the practical application of microcontrollers in real-world scenarios.


Chapter 2: Literature Review

2.1 Overview of Load Control Systems

Load control systems have been employed in various forms, ranging from simple mechanical timers to advanced programmable logic controllers (PLCs). However, the integration of microcontrollers like Arduino has simplified the design and increased the flexibility of these systems.

2.2 Microcontroller-Based Load Control

The use of microcontrollers in load control systems allows for precise control and easy customization. Arduino, in particular, has become popular due to its simplicity, open-source nature, and extensive community support.

2.3 Real-Time Clocks (RTC) in Automation

RTC modules like the DS3231 are widely used in automation projects to provide accurate timekeeping. The DS3231, with its temperature-compensated crystal oscillator, ensures time accuracy over a wide range of temperatures and conditions.

2.4 User Interface Design for Load Control Systems

The user interface is a critical aspect of any load control system, as it determines how easily users can interact with the system. The combination of LCDs and tactile buttons is a common approach, offering a straightforward method for users to input and adjust settings.


Chapter 3: System Design

3.1 System Overview

The time-based load control system comprises an Arduino Nano, DS3231 RTC module, a 16x2 LCD, and set buttons for user interaction. The system controls three relays, each connected to an electrical load, based on the time settings input by the user.

3.2 Component Selection
  • Arduino Nano: Chosen for its compact size, ease of programming, and sufficient I/O pins for the project requirements.
  • DS3231 RTC Module: Selected for its accuracy and reliability in timekeeping, essential for the precise control of loads.
  • 16x2 LCD: Used to display the current time and the on/off times set by the user.
  • Set Buttons: Tactile push buttons are used for navigating the menu and setting the on/off times.
  • Relays: Three relays are used to control the electrical loads, driven by the Arduino Nano based on the schedule.
3.3 Circuit Design


The circuit design involves interfacing the Arduino Nano with the DS3231 RTC, 16x2 LCD, and set buttons. The relays are connected to the digital output pins of the Arduino, with appropriate driver circuits to handle the relay coil current.

  • Power Supply: The system is powered by a 5V DC supply, with separate power rails for the Arduino and relays to avoid interference.
  • LCD Connection: The LCD is connected in 4-bit mode to save I/O pins, with the RS, E, and data pins connected to digital pins on the Arduino.
  • RTC Connection: The DS3231 RTC module communicates with the Arduino via the I2C bus, using the SDA and SCL pins.
  • Button Interface: The set buttons are connected to digital inputs on the Arduino, with pull-up resistors to prevent floating inputs.
3.4 Software Design

The software for the load control system is written in C++ using the Arduino IDE. The program is structured into several key functions:

  • Setup Function: Initializes the hardware components, including the RTC, LCD, and relays.
  • Main Loop: Continuously checks the current time from the RTC and compares it with the user-set times to control the relays.
  • Menu System: Allows the user to navigate through the interface, set the on and off times, and save these settings to the EEPROM.
  • Time Setting: Handles the input from the set buttons to adjust the time settings displayed on the LCD.
3.5 Flowchart

The flowchart below outlines the overall logic of the system, from initialization to the control of the relays based on the set times.

Include flowchart here


Chapter 4: Implementation

4.1 Assembly and Construction

The system is assembled on a PCB, with the Arduino Nano and other components soldered into place. The LCD is mounted on the front panel, with the set buttons placed adjacent for easy access. The relays are mounted on a separate board to isolate them from the low-voltage control circuitry.

4.2 Testing

The system is tested by setting various on and off times for the loads and observing the operation of the relays. The accuracy of the RTC is verified by comparing the displayed time with a reference clock.

4.3 Calibration

Calibration involves ensuring the RTC is correctly set and the relays switch at the precise times set by the user. Adjustments are made in the software to account for any delays or discrepancies.

4.4 Troubleshooting

Common issues encountered during testing include incorrect button debounce handling, relay chattering, and timing mismatches. These are addressed through software adjustments and hardware modifications, such as adding capacitors to the relay driver circuits.


Chapter 5: Results and Discussion

5.1 Performance Evaluation

The system successfully controls the loads based on the set times, with the RTC providing accurate timekeeping. The LCD and buttons offer an intuitive interface for setting the schedule, and the relays operate reliably without significant delays.

5.2 Advantages of the System
  • Energy Efficiency: By automating the control of loads, the system reduces unnecessary power consumption.
  • User-Friendly Interface: The use of an LCD and buttons makes it easy for users to set and adjust the on/off times.
  • Scalability: The system can be expanded to control more loads or integrate with other automation systems.
5.3 Limitations
  • Limited Load Capacity: The system is designed for small to medium loads, and additional measures are needed for controlling higher power devices.
  • Manual Time Setting: The current design requires manual setting of the time, which could be automated in future versions using network synchronization.
5.4 Future Work

Future improvements could include adding a Wi-Fi module for remote control and monitoring, as well as integrating a real-time operating system (RTOS) for more complex scheduling and load management tasks.


Chapter 6: Conclusion

This project successfully demonstrates the design and construction of a time-based load control system using an Arduino Nano, DS3231 RTC, LCD, and set buttons. The system offers a practical solution for automating the control of electrical loads, contributing to energy efficiency and cost savings. The project also serves as a valuable learning experience in microcontroller programming, circuit design, and system integration.


References

  1. Banzi, M., & Shiloh, M. (2020). Getting Started with Arduino: The Open Source Electronics Prototyping Platform. Maker Media, Inc.
  2. Monk, S. (2019). Programming Arduino: Getting Started with Sketches. McGraw-Hill Education.
  3. Floyd, T. L. (2020). Digital Fundamentals. Pearson Education.
  4. Hummel, C. (2019). Arduino Projects for Dummies. John Wiley & Sons.
  5. Myke, P. (2018). Programming the Arduino: Next Steps: Going Further with Sketches. McGraw-Hill Education.

Share:

Blue Based Home Automation System

 ABSTRACT

This Project presents the overall design of Home Automation System (HAS) with low cost and wireless remote control. This system is designed to assist and provide support in order to fulfill the needs of elderly and disabled in home. Also, the smart home concept in the system improves the standard living at home. The main control system implements wireless Bluetooth technology to provide remote access from PC/laptop or smart phone. The design remains the existing electrical switches and provides more safety control on the switches with low voltage activating method. The switches status is synchronized in all the control system whereby every user interface indicates the real time existing switches status. The system intended to control electrical appliances and devices in house with relatively low cost design, user friendly interface and ease of installation. Due to the advancement of wireless technology, there are several different of connections are introduced such as GSM, WIFI, ZIGBEE, and Bluetooth. Each of the connection has their own unique specifications and applications. Among the four popular wireless connections that often implemented in HAS project, Bluetooth is being chosen with its suitable capability. Bluetooth with globally available frequencies of 2400Hz is able to provide connectivity up to 100 meters at speed of up to 3Mbps depending on the Bluetooth device class.

Bluetooth wireless connection enabled the system communicates with graphical user interface (GUI) on PC/laptop or smart phone without cable. The target home appliances are controlled by the system Main Control Board. In order improve the standard living in home, this system provides three different types of physical control methods to the Main Control Board. The first physical control method is by pressing on the modified Low Voltage Activating Switches. The conventional high voltages switches will be replaced by the modified 5 Volt push buttons as the activating switches. The low voltage switch eliminates the risk of dangerous electrical shock by wet hand. The second and third control methods are performed as wireless remote control to the appliances. The second control method is by clicking on Window GUI on PC/laptop by using mouse or touch pad. The system is directly installed beside the conventional electrical switches on the wall. The Bluetooth wireless connection enabled the system communicates with graphical user interface (GUI) on PC/laptop or smart phone without cable. The target home appliances are controlled by the system Main Control Board. In order improve the standard living in home, this system provides three different types of physical control methods to the Main Control Board. The first physical control method is by pressing on the modified Low Voltage Activating Switches. The conventional high voltages switches will be replaced by the modified 5 Volt push buttons as the activating switches. The low voltage switch eliminates the risk of dangerous electrical shock by wet hand. The second and third control methods are performed as wireless remote control to the appliances. The second control method is by clicking on Window GUI on PC/laptop by using mouse or touch pad. This method provides facility to the computer user to control the home appliances without walk to the switches on the wall. Third control method is done by Android GUI installed in Smart Phone. The user can easily touch on the screen of the phone to control the home appliances. This portable method is able to assist the disabled people who have problem with locomotion difficulty.

INTRODUCTION

Due to the advancement of wireless technology, there are several different of connections are introduced such as GSM, WIFI, ZIGBEE, and Bluetooth. Each of the connection has their own unique specifications and applications. Among the four popular wireless connections that often implemented in HAS project, Bluetooth is being chosen with its suitable capability. Bluetooth with globally available frequencies of 2400Hz is able to provide connectivity up to 100 meters at speed of up to 3Mbps depending on the Bluetooth device class.

The system is directly installed beside the conventional electrical switches on the wall. The Bluetooth wireless connection enabled the system communicates with graphical user interface (GUI) on PC/laptop or smart phone without cable. The target home appliances are controlled by the system Main Control Board. In order improve the standard living in home, this system provides three different types of physical control methods to the Main Control Board. The first physical control method is by pressing on the modified Low Voltage Activating Switches. The conventional high voltages switches will be replaced by the modified 5 Volt push buttons as the activating switches. The low voltage switch eliminates the risk of dangerous electrical shock by wet hand. The second and third control methods are performed as wireless remote control to the appliances. The second control method is by clicking on Window GUI on PC/laptop by using mouse or touch pad.

This method provides facility to the computer user to control the home appliances without walk to the switches on the wall. Third control method is done by Android GUI installed in Smart Phone. The user can easily touch on the screen of the phone to control the home appliances. This portable method is able to assist the disabled people who have problem with locomotion difficulty.

Advantages of Bluetooth based Home Automation

1.            The user can control his/her appliances without physical interface.

2.         It can be easily interfaced with other embedded micro chips like RF module, GSM module, PC because it is designed with a micro chip (AT89S52).

3.            It is reprogrammable.

4.            It makes the size of the system to be small.

Disadvantages of Bluetooth based Home Automation

1.          It is very expensive to buy or design.

2.          It requires programming which means not everybody can do the work.

3.          It has a particular distance that it can go.

 

BACKGROUND OF STUDIES

The present study relates to a Bluetooth based Home Automation device and pertains particularly to an improved the stress of starting and stopping your home appliances.

STATEMENT OF PROBLEMS

Bluetooth based Home Automation is a device good for banking hall, shopping mall, food joint, beer pallor, schools, hospital and many other places like that for controlling the appliances at those places. In the past, many types of equipment have been proposed but they have not functioned properly because of the deficiencies such as in ability to send information to far distance, how large the system maybe, non-reliability of the system and the cost of buying it.  

AIMS AND OBJECTIVES

The major objective of the project is to show the importance of a Bluetooth based Home Automation to every other type of automation system and solving the problems which other type of automation system may have caused to the users because of its en-efficiencies. There are many organizations that may have been looking for one way or the other to control their environment from a bit far distance So, our main aim in this project is to design a Bluetooth based Home Automation system.

 

SCOPE OF THE WORK

The scope of this project is based on good production and design, of a quality Bluetooth based Home Automation, Therefore, we covered everything necessary about the construction/implementation of a good, reliable and effective Bluetooth based Home Automation.


LITERATURE REVIEW

The aim of this chapter is to give the overview information about type of wireless technology nowadays. The best type of wireless is choose and suitable towards the problem identification. The comparison between all the types of wireless is done. Moreover, in this chapter, the explanations will focus more on radio frequency (RF). Nevertheless the review also discuss about the method to prevent frequency disturbance. Combination of reference from various sources such as journal, previous thesis and references book, the literature review has been carried out to collect information related to this project. Home automation or smart homes (also known as domotic) can be described as introduction of technology within the home environment to provide convenience, comfort, security and energy efficiency to its occupants [3]. With the introduction of the Internet of Things, the research and implementation of home automation are getting more popular [4]. Various wireless technologies that can support some form of remote data transfer, sensing and control such as Bluetooth, Wi-Fi, RFID, and cellular networks have been utilized to embed various levels of intelligence in the home [5]. The studies in [2, 6] have presented Bluetooth based home automation systems using Android Smart phones without the Internet controllability. The devices are physically connected to a Bluetooth sub-controller which is then accessed and controlled by the Smart phone using built-in Bluetooth connectivity. Researchers have also attempted to provide network interoperability and remote access to control devices and appliances at home using home gateways. [7] proposed mobile IP based architecture and its potential applications in Smart homes security and automation without any actual deployment and testing. Lately few researchers have also presented use of Web services, simple object access protocol (SOAP) and representational state transfer (REST) as an interoperable application layer to remotely access home automation systems. [8] Introduced a smart home management scheme over the Ethernet network based on XML SOAP standards. The drawback of using SOAP based Web a service is that it is complex and adds overhead to the client and server when parsing the message, resulting in slower operation and higher bandwidth.

 

Ultrasonic

Adler, et al, (1982), explains about how to make an Ultrasonic Remote Control for Home Receivers. Electromagnetic signaling systems can be designed to bridge the short distance involved, but their signals do not remain confined between the walls of buildings or apartments. Because the distance between receivers in adjacent apartments may easily be less than the viewing distance in a single large home, individual receivers must operate on different frequencies this is inconvenient in manufacture and installation.

 

Infrared

Maureen Kaine-Krolak, et al, (1995), studies about infrared to make an Introduction to Infrared Technology, Applications in the Home, Classroom, Workplaces and Beyond. Infrared technology increasingly present in mainstream applications, but there is several disadvantage by using the method, receiver and transmitter must be almost directly aligned. Main problem is the signal will lose if blocked by common material, people wall, plant and etc.

 

Xbee

Gill, K, et al, (2009), created about a Zigbee-Based Home Automation System. A ZigBee based home automation system and Wi-Fi network are integrated through a common home gateway as shown in Figure 2.1 . The home gateway provides network interoperability, a simple and flexible user interface and remote access to the system. This system demonstrates the feasibility and effectiveness of the proposed system. The ZigBee (IEEE 802.15.4) is a new technology that permits the implementation of Wireless Personal Area Networks (WPAN). It is very suitable for wireless sensor networks due to the very low power consumption. System allows home owners to monitor and control connected devices in the home, through a variety of controls, including a ZigBee based remote control, and any Wi-Fi enabled device which supports by Java. Lili, Y, Y.Shuang-Hua et al, (2006), research about the Safety and Security of Remote Monitoring and Control of intelligent Home Environments in Systems, Man and Cybernetics. Safety and security are two most important issues in the remote monitoring and control of intelligent home environments. The outdoor part is a mobile phone (or a PDA) equipped with a specially designed GUI (Graphic User Interface). The indoor part includes a broadband modem, a home portal (or called home server), and a wireless home network. The broadband modem maintains a permanent internet connection.


METHODOLOGY BLOCK DIAGRAM


The block diagram of the circuit shows principle of operation to achieve a desired output. The block diagram could also be said to be the circuit in a simplified form. It can also be explain as, the function of the circuit and shows component relationship with each other.


AC INPUT AND RECTIFICATION

It is important that you choose the right transformer for your power supply. The transformer’s secondary voltage should not be much larger than the voltage of the diode; otherwise, energy will be wasted because the diode will be forced to dissipate heat. However, at the same time, the secondary voltage must not drop below the required minimum input voltage of the diode (typically 2 to 3 V above its output voltage) and in this project we used 220v to 12v and 500mA transformer. The rectification stage is usually preceded by a transformer, which is equipment that steps down phase voltage down to safer and lower levels that are more suitable for rectifier diode to handle. The transformer is composed of three important elements; a primary winding, a secondary winding, and a core structure. When the transformer has stepped down the voltage to the required level, the rectifier diodes are then used to convert the alternating current to dc voltage. There are half wave rectification and full wave rectification. In this work full wave rectification is employed.

 

FILTRATION

After rectification, the dc obtained is usually filled with ripples which are very harmful to the electronic devices that will use it especially the microcontroller. This calls for the filtration of the rectified output to produce a smooth voltage. The smoother the voltage the more lasting is the ICs. When a full wave or bridge rectifier is connected to a capacitor, the peak to peak ripple is cut in half. When a full wave voltage is applied to the RC circuit, the capacitor discharges half a cycle. Therefore, the peak-to-peak ripple is half the size it would be with a half rectifier. The peak –to- peak ripples voltage; 

VR = I, fC I = dc load current, f  - frequency, C - capacitance  

To get a good filtration, it is advisable to use a capacitor of voltage about twice the value of the expanded input voltage. In this work, a capacitor of 50V at 3300 µf was used. 

 

REGULATION

 After the stepping down the voltage using transformer, rectification by the rectifier and filtration by the capacitor, the voltage is ready to be used though the faithfulness of the voltage cannot be predicted. In order to make the voltage constant, a regulator is needed. A zener diode could be used for this purpose however, but in this work 7805 IC regulator was used.

 

 

MICROCONTROLLER UNIT

The microcontroller unit is made up of the crystal oscillator that is connected to the X1 and X2 which is pin18 and 19 of MCU, The Bluetooth module communicates with the 8051 using serial communication. Tx pin of the Bluetooth module is connected to Rx pin of the microcontroller (pin10) and Rx pin of the Bluetooth module is connected to Tx pin of the microcontroller. Output pin of the Bluetooth is connected to P3.0 and P3.1 of the microcontroller and the microcontroller is monitoring for low voltage that is zero at the pin and whenever an intruder crosses the sensor the pin will be low. The baud rate used for serial communication in this project is 9600. So the crystal needs to be exactly 11.0592 MHz for getting this baud rate. Port 2.0, Port 2.1, Port 2.2 and Port 2.3 of the microcontroller is used for controlling the loads.

Bluetooth Module (HC-05)

For the communication between mobile phone and microcontroller Bluetooth module (HC-05) is used. HC-05 is low power 1.8V operation and is easy to use with Bluetooth SPP (serial port protocol). Serial port Bluetooth module have a Bluetooth 2.0 +EDR (enhanced data rate), 3Mbps modulation with complete 2.4GHZ radio transceiver and base band. Using Bluetooth profile and android platform architecture different type of Bluetooth applications can be developed.

 

Relay

Relay is basically an electromagnetic switch which can be turn on and off by an applying the voltage across its contacts. In this project used a 12V 3-channel relay.

 

THE CIRCUIT DIAGRAM OF THE BLUETOOTH BASED HOME APPLIANCE CONTROLLER

DESCRIPTION OF COMPONENTS

The components used in the construction of this power failure alarm system are as follows.

TRANSFORMER

A transformer is a static device or machine that transfers electric power from one circuit to the other. It changes the size of alternating voltage by process of mutual induction between the two coils or windings, in accordance with Faradays law of electromagnetic induction. Its two coils or windings are separated electrically but magnetically they are linked together. A transformer plays a major role in electric power engineering and is a necessary part of the electric power distribution network.

The transformer is of two basic types, step-up transformer and step-down transformer; it has two coils namely the primary and the secondary coils. If the number of turns in secondary coil is greater than the primary it is a step-up transformer and if the secondary coil is less than the primary is known as a step-down transformer.

We made use of step-down transformer in this project to step down from 220v to 12v, The diagram of a transformer is as shown below.

Capacitor

A capacitor is capable of storing electrical charges. It has the ability to block direct current (D.C) while passing alternating current (A.C), that is, it can be used as a filter. All capacitors consist of two metal plates separated by an insulator. Capacitors are important components in the electronics and telecommunications industries. They are essential, for example, in radio and T.V receivers and in transmitter circuits. The earliest capacitor was invented -almost accidentally- by van musschen, in about 1746, and became known as a Leyden jar. (Nelkon and Parker, 1990.)

Further, it is an electronic component that stores electrical energy or charge. The capacitor is constructed with two electrode plate facing each other but separated by an insulating substance called the dielectric.   It store energy by separating +ve and -ve electrical   charges.   The   capacitance of a capacitor   is   given   by charge/voltage  C = Q/V.

And   it   is   measured   basically   in   farad   (f).   But   most   practical capacitors is rated in micro farads   (uf)   or pico farad   (pf).   The capacitance of a capacitor is generally very small, so unit ranges from microfarad (10A- 9 F) and Pico farad (10A-12 F) are used. There are different types of capacitor, which includes:

The table below shows the types of capacitor.

1.

Variable

2.

Electrolytic

3.

Fixed capacitor

4.

Trimmer

5.

Polarized

6.

Non polarized

Capacitor can be of fixed value, a dielectric or a variable capacitor, which has a making vane with dielectric as solid as air. The capacitors used in this project are electrolytic and capacitor is shown below.

Variable capacitor               Non variable capacitor

Microcontroller 

A microcontroller (also MCU or µC) is a computer-on-a-chip. A microcontroller (also microcontroller unit, MCU or µC) is a small computer on a single integrated circuit consisting of a relatively simple CPU combined with support functions such as a crystal oscillator, timers, watchdog timer, serial and analog I/O etc. It is a type of microprocessor emphasizing self-sufficiency and cost-effectiveness, in contrast to a general-purpose microprocessor (the kind used in a PC). In addition to all arithmetic and logic elements of a general purpose microprocessor, the microcontroller usually also integrates additional elements such as read-only and read-write memory and input/output interfaces. Microcontrollers are used in automatically controlled products and devices, such as automobile engine control systems, remote controls, office machines, appliances, power tools and toys. Microcontrollers are complete computer systems on a chip, typically combining an arithmetic logic unit (ALU), memory, timer/counters, serial port, input/output ports (I/O) and a clock oscillator.  

Microcontroller Advantages 

• Highly integrated and powerful – thousands of transistors on a single chip. • Can be used to replace a handful of discreet logic chips.

• Relatively easy to learn and implement.

• Easier to integrate into a design than discrete logic chips.

• Very low hardware cost possible 

• Many types and manufacturers available.

• Architectures and programming languages vary somewhat, but not completely, so what we learn about one microcontroller (µC) is good knowledge to apply to another one.

• Many different IC packages available (DIP8, SOIC-16 etc.) 

Microcontroller Disadvantages

• Microcontrollers are IC chips and need to be put on to a custom-designed PC board. This takes time and money, which may not suit all applications. 

Contrast this with an industrial automation PLC, which is a computer-in-a-box that contains simple screw terminals to connect power, communication and I/O.

• Programming microcontrollers requires a certain amount of skill and training. 

 • The programming and debugging software can be quite costly.

 

TRANSISTOR

The transistors were invented in 1947. The invention of transistors was a great improvement over the vacuum tube in computers because they are smaller, take less power to operate, usually cost less and are more rugged than the vacuum tube. Transistor are three-lead semi-conductor devices produced in variety of shape and size to accommodate such design in parameter as poor heat dissipation, break down voltage and cost some power transistors have an oval shape body with two mounted roles on either side.

Generally there are 2 types of transistors.

1.     Negative Positive Negative ( NPN )

2.     Positive Negative Positive ( PNP )

Concentrating on the bipolar transistor since it was employed in the circuit. The bipolar transistor is used in 3 broad areas of electronics.

1.     As a generator

2.     As a linear amplified to boast an electrical signal.

3.     As automatic switches devices

 

This semiconductor device is back-to front connection of P-N junction or front-to-front connection of P-N junction. The three terminal of the transistor include, the Emitter, Base and Collector.

The types of a bipolar transistor that exist are the PNP and the NPN where N denotes negative and P denotes positive. See the diagram below.

Bridge Diode

The diode is a two terminal that has anode and cathode region. On a diode, one can easily differentiate a positive terminal (anode) by the dark part of the diode while the side with white color is the cathode. The diode from the rectifier, form a junction between a sample of P-type and one of the N-type semiconductors. This combination possesses the property of a rectifier.

This semiconductor material allows the flow of current in   one direction.

 

Crystal Oscillator

This crystal is an electrical device which when energy is applied, emits pulses at a fixed frequency. One can find crystals of virtually any frequency depending on the application requirements. The more common crystal frequencies are 12 MHZ and 11.059 MHz with 11.059 MHZ the most common and that was the one used in this project. The crystal oscillator is unstable and has 11.095 MHz for clocking the microcontroller for 11.095 million times per second.

 

RESISTOR     

Figure 3.11 shows circuit symbol of a resistor.

A resistor is a two way terminal passive element, which provides voltage drop and help dissipate electrical energy and also provide a current limit in a circuit. They are   made   of resistive materials   such as magnesium, nichrome, Constantia, etc and enclose in a plastic case to prevent moisture Ralph, (1992). Resistors are unquestionably the most commonly used circuit components. They are designed to resist the flow of electrical current. The resistance values are measured in ohms, the values maybe indicate on the resistor. If the resistance is not indicated, the value of the resistor can be determined by observing the resistor color code table. The different types of resistors are; fixed and variable resistors. The value of resistor ranges from zero to infinity.

The knowledge of resistor (especially, fixed resistor) is very important in electronics designs.

The table shows the resistor colour code

Colour

1st band 1st figure

2nd      band 2nd figure

3rd       band multiplier

4th       band tolerance

Black

0

0

None

 

Brown

1

1

0

1%

Red

2

2

00

2%

Orange

3

3

000

 

Yellow

4

4

000

-

Green

5

5

00000

 

Blue

6

6

000000

 

Violet

7

7

0000000

 

Grey

8

8

0000000

 

White

9

9

00000000

 

Gold

-

-

 

5%

Silver

-

-

 

10%

No colour

-

-

 

20%

 












There are various shapes, sizes and voltages (0.25W and 0.5W) of resistors but the most employed type is the 0.25W.

DIODE/LED (LIGHT EMITTING DIODE)

A diode is a device, which is made from semiconductor material that allows current to flow in one direction; it blocks the current that tries to travel against the flow in a wire. These devices are often used in several electronic circuits that convert AC to DC. An LED is the alternative of the diode, once a current is applied to an LED; it emits light at a specific frequency. LEDs are utilized in varied applications like keyboards, hard disks, TV remote controls, and these devices are largely helpful as standing indicators in computers also as battery-operated electronics Transistor.

VOLTAGE REGULATOR

Voltage regulator is an electrical device which maintains the voltage of a power source within acceptable limits. To keep voltages within the recommended range, the voltage regulator is needed and it can be tolerated by the electrical equipment using that voltage. The image below shows the picture and circuit symbol of a voltage regulator.

References

1. Kortuem, G., Kawsar, F., Fitton., D., Sundramoorthy, V.: Smart objects as building blocks for the internet of things. Internet Computing, IEEE, vol. 14, no.1, 44--51 (2010)

2. Piyare, R., Tazil, M.: Bluetooth based home automation system using cell phone. In Consumer Electronics (ISCE), 2011 IEEE 15th International Symposium on, pp. 192-195.(2011)

3. Wikipedia. Home automation, http://en.wikipedia.org/wiki/Home_automation

4. Liu, Y.: Study on smart home system based on Internet of things technology. In Informatics and Management Science IV. vol. 207, W. Du, Ed., ed: Springer London, 73--81 (2013)

5. Al-Qutayri, M.A., Jeedella, J.S.: Integrated Wireless Technologies for Smart Homes Applications. In Smart Home Systems, M. A. Al-Qutayri, Ed., ed: InTech (2010)

6. Yan, M., Shi, H.: SMART LIVING USING BLUETOOTH-BASED ANDROID SMARTPHONE. International Journal of Wireless & Mobile Networks (IJWMN), vol. 5, no.5, pp. 65--72 (2013)

7. Park, B.: Mobile IP-based architecture for smart homes. International Journal of Smart Home, vol. 6, no.1, 29--36 (2012)

8. Perumal, T., Sulaiman, M.H., Sharif, K.Y., Leong, C.Y.: Development of an embedded smart home management scheme. International Journal of Smart Home, vol. 7, no.2, 15--26 (2013)

 

Share: