element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Arduino
  • Products
  • More
Arduino
Arduino Forum Easy Solar Tracker (Controller) - :'( Please Help Beginner
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 1 reply
  • Subscribers 390 subscribers
  • Views 434 views
  • Users 0 members are here
  • help
  • solar panel
  • help!!
  • robot
  • noob
  • ldr
  • arduino testing
  • ldrs
  • beginners.
  • solar tracker
  • arduinos
  • beginning
  • help!
  • solar
  • solar energy
  • relay
  • beginner
Related

Easy Solar Tracker (Controller) - :'( Please Help Beginner

the_future
the_future over 7 years ago

image

Components: 1 Arduino, 4 LDRs, 4 Relays (Omron G5LE-1-36), Relay Protection (4 Transistors, 4 Resistors, 4 Inverting diodes) & 1 Solar Panel Platform (2 DC Motors)

 

Problem: Not sure how to wire the last part of my solar panel controller correctly!

 

        -> Relay Wiring:

              *Is the first blue wire (Pin2) and green wire (Pin1) meant to be on the same rail?

              *Is the second blue wire (Pin5) ground?

              *Does the diode go between the green wire (Pin1) and the orange wire (Pin4)?

              *Going by the mark what way is the diode meant to be facing?

 

            *Datasheet (Pins in regards to datasheet)-> https://eu.mouser.com/datasheet/2/307/en-g5le-1131193.pdf  (from this site https://eu.mouser.com/ProductDetail/Omron-Electronics/G5LE-1-36-DC5?qs=JK6Bpmia%2fmtcCWosfO3L%2fQ== )

 

        -> Connection from each of the yellow breadboard yellow wires to each of the Relays? Which of the Relay wires should the yellow wire be connected to?

 

        -> What connections of the relays should I connect to each of the 2 motors (2 Relays per Motor, 2 wires per DC Solar Panel Motor)

 

       -> Is there anything missing?

 

imageimageimageimage

 

Details:

 

Hi everyone!

thanks for viewing my post and seeing what you can do to help out image

 

simply put the solar panel as you can see in the first picture has two motors

to control .....1 for vertical movement, 1 for horizontal movement. I am trying

to create a controller for the solar panel essentially! So it can move in the direction

of where there is most light

 

As you can see below the first breadboard is full of LDRs for sensing light so that when programmed

in to the arduino the solar panel will automatically turn to the area where there is most light

(when LDRs are at the corners of the solar panel at the moment just testing).

 

Beyond the Arduino on the yellow breadboard is a protection circuit for the relay

and on the last white breadboard is where the relays are where they will be connected

to the DC servo motors on the solar panel platform.

 

As stated before my problem is in wiring things up at the end my coding is

alright.....I think .....lol one thing at a time

 

image

  • Sign in to reply
  • Cancel
Parents
  • neilk
    neilk over 7 years ago

    Hi the_future

     

    Looks as if you have a very useful project here, but judging by your post, your are struggling a little!

     

    My advice would be:

    1. Create an overall diagram of the proposed hardware, clearly showing each component
    2. Expand each section with a clear schematic - looking at photographs of components plugged into breadboards is not very easy!
    3. Even if you think you coding is OK I would strongly recommend developing the code in stages, testing out each piece of code with the corresponding hardware component(s)
    4. When you have all the various parts working, then it's time to integrate everything - step by step, testing all the time.

     

    Hope this helps

     

    Neil

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • neilk
    neilk over 7 years ago

    Hi the_future

     

    Looks as if you have a very useful project here, but judging by your post, your are struggling a little!

     

    My advice would be:

    1. Create an overall diagram of the proposed hardware, clearly showing each component
    2. Expand each section with a clear schematic - looking at photographs of components plugged into breadboards is not very easy!
    3. Even if you think you coding is OK I would strongly recommend developing the code in stages, testing out each piece of code with the corresponding hardware component(s)
    4. When you have all the various parts working, then it's time to integrate everything - step by step, testing all the time.

     

    Hope this helps

     

    Neil

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube