• No results found

Arduino Solar Tracker

N/A
N/A
Protected

Academic year: 2021

Share "Arduino Solar Tracker"

Copied!
18
0
0

Loading.... (view fulltext now)

Full text

(1)

http://www.electronicshub.org/arduino­solar­tracker/ 1/18

ELECTRONICS HUB

P R OJ EC T S | T U TO R I A L S | C O U R S ES

HOME » DIY PROJECTS » ARDUINO SOLAR TRACKER

Arduino Solar Tracker

FEBRUARY 29, 2016 BY ADMINISTRATOR — 11 COMMENTS

Contents [hide] 1 Circuit Diagram 2 Working 3 Setup 3.1 Step-1 3.2 Step 2 3.3 Step 3 3.4 Step4 3.5 Step 5 3.6 Step 6 3.7 Step 7 3.8 Step 8 4 Project Code 5 Related Articles

In modern solar tracking systems, the solar panels are xed on a structure that moves according to the position of the sun.

Let us design a solar tracker using two servo motors, a light sensor consisting of four LDRs and Arduino UNO board.

HOME PROJECTS MINI PROJECTS FREE CIRCUITS TUTORIALS SYMBOLS DIY

(2)

Arduino Solar Tracker

Circuit Diagram

The circuit design of solar tracker is simple but setting up the system must be done carefully. Four LDRs and Four 100KΩ resistors are connected in a voltage divider fashion and the output is given to 4 Analog input pins of Arduino.

The PWM inputs of two servos are given from digital pins 9 and 10 of Arduino.

Working

LDRs are used as the main light sensors. Two servo motors are xed to the structure that holds the solar panel. The program for Arduino is uploaded to the microcontroller. The working of the project is as follows.

(3)

http://www.electronicshub.org/arduino­solar­tracker/ 3/18

LDRs sense the amount of sunlight falling on them. Four LDRs are divided into top, bottom, left and right.

For east – west tracking, the analog values from two top LDRs and two bottom LDRs are compared and if the top set of LDRs receive more light, the vertical servo will move in that direction.

If the bottom LDRs receive more light, the servo moves in that direction.

For angular de ection of the solar panel, the analog values from two left LDRs and two right LDRs are compared. If the left set of LDRs receive more light than the right set, the horizontal servo will move in that direction.

If the right set of LDRs receive more light, the servo moves in that direction.

Setup

Step-1

Take cardboard. Make a hole in the middle and four holes on four sides so that LDR t into that.

Stick the solar panel to the cardboard and bring two wires of the panel out as shown.

Step 2

Now cut one of the two leads of the LDR so that one lead is shorter and other is longer. Insert these four LDRs into four holes as shown.

(4)

Bend the straight Perforated metal strip as shown below. Place the bent metal strip on the back side of the cardboard Apply glue to the LDR to x them rmly.

Step 3

Solder the two leads of LDR as shown

To the other ends of LDR Solder resistors of 10k ohm Join the four leads of the 4 LDRs by connecting with a wire.

(5)

http://www.electronicshub.org/arduino­solar­tracker/ 5/18

Step4

Now take a bus wire.This is used to connect the Outputs of four LDRs to Arduino board. Insert it into metal strip as shown in the image.

Now Solder the four wires to four LDRs at any point between LDR and resistor.

Step 5

Insert another two wire bus into the perforated metal strip as shown.This is used for supplying Vcc and GND to LDR circuit.

Solder one wire to the leads of LDRs which are connected to resistors and other wire to the other leads.

(6)

Step 6

Now connect a servo motor to the Perforated metal strip using Screw. Apply glue to the servo to x it rmly.

Step 7

(7)

http://www.electronicshub.org/arduino­solar­tracker/ 7/18

Step 8

Now place the set up of solar panel and rst servo motor to the metal strip of second servo motor as shown.

Project Code

1 2 3 4 5 #include <Servo.h> //defining Servos Servo servohori; int servoh = 0; int servohLimitHigh = 160;

(8)

6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 int servohLimitLow = 20; Servo servoverti;  int servov = 0;  int servovLimitHigh = 160; int servovLimitLow = 20; //Assigning LDRs int ldrtopl = 2; //top left LDR green int ldrtopr = 1; //top right LDR yellow int ldrbotl = 3; // bottom left LDR blue int ldrbotr = 0; // bottom right LDR orange  void setup ()   {   servohori.attach(10);   servohori.write(0);   servoverti.attach(9);   servoverti.write(0);   delay(500);  } void loop() {   servoh = servohori.read();   servov = servoverti.read();   //capturing analog values of each LDR   int topl = analogRead(ldrtopl);   int topr = analogRead(ldrtopr);   int botl = analogRead(ldrbotl);   int botr = analogRead(ldrbotr);   // calculating average   int avgtop = (topl + topr) / 2; //average of top LDRs   int avgbot = (botl + botr) / 2; //average of bottom LDRs   int avgleft = (topl + botl) / 2; //average of left LDRs   int avgright = (topr + botr) / 2; //average of right LDRs   if (avgtop < avgbot)   {     servoverti.write(servov +1);     if (servov > servovLimitHigh)       {        servov = servovLimitHigh;      }     delay(10);   }   else if (avgbot < avgtop)   {     servoverti.write(servov ‐1);     if (servov < servovLimitLow)   {     servov = servovLimitLow;

(9)

http://www.electronicshub.org/arduino­solar­tracker/ 9/18 view raw 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88

Arduino Based Solar Tracking System hosted with by GitHub

Related Articles

  }     delay(10);   }   else    {     servoverti.write(servov);   }      if (avgleft > avgright)   {     servohori.write(servoh +1);     if (servoh > servohLimitHigh)     {     servoh = servohLimitHigh;     }     delay(10);   }   else if (avgright > avgleft)   {     servohori.write(servoh ‐1);     if (servoh < servohLimitLow)      {      servoh = servohLimitLow;      }     delay(10);   }   else    {     servohori.write(servoh);   }   delay(50); }

(10)

Related Articles

FILED UNDER: DIY PROJECTS

Comments

10 Simple Arduino Projects For Beginners with Code

Arduino Light Sensor How To Make A Tilt Sensor With Arduino?

GSM Based Home Security Alarm System Using Arduino

Arduino 4-Digit 7-Segment LED Display

Arduino based Digital Thermometer

Bypass Diodes in Solar Panels

Speed and Direction Control of DC Motor using Arduino

(11)

http://www.electronicshub.org/arduino­solar­tracker/ 11/18

Venkat says

MARCH 15, 2016 AT 1:58 PM

How much power the panel is producing and how much the servos are consuming?

Reply

Anusha says

MAY 12, 2016 AT 12:27 AM

This designed only for tracking sun and increasing its e ciency….Power of the solar panel is not considered…Servo motors used here consume very less power..They are powered from arduino board it self

Reply

Ferit says

APRIL 10, 2016 AT 11:43 AM

what is Perforated metal measurements?

Reply

AZMAT ULLAH says

APRIL 10, 2016 AT 1:06 PM

excelent

Reply

luis vallejo says

(12)

Page excellent , and excellent projects for beginners im a student and I think this is awesome because we need projects like this to be best. congratulations !

Reply Purushothaman J says APRIL 19, 2016 AT 8:24 AM nice one Reply Purushothaman J says APRIL 19, 2016 AT 8:25 AM smart project Reply Antonio says MAY 14, 2016 AT 8:53 AM

It could be a self su cient system! Optimizes solar power generation, that could power back the optimizer system itself! A win-win game! Very nice

Reply

ABUBAKAR MALIKI says

JUNE 19, 2016 AT 5:50 PM

greetings to you sir and all on this site. please i want to work this project in my school. as my second year project in the university. What i want to ask is the solar panel tracker tracking the sun light intensity for other panels on 100w or others?thank you will be waiting for your reply

(13)

http://www.electronicshub.org/arduino­solar­tracker/ 13/18

Reply

ABUBAKAR MALIKI says

JUNE 19, 2016 AT 5:58 PM

sir,if one has about 10 100w solar panels how can he connect the solar tracker,and how many connection of the solar straker does he need

Reply

Dhruv jain says

JULY 16, 2016 AT 10:47 AM

Hello,

I tried makin the project bt d motors r moving very slow. They r not moving as fast as given in d video. I tried changin d servo motor bt d isssue remains d same. Cn der b ny oder prob

Reply

Leave a Reply

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

Name *

(14)

Website

I'm not a robot

reCAPTCHA

Privacy - Terms   POST COMMENT

Search this website …

COMPLETE STEP BY STEP GUIDE

(15)

http://www.electronicshub.org/arduino­solar­tracker/ 15/18 AVON BAGS Avon Butterfly Pink 16" Student Backpack Combo (13) Electronics Hub YouTube 8K Electronics Hub + 75,543 Follow +1

SUBSCRIBE FOR FREE PROJECT CIRCUITS

Enter your email address: Engineering Maths by … KREATRYX, ENGINEERING MATHS BY KREATRYX FOR… PSUs: Reasoning … IRS NEM SINGH PAPERBACK

(16)

SUBSCRIBE Delivered by FeedBurner RICHY TOYS RICHY TOYS BUNNY BAG CUTE TEDDY SCHOOL BACKPACKS … (6) Shop now RUSHI ENTERPRISE VPRAMART PROJECTS BY CATEGORY

(17)

http://www.electronicshub.org/arduino­solar­tracker/ 17/18

Arduino Projects (200+)

ARM Projects (30+)

Communication Projects (70+)

DTMF Projects (30+)

Electrical Mini Projects (25)

Electrical Project Ideas (100+)

Electronics Projects (140+)

Embedded Projects (100+)

GSM Projects (40+)

Home Automation Projects (50+)

IOT Projects (35+)

LabView Projects (45+)

Latest Electronics Ideas (100+)

LED Projects (70+)

Matlab Projects (50+)

Microcontroller Mini Projects (100+)

Mini Project Circuits (160+)

Mini Project Ideas (150+)

PIC Projects (30+)

Power Electronics Projects (60+)

RFID Projects (60+) Robotics Projects (100+) Sensor Projects (40+) Solar Projects (40+) VLSI Projects (100+) Wireless Projects (50+) 8051 Projects (110+) ECE Projects (150+) EEE Projects (150+) EIE Projects (50+) GENERAL Tutorials Symbols Courses Calculator Contact PROJECTS Electrical Electronics Embedded Power Robotics ARM PROJECTS Mini projects Microcontroller Aurdino Solar Free circuits Home Automation

(18)

TUTORIALS Capcitors Resitors Filters Diodes Transistors TUTORIALS Ampli ers IO Devices Thyristors DC Circuits Nummber System FOLLOW US Facebook Youtube Google Plus Twitter

Return to top of page

References

Related documents

Water a precious resources Forms of water Availability of water Physical properties Chemical properties Depletion water table Water cycle Water management proper use of

A cash and items that should turn into cash in the near future B cash invested by the owner of the business.. C items bought for long term use by

I remember telling Hatsumi sensei one day that when in Japan I had the feeling that I was training the bujinkan with him and the Oguri ryû, Noguchi ryû, Nagato ryû and Senô ryû..

Abbreviations: βTG, beta thromboglobulin; CLT, clot lysis time; CTAD, citrate-theophylline, adenosine, dipyridamole; ELISA, enzyme-linked immunosorbent assay; HREC, Health

Inclusion criteria were as follows: (1) a clinical diagno- sis of midfoot Charcot osteoarthropathy; (2) midfoot col- lapse, instability, and/or plantar ulceration due to deformity;

Would require transparency in pharmacy benefit managers (PBMs), including that purchasers &#34;may request that any pharmacy benefits manager &#34;disclose to the covered entity

The potential for private-public partnerships and the growing need for capital give investment banks the opportunity to provide capital raising services to public

Reproducibility Figure 8 illustrates the histograms of obtained packing factor values for 500 particles, respectively for Log-normal and Andreasen Particle Size