---
title: "Drone Blocker IoT (magang UDB 2023)"
url: "https://maker.wiznet.io/matthew/projects/drone-blocker-iot-magang-udb-2023/"
markdown_url: "https://maker.wiznet.io/matthew/projects/drone-blocker-iot-magang-udb-2023/md"
type: "UCC: User Created Content"
author: "CahyaAji"
author_url: "https://github.com/CahyaAji/magang-udb2023"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "CahyaAji"
original_url: "https://github.com/CahyaAji/magang-udb2023"
published: "2023-09-25"
language: "en"
hardware: ["WIZnet W5500"]
likes: 0
views: 560
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Drone Blocker IoT (magang UDB 2023)

> Drone Blocker IoT (magang UDB 2023)

Original author: CahyaAji (source: https://github.com/CahyaAji/magang-udb2023)

## Components

- **WIZnet W5500** x 1: ethernet module ([docs](https://docs.wiznet.io/Product/Chip/Ethernet/W5500))

WIZnet parts: W5500 ([Datasheet](https://docs.wiznet.io/Product/Chip/Ethernet/W5500/datasheet?utm_source=maker&utm_medium=project&utm_campaign=w5500), [product hub](https://maker.wiznet.io/products/w5500/))

## Article

## [Drone Blocker IoT (magang UDB 2023)](https://github.com/CahyaAji/magang-udb2023#drone-blocker-iot-magang-udb-2023)

*update kriteria project

## [A. Control Switch Perangkat Static Drone Blocker](https://github.com/CahyaAji/magang-udb2023#a-control-switch-perangkat-static-drone-blocker)

### [terdiri dari komponen berikut:](https://github.com/CahyaAji/magang-udb2023#terdiri-dari-komponen-berikut)

```plaintext
1. ESP8266 sebagai kontroler switch
2. Module Ethernet W5500 untuk komunikasi
3. Relay 2 unit untuk switch (yg diwakilkan oleh LED saat simulasi pembuatan kode)
    - Relay 1 untuk on/off jammer frekuensi remote control drone (2.4 Ghz dan 5 Ghz)
    - Relay 2 untuk on/off jammer frekuensi GPS(1.5 Ghz)
4. Sensor Suhu Thermocouple K-Type with Max6675 module(Optional)
```

### [Drone Blocker API:](https://github.com/CahyaAji/magang-udb2023#drone-blocker-api)

Switch ON/OFF relay:

Endpoint: POST /api/switch

Request Body JSON :

```
{
  "jammer_rc": "on", //"on" untuk menyalakan dan "off" untuk mematikan
  "jammer_gps": "on" 
}
```

Response Body JSON Success :

```
{
  "status": "success",
  "data" : {
    "jammer_rc": "on", //"on" berarti menyala dan "off" berarti mati
    "jammer_gps": "on" 
  }
}
```

Response Body JSON Error :

```
{
  "status": "fail",
  "message" : "error, can't turn on/off jammer"
}
```

---

Source: https://maker.wiznet.io/matthew/projects/drone-blocker-iot-magang-udb-2023/
