You are on page 1of 1

Start

S=1

Baca sensorPIR1(P1),PIR2(P2),Sensor
cahaya1(C1),sensor
Cahaya2(C2),Sensorcahaya3(C3)

N
Keterangan: P1==1? Lampu Off
C1=Sensor cahaya luar Y
C2= Sensor cahaya computer Lampu On
C3== Sensor Cahaya Lampu
CT=Jumlah cahaya
Baca sensor PIR
P1=Sensor PIR awal
(P2)
P2=Sensor PIR dekat Komputer
T= Timer N Stop Kontak komputer off,
S=Sistem P2==1?
Y Power AC/Kipas Off
Y
Stop Kontak komputer On,
Power AC/Kipas On

CT = 350 (C1+C2)

Y
C3<CT? Lampu ditingkatkan
cahaya lampunya
N
Y
C3>CT? Lampu diturunkan
cahaya lampunya
N
Y
P2==1?

N
Y
T<30 menit?

Power AC/Kipas &Lampu Off

Y
S1==1?
N
End

You might also like