See also sensor.js
- node: v0.10.x
- Beaglebone Black (BBB)
- Sensors(Optional)
- Temperature: DS18B20 (P9-12 pin)
- Humidity: HTU21D
- Light: BH1750
- Actuators(Optional)
- RGB Led
- Download the Debian image file for "BeagleBone Black (eMMC flasher)" from the latest images page.
- Make a micro SD card with the downloaded image file.
- Windows: Please refer the "Update board with latest software" section in the Getting Started page of BeagleBone website.
- OS X: Please refer the instructions in this webpage.
- Linux:
unxz bone-debian-7.7-console-armhf-2015-01-06-2gb.img.xz
sudo dd if=./bone-debian-7.7-console-armhf-2015-01-06-2gb.img of=/dev/sdX
- Double check if successfully installed
uname -a
e.g. Linux beaglebone 3.8.13-bone50
cat /etc/debian_version
e.g. 7.8
apt-get update
apt-get upgrade
apt-get install build-essential
apt-get install python
apt-get install libbluetooth-dev
npm install -g bower
cd [target directory]
git clone https://github.com/daliworks/sensorjs-app
[github username]
[github password]
cd [files-directory]
cp BB-W1-00A0.dtbo /lib/firmware/
cp capemgr /etc/default/
sync
reboot
cd [src-directory]
cd device-app
npm install
cd [src-directory]
cd device-client
bower install --allow-root
npm install
cd device-app
node app.js
Open browser and access (BBB_IP:Port)
e.g. 192.168.1.100:8088
(The MIT License)
Copyright (c) 2013 Daliworks Inc
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.