Grade Date:
ICT Study / Work Sheet
8 Nov.2021
Block (2) Week (2) Unit/Lesson/Topic Data Logging
………………………………………………………………………………………………………………………………..………………….
Learning Outcome:
Objective: …………………………………………………………………………………………………………………………………………………..
Data Logging
Page 1 of 13 Nile Egyptian Schools - مدارس النيل المصرية
Grade Date:
ICT Study / Work Sheet
8 Nov.2021
Block (2) Week (2) Unit/Lesson/Topic Data Logging
What is data logging?
- The process of using computers to collect physical variables through sensors over a period
of time.
- Data logging is a process performed by a person or embedded computer1 in which it stores
data from internal or external measuring instruments (on user demand, when triggered by
an input level or external switch, or at specific intervals of time or space); and uses sensor
data to perform event counting, interval timing or frequency measurement.
What is data logger?
- A data logger (also datalogger or data recorder) is an electronic device that records
(gather) data over time either with a built in sensor or via external sensors. They are
based on a digital processor (or computer)
What are data loggers made of? [Anatomy] of a data logger
1. The sensor may be housed inside the data logger’s case, or they may be attached to the
logger’s sensor ports via a cable.
2. a cable port through which data can be transmitted to the user.
3. LCD screens that provide operating information, while others have simple light
indicators.
1
An Embedded Computer is a microcontroller or microprocessor based system devised for specific function. ... Embedded Computer
may be a part of large system but it relies on its own processor. Cell phones, cameras, automotive systems etc. are some of the
common examples of embedded computers.
Page 2 of 13 Nile Egyptian Schools - مدارس النيل المصرية
Grade Date:
ICT Study / Work Sheet
8 Nov.2021
Block (2) Week (2) Unit/Lesson/Topic Data Logging
Data acquisition= data logging
What does data logger used for?
- Collect (gather or obtain) data over a period time (data logging)
Types of Data Loggers:
1. wireless data loggers : Bluetooth ,wifi.
2. Web based data logging system.
3. Stand-alone data loggers.
- Analog to digital converter (ADC) = interface box:
A device that convert analog data to digits so a computer can
understand.
Interface: a group of menus and buttons in applications that allow
users to interact with computer.
Analog data is data that is represented in a physical way.
Digital data is a set of individual symbols.
Page 3 of 13 Nile Egyptian Schools - مدارس النيل المصرية
Grade Date:
ICT Study / Work Sheet
8 Nov.2021
Block (2) Week (2) Unit/Lesson/Topic Data Logging
What is logging interval?
- Time between two readings .
What is logging period?
- Time to finish all readings (total of intervals)
What is logging rate?
- Number of readings per one interval
Page 4 of 13 Nile Egyptian Schools - مدارس النيل المصرية
Grade Date:
ICT Study / Work Sheet
8 Nov.2021
Block (2) Week (2) Unit/Lesson/Topic Data Logging
What does an interactive program usually mean?
- A program to which the user can input data, as well as receive output from .
What would interaction mean in the case of a data
logging program?
- Interaction in programming means there is output while the program is running that
depends on the input received.
What sort of interaction could a data logging program
provide?
1- Sound an alarm, if the value from a sensor becomes dangerously high.
2- Turn off a heater, if the temperature rises above a limit.
3- Turn on a fire sprinkler, if smoke is detected.
4- Control output to an actuator to operate machinery
What are the uses of data Logging?
Data loggers can monitor temperature, humidity, carbon dioxide, pH, pressure, voltage, current,
and pulse – making them useful for a number of applications, including to:
1. Verify temperature and humidity levels of storage and transportation facilities.
2. Provide building maintenance information on heating, ventilation, and air conditioning
operations to assist with energy conservation.
3. Monitor growing conditions in the agricultural industry.
4. Monitor vaccine storage in a medical facility.
5. Monitor the temperature of food.
Page 5 of 13 Nile Egyptian Schools - مدارس النيل المصرية
Grade Date:
ICT Study / Work Sheet
8 Nov.2021
Block (2) Week (2) Unit/Lesson/Topic Data Logging
An example of data-logging:
The following describes an experiment to determine the rate at which water
cools downs from boiling point.
You can see the following:
1. A temperature sensor is placed in the liquid.
2. The sensor is connected to an interface box linked to a computer. [why?]
3. The data logging software is set to take readings every 30 seconds [time
interval] for 25 minutes [logging period]
- The data logging software will typically store the readings in a table. The
data can later be analyzed using graph tools.
- A graph which could be used in this experiment is
a cooling curve graph. This graph would have time
running along the X axis and temperature along
the Y axis. A curve would be drawn to represent
the rate in which the water cooled.
Page 6 of 13 Nile Egyptian Schools - مدارس النيل المصرية
Grade Date:
ICT Study / Work Sheet
8 Nov.2021
Block (2) Week (2) Unit/Lesson/Topic Data Logging
What is a variable?
- A symbol or a name in the computer’s memory that stores values can be
changed
Ex: Score, timer, x, y, Age
What is a constant?
- A symbol or a name in the computer’s memory that stores values cannot be
changed.
Ex: pi = 3.14
What is the difference between a constant and a variable in
programming?
- A constant is given a value only once when creating the program, so it remains
unchanged while the program is running (such as Pi or the square root of 2). A
variable that can change while the program is running (such as score or
timer).
What can we use a variable for in our data logging
programs?
- Allows the user to enter settings for the number of measurements and the
interval when the program starts to run.
Page 7 of 13 Nile Egyptian Schools - مدارس النيل المصرية
Grade Date:
ICT Study / Work Sheet
8 Nov.2021
Block (2) Week (2) Unit/Lesson/Topic Data Logging
Examples for data loggers:
- Sensors
- Picoboard ( shown in the figure below)
Types of Sensors:
1- Temperature sensor: it measures the changes in the
temperature.
2- Ultrasonic sensor: measure distance as well as velocity of an
object.
3- Light sensor: measure the intensity of Light.
4- Sound sensor: detect the sound
5- Smoke and Gas Sensors: detect different gases and detect
any smoke (due to fire) and sound an alarm.
6- Touch sensor: detect touch of a finger or a stylus.
7- Humidity sensor: measure the ratio of water content in air.
Unit to measure Temperature = centigrade, °C,
Unit to measure sound = decibels
Unit to measure Light data = lux
Page 8 of 13 Nile Egyptian Schools - مدارس النيل المصرية
Grade Date:
ICT Study / Work Sheet
8 Nov.2021
Block (2) Week (2) Unit/Lesson/Topic Data Logging
What is the Pico Board?
- The PicoBoard is a piece of hardware called a sensor board that can
be combined with Scratch programming environment to allow your
Scratch programs to react (and even respond) to events happening
outside of the computer.
- The PicoBoard has several sensors that can be used directly with
the Scratch programming environment.
1- Slider: Changes values from 0 to 100 based on the position of the slider.
2- Light Sensor: Changes values from 0 to 100 based on the amount of light on this
sensor.
3- Button: The position or state of the button controls the button pressed value (true
or false).
4- Sound Sensor: Changes values from 0 to 100 based on the amount of sound it
detects.
Page 9 of 13 Nile Egyptian Schools - مدارس النيل المصرية
Grade Date:
ICT Study / Work Sheet
8 Nov.2021
Block (2) Week (2) Unit/Lesson/Topic Data Logging
5- Auxiliary Connections (A,B,C,& D): Alligator Clips: These are generic connections
to any resistive sensor. As the resistance changes, so does the input value. This
sensor can also be setup as a digital detector to detect whether the alligator clips
are connected.
- Example:
Traditionally, a motor is an output device, but when
connected to the PicoBoard, you can use the motor as
a generator. Spin the motor and see what happens to
your input values. Simply connect the two wires of the
motor to the two alligator clips.
What are programming tools that allows programming a data
logger device?
- NXT programming.
- Scratch.
Language structures of programming:
1- Sequencing of instructions
2- branching/ selection statement:
a. if <condition> [then] else ……..
3- Repetition:
a. Repeat <sequence of one or more statement>
until <condition>
Page 10 of 13 Nile Egyptian Schools - مدارس النيل المصرية
Grade Date:
ICT Study / Work Sheet
8 Nov.2021
Block (2) Week (2) Unit/Lesson/Topic Data Logging
Flowchart:
It is a Diagram that illustrate the sequence of operations to be
performed to get a solutions for a problem.
Symbols used in flow charts are connected together to show what
happens to data and where it goes.
How to draw a flowchart?
First, you have to learn about the basic flowchart shapes:
Page 11 of 13 Nile Egyptian Schools - مدارس النيل المصرية
Grade Date:
ICT Study / Work Sheet
8 Nov.2021
Block (2) Week (2) Unit/Lesson/Topic Data Logging
Examples:
Page 12 of 13 Nile Egyptian Schools - مدارس النيل المصرية
Grade Date:
ICT Study / Work Sheet
8 Nov.2021
Block (2) Week (2) Unit/Lesson/Topic Data Logging
Page 13 of 13 Nile Egyptian Schools - مدارس النيل المصرية