micro:bit for primary schools – mb4ps.co.uk

Slides:



Advertisements
Similar presentations
1 Verbal, Telephone, and Policy Orders Verbal and Telephone Orders will immediately release to the service (pharmacy, lab, x-ray, etc.) –They do send a.
Advertisements

SECTION 11 LEVEL B SUIT OUT. SECTION 12 AIR MONITORING.
S A B D C T = 0 S gets message from above and sends messages to A, C and D S.
Programming – Touch Sensors Intro to Robotics. The Limit Switch When designing robotic arms there is always the chance the arm will move too far up or.
ADVANCED EV3 PROGRAMMING LESSON
TRIGGERS Triggers tell a script to start executing There are four types of triggers: When green flag is clicked When I am clicked When is pressed When.
Working in the Forms Developer Environment
micro:bit for primary schools – mb4ps.co.uk
micro:bit for primary schools – mb4ps.co.uk
Store Multiple Results?
micro:bit for primary schools – mb4ps.co.uk
@TeacherToolkit, license CC BY-NC-ND 3.0
@TeacherToolkit, license CC BY-NC-ND 3.0
Temperature Monitoring and Excursions
@TeacherToolkit, license CC BY-NC-ND 3.0
micro:bit for primary schools – mb4ps.co.uk
Home Automation System
Mindsensors PSP-Nx Controller Simon Game
Programming – Touch Sensors
GPS Smart Watch PT88 SOS System watch for elderly.
GPS Smart Watch PT88 SOS System watch for elderly.
GPS Smart Watch PT88 SOS System watch for elderly.
GPS Smart Watch PT88 SOS System watch for elderly.
Autonomous Refrigerator
Homework Check.
micro:bit for primary schools – mb4ps.co.uk
micro:bit for primary schools – mb4ps.co.uk
By Sanjay and Arvind Seshan
Traffic light programming challenges
BBC Microbit.
A technique for ordering numerical data
Logic Gates Practical Objective: to develop an understanding of logic circuits and truth tables.
BBC Microbit.
BBC Microbit.
BBC Microbit.
Controlling your quadcopter
micro:bit for primary schools – mb4ps.co.uk
micro:bit for primary schools – mb4ps.co.uk
BBC Microbit.
BBC Microbit.
BBC Microbit.
By Sanjay and Arvind Seshan
Pubic Safety Radio System Paging System Operation Overview
Temperature Review and Reporting
micro:bit for primary schools – mb4ps.co.uk
Getting Started with Physical Computing
Input-Output-Process Demo
Micro:bit Radio Makecode.
Front Row App Training:
Input-Output-Process Demo
Vectors and Matrices In MATLAB a vector can be defined as row vector or as a column vector. A vector of length n can be visualized as matrix of size 1xn.
BBC Microbit.
micro:bit for primary schools – mb4ps.co.uk
micro:bit for primary schools – mb4ps.co.uk
By Sanjay and Arvind Seshan
Public Safety Radio System
BBC Microbit.
How electronic systems work using the Systems approach.
Controlling your quadcopter
Ocean health monitor.
Anti-poaching collar.
Tree protector.
Ocean health monitor.
Ocean health monitor.
Ocean health monitor.
Tree protector.
Ocean health monitor.
Ocean health monitor.
Oil Spill Cleaner-upper
Tree protector.
Presentation transcript:

micro:bit for primary schools – mb4ps.co.uk Independent project – PXT Editor update Temperature Monitor Written by Neil Rickus. Licensed under CC BY-NC-SA 4.0

Objectives Develop a micro:bit based remote temperature monitor

Problem NASA’s Earth observing system requires some new, cost effective, sensors to be built - eospso.nasa.gov The team wishes to monitor the temperature at the north pole, but it is too cold for people to stay outside all the time

Problem

Problem NASA has heard about the micro:bit’s temperature sensor, but, due to the extreme conditions, they are unable to regularly visit a device to see what the temperature is The team were wondering whether the micro:bit radio could be used to view the temperature on a different micro:bit device (i.e. one micro:bit outside as the temperature sensor, with another micro:bit inside to view the outside temperature) What features should the temperature sensor have? Which features are essential? Which features are desirable?

Features Essential: Desirable: Show the current temperature on a different micro:bit Desirable: Only show the temperature when a button is pressed Show if the temperature has increased / decreased / stayed the same (since last checked) Show previous temperature(s) Show the number of seconds since the temperature was last checked Show the lowest / highest temperature recorded Show the mean (average) temperature recorded Show emergency messages / play sounds when the temperature goes above / below a certain temperature

Implementation For the essential feature, discuss how you might implement them Focus on the functionality, rather than the specific blocks you’ll need Start with the outside micro:bit, then think about the inside micro:bit Use a whiteboard and pen if you need it Essential feature: Show the current temperature on a different micro:bit

Sending data We need a set the radio group ID before we send any data We then need to regularly send the temperature, which is a numerical value

Sending data We need a set the radio group ID before we send any data We then need to regularly send the temperature, which is a numerical value

Receiving data We need to set the radio group ID to the same as the micro:bit sending data Once the temperature data is received, we need to display this numerical value

Receiving data We need to set the radio group ID to the same as the micro:bit sending data Once the temperature data is received, we need to display this numerical value

Desirable features Desirable: Only show the temperature when a button is pressed How could you use an if, then block to check if a button was pressed?

Desirable features Desirable: Only show the temperature when a button is pressed How could you use an if, then block to check if a button was pressed?

Desirable features Desirable: Show if the temperature has increased / decreased / stayed the same (since last checked) Show previous temperature(s) We need to store the last temperature in a variable, then check if it is different to the temperature received

Desirable features Desirable: Show if the temperature has increased / decreased / stayed the same (since last checked) Show previous temperature(s) We need to store the last temperature in a variable, then check if it is different to the temperature received

Desirable Features Desirable: Only show the temperature when a button is pressed Show if the temperature has increased / decreased / stayed the same (since last checked) Show previous temperature(s) Show the number of seconds since the temperature was last checked Show the lowest / highest temperature recorded Show the mean (average) temperature recorded Show emergency messages / play sounds when the temperature goes above / below a certain temperature