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.
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
35 I S M O S A T, Proceeding International Symposium For Modern School Development, ....
Fig. 9 Thingspeak Channel Performance
4.3 IoT Control System
The work principle of IoT control system is that use the network as an intermediary for
the data that is sent through the server thing- speak channel. In this research, the data sent
from the microcontroller to thingspeak chan- nel will trigger commands that allow thing-
speak channel to communicate with another device. For example relay module. When
thingspeak channel gets the data value is 1 then thingspeak channel will trigger the mi-
crocontroller to power on the relay, but if it is 0 then thingspeak channel will trigger the
microcontroller to turn off the relay Fig. 10
Fig. 10 IoT Control System on Thingspeak Channel
4.4 Overall Result
The overall result of this research will appear on Table 1 below.
Table 1 Result of Delphi-IoT System
No Parameter Result
1 Thermal N ≤ 30
Lamp On 2
Thermal N ≥ 31 Lamp Off
3 Thermal N ≥ 33
Fan On 4
Thermal N ≤ 31 Fan Off
5 Delphi Button Lamp
ON Local Service Lamp On
6 Delphi Button Lamp
Off Local Service Lamp off
7 Delphi Button Fan ON
Local Service Fan On
8 Delphi Button Fan Off
Local Service Fan off
9 Datalogging Sensor on
Local Service Stored on Delphi,
Access 10
Datalogging Sensor on Interlocal Service
Stored on Thingspeak
Channel 11
Control Electric Devices Interlocal Service
Thingspeak Channel
5 Conclusion
This research has several outcome such as monitoring sensor, datalogging sensor and
controlling electric devices. This research can run on two mode, interlocal service and local
service. Interlocal service using TCP Connec- tion for data communication, while local ser-
vice using USART communication. Interlocal service utilize thingspeak channel for data
processing through internet, while local ser- vice using Delphi application to process hu-
man interaction process. This application has classic problem which still relies on internet
connection.
References
Waizly, D. 2011. Survey MarkPlus Insight: Pengguna Internet di Indonesia 55 Juta,
Mobile Internet 19 Juta. Online http:the-marketeers.comarchives
survey-markplus-insight-majalah- marketeers
pengguna-internet-di- indonesia-55-juta-pengguna-mobile-
internet-29-juta.html. Diakses tanggal 27-9-2105.
Asosiasi Penyelenggara
Jasa Internet
Indonesia. 2015. Jumlah Pengguna Internet di Indonesia. Jakarta: APJSII,
Wigimore. 2014. Internet of Things IoT. Tech Target Magazine
Liu Zhiyan, Xi Bao, Wang Xin, Wang Lvtian, “A service-oriented structure model
of internet of things”, JCIT: Journal of Convergence Information Technology,