Arduino Projects

Solar Tracking System Using Arduino

solar tracking system using Arduino with mobile charging system


In this article, we design a simple solar tracking project and make a small power bank to charge our mobile phones. here we used the Arduino nano microcontroller,l293 motor driver, and LDR sensor module.

Screenshot 2024 01 26 at 12.09.42 AM

The project is simple and is very used if any person faces the problem of charging a mobile battery, they use the system and charge the mobile phone in an emergency conduction.


Arduino Nano

  • The Arduino Nano is the open-source smallest Embedded Development board based on Atmega328 SMD Package Microcontroller.
  • Arduino Nano is a low-cost microcontroller and so many GPIO Pin available.

Medicine Reminder With Arduino0


  • Microcontroller Atmel ATmega328 SMD Package
  • Operating Voltage – 5V
  • Input Voltage 7-12V
  • Input Voltage 6-20V
  • Digital I/O Pins 14 (6 PWM output)
  • Analog Input Pins -8

L293 Motor Driver

  • L293D Motor Driver Module is a medium-power motor driver perfect for driving DC Motors.
  • It uses the popular L293 motor driver IC. It can drive 4 DC motors on and off.
  • Wide supply voltage: 4.5 V to 12 V.
  • Max supply current: 600 mA per motor.
L293 Motor Driver
L293 Motor Driver Module

LDR Sensor Module

  • LDR Sensor Module is used to detect the presence of light / measuring the intensity of light.
  • The output of the module goes high in the presence of light and it becomes low in the absence of light.
  • Using LM393 comparator chip, stable.
  • Operating voltage 3.3V-5V.

pin out of ldr 1000x1000 1

lithium-ion Battery

3.7v Battery scaled e1706206547621

Circuit Diagram

Here we designed a proper circuit diagram of the project now I will explain how you design the circuit in an easy method.

  1. The Solar panel provides the output of 12v DC and is connected to the Arduino nano Vin And GND Pin.
  2. L293 Motor Driver connected to the Pin Numbers D4 & D5 to the Arduino Nano Board.
  3. Now we connect the LDR Sensor Module to the PIN D3 & D2 in the Arduino Board.

Single Axis Solar Pannel

The lithium-ion Battery is connected to the solar panel and USB-A Adapter.

If you want to charge the Mobile Phone then you connect the Mobile USB cable to the USB-A adapter.


Plz, do a proper connection to the Positive (VCC) And Ground(GND) wire because if short then the solar panel has a chance to Dimage it.


Now in a code, no libery is required to install it you copy the code in your Arduino IDE software and select the proper board and port.

Then click the upload button and make sure you connect the proper USB cable to your laptop or system.

GitHub e1697076839430

Projects Demo

Now I put the flashlight On the LDR Module then the value will change and the DC Motor Rotate the Clock and AntiClock Wise Direction.

Screenshot 2024 01 26 at 12.02.34 AM

The Battery will be stored and used to charge the mobile Phone.

Screenshot 2024 01 26 at 12.03.03 AM


0005720 coming soon page 550


Hi, Prateek Here I’m interested in Electronics That's why I Make Soo Many Projects, I’m currently Pursuing M Tech.. if you Relay Like To My Blog Plz Comment Below...Thanks To All Electronics Lover...❤️

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker