This project is END OF LIFE !!!!!!!!!!!!!!!!!!!!! It will be continued with different scope in RF24Hub.
For documentation goto http://wilmsn.github.io/sensorhub/
- Server: Raspberry PI
- Nodes: "Arduino" like build with minimal cost based on ATmega328P
Build up a network of sensors and store and process the data on a server. With:
- minimal hardware cost
- only free software
- low energy cost
Attention: If you want to run sensorhub on Raspberry Pi 2 (1024MB RAM) make check if your BCM2835 is configured Set: #define BCM2836_PERI_BASE 0x3f000000 in bcm2835.h for Raspberry Pi (512MB RAM) it is: #define BCM2835_PERI_BASE 0x20000000
-
Go to your development directory
cd ~/entw
-
Clone the sensorhub Repro
git clone https://github.com/wilmsn/sensorhub.git sensorhub
-
Install the tar-ball
cd /usr/local
sudo tar xvf ~/entw/sensorhub/rf24netw_inst.tar
-
Change to the sensorhub folder and compile it
cd ~/entw/sensorhub
make
sudo mkdir -p /var/database
sudo touch /var/database/sensorhub.db
sudo chmod 666 /var/database/sensorhub.db
sudo make installDB
-
Do a test run
./sensorhubd -v9 #Just stop it with ctrl-c
-
Go to your development directory
cd ~/entw
-
Clone the RF24 Repo
git clone https://github.com/wilmsn/RF24.git RF24
-
Change to the RF24 folder and compile it
cd RF24
sudo make install -
Clone the RF24Network Repo
git clone https://github.com/wilmsn/RF24Network.git RF24Network
-
Change to the RF24Network folder and compile it
cd RF24Network
sudo make install
-
Clone the sensorhub Repro
git clone https://github.com/wilmsn/sensorhub.git sensorhub
-
Change to the sensorhub folder and compile it
cd sensorhub
make
sudo mkdir -p /var/database
sudo touch /var/database/sensorhub.db
sudo chmod 666 /var/database/sensorhub.db
-
Do a test run
./sensorhubd -v9 #Just stop it with ctrl-c