forsb / switches

nodejs and tellstick server for controlling switches from browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

switches

nodejs and tellstick server for controlling switches from browser

Library for nRF24L01 taken from https://github.com/stanleyseow/RF24

##Pinouts

nRF24L01 RPi Physical Arduino
VCC 17 3V3 (NOT 5V!)
GND 20 GND
CE 18 9
CSN 24 4
SCK 23 13
MOSI 19 11
MISO 21 12

###Raspberry Pi

  • Clone the git repo and run make
  • Run the index.js with Node.js (something like nodejs index.js)

###Arduino All libraries for Arduino are provided in the sketch folder. Open the .ino file in the Arduino IDE and hit upload

Libraries used are:

  • RF24 by TMRh20 (link:)
  • DHT

To use the Arduino sketch, the RF24-library has to be installed. To do so, follow these steps:

  • Make sure to have the latest Arduino IDE installed
  • Go to Sketch -> Include Library -> Manage Libraries
  • Search for RF24
  • Click on RF24 by TMRh20
  • Choose latest version and click install

About

nodejs and tellstick server for controlling switches from browser


Languages

Language:C++ 44.6%Language:C 28.5%Language:KiCad Layout 20.8%Language:JavaScript 2.8%Language:CSS 1.1%Language:Arduino 0.9%Language:HTML 0.9%Language:Makefile 0.4%Language:Shell 0.0%