Professional Documents
Culture Documents
Analyze Existing Products
Analyze Existing Products
Name the sensor and Name the actuator(s) and Name the decisions taken.
explain its function. explain its function
The sensors are the pins, Some of the decisions are: Some of the decisions
and their function is that Stopping melody all depend if in the leds are
they are read digitally, which Starting melody jump down turned off at the start or
causes them to play repeating forever either if a melody is played
melodies. Pausing for 2000 or not.
milliseconds.
The program will read the The way the program works Depending on the pin read,
pins, and then play a is that it will play certain the speaker will begin to
melody. melodies when a specific play a melody.
pin is read by the microbit.
Name the sensor and Name the decisions taken Name the actuator (s) and
explain its function. describe their function
Some of the input devices Some of the decisions are The output is the moisture,
are buttons and their related to pauses depending which we can see since the
function is setting the on reading of pins, and also moisture is changed when
moisture. graphs that map the the input (button) is pressed.
moisture can be set.
The way the program works The way the program works The moisture changes
is that when a button is is that when a certain pin is whenever the button is
pressed, the moisture is set. read, a pause of 3000 pressed.
milliseconds can be made,
and also depending on the
pins is a graph that maps
the moisture up to 25.
Name the sensor and Name the actuator and Name the decisions taken.
explain its functions explain its function
The sensor is the pins, The actuator is the speaker, The decisions are
which we can see as they and it plays a certain melody depending on which pin is
digitally read the depending on the input read.
information. received.
The way the program works The way it works is that The way the program works
is that the pins receive an depending on the input, the is that the processor has to
order and play a specific speaker plays a different do something depending on
thing depending on the tune. the pin read.
order.