Skip to content

Instantly share code, notes, and snippets.

View artistio's full-sized avatar

Benny Chandra artistio

View GitHub Profile
@artistio
artistio / sendThingSpeak.ino
Created December 9, 2018 10:59
File ini berisi fungsi untuk mengirimkan data ke ThingSpeak
/**
* File sendThingSpeak.ino
*
* int sendThingSpeak(float temp, float hum)
*
* Fungsi: Mengirimkan suhu (field0) dan kelembaban(field1) ke ThingSpeak
*
* Return Value: TBD
*
* Hak cipta (c) 2018 x.benny.id.
@artistio
artistio / NodeMCU_DHT22_WiFi_TS_DS.ino
Created December 9, 2018 11:20
Mengirimkan data DHT22 ke ThingSpeak, dengan Deep Sleep
/**
* Program untuk membaca suhu dan kelembaban dari sensor DHT22
* menggunakan NodeMCU
*
* Hak cipta (c) 2016 x.benny.id. All rights reserved.
* https://x.benny.id
*/
// Konfigurasi DHT22
#include <DHT.h>
@artistio
artistio / NodeMCU_BME280.ino
Created February 10, 2019 11:40
Program untuk membaca BME280 dengan NodeMCU
/* NodeMCU_BME280.ino
* Program untuk membaca suhu dan kelembaban dari sensor BME280 (I2C)
* menggunakan NodeMCU
*
* Hak cipta (c) 2019 x.benny.id. All rights reserved.
* https://x.benny.id
*/
#include <Adafruit_Sensor.h>
@artistio
artistio / dump1090.sh
Created May 1, 2020 01:56
File/script untuk menjalankan dump1090 otomatis setiap restart
#!/bin/bash
### BEGIN INIT INFO
#
# Provides: dump1090
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: dump1090 initscript