As the object is moved in front of the Pixy, the data stream will print out the x and y coordinates, along with the object height and name. You can capture the data to a text file using standard Linux command-line redirection. For example: sudo ./hello_pixy > data.txt. A portion of the output I captured from the Pixy is shown in Listing 2.
Solar panels typically last between 20 to 30 years with many producing energy beyond that timespan. Lavrova notes that many systems installed as early as the 1970s are still producing power, albeit a little less than when they were brand new.
A roof top solar system has no moving parts, so it has a long expected lifetime exceeding 25 years (used in this example). 1  However inverters (which convert the panel DC current into AC) have an expected lifetime of 10 to 15 years. In our example we add the cost of a replacement inverter to the system after 12 years.