Coder Social home page Coder Social logo

wiibee's Introduction

WiiBee

Manage beehives with RaspberryPi 3, Wii Fit Balance Board, and a WittyPi.

[NOTE] The shutdown command is located on the USB autorun script, this way if you want to use the Raspberry, you can simply remove the USB drive, you will have 5 minutes to login and disable schedule script with: sudo /home/pi/wittyPi/wittyPi.sh

INSTALL

First, install WittyPi2, see: http://www.uugear.com/product/wittypi2

cd; wget http://www.uugear.com/repo/WittyPi2/installWittyPi.sh
sudo sh installWittyPi.sh

Then install wiibee (plug an empty USB stick in your Raspberry)

cd; wget http://pierriko.com/wiibee/install.sh
sudo sh install.sh

Edit /mnt/bee1/wiibee/autorun.sh, add the Bluetooth address of each Wii Fit balance board and the GPIO PIN number of each relay.

You can get the Bluetooth MAC address using hcitool scan or python /mnt/bee1/wiibee/wiiboard.py after pressing the red sync button.

Electric wiring coming soon.

For GitHub integration, fork the wiibee repo, add a ssh key, edit the remote in /mnt/bee1/wiibee, and setup GitHub pages:

TODO

Studdy the Wii Fit Balance Board electric wiring, find how can we read mass directly from the strain gauges.

Display data with https://github.com/firehol/netdata

STATS

A data row contains: time cpu_temp temp mass*, example: 1474272540.431 39.50 10.00 20.00 21.00 22.00 23.00, a row contains 51 bytes for 4 beehives (75 for 8).

If we do 5 measurements per boot and boot every hour, this means:

51 * 5 * 24 = 6120 # bytes per day
6120 * 30 / 1024 = 179 # KB per month

A Wii Fit balance power consumtion is around 160mW.

mode \ voltage 6V 5V
stream 27mA 32mA
status 25mA 30mA

wiibee's People

Contributors

pierrickkoch avatar

Forkers

galatgithub

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.