Page 93 - Robo_Genius_V1.0_flipbook_C5
P. 93
left arrow blinks. This gives them hands-on experience with how sensors detect
movement and how these movements are converted into programmed actions.
you will observe how quickly and accurately
the micro:bit responds to changes in direction
and how the LED display adapts.
Application
Fitness Trackers: These devices use
accelerometers to track movements, such as
steps, running, or other physical activities,
helping users monitor their health.
Building a Touch Sensor
Micro:bit has various sensors; Touch Touch Sensor
sensor is one of them that help us to
make innovative projects. This project
will light up the LED display with a
heart icon pressed, but only as long
as you hold your finger on the logo
on the front of new micro:bit. By this
project we can make an automatic
light system.
A touch sensor primarily works when
an object or individual gets in physical
contact with it. Touch sensors are also called as tactile sensors and are sensitive
to touch, force or pressure. It can be implemented using Capacitive or Resistive
sensing technology.
• The gold logo is a touch sensor that works a bit like a touch screen on a mobile
phone, measuring tiny changes in electricity. This is also called a capacitive
touch sensor, because it uses measurements of electrical capacitance to
work.
• The ‘on logo touched’ block is triggered when you first touch the logo.
• The ‘on logo released’ block senses when you let go of the logo and the
program clears the display.
Programming with Micro:bit-Based Programming 91

