CLOUD IOT based Single axis Solar tracker system

Published Aug 13, 2022
 72 hours to build

Our projects uses Cayenne which is a drag-and-drop IoT platform, developed by my Devices, that empowers users to quickly prototype and share their connected IoT solutions.

display image

Components Used

Arduino Mega
Arduino Mega
W5100 Ethernet Controller
W5100 is a 10/100 Ethernet controller.
LDR -Photocell Photoresistor
LDR -Photocell, Photoresistor
DHT22 Temperature and Humidity Sensor
Temperature Sensor Development Tools DHT22 Temperature and Humidity Sensor
RJ45 Cable
Ethernet Cables / Networking Cables UTP SLIM CAT6 28AWG YELLOW 1FT
SG90 micro servo Motor
DFRobot Accessories 9g micro servo (1.6kg)
Resistor 10 Ohms
Metal Film Resistors - Through Hole 10 OHM 1/4W 1%
Solar Panel 5V
Solar Panels & Solar Cells Monocrystalline Solar Panel (5V 1A)
LM2596 Adjustable Buck Converter
Power Management IC Development Tools LM2596ADJ TO220 BUCK DB
Resistor 2.2 kOhms
Metal Film Resistors - Through Hole 2.2K OHM 1/4W 1%


Here firstly we have taken Arduino Mega 2560 Board for circuit connection and also for Coding purpose and also Wiz W5100 ethernet shield for the data connection purpose where will we be mounting the ethernet  shield upon the Arduino mega board and we also use J45 ethernet cable where one end of this cable is connected to the ethernet shield and the other end is connected to the Wi-Fi router to access the internet. 

Also we use the  solar panel where it is attached with the LDR (Light dependent resistor) sensor to  read the value of the LDRs and we encode code in the Arduino code so that the values  we get read from Arduino board connects the cayenne IOT platform by using User id , and password.

Circuit Connection

The circuit is build as shown in above Circuit diagram Image.

The proposed IoT-based solar tracker system. It is a dual-axis solar tracker that can rotate automatically to track the sun's position using LDR sensors, or manually by the user through the dashboard of an IoT application. The system starts with detects the sun position (intensity of light) by LDR sensors and sends the data to the controller (Arduino Mega board). This latter then processes these data to command servomotors (SM1 and SM2) that hold the PV panel to rotate toward the sun. The values of the generated PV voltage and current, temperature and humidity are also sent to the Arduino through associated sensors.

 Next, the Ethernet shield, which is mounted with Arduino and allows it to be connected to the Internet, will send the data that have been taking and/or processed by Arduino to the cloud (webserver). Lastly, the solar tracker data, including LDR sensors, PV power, temperature and humidity, are displayed in real-time in the IoT monitoring application via pre-created widgets. The IoT monitoring application is designed using Cayenne myDevices platform. Once the user is connected to the internet from his computer or smartphone, he can visualize, in the dashboard of the IoT application, all solar tracker data in their associated widgets. Therefore, the user has the necessary data linked to the environment and performance of the PV panel. 

In addition, in the manual mode, the servomotors will take angle directions from their associated widgets in the dashboard. Hence, the user can control his system to seek the best environmental conditions and extract the maximum energy from the PV panel. The IoT application is also programmed to send notification alerts (SMS or Email) when a senor reaches a predefined threshold value.

Project details :

Practical application of our project :
1. Increased energy production



fig3_jZyJt2ThvF Download