Stap 1: Voorbereiden
Wat is het?
Gebruik je BBC micro:bit om te bepalen waar een zonnepaneel geplaatst kan worden door het licht aan verschillende kanten van een gebouw te meten.
This project is developed in partnership with White Rose Science for science teachers and allows students to use a data logger, report and present findings from enquiries, and learn more about renewable energy sources. Leerlingen kunnen ook werken met variabelen, verschillende vormen van input en output in een computerprogramma.
Deze video legt uit hoe je het experiment moet doen.
Zo werkt het
- You will need four micro:bits, each with the sunlight data logger hex file on.
- Each micro:bit is attached to a battery pack and put into a sealed plastic bag.
- One bag is attached to the north, south, east, and west sides of a building, or as many sides as you can access.
- You log information about light levels on all four micro:bits for 24 hours.
- Download en vergelijk de gegevens om de beste plaatsing voor een zonnepaneel te ontdekken.
Benodigdheden
- micro:bits
- clear plastic bags
- Batterijpakketten met nieuwe batterijen erin
- tekenreeks
- een computer/laptop/tablet en een USB-kabel om de gegevens te bekijken
Stap 2: Onderzoek
- Download the sunlight data logger hex file and put it on your micro:bits. Je hoeft de code voor dit project zelf niet te schrijven om het experiment te doen. Als je geïnteresseerd bent in coderen, bezoek dan de stap 4: Codeer het gedeelte hieronder.
- Attach your battery packs and put each micro:bit into a sealed plastic bag to prevent them from getting wet.
- Mark each plastic bag so you can identify its location when analysing the data.
- Fix your bags to the sides of your building, ensuring there is nothing casting a shadow over the bags.
- Press button A on each micro:bit to start data logging. When you start logging, a tick appears on the micro:bit’s LED display for two seconds. Following that, one LED lights up in the top-left corner of the display to show you that the micro:bit is in logging mode. A heart also appears on the display once per hour when data is being logged.
- Return after 24 hours and press button B on each micro:bit to stop logging. A cross appears on each micro:bit’s LED display.
Tips
- To be more accurate, angle each micro:bit at 45 degrees from a wall, using a small stone as a weight to keep it in place.
- If you need to conduct the experiment again, delete the data by pressing buttons A and B together. A skull will appear on the LED display. Press the reset button on the back of the micro:bit to set the time back to 0.
Stap 3: Analyseren
To look at the data logged, disconnect the battery pack and plug the micro:bit into a computer. De micro:bit verschijnt als een USB schijf genaamd MICROBIT. Kijk in het MICROBIT station en open het MIJN_DATA bestand om een tabel met je gegevens in een webbrowser te zien:

- The time stamps in the log represent the amount of time that has passed since data logging began.
- Click on Visual preview to see a graph of your data:

You can click on Copy and then paste your data into a spreadsheet. If you collect all your data into one spreadsheet, it is easier to compare information from the different sides of the building.
Step 4: Codeer het
Bekijk deze video om te zien hoe je het project kunt coderen:
Als je geïnteresseerd bent in het wijzigen van de code voor dit project, klik dan op de knoppen hieronder:
This content is published under a Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) licence.