Monday, March 11, 2013

Solar Tracker Based Solar Panel using Arduino



First Look!!

Hello, till date I have posted number of articles in my blog, but none on my core interest of Arduino microcontroller. This is because I’m still learning it and lots remain to be learnt. Nevertheless here is one of my very simple projects on Arduino microcontroller. I’m sure this post will be a boon for all those newbie on Arduino and equally stupid for the microcontroller experienced guys. For any questions or comments you can mail me at rishiraj.in@gmail.com or Facebook me! (Link at right side of this page)Oh, forgot to mention, this project won a small prize at a small project competition in my state


Solar Tracker Based Solar Panel using Arduino

In this post I present you a prototype of a solar tracker based solar panel. The solar panel changes its orientation according to the direction of the Sun. 
Final Prototype of the Solar Tracker based Solar Panel
Notice how the 3 sensors are kept at the Sensor Board


How it happens?

Basically there are sensors mounted. This sensor when illuminated by the sun rays gets activated and sends a signal to the Microcontroller. The microcontroller in return instructs the motor to move by the specified speed and direction.
There are three sensors fixed in such a way that each sensor gets activated at 3 instants of the entire day, i.e. Morning, Noon, and Afternoon. As the sun raises the first sensors gets activated due to ray of sun falling on it. As a result the Solar Panel orients itself to receive the early morning sunrays. Similarly the Solar panel orients itself when it is noon and afternoon to receive the sun rays efficiently and thereby increase the efficiency of the solar cell.
This dynamic Solar Panel has a greater efficiency since it can illuminate its solar cell even at the morning and afternoon time of the day.
Since it is just a prototype hence I have used torch light to depict sunlight. I made sure that the torch light illuminates only one sensor (LDR) at a time, i.e. one sensor for Morning, one for noon and one for afternoon.

Technical Aspect (Not really)

The Motor and the Sensor (LDR) is controlled by Arduino Microcontroller. The sensor has a predefined threshold value which is crossed when it is illuminated. Once the threshold value is crossed the Arduino sends an instruction to the motor to move.
To make sure that the current demand of the motor is met without affecting the microcontroller, the Motor is connected to a Motor driver (IC L293D) circuit which in turn is connected to the microcontroller.
To control the speed of the motor, PWM technique is used.


The Circuit

The image below shows the circuit, though it looks messy but trust me, it’s very simple.



Blue Wire: Connected from digital Pin 10 and 11 of Arduino to Pin 2 and Pin 6 of L293D Motor driver IC.

Green Wire: the 5V power supply from Arduino to Pin 1 and Pin 16 of IC L293D and also to all the LDRs as shown in figure.

Orange Wire: From Pin 3 and Pin 7 of IC to the DC Motor.

Red Wire: 9V external DC supply. This supply depends on the rating of the DC motor used. In my case I had a 9V DC motor hence 9V supply.

Black Wire: Common ground of the entire circuit. Pin 4, Pin 5, Pin 12, Pin 13, and Arduino ground Pin, 9V battery ground.

Resistor: I just used 100 Ohm resistor and this was chosen randomly. You can use any low resistance.


The Arduino Sketch (Code. . .)

Download It ! ! ! 
You may have to change some part of the Code depending on the intensity of the light where you keep the prototype and the intensity of the torch light used. I guess you'll do it easily, in case of any error or problem write to me.









15 comments:

  1. Hey very nice blog!

    my web site Ohio Moving

    ReplyDelete
  2. These fitness tips in above some basic ideas for keeping fit and healthy body.
    I spent hundreds of dollars trying to find that "quick fix" or magic
    solution that would have allowed me to drop the desired
    pounds and have the perfect body. Smoking can affect your
    health and fitness since it affects all the bodily functions and
    damages vocal cords and skin.

    Visit my webpage - Jillian Michaels Challenge

    ReplyDelete
  3. Bring your favorite magazines to the i - Phone with an i - Phone app.
    Aamir Khan and Amitabh Bachchan had a rough battle, when the movies
    related to them were released at the same time.
    The singer will not be charged for her public intoxication, but her boyfriend was charged a
    $30,000 bail fee to release himself after he was tested positive for driving
    under the influence.

    Review my homepage latest celeb news

    ReplyDelete
  4. Tremendous issues here. I'm very happy to peer your article. Thank you so much and I'm looking ahead to touch you.

    Will you please drop me a e-mail?

    Check out my web site - Chaussure Nike Air Max

    ReplyDelete
  5. Thankfulness to my father who shared with me regarding this blog, this weblog is really
    remarkable.

    Feel free to surf to my web-site; Get More Information

    ReplyDelete
  6. Hi there, all is going perfectly here and ofcourse every one is sharing facts,
    that's truly excellent, keep up writing.


    earn money online fast

    ReplyDelete
  7. Hi to all, how is the whole thing, I think every one
    is getting more from this website, and your views are fastidious for new users.


    Feel free to visit my web site: raspberry ketone extracct

    ReplyDelete
  8. Some bodies have a high burn rate of calories,
    which prevents them from accumulating fat. Just make sure that whatever routine you decide on that you do it on a regular basis so you can achieve the best results.
    A great way to always maintain the proper form is to leave your
    feet firmly planted on the ground, and always grip the bar no more
    than shoulder width apart.

    Feel free to visit my weblog - Power Pump XL Muscle

    ReplyDelete
  9. good projet
    I send an email to you, for my project
    thanks

    ReplyDelete
  10. Hello Rishi,

    I have used this project as a basis for a college project I am doing trying to demonstrate a solar follower. after building this project with a few different components I use Linker modules for sensors and for my program I use for loops as counter and an else statement to stop and restart the program.
    the only thing I notice is that I had to create and enable the pin1 of the L293D to start with and I could not get my motor to reverse direction after each delay period of sensor reading. I would like to share my project with you so you can comment and give some advice if possible.

    ReplyDelete
  11. Hi Rishi
    Please I need use two motors with bridge H, could you please with code arduino.... thanks in advance

    ReplyDelete
  12. Do you need free Twitter Followers?
    Did you know you can get these ON AUTOPILOT AND ABSOLUTELY FREE by getting an account on Like 4 Like?

    ReplyDelete
  13. I really loved reading your blog. It was very well authored and easy to understand. Unlike other blogs I have read which are really not that good.Thanks alot!
    camping solar panels

    ReplyDelete
  14. the code can't be download

    ReplyDelete
  15. Broken link on The Arduino Sketch (Code. . .)

    ReplyDelete