digilib.uinsby.ac.id digilib.uinsby.ac.id digilib.uinsby.ac.id digilib.uinsby.ac.id digilib.uinsby.ac.id digilib.uinsby.ac.id digilib.uinsby.ac.id
34
in accordance with the user input, in these conditions the system is in manual mode. If
the user presses the button lamp on the out- put generated light is on and when the user
presses the button lamp off then the light will die. Furthermore, to turn on the fan, the user
must press the fan on and vice versa to turn off the fan by pressing the fan off button.
Fig. 5 Manual System Flowchart
3.3 IoT Control System Flowchart
The working principle of the IoT Control system is utilizing the data input provided by
an Android device or the web service through the Internet to control any electric device. A
system built to control the relay at a time chart which is able to be updated whenever
there are changes in the data that goes into
the processing unit. Here is the lowchart of IoT control system on Fig. 6.
Fig. 6 IoT Control System Flowchart
4. Result 4.1 Delphi Application Performance
The temperature input are read by the sensors will make the lights and the fan
changed conditions. If the value N is read ≤ 30, then the light turns on automatically.
Conversely, if N ≥ 31, then the light turns off automatically and the indicator lamp will die.
Further to the fan output, if N ≥ 33 then the fan will be activated and the indicator is light
up. Fans will die if N ≤ 31 Fig.7. Tempera- ture and humidity are displayed in degrees
Celsius ° C and the percentage of moisture Humidity RH. The data is also repre-
sented on a graph for each sensor data and the data sensors will appear also on the block
Database Sensor in the form of a table. The data base is stored on Ms. Access Fig. 8.
Fig. 7 Indicator on delphi Fig. 8 Database Interface
4.2 Thingspeak Performance
Programs that have been uploaded to the microcontroller will work transmit sen-
sor data to thingspeak channel within a cer- tain time. Programs that have been uploaded
into the microcontroller has a time span of 15 seconds to transmit data to the latest sensor
readings Thingspeak Channel. Excess which is owned by Thingspeak.com is the result of
sensor readings can be known by another user if the feature “public” is enabled. The
channel that was created previously been equipped with the “public”, enabling the user
other than the administrator aware of the re- sults of sensor readings. Here is a link that
can be opened by other users https:thing- speak.comchannels37813. The link is au-
tomatically get when users provide features “enable public” on thingspeak channel.