Kembali ke Katalog Modul
MODUL 22 DEEP DIVE

Embedded Linux & Raspberry Pi Gateway

MODUL 22 (SPESIALIS IOT): EMBEDDED LINUX & RASPBERRY PI GATEWAY


๐Ÿ“Œ META MODUL & PRASYARAT

  • Bidang Spesialisasi: Single Board Computers (SBC) & Embedded Linux.
  • Target Pembaca: Pembelajar yang sudah menguasai MikroTik Gateway (Modul 21).
  • Learning Outcome:
  • Memahami perbedaan Microcontroller (ESP32) dan Single Board Computer (Raspberry Pi).
  • Menguasai perintah dasar Terminal Linux (ls, cd, mkdir, nano, systemctl, chmod, htop).
  • Mampu mengonfigurasi Raspberry Pi OS Headless tanpa layar monitor via SSH (Secure Shell).
  • Mampu membuat Systemd Service agar aplikasi Python/Node.js IoT otomatis jalan saat booting.
  • Estimasi Waktu Belajar: 120 Menit.
  • Tingkat Kesulitan: ๐ŸŸก Menengah (Level 22 / 40).
  • Prasyarat: Modul 21 (MikroTik Dasar untuk Manajemen Bandwidth & Gateway IoT).

๐Ÿ“‹ TABEL PERBANDINGAN MICROCONTROLLER VS SINGLE BOARD COMPUTER

KarakteristikMicrocontroller (ESP32)Single Board Computer (Raspberry Pi 4/5)
Sistem OperasiTidak Ada / Real-Time OS (FreeRTOS)Full Linux OS (Raspberry Pi OS / Ubuntu)
RAM520 KB2 GB - 8 GB (Jauh Lebih Besar)
Konsumsi Daya~0.1 Watt (Bisa Baterai)~5 Watt - 15 Watt (Butuh Power Adaptor)
Penyimpanan4MB FlashMicroSD 32GB - 256GB / NVMe SSD
Peran Utama IoTNode Edge Sensor / AktuatorIoT Gateway, Local Server, MQTT Broker

โšก CHEAT SHEET PERINTAH LINUX IOT ESSENTIALS

1. Menghubungkan ke Raspberry Pi via SSH:

ssh pi@192.168.1.100

2. Update sistem & instalasi package:

sudo apt update && sudo apt upgrade -y
sudo apt install -y python3-pip mosquitto git htop

3. Membuat & mengaktifkan Service Otomatis (Systemd):

sudo systemctl daemon-reload
sudo systemctl enable iot_gateway.service
sudo systemctl start iot_gateway.service
sudo systemctl status iot_gateway.service



Latihan & Quiz Evaluasi Modul

Progres Quiz: 0 / 2 Soal
SOAL #1
Perintah Linux manakah yang digunakan untuk mengaktifkan service aplikasi agar otomatis berjalan setiap kali Raspberry Pi dinyalakan (*booting*)?
SOAL #2
Apakah peran utama perangkat Single Board Computer (seperti Raspberry Pi) dalam arsitektur IoT industri?

Kunci Jawaban & Pembahasan

Kunci Jawaban: 1. b. sudo systemctl enable, 2. b. IoT Gateway / Local Server.


Apakah Anda siap lanjut ke Modul 23: Perancangan Power Supply, Battery & Solar Power untuk IoT?