IoT Based Solar Monitoring and Cleaning Project
by Ajay Singh in Circuits > Electronics
788 Views, 2 Favorites, 0 Comments
IoT Based Solar Monitoring and Cleaning Project
Dear Learners,
This Instructables will tell you how you can monitor the output of the solar panel using IoT.
We will be using cayenne iot platform and ESP8266 Board(Node Mcu).
Supplies
We need these parts:
- Solar plates
- Node mcu
- Battery
- Leds
- Resistor
- Dc water pump
- Wires
- Usb Micro-cable
- switches
- Accessories to make them like gluegun,soldering iron,cutter.
Circuit Building
Dear Learners,
I have attached two pictures which is the circuit diagram and the input of the solar panel put it to the led light .
We will be calculating the voltage, current and power output using some Formula as v=ir,p=vi.
Library Needed for the Project
Dear Learners,
First of all we all need some library and boards added to the Arduino software for smooth processing .
1. we need Cayenne software library that can be downloaded from link:https://github.com/myDevicesIoT/Cayenne-MQTT-ESP
2. We need to install the board as Arduino will be unable to detect the board so we need to first setup the board.
Start Arduino and open Preferences window.
Enter https://arduino.esp8266.com/stable/package_esp8266...
into Additional Board Manager URLs field.
You can add multiple URLs, separating them with commas. Open Boards Manager from Tools > Board menu and find esp8266 platform. Select the version you need from a drop-down box. Click install button. Don’t forget to select your ESP8266 board from Tools > Board menu after installation. For more information on the Arduino Board Manager,
see: https://www.arduino.cc/en/guide/core
Now the setup is ready .
3. Select the board in the arduino before uploading the code. like port and board.
Coding of the Project:
Dear Learners,
Here we are going to deal with the coding part of it . You need to change wifi name ,password and MQTT Credential as per your board to work.
The code of the circuit is given here
--------------------------------------------------------X-------------------------------------------------------------------