Introduction: IOT Based Power Supply Control From 4 Different Sources Using Arduino MEGA
This project consists Microcontroller unit, Relays, GSM Module/Wi-Fi Module and Detector circuit and Mobile application for mapping or controlling manually. A microcontroller unit may be the Arduino development board or any type of microcontroller (Ex-8051). The output of the microcontroller /Arduino is given to the relays, which switches appropriate relay to maintain an uninterrupted supply to the load. The output can be observed by Bulb/Lamp. On failure of the mains supply (which is actuated by a detector circuit which mainly an Inverter circuit) the load gets supply from the next available source, battery backup. If the battery backup also fails it switches over to the next available source and so on. The current status, as to which source supplies the load is also displayed on an LCD or in a mobile application. All the operation controlled by the Microcontroller unit or Arduino module.
In the mobile application, all the details about power sources will be shown in the application like availability of power sources and their capacities and also we can introduce a button app for manual or automatic control. In this project, GSM Module will be used for network connectivity through the cloud. For internet connectivity, we can use Wi-Fi module, but as we know that Wi-Fi hotspot is not available at all places then GSM module is more preferable for this system. There is many types of free clouds services are available for students. Example Thing speak, Temboo, Things.io and we can also use won server for a mobile app. Some clouds are also providing mobile app also as per requirements. The system can be designed in two modes: 1) Automatic: System operates automatically as the given commands. 2) Manual: User can control the system by a mobile application or by switches also. In this project, cloud is used for control or access the data or information about the system at any place, which means the authorized person, can control all the process through mobile application also.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Program Flowgraph
The above flow graph gives
the basic idea of how to project will work and according to this graph, the programming or code would be written for the working of the prototype. In this project, we need to focus on primary resources first which Solar as given in the statement. The flow of the program is continuously in a loop for better functioning of the hardware circuit.
As we know that the microcontroller once programmed then it will work for a lifetime, then according to this above graph the system works as the program. We can also modify the system as the requirements of the user or industry.
Step 2: Mobile Application Layout
The layout of the mobile application can be designed same as shown in a figure. In this layout, I have tried to keep simple GUI. By this mobile application, a user can select the mode of operation of the system. If he selects the Manual mode, then a user will be able to control any resources by self that means if a user wants to switch the resources any time then they can do. The mobile application has a different type of buttons and indicators. The buttons are used for manual control; these buttons are available in only manual mode. The RED indicators indicate the resources are available or not, if resources are available then show RED otherwise it goes to black. The GREEN indicators show the running resource.
In this mobile application we can add up many more features like the app can display the power capacity running time, how much time more the sources can be run etc. This mobile app can be an awesome feature of time to time alert if any resources will fail or switches from one to another resource.
Step 3: Block Diagram of Proposed System
Step 4: Hardware and Software Requirnments
1) Hardware requirements:
• Arduino Mega/Arduino Uno
• GSM Module (SIM 900A)
• Voltage Sensors
• LCD -16X2
• Transformer (Step down)
• Voltage Regulator (7805,7809)
2) Software requirements:
• Arduino IDE
Step 5: Future Scope
The project can be further enhanced by adding more features in the mobile application and then taking into consideration for using the best possible power whose tariff remains lowest at that moment.
Note: Currently I am working on this project.When its completed then I will share more details and code .
Waiting for your suggetions.