Anda di halaman 1dari 11

Modul IoTs Berbasis ESP32 dan Relays

Disusun oleh:

Candra Firmansyah (1941220085)

PRODI D-IV TEKNIK OTOMOTIF ELEKTRONIK

TEKNIK MESIN

POLITEKNIK NEGERI MALANG

TAHUN AJARAN

2020/2021
Prinsip Kerja Rangkaian

Modul IoTs atau IoT (Internet of Things) adalah suatu pengembangan teknologi
yang mengatur atau menghubungkan perangkat dengan bantuan internet. Peralatan ini
juga sangat membantu dalam system pengontrolan baik dalam rumahan atau industri.
Secara sederhana sistem IoT, dapat digambarkan sebagai berikut:

- Ada Hardware seperti Aktuator, sensor, modul, dsb)

- Jaringan Internet

- Cloud data center (untuk menjalankan aplikasi sistem IoT)

Yang mengatur hal itu semua adalah suatu benda kecil bernama Modul ESP32. Modul
ini terhubung dengan berbagai komponen sebagai otak utamanya, untuk memprogram
benda tersebut diwajibkan menggunakan cukup aplikasi Arduino IDE untuk
memprogramnya.

Pada Project saat ini yang hanya dirakit hanyalah modul tersebut tetapi dengan
dimodifikasi.

Secara sederhana prinsip kerja dari modul tersebut sebagai berikut.

1. Sumber tegangan diambil dari battery Li-Ion, pada saat battery tersebut dalam
keadaan habis dapat langsung di carge menggunakan port yang tersedia.
2. Dari tegangan tersebut menyalakan modul utama
yaitu ESP32. Modul tersebut pun terhubung pada
wifi.

3. Pada saat mengoprasikan dari ponsel atau perangkat


yang tehubung dengan internet, sinyal dari perangkat
tersebut mengirimkan pada modul ESP32.
4. Modul ESP mengeluarkan perintah sesau apa yang
diminta, lalu masuklah ke dalam rangkaian tambahan
5. Sebelum menyalakan Relay arus terlebih dahulu
masuk ke LED sebagai tanda adanya aliran yang
masuk.
Lalu masuk ke optocoupler dan diteruskan ke Relay. Dan arus yang tertahan pada relay
pun diberikan tanda masuk. Dan menyalakan atau mengendalikan komponen yang
diminta.
1 2 3 4 5 6

VCC VCC
JP9 JD-VCC K2 JD-VCC K5
X5-1 X1-1

K5
K2
1 G5L G5L

O
O

1
SpiceOrder 2
1
SpiceOrder 2
2 VCC
P P
IN1 X1-2
A 3 OK5 T5
X5-2 OK1 T1 A

R9
R6

SpiceOrder 1

SpiceOrder 1
4 IN2 1 1 4

S
2

2
IN3 4 2N3904 X5-3 2N3904 X1-3
5 R8 R3
IN4
6 2 3 2 3
7 IN5 IN5 IN
IN6 LED5 LED1
8 PC817 5 PC817
IN7
9
GND
GND
VCC
VCC JD-VCC K1 X2-1

K1
K6 G5L

O
1
SpiceOrder 2
JD-VCC G5L P

K6
O
1
SpiceOrder 2
X6-1

SpiceOrder 1
OK2 X2-2

S
2
P T2

R1
SpiceOrder 1
R11
OK6 T6 1 4 2N3904 X2-3
1 4 2N3904 R2

X6-2

X6-3

S
2
U$1 2 3
B JD-VCC 2 3 R12 IN2 B
EN D23 IN6 LED2
VP D22 LED6 PC817
VN TX0 PC817
D34 RX0
D35 D21 GND GND
D32 D19
VCC

D33 D18 VCC


D25 D5 JD-VCC K3 X3-1

K3
JD-VCC K7 G5L

O
1
SpiceOrder 2
D26 TX2 X7-1

K7
G5L P

O
X3-2

1
SpiceOrder 2
D27 RX2 P OK3 T3

R4

SpiceOrder 1
D14 D4
R13

OK7 T7 X7-2 4 2N3904

S
2
1

SpiceOrder 1
D12 D2 X3-3

S
X7-3

2
D13 D15 1 4 2N3904 R5
2 3
GND GND GND GND R14 IN3
2 3
VIN 3V3 LED3
IN PC817
VCC POWER 7 LED7
ESP32_DEVKIT PC817
C C
U$2 GND
BATTERY-CHARGER-LI-5V GND
N$59
IN BAT+ K4 X4-1

K4
JD-VCC G5L

O
1
SpiceOrder 2
+
P
CRAA
+

OK4 X4-2
T4

R7

SpiceOrder 1
USB
G2

S
1 4 2N3904

2
INPUT X4-3
-

JP1 3 R10
IN BAT POWER 1 IN4
- - JD-VCC 2 2
GND VCC PC817
3
GND LED4
GND
D D

09_can_relay_8ch
08/12/2020 0:46
Sheet: 1/1
1 2 3 4 5 6
08/12/2020 14:59 D:\te\09_can_relay_8ch.sch (Sheet: 1/1)
08
/1
2/
20
20
14
:5
2
D:
\te
\0
9_
ca
n_
rel
ay
4c
h.

R8 R5 R3 R2 R14 R12 R10R4 R1 R13 R11

321

X7

X3

D22 VP G5L
1
X4 D23EN K5 3
D6
2

X1
3 K4 OK7 OK6
1
G5L
G5L K2
1 PC817 PC817
X2 3
D5
2 3 2 1 T7
2N3904 LED6 2
D4 X5
K1 LED5 LED4 LED3 LED2 LED1
U$2 G5L LED7
IN+ BAT+ G2 3

CRAA
USB X6
1
Lithium 3V
IN- BAT- JP1 CR-AA
JP9
G5L K6
BATTERY-CHARGER-LI-5V
1 2 3 4 5 6 7 8

A A

B B

C C

D D

E E

Dept.
Technical reference Created by Approved by

CANDRA 08/12/2020
Document type Document status

Title
DWG No.
F 09_can_ relay_8Ch F

Rev. Date of issue


7

1 2 3 4 5 6
Sheet

1/1
8
`Bill of Material of PEMF Prototype with 1 unit PEMF

No. components Quant price / unit price Description


1 LED 1206 7 Rp.200 Rp.1,400
optocoupler PC817 7 Rp.500 Rp.3,500
2
Resistor 0805 7 Rp.100 Rp.700
3
Resistor 1206 7 Rp.480 Rp.3,360
4
Transistor 2N3904 7 Rp.250 Rp.1,750
5
DIODE-DO214AC 7 Rp.300 Rp.2,100
6
Relay G5LE 7 Rp.4,500 Rp.31,500
7
Terminal screw 3 pin 7 Rp.900 Rp.6,300
8
Pin Head 1x10 1 Rp.2,750 Rp.2,750
9
Pin Head 1x3 1 Rp.1,700 Rp.1,700
10
11 Battery Lithium Ion 3V 1 Rp.90,000 Rp.90,000

Modul ESP 32 1 Rp.160,000 Rp.160,000


12
13 1 Rp.2,580 Rp.2,580
Battery Charger (TP4056)
Total Price for 1 unit Rp.307,640

Sub total material cost Rp.307,640

https://shopee.co.id/PC817-PC-817-PC817X3NSZ9F-DIP-4-Original-Sharp-
Microelectronics-i.28774460.5536636044?gclid=CjwKCAiAtK79BRAIEiwA4OskBgr2rR
https://www.tokopedia.com/tokoduino/smd-led-5-color-white-yellow-red-green-blue-1206-
3216-putih?src=topads
https://www.tokopedia.com/cncstorebandung/cnc-pin-header-male-strip-single-row-1x40-254mm-
black-hitam?src=topads
https://www.tokopedia.com/cncstorebandung/cnc-pin-header-male-strip-single-row-1x40-
254mm-black-hitam?src=topads
https://www.tokopedia.com/alef/resistor-1206-smd-560-ohm-1-watt-r
https://www.tokopedia.com/alef/resistor-1206-smd-1k-ohm-1-watt-r-1-kilo
https://shopee.co.id/Jual-ESP-32-WROOM-32-ESP32-WiFi-BLE-Development-Board-
dengan-Arduino-IDE--i.255450736.5235482999
https://shopee.co.id/Dioda-1n5400-3A-50V-2pcs-i.53645191.3113750180
https://www.tokopedia.com/central-electro/terminal-pcb-block-screw-3-pin-kf301-3p-blue-
biru?src=topads
https://shopee.co.id/RELAY-SONGLE-5V-10A-SRD-05VDC-SL-C-5-PIN-5P-G5L-G5LE-
i.62956347.3311235245
https://www.tokopedia.com/rekomendasi/282394697?ref=googleshopping&c=6503138358&
m=122554887&p=282394697&gclid=CjwKCAiAwrf-BRA9EiwAUWwKX
https://www.tokopedia.com/rekomendasi/262480199?ref=googleshopping&c=6503138358&m=125
662975&p=262480199&gclid=CjwKCAiAwrf-BRA9EiwAUWwKXo

Anda mungkin juga menyukai