https://github.com/bradjc/hemera
Hardware and software for an indoor wireless sensor that measures temperature, humidity, light and motion.
https://github.com/bradjc/hemera
Last synced: 4 months ago
JSON representation
Hardware and software for an indoor wireless sensor that measures temperature, humidity, light and motion.
- Host: GitHub
- URL: https://github.com/bradjc/hemera
- Owner: bradjc
- Created: 2013-03-25T20:55:01.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2014-08-01T21:31:20.000Z (almost 12 years ago)
- Last Synced: 2025-10-11T02:10:04.577Z (8 months ago)
- Language: nesC
- Size: 6.52 MB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Hemera Indoor Sensor Node
=========================
Hemera is an indoor wireless sensor node that measures temperature, humidity, light and motion.
The node contains three key sensors:
- Sensirion SHT11 (Temperature and Humidity)
- Rohm BH1721 (Light)
- PIR (Motion)
[

](http://www.bradcampbell.com/wp-content/uploads/2012/05/hemera_project.jpg)
Setup
-----
### 1) Clone & install the Lab11 version of tinyos-main:
git clone https://github.com/lab11/tinyos-main.git
cd tinyos-main/tools
./Bootstrap
./configure
make
sudo make install
### 2) Clone yours truly:
git clone https://github.com/lab11/hemera.git
### 3) Add to `bash.rc`:
export TINYOS_ROOT_DIR=/tinyos-main
export TINYOS_ROOT_DIR_ADDITIONAL=/hemera/tinyos:$TINYOS_ROOT_DIR_ADDITIONAL
### 4) Set up the RaspberryPi (optional, but recommended):
A modified RaspberryPi can be utilized to receive and forward data to GATD.
If you choose to use one, you need the [Linux CC2520 Driver](https://github.com/ab500/linux-cc2520-driver) for the RPi.
Instead of installing this manually, it is suggested to download & install the preinstalled image from [this torrent](https://github.com/lab11/raspberrypi-cc2520/tree/master/torrents).
Go to https://github.com/lab11/raspberrypi-cc2520 for additional details on setup.
Clone the RPi repo:
git clone https://github.com/lab11/raspberrypi-cc2520.git
Add to `bash.rc`:
export TINYOS_ROOT_DIR_ADDITIONAL=/raspberrypi-cc2520/tinyos:$TINYOS_ROOT_DIR_ADDITIONAL
### 5) Get the compilers
In order to compile the TinyOS code you need the msp430 and the ARM compilers
Sense Stuff
-----------
After you have finsihed the above setup, you should be ready to install apps on the Hemera board.
The basic sense & broadcast app is HemeraAM. To install it, go to `/hemera/tinyos/apps/HemeraAM` and follow the README.
To receive & forward data to GATD on the RPi, go to `/hemera/tinyos/apps/RpiGatdForwarder` and follow the README.