Untuk versi bahasa Indonesia, Klik ini
The ESP8266 and ESP32 Client for espAuthAbsent
For the ESP8266:
- <SPI.h>
- <MFRC522.h>
- <ESP8266WiFi.h>
- <WiFiManager.h>
- <PubSubClient.h>
- <ArduinoJson.h>
It Requires the ESP32 or the ESP8266 devkit It also require an RFID scanner, in this repo it use RC522 You are not required to add an active buzzer, but in doing so makes the output vague
For wiring, follow the devkit pinout referrence or follow the pin inside the code
Follow these steps:
- Connect all required hardware
- Upload the code
- Connect the device to a power outlet
- Connect to the device AP, which by default is ESP CONFIG with default password siotics0rgConf
- If you have set up the mqtt server, add the IP and the port, DO NOT ADD HTTP FOR THE IP OR WILL RESULT IN ERROR
To send to server, make sure you have set up the backend and the mqtt server which you can get here
Klien ESP8266 dan ESP32 untuk espAuthAbsent
Untuk ESP8266:
- <SPI.h>
- <MFRC522.h>
- <ESP8266WiFi.h>
- <WiFiManager.h>
- <PubSubClient.h>
- <ArduinoJson.h>
Perangkat ini membutuhkan ESP8266 atau ESP32 Devkit Perangkat ini juga membutuhkan scanner RFID, pada repo ini ia menggunakan RC522 Anda tidak wajib untuk menambahkan active buzzer, tetapi akan membuat outputnya tidak jelas kepada user
Untuk pengkabelan, ikuti referensi pinout untuk devkit yang digunakan atau ikuti pin yang ada di dalam kode
Ikuti langkah di bawah:
- Hubungkan semua perangkat yang dibutuhkan
- Upload kodenya
- Hubungkan perangkat ke sumber listrik
- Hubungkan ke AP Perangkat, secara default namanya adalah ESP CONFIG dengan default password siotics0rgConf
- Jika Anda sudah memasang server mqtt, tambahkan IP dan Portnya, JANGAN TAMBAHKAN HTTP UNTUK IP ATAU AKAN BERAKHIR DENGAN ERROR
Untuk mengirim ke server, pastikan Anda sudah memasang server backend dan mqtt perangkat ini di sini