Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pm:prj2023:apredescu:solar_tracker [2023/05/26 19:26]
george.cristea1210 [Software Design]
pm:prj2023:apredescu:solar_tracker [2023/05/29 23:48] (current)
george.cristea1210 [Electric schema]
Line 47: Line 47:
 </​note>​ </​note>​
  
-{{ :​pm:​prj2023:​apredescu:​electricschemairl.jpeg?300 |}}+In reality, it looks like this :-D : 
 + 
 +{{ :​pm:​prj2023:​apredescu:​project.jpeg?nolink&300 |}} 
 + 
 +I also have a video that shows exactly how it works: 
 +https://​youtube.com/​shorts/​aRd-pFQhVII?​feature=share 
 + 
  
 ===== Software Design ===== ===== Software Design =====
  
 The software will be built into the hardware (Arduino Uno) so that it can be used to control and watch the solar tracker. The program that is built in is made to meet the following needs: ​ The software will be built into the hardware (Arduino Uno) so that it can be used to control and watch the solar tracker. The program that is built in is made to meet the following needs: ​
-  - Ordered List Item There are two ways to use the test bench: manually and automatically. To switch between the two states, a push button is wired to pin 12.  +  - There are two ways to use the test bench: manually and automatically. To switch between the two states, a push button is wired to pin 12.  
-  - Ordered List Item If the manual mode is on, the potentiometer can direct the servomotors from east to west for the left-right motor or from south to north for the up-down motor. Pin 11 is linked to a push button that lets you choose which of the two motors the potentiometer controls. It can either control the left-right servomotor or the up-down servomotor. ​+  - If the manual mode is on, the potentiometer can direct the servomotors from east to west for the left-right motor or from south to north for the up-down motor. Pin 11 is linked to a push button that lets you choose which of the two motors the potentiometer controls. It can either control the left-right servomotor or the up-down servomotor
 +  - The method that is presented in the next figure will run in automatic mode. It employs LDR sensor analog values. For vertical axis, the average readings from two right LDRs and two left LDRs are compared, and if the left set receives more light, the left-right servomotor moves the solar tracker. The latter rotates until the difference result is [−10, 10]. This range stabilizes the controller, and once the solar tracker is perpendicular to the sun, control stops. However, if the right LDRs receive more light, the solar tracker moves in that direction through the left-right servomotor and continues to spin until the difference result is in the range [−10, 10]. Elevation axis works similarly. We also calculated the average radiation from the four LDR sensors and whether it is less than a small value. It's night time, in this instance, the solar tracker must return to sunrise. If the sun rises at 0 degrees in the left-right servomotor and 30 degrees in the up-down, set them accordingly. The Arduino IDE C function "​servox. write(angle)"​ makes this easy. 
 +  - It is necessary to process and use the PV voltage measured by analog pin A5 to calculate the PV current and power. Then, the data and the real mode must be sent to the computer via USB cable and shown in Microsoft Excel.
  
 +{{ :​pm:​prj2023:​apredescu:​algorithmautomaticmode.png?​direct&​300 |}}
  
-===== Rezultate Obţinute ​=====+===== Obtained results ​=====
  
-<note tip> +Data can be sent from an Arduino microcontroller to an Excel spreadsheet with the help of the PLX-DAQ Excel Macro. All that has to be done is downloaded. A "​PLX-DAQ"​ folder, containing a "​PLX-DAQ Spreadsheet"​ shortcut, will be created on the PC after installation. Then, to get the board talking to Excel, we open Excel and specify the connection parameters (Baud rate and port) in the PLX-DAQ window. ​ Clicking "​connect"​ then causes the Excel sheet to update in real time with the output data
-Care au fost rezultatele obţinute în urma realizării proiectului vostru+ 
-</​note>​+{{:​pm:​prj2023:​apredescu:​plx.png?​nolink&​300 |}}
  
 ===== Concluzii ===== ===== Concluzii =====
Line 80: Line 89:
  
 **17.05.2023**-I wrote the second part of the project (hardware design) **17.05.2023**-I wrote the second part of the project (hardware design)
 +
 +**26.05.2023**-I wrote the third part of the project (software design)
 </​note>​ </​note>​
  
Line 85: Line 96:
  
 <​note>​ <​note>​
-Documentation in pdf format: {{:​pm:​prj2023:​apredescu:​solar_tracker.pdf|}}+  * Documentation in pdf format: {{:​pm:​prj2023:​apredescu:​solar_tracker.pdf|}} 
 +  * All the files that the project has: {{:​pm:​prj2023:​apredescu:​solar_tracker.rar|}}
 </​note>​ </​note>​
  
 <​html><​a class="​media mediafile mf_pdf"​ href="?​do=export_pdf">​Export to PDF</​a></​html>​ <​html><​a class="​media mediafile mf_pdf"​ href="?​do=export_pdf">​Export to PDF</​a></​html>​
  
pm/prj2023/apredescu/solar_tracker.1685118377.txt.gz · Last modified: 2023/05/26 19:26 by george.cristea1210
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0