Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

Arduino solar/sun tracker with data logger

By EG Projects August 4, 2019

This project by a final year student from university of liverpool is about monitoring the solar energy emitted by sun using solar panels and arduino. Data acquisition and logging is also part of the project. A single arduino mega, 20×4 lcd, arduino SD card module and 2 small solar panels are part of the project. 

Solar sun tracker project over view

Two solar panels are used to grab the solar energy. Both the solar panels are of same size and are of same rating. One solar panel is fixed and the other one is movable residing on a motor. The idea behind one stable and the other movable is to figure out which topology works effectively and grabs more energy. Data logger is used to log data from both the solar panels. This data after few hours is extracted form arduino SD card and plotted on two different graphs for comparison.        

Arduino uno single solar tracker circuit

The two solar cells are connected to a single arduino mega in the final circuit. But first the individual solar cell is tested to verify that the system/circuit which is under consideration will work efficiently. The individual solar cell circuit is shown in below figure. 
Arduino solar tracker circuit diagram

Arduino solar tracker circuit diagram

In the above figure arduino uno is interfaced with lcd. On lcd the voltage and current output of the solar panel is displayed. Total power output by solar panel is also displayed on the lcd. Lcd is interfaced with arduino in 4-bit mode. Solar panel is not directly connected to arduino. Instead a 4066 multiplexer switch is used in between arduino and solar panel. 4066 prevents the arduino analog pins from continuous potential. 4066 pins are controlled by arduino digital pins. So when we want to monitor the power output by solar panel we short circuit the connection. We can also use relay here but relay consumes more power. Hence 4066 is best fit in this circuit.        

How the power is monitored?

I know every one is thinking about how the arduino is monitoring power? Well i wrote a nice tutorial on techniques how to monitor power(Dc voltage). I encourage you to go through these tutorials because answer lies in these tutorials. 

  • Monitoring voltage of individual batteries connected in series using arduino uno
  • ​Multiple batteries monitoring using arduino uno
  • How to monitor multiple batteries?
  • Car battery monitoring  ​​

Final hard ware circuit built is below. Output voltage, current and power is displayed on the lcd screen. Note in the hard ware circuit below SD card is also used to log data on sd card. 

Arduino solar energy monitoring system

Arduino solar energy monitoring system

Solar tracker result

Instantaneous solar energy data is displayed on lcd screen where as full log is displayed on arduino serial monitor.  
arduino solar tracker result on arduino serial monitor

arduino solar tracker result on arduino serial monitor

Working with both solar panels

After individual solar panel testing its time to design the final project. Both the panels are connected to arduino mega. Arduino sd card and 4066 ics are mounted on vero board. The final project hardware is shown below. Panel 2 is mounted on a movable structure.   
Arduino mega with dual solar panels

Arduino mega with dual solar panels

4066 multiplex switch ic and arduino sd card module is mounted on vero board. Vero board circuit connections are shown in below figure. They are pretty messy 🙂
Arduino mega dual solar panel monitoring

Arduino mega dual solar panel monitoring

Arduino solar monitoring results

After deploying the project/hardware in field data is logged in arduino sd card. Then after some time data is extracted from the sd card module and plotted on graphs in Microsoft excel. Results show that the movable panel slightly absorbs more energy compared to the fixed one.  
Arduino solar monitoring graph plotting

Arduino solar monitoring graph plotting

Future work

Well in my opinion the project can be taken further and many outstanding features can be added to it. 

  • Putting the arduino on web and sending the real time data to a remote server where web application shows the real time logged data on dials. I made a similar project like it on which i displayed the data on a remote website Esp8266 Thing Speak data logging 
  • Movable solar panel works on electrical motor which is extra power consumption compared to the fixed one. Movable panel power consumption should also be considered and result should be recalculated.


Filed Under: Knowledge Share, Microcontroller Projects

 

Next Article

← Previous Article
Next Article →

Questions related to this article?
👉Ask and discuss on EDAboard.com and Electro-Tech-Online.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


RSS EDABOARD.com Discussions

  • ADS optimization cockpit window does not open
  • Voltage mode pushpull is a nonsense SMPS?
  • Will this TL084C based current clamp circuit work?
  • How to determine the maximum PAD frequency ?
  • Xiaomi Mijia 1C Robot problem of going backwards while working

RSS Electro-Tech-Online.com Discussions

  • Siemens large industrial PLC parts
  • Parts required for a personal project
  • Cant log in to Easy PC forum
  • Failure of polypropylene motor-run capacitors
  • Wideband matching an electrically short bowtie antenna; 50 ohm, 434 MHz

Featured – RPi Python Programming (27 Part)

  • RPi Python Programming 21: The SIM900A AT commands
  • RPi Python Programming 22: Calls & SMS using a SIM900A GSM-GPRS modem
  • RPi Python Programming 23: Interfacing a NEO-6MV2 GPS module with Raspberry Pi
  • RPi Python Programming 24: I2C explained
  • RPi Python Programming 25 – Synchronous serial communication in Raspberry Pi using I2C protocol
  • RPi Python Programming 26 – Interfacing ADXL345 accelerometer sensor with Raspberry Pi

Recent Articles

  • AC-DC power supply extends voltage range to 800 V DC
  • Infineon’s inductive sensor integrates coil system driver, signal conditioning circuits and DSP
  • Arm Cortex-M23 MCU delivers 87.5 µA/MHz active mode
  • STMicroelectronics releases automotive amplifiers with in-play open-load detection
  • Convection-cooled power controller integrates EtherCat connectivity

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy

Search Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe