Kegbot Project
Kegbot Project :: Latest News
Welcome to the new Kegbot Blog!

You've made it! Welcome to the new Kegbot Blog.

A brave new world

We migrated the old blog away from blogspot.com and into the kegbot.org tent. Truly this is exciting day in Kegbot history (if not world history).

Tastes about as good, same filling

Chief among the many benefits you will enjoy from this seemingly uninteresting infrastructure change are:

  • Part of the kegbot.org site -- no more hunting for bookmarks and hand-scrawled post-it notes when you want the latest Kegbot news.
  • Commenting integrated with your kegbot.org account. (Don't tell us you don't have one yet? I seem to have.. something in my eye.. I'm not crying, I swear.. Just set one up.)
  • Shorter URL. Because unlike life, on the internet, shorter is better.

A call to action

If you've not already done so, please update your bookmarks (and the bookmarks of at least two friends). Here are the essentials:

  • Blog: http://kegbot.org/
  • RSS feed: http://feeds.feedburner.com/kegbot
5 comments » show
Last call, round 2: Kegbot Arduino shield PCB
Thanks to some recent prodding and help from Geoff over at Kegbot Milwaukee, we're getting very close to building a batch of "Kegshield" boards for our Kegboard firmware.  I know, we said "last call" in our last post -- what, you've never heard of a lock-in?

Though we originally proposed a 2-tap Arduino shield, we had an epiphany after a morning shave with a 5-bladed razor and said, "Fuck everything, we're doing six taps." With some swagger in our step, we proudly announced that the shield has been redone, in luscious Arduino Mega proportions.

But building a board flexible and cheap enough for lots of different configurations has required hard decisions to be made.  In addition to dropping the perplexing (and irritating) on-board strobe light, and the prohibitively complex "douche sensor", we've once again settled on a smaller, pint-sized layout.  Here's a recent draft:


We're still retaining the features that seem most important and commonly useful, including:
  • 4 general-purpose relays, for valves (or springing elaborate traps)
  • 2 RJ45 "keg tap" jacks, each with connections for two flow meters and OneWire temperature/authentication sensing
  • Stackable, can put other Arduino goodies on top
  • Optional XBee interface, wirelessly reprogrammable
We're still tweaking with the layout, but mostly there.  What does it mean? Hop on #kegbot if you'd like to get some last-minute bling on this thing!
1 comment » show
Last call: Kegbot Kegboard Shield, Second Draft
Update, Aug 2010: See our most recent post with even more changes.

After chatting with a few Kegbotters about the first draft Kegboard arduino shield (thanks for the feedback, Geoff, Jared, and others!), we realized our last design was like making an afternoon visit to Toronado, only to settle for a half-pint of Pliny the Elder: the glass isn't half-full, it's just too damn small!

So, on a sunny San Francisco Saturday, we drew the blinds, tapped into our reserve cache of SmartPower energy drink, and spent the next 8 hours fiddling around madly in our favorite board editor. The Kegboard shield has been reworked around an Arduino Mega footprint; here's the result:


And, the corresponding, much girthier schematic:


The new design has all of the features of the first draft, plus:
  • Up to six RJ45s, one for each supported flowmeter input.  (Each jack routes two flow inputs, as shown in the annotated board, so you can support 6 taps with 3 cables.)
  • 4 relay blocks, for switching small loads on and off.
  • 6 general purpose blocks (power, ground, and signal), for use with an external device (such as the SparkFun relay board.)
Of course, those without the luxury of an Arduino Mega (or 6 taps - jeez, guys!) can depopulate many of the components here and use it in 2-tap mode with a plain old Arduino.  The relay blocks, general output blocks, and most of the RJ-45s are all optional, bringing the component cost down to a 6-pack or two.

Your author still has a few tweaks to make (the optional XBee device needs some level shifting, and some components might be rearranged), but overall we're very close to sending this one off to BatchPCB for a test fab.

Last call: Problems? Ideas?

0 comments » show
What would you like on your Kegboard Arduino Shield?
Our Kegboard firmware has been pretty solid these days, and we've been pretty happy with the features afforded by the basic Arduino Duemilanove board.  So, the time has come to stamp out an Arduino "shield" daughtercard, making it as simple as AOL 9.0 to get your Kegbot online.

The First Draft


Shown above is the first draft of the schematic.

And the corresponding board layout (your author has not yet performed the board routing). Note that the shield intentionally hangs to the right and bottom of the carrier Arduino, to provide adequate clearance from the components below.

Current Features
Here are the board's current features, as of today anyway (this is all subject to change).
  • Two RJ45 'keg ports'. Each RJ45 breaks out both flow meter inputs, the temperature sensor OneWire bus, and power and ground connections.  Using a Cat-5 cable or two, all sorts of combinations should be possible: monitor two taps in one fridge with a single cable, or one tap and a dollar bill acceptor with both ports, or two separate fridges, and so on.
  • LEDs at each keg port, which can be used to signal tap activity.
  • One RJ11 'authentication' connection.  This is wired to the OneWire presence-detect bus, and the pinout matches the famous blue dot receptacle.
  • Onboard buzzer; right now, the kegboard firmware doesn't do too much with it (it chimes on powerup), but we could easily do a software update to add alarms.
  • Socket for optional XBee transciever; read the kegboard remotely.
  • Pins for optional board level temperature sensor; conveniently add ambient room temperature monitoring to your Kegbot setup by soldering in an extra DS18B20.
  • Two 3-pin screw terminal headers, each with power, ground, and an LED-signalled general purpose output. Use this to interface with a relay board, external alarm trigger, or whatever.
What to add?
We'll probably spend a few more days tweaking the schematic and layout. Unless any great ideas pop up, the first batch will likely look something like this.  (We're not sure if we'll sell boards, kits, or anything at all ourselves -- but we'll at least make it easy for you to order the parts and boards online.) Leave a comment if you have suggestions.

Appendix A: Kegboard v1.0
Back in 2005, in the bad old days before we knew about Arduino, SparkFun, and plentiful Eagle libraries, we put together the original Kegboard: Kegboard v1.0. Here's what it looked like:


(Image unscrupulously stolen from Make's coverage of a rare public appearance by the reclusive team Kegbot.)

The board itself featured a PIC16 micocontroller, a socket for an (expensive) FTDI USB-serial converter, and two relays.  Compared to our current design, you could say it was a complete solution, though not with its problems (and higher cost). We might return to a 100% integrated board one day, after Kegbot takes over the world, but for now we're happy to build off of the Arduino.
0 comments » show
"Tips" for your Kegerator: Kegbot, meet Dollar Bill Acceptor
Finally, this blasted device is starting to earn its keep!



After 13 kegs and an untold number of free drinks, your author hooked his dollar bill acceptor up to the Kegbot, just in time for Superbowl Sunday.  With a custom cardboard chassis & intimidating signange, this Kegbot extension warns, "Hey! No more free rides, suckers, because I'm ready to guilt trip you into slinging a few bucks into the tip jar!"

History
We first wrote about dollar bill acceptors back in November 2004 (!), a time so distant it was back when your author referred to himself in the first person (and with little regard for capitalization.)  Soon after filing our last report on the topic, we place the acceptor in a storage closet and forget about it for years.

It turns out that our Arduino tap controller hardware/software, Kegboard, is perfectly suited to the task of interfacing with the bill acceptor.  Like the flow meters we use, the bill acceptor has an open-collector output that sends out a pulse train, one pulse for every dollar collected.

Since we weren't using the second tap/interrupt input (your author sadly only has one tap on his keg), we re-purposed it for listening to the bill acceptor. One devious hack to the kegbot core later and we have simple support for recording dollar contributions.  If a user is authenticated while the bills are flowing in, we record that, too.

Construction
Obviously the most striking feature here is our lovingly hand-crafted designer cardboard chassis.  Here are some construction notes.


Here's the MAG50B, making a triumphant return to the Kegbot blog.  The enclosure is a little weird, since it is designed to sit in a vending machine; the front face hangs an inch or two beneath the bill-stacker box, so it can't easily stand upright on its own.


With a crowd on its way over for beer, this intrepid (and in all likelihood at the time, slightly drunk) hacker used the best materials available to him: this is to say, not very good ones.  (Mechanical design prowess has never been our expertise.)


The sturdy plastic front face of the acceptor is removable, for bolting to your favorite cola machine or shoebox.


Using the face as a guide, we cut a small template in the bottom of the shoebox. It isn't shown, but in theory this orientation makes it possible to open the 'top' of the shoebox to remove bills from the bill stacker unit.


And here's the hole after being cut.


Next was the matter of power and pulse signal output. We will sheepishly omit providing details about the cruel solder job that became necessary due to a lack of parts (and time) -- but you should be able to fashion a nice connector using the details from our previous post.


A look at the logic board.  I've surely voided my warranty, oh well.


The finished setup: success!  Don't forget to use a pull-up resistor on the pulse output.

Total dollars collected: About $10, not including author's test dollars. Hey, it's a start..

Future Work
Clearly, the most important feature remains to be implemented: those with unpaid (or overdue) balances should be locked out of the Kegbot (or at least ridiculed via the LCD). Long-time kegbotters will remember this as an original feature, but one your author ripped out long ago for a rewrite.

We have grand plans for a "version 2.0" of the drinker accounting system, including user or group-targeted drink pricing, and account statements.  We will soon reintroduce better support for solenoid-valve access control, too, so tell all your cheap friends that their freeloading days are numbered.
0 comments » show

Not had enough? Do a keg stand and check out the complete Kegbot Blog archives.