Using the BBC micro:bit to Create a Flood Warning System

Slides:



Advertisements
Similar presentations
Amplifying Signals Breadboarding: from a diagram to an actual working amplifier.
Advertisements

Electricity & Electronics
A-Team Home Central Control Unit Kevin Cooke Peter Larson Ben Verstegen Andreas Rugloski Aden Abdillahi.
» When you have completed this module you will know, what components do, what they physically look like and how they are represented in a circuit diagram.
Fair Use Building and Research Labs Presents
Copier Jam Detector Design Problem
“Power Supply” Controls Voltage Difference in Voltage is set Output Current is “as requested” by attached device.
Working with Arduino: Lesson #2: Variable, Photo, and Force Sensitive Resistors EGN1007.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
The Potential Divider Electricity Lesson 10. Learning Objectives To know what a potential divider is. To derive and know how to use the potential divider.
Physics and Electronics. Electronic systems Electronic systems are made up of 3 parts: 1)An INPUT SENSOR – these detect changes in the environment Examples:
Embedded Programming and Robotics
Electronics / Modelling in Livewire & PCB Wizard
1 Why have we chosen to use the serial port, when it is more complicated and offers fewer connections than the printer port? For a beginners’ course using.
Week 10 Today 1.Homework presentations and critique. 2.Review digital and analog inputs. 3.DIY - jumpers, soldering etc.
Topic 28: Direct Sensing 28.1 Sensing devices
1 Applied Control Systems Technology. 2 Pin configuration Applied Control Systems.
Rd 3 - Electronics 1.Ohm’s Law 2.Potential Divider 3.Resistor in Series and Parallel - Application of Ohm’s Law 4. Operational Amplifier (Comparator and.
HL Sample Question Applied Control Systems Underlying Principles.
The 3 parts of an electronic system are :
The Design Process Getting Output From Your System by Prof. Michalson.
Essmart Hackathon Peter Burkimsher and Sreechand Tavva.
Beath High School - Int 1 Physics1 Intermediate 1 Physics Electronics Glossary AND gate to device digital signals to inverter LDR to logic circuit logic.
Interactive Control in Engineering Projects Electronics and Control.
Electronic. Analog Vs. Digital Analog –Continuous –Can take on any values in a given range –Very susceptible to noise Digital –Discrete –Can only take.
Final Year Project(EPT4046) Development of an internet controlled Surveillance Mobile Robot By Mimi Madihah Bt Mohd Idris Id: BACHELOR OF ENGINEERING.
S3 INNOVATION ELECTRONICS. LESSON TITLE: ELECTRONICS Learning Intention: To understand when to use different types of logic gates Activity: Building own.
Potential Dividers and their application as sensors Electricity Lesson 9.
ELECTRONICS – Input Transducers Engineering Science – National 5.
Technical English Unit 45: Circuits and components Dr. Basil Hamed Technical English Islamic University of Gaza April, 2016.
IC 4017 Pin Configuration And Application
Scrolling LCD using Arduino.
AUTOMATIC TEMPERATURE CONTROLLED FAN USING 8051
Home automation using Arduino & ‘PIR sensor’
Lesson 1 – Getting to know your Microbit
Unit 45: Circuits and components Dr
Circuits and components Chapter 45
Automatic human detector garbage can.
Using the BBC micro:bit for Home Security
Unit 45: Circuits and components Dr
Personal Health Check BBC micro:bit Heart Rate Monitor
Basic Electronic Assembly and Test
Electronic Components
Arduino Development for Beginners
DIGITAL CALCULATOR USING 8051
Fair Use Building and Research Labs Presents
Potential Divider Aims What is a potential divider
‘SONAR’ using Arduino & ultrasonic distance sensor
AQA GCSE 6 Systems approach to designing Design and Technology 8552
Using the BBC micro:bit for Home Security
BBC micro:bit Robot Buggy
Counting the Score - BBC micro:bit Quiz Counter
Saving Lighting Energy with the BBC micro:bit
Saving Lighting Energy with the BBC micro:bit
Logic Gates Practical Objective: to develop an understanding of logic circuits and truth tables.
Applied Control Systems Underlying Principles
PLC Hardware Components.
Fair Use Building and Research Labs Presents
Copier Jam Detector Design Problem
Introduction to Wiring Logic Gates
Calculating the resistance of a bulb
Sensors and actuators Sensors Resistive sensors
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Stem Discovery Week at Kareas High School in Greece
Unit 45: Circuits and components Dr
Lesson 1 – using the LED lights
Electronic systems 7.
Passive Transducers Elliott.
Presentation transcript:

Using the BBC micro:bit to Create a Flood Warning System Using a Moisture Sensor and Programming

Design Brief Situation Flooding is becoming increasingly common in parts of the United Kingdom and causes a lot of damage to peoples’ homes. The sooner a potential flood can be detected, the more time homeowners have to prepare and to save their property. Brief Using the BBC micro:bit, create a working flood warning system for a homeowner. The system must be placed outside the home. It must be able to detect rising water levels and warn the homeowner that this is happening. Share this brief with the students and discuss as a class.

Systems Diagram INPUT PROCESS OUTPUT Moisture Sensor Processor Flashing LED Water level Flashing light A block or systems diagram shows a possible basic layout of the system. Can be used as an example of how the students may plan out their own system. A systems or block diagram shows the layout of the system to be created. The blocks represent the physical parts of the system and the arrows represent signals.

Design Criteria The proposed system must: Be programmable using the BBC micro:bit. Use a suitable input device, such as a moisture sensor, to detect the level of the water around the house. Use a suitable output device, such as a flashing LED, to warn the homeowner that water levels are rising to flood levels. This is the criteria for the programmable system. Additional criteria regarding the product as a whole are given in the extension activity.

Selecting a Suitable Input Sensor You will need to select a suitable input sensor to detect the level of the water. A simple moisture sensor can be created using strip board or a printed circuit board. Use PCB design software that is available to you to design your moisture sensor track layout. Teacher should provide a moisture sensor for students to use. These can be purchased at all good electronics stockists that supply to schools. Alternatively a simple, low cost option is to use a small piece of strip board (2 strips) with flying leads attached to each strip for the positive and ground connections. Another option is to use PCB development software to design a layout similar to that shown above. If there is access to PCB design software for students, they could develop their own moisture sensor circuit layout. Moisture Sensor Example PCB

Potential Divider Circuit Diagram Vs The moisture sensor is an analogue input device. A potential divider can be used to create a reference voltage for the BBC micro:bit to receive. A variable or fixed resistor can be used as shown. To moisture sensor Output voltage (to micro:bit) Variable or fixed resistor It is recommended that the moisture sensor is used in a potential divider to complete the input stage. This can be achieved by connecting/wiring a pull up or pull down resistor, or by developing a PCB layout for the input stage that includes the potential divider. If a variable resistor is used this allows the sensitivity of the sensor circuit to be altered. The sensor may still work if connected directly to the BBC micro:bit as an analogue sensor, but additional programming may be required. 0V Potential Divider Circuit Diagram

Time to Develop your Program! Your device must be now be programmed. Your program must meet the needs of the design brief and the design criteria. You can program your BBC micro:bit using either the Block Editor, Touch Develop or Code Kingdom. An example program written in each has been given to help get you started. Go to www.microbit.co.uk to begin!

Example Program – Block Editor Go to www.microbit.co.uk and search for script ID ‘tedzqxlmhg’. This program will turn on an output attached to pin 1 (such as an LED) when a high input signal is received on pin 0. Test it, download it and experiment with how it works! Share this example program with learners to help them. Lower ability learners or those lacking programming confidence could start by writing or experimenting with this program first. They could then adapt and develop it. A PDF handout showing the Block Editor, Touch Develop and Code Kingdom versions of the program is available and can be handed out to learners.

Example Program – Touch Develop Go to www.microbit.co.uk and search for script ID ‘ppcfxgnaip’. This program will turn on an output attached to pin 1 (such as an LED) when a high input signal is received on pin 0. Test it, download it and experiment with how it works! Share this example program with learners to help them. Lower ability learners or those lacking programming confidence could start by writing or experimenting with this program first. They could then adapt and develop it. A PDF handout showing the Block Editor, Touch Develop and Code Kingdom versions of the program is available and can be handed out to learners.

Example Program – Code Kingdom Go to www.microbit.co.uk and search for script ID ‘xvuvpbcjxr’. This program will turn on an output attached to pin 1 (such as an LED) when a high input signal is received on pin 0. Test it, download it and experiment with how it works! Share this example program with learners to help them. Lower ability learners or those lacking programming confidence could start by writing or experimenting with this program first. They could then adapt and develop it. A PDF handout showing the Block Editor, Touch Develop and Code Kingdom versions of the program is available and can be handed out to learners.