TXT
Smart Home
ROBOTICS
24
Robotics Sensor Station IoT
Frost Monitor
For acoustic signals use the loudspeaker integrated into the TXT-
Controller.
Loudspeakers convert an electrical input signal into mechanical
oscillation of the loudspeaker diaphragm. These oscillations are
perceived as sound. A loudspeaker consists of a housing, a permanent
magnet and a moving diaphragm.
Project 1
Create a program that continuously measures the ambient
temperature. The red lamp should come on, when the value
drops to below 3 °C. The alarm should sound once.
You can use the command “Sound” to generate an alarm tone. You can
select various tones or songs in a context menu.
ROBO Pro Help 8.1.12
.
To evaluate the temperature use BME680_Get output “T”. Connect this
to a variable command for testing. When the program is started, the
current temperature is displayed.
To switch on the sound you need a green walk signal followed by a
command “Wait For ...” from the “Branch, Wait ...” program element
block.
ROBO Pro Help 8.6.5
. Then dock the sound command and insert
a loop at the beginning of the program.
Insert the element “Constant” at “Input B” Set the constant value to “4”
in the context menu, to give an alarm when the temperature drops to
below 3 °C.
After completing the program, you can test it
and save it on your computer.
Finished Program: Wellness_sensor_1.rpp
Circuit symbol
Sound