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
Capturing Data From a Charge and Discharge Cycle
In order to work out the key parameters of your system, you need to do a complete
charge and discharge cycle.
1. Charge your system up completely by arranging for the Solar Panel to be near a
bright light or in sunlight. As the system charges up you will see the graph line in
MakeCode increasing and the number at the top right of the graph will get bigger
and bigger before it stops. On our system, the charging stopped at about 800.
2. Now discharge the system totally by pressing button B which turns the fan on,
and you will see the graph line slowly decreasing and the number at the bottom
right of the graph reducing. On our system, the fan stopped at about 218, but it
might vary slightly on your system.
3. Because there might have already been some stored charge in your system
when you did step 1, re-do step 1 again to fully charge the system, so you get a
really accurate set of readings.
You now have a complete data log containing the biggest and smallest stored
charge readings (Top of Charge – TOC, and Bottom of Charge – BOC), how long it
takes to charge up from your light source, and how long it takes to use all that
energy by running the fan.
Downloading Data
To download the data file, first pause the capture so no more new data comes in, by
pressing the red button at the top. Then press the little document icon at the far
right of the graph to download the data into your normal downloads folder.
Page 25