Instructions
Table Of Contents
- Introduction
- Parts
- Using Alligator Clips
- Solar Board Reference
- Project 1 – Sun Finder
- Project 2 – Garden Light
- Project 3 – Self Charging Cooling Fan
- The BBC micro:bit
- Getting Code to Run on the micro:bit
- Project 4 – Adding an Energy Meter
- Project 5 – Energy Logger
- Connecting Up
- Code for the Energy Logger (MakeCode)
- How it works
- Connecting to Your PC
- Pairing Your micro:bit With MakeCode
- Showing the Device Console Graph
- Capturing Data From a Charge and Discharge Cycle
- Downloading Data
- Getting Data into a Spreadsheet Program
- Analysing the Data
- Graphing the Data
- Results
- Understanding the Data
- Understanding Duty Cycle
- How the Solar Store Works
- Project 6 – Intelligent Cooling Fan
- Troubleshooting
- About the Author
- Learning
- Monk Makes Kits
Understanding the Data
So, why is all this data important? Remember, the numbers you calculate here will
be unique to your environment and lighting conditions.
The duty cycle of a system, refers to how long you are charging for, and how long
you are discharging for. So a duty cycle of 50% spends half of its time charging,
and half of its time discharging.
When designing an energy harvesting system, you have to store enough energy in
the charge cycle, in order to power your equipment for long enough in the discharge
cycle. It is also important to balance the time it takes to charge, against the time it
takes to discharge. If it takes 4 hours to charge a system and you can then only use
the fan for 2 seconds, that is not a very well designed system.
Think back to the garden light project, as long as there are enough sunlight hours in
the day to store enough energy and the bulb is low power enough, the garden light
will light the garden path for the whole night time.
When designing a system, the designer can choose bigger solar panels, a bigger
energy store, or a more energy efficient piece of attached equipment that uses the
stored energy slower. They can also analyse the timing of the system so that there
is always enough time to charge the energy store sufficiently, to power the attached
equipment for long enough to be useful, before it can be recharged.
Understanding Duty Cycle
Duty Cycle is a term that describes what percentage of time is spent charging and
discharging, and it is important to design a system with the correct duty cycle, so
that it always works. If you don't store enough charge in your Solar Store, then your
Bulb or fan won't run for long enough. Below is a graph that shows the duty cycle of
two different systems:
In the left hand graph the duty cycle is 50%, which means it takes as much time to
charge as it does to discharge. In the right hand graph, the duty cycle is 25%, which
means it spends 3 quarters of its time charging, and a quarter of its time
discharging. Any energy harvesting system can be fine tuned into a well balanced
system by changing the rate of harvestable energy, the size of the store, how
energy efficient the attached device is, how long it is expected to be charging and
how long it is expected to be discharging.
Page 28