ESP8266 Arduino: Software restart

- Posted in mikrokontroler by

In this tutorial we will check how to perform a software restart on the ESP8266 using the Arduino IDE core.
To restart the ESP8266, we need to call the restart method on the ESP extern variable, which is an object of class EspClass (header file available here). This ESP object can be accessed in our code without the need for any .h file include.

if(cnt==0){
    Serial.println("Reset..");
    ESP.restart();
}

Note that there’s actually a reset method also available on the ESP object. However, this method call is a hard reset that can leave some ESP8266 registers in their old state, which may lead to problems. On the other hand, the restart method we have used indicates to the ESP8266 SDK to reboot, which is cleaner and is the recommended method.
Referensi: https://techtutorialsx.com/2017/12/29/esp8266-arduino-software-restart/

Kendali kipas dengan sinyal smartphone

- Posted in Karyaku by

Judul diatas merupakan hasil penelitian saya di tahun 2022. Penelitan tersebut membahas tentang bagaimana sinyal yang terdapat pada smartphone dapat mengendalikan hidup dan mati kipas. Perhatikan video berikut ini:


Tanya - Jawab
Q : Gimana sih cara kerjanya?
A : Sistem yang sudah terprogram akan membaca sinyal smartphone tertentu yang sudah dikenalnya. Dan jika sesuai maka kipas hidup. Jadi tidak perlu lagi menekan tombol yang ada di smartphone untuk mengendalikannya.
Q : Apakah semua smartphone bisa digunakan?
A : Sangat bisa sekali, yang terpenting sistem diprogram terlebih dahulu.
Q : Sistemnya dibuat pakai apa ya?
A : Tentunya pakai mikrokontrolerlah. Tapi jenisnya ditanya aza langsung sama yang buat penelitiannya.
Q : Berapa jauh sih jarak kendalinya?
A : Untuk saat ini jarak maksimumnya adalah 20 meter. Sedangkan pada video tersebut diprogram untuk jarak 20 cm.
Q : Kemana sih penerapannya?
A : Bisa diterapkan untuk kendali penerangan umum, seperti taman umum, lampu jalan dll. Yang mana cara kerjanya adalah orang yang mau lewat di daerah tsb harus bawa smartphone yang sudah dikenalnya.

IP Camera dan NVR

- Posted in Pengetahuan by

Berbeda dengan CCTV analog, IP camera mengandalkan koneksi internet untuk mengirim gambar tangkapannya. Namanya sendiri merupakan singkatan dari "Internet Protocol camera". IP camera tidak memerlukan DVR sebagaimana CCTV. Sebagai gantinya, IP camera membutuhkan perangkat bernama switch yang disambungkan ke network video recording (NVR), Di NVR terdapat program software yang merekam video, mengubahnya menjadi format digital, lalu menyimpannya ke dalam perangkat penyimpanan, seperti hard disk. CONTOH Aplikasi NVR yang free adalah iSpy

Seismometer Station Monitor

- Posted in Uncategorized by

Bagi yang ingin mempelajari perihal gempa bumi dan realtime seismometer maka kunjungi link : https://www.iris.edu/app/station_monitor/#Today/PS-PSI/webicorder/PS-PSI|11624257 . Link tersebut utk stasiun monitor yang ada di Parapat Sumatera Utara, sedangkan untuk stasiun lainnya yg terhubung ke server "iris" maka cek disini : https://www.iris.edu/app/station_monitor/
Station Monitor provides access to continuous, real-time ground motion from hundreds of locations around the globe. This data, collected by seismometers, measure motion generated by earthquakes, volcanic eruptions, and other seismic sources. By viewing the recordings from multiple stations, you can explore how ground motion changes at various locations relative to the earthquake. Lots of other things can cause the ground to move besides earthquakes. By regularly monitoring one or more stations maybe will learn how to detect these non-earthquake sources!

Page 8 of 23