View on GitHub

The bArduino Project

beer management with technology and fun

Coming soon to a refrigerator near you....

So the purpose of this site is to explain and document a project that was dreampt up as really an excuse to play with an Arduino and a Rasberry Pi.

Overall, the basic concept is to create some Arduino components that monitor a refrigerator that houses 2 five gallon kegs of home brewed beer, and in turn sends the collected information to a local web server, and can be viewed publicly.

"brewBerri" a.k.a. Rasberry Pi

So the web server side of the project is a Rasberry Pi, Model B. I call it the 'brewBerri', since my favorite color is blue (hence the case), but since this is for brewing, I mixed and matched, and came up with a witty (so I think) name.

Here is a list of the componets purchased:

Images (click for larger):



I fnially sat down the other day to set all of this this up... Five minutes later, after following this great write-up:

I know, crappy cell phone camera, but to be honest, I was pretty happy that it was successful that quickly. After nosing around, I went into the `raspb-config`, enabled ssh on boot, rebooted, and disconnected the video cable. Finally, I jumped back on my local workstation, fired up a terminal, made a ssh connection to the Pi, and 'BAM', I'm in. Now to get functionality on it, here's what I did next:

  1. sudo apt-get install nodejs
  2. pi@raspberrypi ~ $ nodejs -v
        v0.6.19
  3. sudo apt-get install npm
  4. pi@raspberrypi ~ $ npm -v
        1.1.4
  5. sudo apt-get install git-core
  6. pi@raspberrypi ~ $ git --version
        git version 1.7.10.4

You are probably wondering why I have done what I have done here, so let me explain. I installed an older version of Node using the package manager, mostly trying to avoid compiling Node manually, which I hear takes a long time on the Pi. I plan on keeping this as easy as possible, in order to allow others to follow this as easilly as possible. The other note to make here is Git. I plan on installing and upgrading the server packages via git as the deployment tool. Who knows, maybe I'll create an NPM package for all of this down the road, but we will see. Next on my list it to get a data store. Mongo DB is a no brainer, but manually compilation seems to be most common, and like Node, the total time to compile is about 25 hrs, ewww.. I may just use a service such as MongoHQ or the likes, and just eat all the HTTP requests...