With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Here is a photo of the motors that control one of the rows. There is one linear motor for the side-to-side movement, and one motor for the angle movement.
Hi. I have recieved my RTC now. I will connect it to my Raspberry PI as soon as I get some spare time. I bought a similar RTC based on the same chip, so the code should work for you as well as soon as I'm done with it.
That is a great idea. I will buy a time module and upgrade my own system. Which module will you use? I can get the same kind and let you know when I am done with the code.
Hi. I have attached a file called Servo - for instructables.py to this instructable. That is all code for my prototype.The real system needs internet, I control the application from a website published on my rasperry pi.Let me know if my .py contains all you need. I used www.codeacademy.com to learn Python. It is free, online training.A problem with the raspberry pi is that you need to set the time everytime it is started unless you have internet access. Is that what you need your time module for?I let my raspberry pi go online to set it's Clock using NTP.
Hi. It was a fun project!I used pysolar for the calculations. (Python version 3.5)Install pysolar by typing: sudo pip3.5 install pysolarHere is the code.#for pysolarfrom pysolar import solarimport datetimedef GetSunPosition(): longitude = 12.5350953 latitude = 59.6365662 elevation = 55 when = datetime.datetime.now() altitude_deg = solar.get_altitude(latitude, longitude, when) sun = solar.get_azimuth(latitude, longitude, when, elevation) if abs(sun) >= 180: sundirection = abs(sun)-180 #Works before noon else: sundirection = abs(sun) + 180 #Works after noon print(when) print(sun) print('angle', altitude_deg) print('bearing', sundirection) return sundirection
I have now attached the python code for my prototype to this instructable. Let me know if you have any further questions.
5.2kW Solar Tracker controlled by Raspberry Pi
I use a rasperry pi, Parallax HB 25 motor drivers, RB-FRA-89 linear motors, a 12V to 5V/USB converter from an auto parts store (to power the rasperry pi with 12V).I don't have the pdf yet. I will add all instructions to this instructable, including the source code.
Hi. I live in Sweden where the cost is about 10 Euro cents per kWh. Of the 9000 Euro, 35% is given back to me as a grant from the government. So my actual cost is 6000 Euro.I expect the solar farm to produce about 8000 kWh per year which will save me about 800 Euro per year.The electricity that I don't use myself is sold, and I get approximately 6 cents per kWh.The payback time is about 10 years with the government grant. 15 years if you build without grant.The expected Life time of the solar panels is 30 years (20 years warranty).This will not make me rich, but it was a fun Project, it's good for the Environment, and if I get som batteries in the future, I can use electricity even if the Power is out.
5.2kW Solar Tracker control...View Instructable »
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.