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
PROJECT 4 – ADDING AN ENERGY METER
In this project you will build a device that shows an energy meter on the display of
the micro:bit, so that you know how much energy is available to power anything
attached to the output. In all your previous projects it has been really hard to decide
how much energy is stored, because it is hard to say accurately how bright the sun
is, or how bright your Bulb is.
This meter provides an accurate way to measure the stored energy in your Solar
Store and display a bar-chart on the micro:bit display. If your Solar Store is getting
low, you can turn off the fan to conserve energy, and when it gets hotter in your
room you can turn the fan on again to cool things down a bit.
Connecting Up
Page 14