Prak 2 - Sistem Otomasi

Anda mungkin juga menyukai

Anda di halaman 1dari 69

SISTEM

OTOMASI
Laboratorium Workshop
Table of Contents

Pendahuluan Arduino
Perkenalan dan Kontrak Penjelasan tentang apa
Praktikum itu Arduino

Sistem Otomasi Penutup


Penjelasan terkait sistem Tanya jawab dan selesai
otomasi
01
Pendahuluan

Kontrak Praktikum
Aturan Praktikum
Berikut adalah aturan praktikum Sistem Otomasi dan IoT:
● Mahasiswa hadir dan masuk video conference room yang telah dibuat asisten
praktikum 15 menit sebelum praktikum mulai.
● Wajib mengenakan pakaian rapi dan sopan.
● Kehadiran mahasiswa di praktikum wajib 100%.
● Mahasiswa tidak dapat mengikuti kelas pengganti lebih dari 3 kali.
● Sebelum mengikuti kelas praktikum lain untuk ganti absen praktikum,
mahasiswa diwajibkan menghubungi asisten praktikum kelasnya dan asisten
praktikum kelas penggantinya.
● Dilarang meninggalkan video conference room ketika pelaksanaan praktikum
sedang berlangsung.
Seluruh aturan ini wajib ditaati oleh mahasiswa yang mengikuti praktikum di kelas ini
Persentase Nilai
Absen
5%
15%
Tugas

20%
Quis
60%
Tugas Akhir
02
Sistem
Otomasi
Otomasi
Otomasi adalah teknologi
berkaitan dengan penerapan
mekanik, sistem elektronik, dan
berbasis komputer untuk
mengoperasikan dan
mengendalikan suatu alat atau
mesin secara otomatis.
03
Arduino

Pengenalan Arduino
Sebuah papan “pintar” atau mikrokontroler
yang dapat melakukan komputasi layaknya
prosesor pada komputer

A r d u in o
Ardunio Uno

Bentuk dari
mikrokontroler
Arduino Uno
Pin Mapping Arduino Uno
Pin Description
Pin Description
Spesifikasi Arduino Uno
Arduino Terda
pat
protok 3
komu ol
Communication nikasi
p
Arduin ada
o
UART
(Universal Asychronous
Receiver/Transmitter)

Komunikasi
menggunakan UART
sangat sederhana, hanya
menggunakan 2 pin saja,
yaitu RX dan TX.
https://www.deviceplus.com/arduino/arduino-communication-protoc
ols-tutorial/
UART
(Universal Asychronous
Receiver/Transmitter)
Cara kerjanya adalah TX
berfungsi sebagai pengirim
data dan RX sebagai penerima
data.
Komunikasi RX/TX ini hanya
bisa dilakukan secara
bergantian, tidak bisa dilakukan
secara bersamaan.
https://www.deviceplus.com/arduino/arduino-communication-protoc
ols-tutorial/
SPI
(Serial Peripheral Interface)
Komunikasi SPI ini berbeda dengan
UART, komunikasi ini bisa melakukan
transfer data secara bersamaan.
Berikut adalah tiga perbedaan dari
SPI dengan UART:

● Synchronous
● Terdapat Master dan Slave
● Bisa dilakukan secara
bersamaan
https://www.deviceplus.com/arduino/arduino-communication-protoc
ols-tutorial/
SPI
(Serial Peripheral Interface)
● MOSI (“Master Out Slave In”):
Data dari master ke slave
● SCK (“Clock”): Saat ini
mengaktifkan master dan sampel
slave bit berikutnya
● SS (“Slave Select”):
memberitahukan slave tertentu
untuk “aktif”
● MISO (“Master In Slave Out”):
Data dari slave ke master

https://www.deviceplus.com/arduino/arduino-communication-protoc
ols-tutorial/
I2C
(Inter-integrated circuit)

Komunikasi I2C merujuk pada


protokol komunikasi serial
sinkron dengan menggunakan
SDA (Serial Data) dan SCL
(Serial Clock).

https://www.deviceplus.com/arduino/arduino-communication-protoc
ols-tutorial/
I2C
(Inter-integrated circuit)

Pin mapping SDA dan SCL


pada Arduino uno terdapat
pada Analog Pin 4 (A4)
dan SCL pada Analog Pin
5 (A5).

https://www.deviceplus.com/arduino/arduino-communication-protoc
ols-tutorial/
Arduino Penje
Aplika lasan
Aplikasi si Ard
uino
Aplikasi Arduino
Void setup()
Dijalankan pada saat sketch atau program
Arduino mulai. Fungsi ini digunakan untuk
menginisiasi variabel, mendeklarasikan pin
yang digunakan, menggunakan library, dll.

Void loop()
Bertujuan untuk mengeksekusi dan menjalankan
Aplikasi Arduino bisa di download pada: program yang sudah dibuat.
https://www.arduino.cc/en/Main/Software Perbedaan antara void setup dan void loop
adalah void setup hanya dijalakan sekali saja
sedangkan void loop dijalankan berulang.
Aplikasi Arduino
verify
Fungsi ini sebagai compiler program, untuk
mengetahui apakah program yang dibuat
sudah benar atau salah.

Upload
Fungsi ini untuk upload program ke board
Aplikasi Arduino bisa di download pada: Arduino.
https://www.arduino.cc/en/Main/Software
Mari Kita
Ngoding
Source Code - Running LED
Source Code - Running LED
Source Code - Running LED
Rangkain Running LED
Thanks!
Do you have any questions?

CREDITS: This presentation template was created by


Slidesgo, including icons by Flaticon, and infographics &
images by Freepik.
Maybe You Need to
Divide the Content

Mercury Venus

Mercury is the closest planet to Venus has a beautiful name, is


the Sun and the smallest one in the second planet from the Sun
the Solar System—it’s only a bit and its atmosphere is extremely
larger than the Moon poisonous
You Could Use
Jupiter
Three Columns,
It’s the biggest planet in
Why Not? the Solar System and
the fourth-brightest
object in the sky

Mars Saturn
Mars is a cold place. It’s Yes, this is the ringed
full of iron oxide dust, one. It’s a gas giant,
which gives the planet composed mostly of
its reddish cast hydrogen and helium
A Picture Always
Reinforces the
Concept
Images reveal large
amounts of data, so
remember: use an
image instead of
long texts
A PICTURE IS
WORTH A
THOUSAND
WORDS
You Could Use Four
Columns

Mercury Venus
Mercury is the closest Venus has a beautiful
planet to the Sun name, but it’s hot

Mars Saturn
Despite being red, Mars Saturn is the ringed one
is a cold place and a gas giant
How About the Percentages?

30% 15%
Mercury is the Despite being
closest planet to red, Mars is a
the Sun cold place

22% 45%
Saturn is the Venus has a
ringed one and a beautiful name,
gas giant but it’s hot
This Is a Graph
Mars
Despite being
red, Mars is a
cold place

Venus Saturn
Venus has a Saturn is the
beautiful name, ringed one and a
but it’s hot gas giant
To modify this graph, click on it, follow the link,
change the data and paste the new graph here
Reviewing Concepts Is Usually a Good Idea

Mercury Venus Mars


Mercury is the closest Venus has a beautiful Despite being red, Mars
planet to the Sun name, but it’s hot is a cold place

Jupiter Saturn Neptune


It’s the biggest planet in Saturn is the ringed one Neptune is the farthest
the Solar System and a gas giant planet from the Sun
Infographics Make Your Idea
Understandable…
2018
A
Jupiter
2016
2017
Mercury
Venus

2019
Saturn
… And Tables Do the Same!

Mass Diameter Surface Gravity


(Earths) (Earths) (Earths)

Mercury 0.06 0.38 0.38

Mars 0.11 0.53 0.38

Saturn 95.2 9.4 1.16


This Is a Map

Venus
Venus has a
beautiful name, but
it’s terribly hot
A Timeline Always Works Well

Mercury is the Venus has a Despite being


closest planet to beautiful name, red, Mars is a
the Sun but it’s hot cold place
2017 2019

2016 2018 2020


Jupiter is the Saturn is the
biggest planet of ringed one and a
them all gas giant
4,498,300,000
Big numbers catch your audience’s
attention
333,000.00
earths is the Sun’s mass

24h 37m 23s 386,000 km


is Jupiter’s rotation period is the distance between Earth
and the Moon
Reinforce the Concept Using Infographics!

04 MARS 01
Mars is a
cold place

VENUS JUPITER
Venus is Jupiter is the
terribly hot biggest planet
EARTH
Earth
harbors life
03 02
Our Services

Basic Pro Premium


$35 $60 $85

You can explain You can explain You can explain


your product or your product or your product or
your service your service your service

Characteristic Characteristic Characteristic


Characteristic Characteristic Characteristic
Desktop
Software
You can replace the
image on the screen
with your own work.
Just delete this one,
add yours and center
it properly
Mobile
Web
You can replace the
image on the screen
with your own work.
Just delete this one,
add yours and center
it properly
Tablet
App
You can replace the
image on the screen
with your own work.
Just delete this one,
add yours and center
it properly
Our Team

Helena Patterson

You can replace the


John Doe star on the screen with Ann Smith
a picture of this person
You can replace the You can replace the
star on the screen with star on the screen with
a picture of this person a picture of this person
Alternative Resources
Resources
Vector
● Hand drawn notebook with pencils and material
● Travel pattern with elements and dash lines
● Hand drawn arrow collection
● Assortment of arrows highlighter
● Cartoon math elements background
● Planning elements sample
● Collection of colored notes with adhesive tap
● Online learning background with variety of hand-drawn items
● Background of mobile phone with hand-drawn items
● Hand drawn timeline infographic template
● Hand drawn template timeline infographic

Photo
● Top view of graphic designer working with graphic tablet and laptop
● Flat lay of back to school concept with copy space
Instructions for use
In order to use this template, you must credit Slidesgo by keeping the Thanks slide.

You are allowed to:


- Modify this template.
- Use it for both personal and commercial projects.

You are not allowed to:


- Sublicense, sell or rent any of Slidesgo Content (or a modified version of Slidesgo Content).
- Distribute Slidesgo Content unless it has been expressly authorized by Slidesgo.
- Include Slidesgo Content in an online or offline database or file.
- Offer Slidesgo templates (or modified versions of Slidesgo templates) for download.
- Acquire the copyright of Slidesgo Content.

For more information about editing slides, please read our FAQs or visit Slidesgo School:
https://slidesgo.com/faqs and https://slidesgo.com/slidesgo-school
Fonts & colors used
This presentation has been made using the following fonts:

Itim
(https://fonts.google.com/specimen/Itim)

Muli
(https://fonts.google.com/specimen/Muli)

#1c4587 #b0d5f7ff #ffe599 #caffca #ffbbaa #eeeeee


Stories by Freepik
Create your Story with our illustrated concepts. Choose the style you like the most, edit its colors, pick
the background and layers you want to show and bring them to life with the animator panel! It will boost
your presentation. Check out How it Works.

Pana Amico Bro Rafiki


Use our editable graphic resources...
You can easily resize these resources without losing quality. To change the color, just ungroup the resource
and click on the object you want to change. Then, click on the paint bucket and select the color you want.
Group the resource again when you’re done. You can also look for more infographics on Slidesgo.
JANUARY FEBRUARY MARCH APRIL MAY JUNE

PHASE 1

Task 1

Task 2

PHASE 2

Task 1

Task 2

JANUARY FEBRUARY MARCH APRIL

PHASE 1

Task 1

Task 2
...and our sets of editable icons
You can resize these icons without losing quality.
You can change the stroke and fill color; just select the icon and click on the paint bucket/pen.
In Google Slides, you can also use Flaticon’s extension, allowing you to customize and add even more icons.
Educational Icons Medical Icons
Business Icons Teamwork Icons
Help & Support Icons Avatar Icons
Creative Process Icons Performing Arts Icons
Nature Icons
SEO & Marketing Icons

Anda mungkin juga menyukai