Smart greenhouse with the BBC micro:bit Designing and programming a system that can keep conditions in a greenhouse ideal for growing food Stay safe Whether you are a scientist researching a new medicine or an engineer solving climate
"Smart greenhouse with the BBC micro:bit Designing" is the property of its rightful owner. Permission is granted to
download and print the materials on this website for personal, non-commercial use only, and to display it
on your personal computer provided you do not modify the materials and that you retain all copyright
notices contained in the materials. By downloading content from our website, you accept the terms of this
agreement.
Presentation Transcript
01
Smart greenhouse with the BBC micro:bit Designing and programming a system that can keep conditions in a greenhouse ideal for growing food<br>
02
Stay safe
Whether you are a scientist researching a new medicine or an engineer solving climate change, safety always comes first. An adult must always be around and supervising when doing this activity. You are responsible for:
ensuring that any equipment used for this activity is in good working condition
behaving sensibly and following any safety instructions so as not to hurt or injure yourself or others
Please note that in the absence of any negligence or other breach of duty by us, this activity is carried out at your own risk. It is important to take extra care at the stages marked with this symbol: ⚠<br>
03
Starter Look at the code
What do you think it does?
Run the code and see what it really does<br>
04
Design context Lots of the food that we eat is grown in greenhouses
It is important that the conditions are kept just right for the food to grow well
What conditions do you think food plants need to grow?<br>
05
Using the BBC micro:bit:
Design a programmable device that can keep the conditions good for growing food in a greenhouse
As part of this it must keep the temperature and soil moisture at the right level Design brief<br>
06
Your device must be able to:
Show the current temperature in the greenhouse, and moisture level in the soil
Open a window when it is too hot, and close it when it is not
It could also:
Turn on a system to water the plants if the soil gets too dry Design criteria<br>
07
Go to https://makecode.microbit.org
Click on ‘new project’
Write your code to meet the brief
Check it works on screen (simulate)
Download it to your micro:bit
Test your system to check it works Your tasks (route 1) ⚠<br>
08
Go to https://makecode.microbit.org
Drag the plant:bit HEX file into the project homepage to open it
Check it works on screen (simulate)
Download it to your micro:bit
Test your system to check it works Your tasks (route 2) ⚠<br>
09
How could you improve the system so that it also measures the light level in the greenhouse?
How could the system change the light level in the greenhouse if it is too bright or too dark? Extension<br>