https://github.com/agungdwiprasetyo/basic-iot
Basic module for IoT (using Node.js and Perl)
https://github.com/agungdwiprasetyo/basic-iot
iot iot-device
Last synced: 2 months ago
JSON representation
Basic module for IoT (using Node.js and Perl)
- Host: GitHub
- URL: https://github.com/agungdwiprasetyo/basic-iot
- Owner: agungdwiprasetyo
- Created: 2017-01-05T19:06:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-05T19:07:54.000Z (over 9 years ago)
- Last Synced: 2025-03-06T09:42:48.981Z (over 1 year ago)
- Topics: iot, iot-device
- Language: Perl
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Modul IoT sederhana untuk Raspberry Pi
Perangkat yang terhubung pada Raspberry Pi: 4 buah LED, 2 buah servo, motor DC, dan sebuah kamera
## Instalasi
Instal library wiringPi pada perangkat Raspberry (dalam bahasa C) untuk menggunakan pin GPIO pada Raspberry Pi:
```sh
$ cd /home/pi
$ git clone git://git.drogon.net/wiringPi
$ cd wiringPi
$ ./build
```
Untuk menjalankan script Perl pada Raspberry Pi (jika belum ada)
```
$ sudo apt-get update
$ sudo apt-get install libwww-perl
```
Webserver menggunakan NodeJS (konfigurasi pada direktori ```/server```)
Jika konfigurasi pada server NodeJS sudah siap, jalankan script perl dengan mengetikkan ```./start-raspberry.pl``` pada Terminal di perangkat Raspberry Pi, lalu buka url ```localhost:3456/``` untuk membuka interface web pada server.