Menu ---
  • Home
  • Initial State
  • New Features
  • Tutorials
  • Docs

.

Tutorial: Beer/Wine Fridge of Awesomeness

In Raspberry Pi, Tutorials, Use CaseTags Beer Fridge, dashboard, internet of things, raspberry pi, tutorialsJune 4, 2015 Jamie Bailey

 

Updated March 7, 2016:  New bonus section on adding beer alerts/notifications

How do you take a perfectly good beer or wine fridge and make it awesome? A good start is to have your refrigerator tell you how many bottles are in it, when the door is open or closed, and the temperature inside your fridge. What is even better is to have that information available to you at all times on your laptop, tablet, and phone. You can know when your 17-year-old nephew steals your beer. You can know just how many beers you drank last month. You can know if you need to restock while you are walking down the store aisle.

Thanks to new, simple-to-use Internet of Things (IoT) technologies, anyone can transform their beer or wine fridge into the envy of the neighborhood in a matter of minutes.

project_overview


Project level: Beginner
Approximate time to complete: 30 Minutes
(increases linearly with amount of beer consumed)
Data points produced per month: 50,000

 

In this step-by-step tutorial, you will:

  • setup a Wii balance board as a scale to detect the number of bottles inside your refrigerator
  • wire up a door sensor to detect when your refrigerator door is open or closed
  • wire up a temperature sensor to capture the temperature inside your refrigerator
  • use a Raspberry Pi (http://www.raspberrypi.org) to stream this captured information to a cloud service
  • turn that information into your personal refrigerator dashboard that you can access on your laptop or mobile device using Initial State
  • setup your own beer inventory alerts (email+SMS)
hardware icon, chip, electronic circuit board
Show What I'll Need

  • CanaKit Raspberry Pi 2 Ultimate Starter Kit or equivalent components:
    • Raspberry Pi 2 w/ Raspbian loaded SD card
    • WiFi Adapter/Dongle (can use ethernet cord for hard connection instead)
    • Breadboard
    • 40-pin GPIO Ribbon Cable (can use 5 individual male-to-female jumper cables instead)
    • 40-pin T-Shaped GPIO to Breadboard Interface Board (not necessary if using jumper cables)
    • 2 Breadboard Tie Lines
    • 2 10K Ohm Resistors (to use with the buttons; 5K-100K Ohms is generally a safe range)
  • HDMI cable + HDMI Monitor + Bluetooth Keyboard/Mouse unless you can SSH into your Pi
  • Wii Balance Board
  • Wii Fit Rechargeable Battery Pack
  • Bluetooth Adapter
  • Waterproof DS18D20 Digital Temperature Sensor
  • Magnetic Contact Switch
  • 3/8″ Felt Pads
  • Pencil
  • Compact Refrigerator
  • Initial State Account

This tutorial is the first in a new series, “Learning How to Build Real IoT Applications” >>

Go to the Beer/Wine Fridge of Awesomeness tutorial >>

Jamie Bailey

Post Navigation

quantified coffee
Previous Post:

Using Initial State to Build a Quantified Coffee Machine

Next Post:

Weekly Envy: ORION Delta Desktop 3D Printer

Related Posts:

Enter: The New Initial State Streamer

Flowthings + Initial State = Awesome

Live Cryptocurrency Monitor using AWS Lambda

12 comments On Tutorial: Beer/Wine Fridge of Awesomeness

  • Pingback: Beer and Wine Fridge of Awesomeness - Raspberry Pi ()

  • Daniel
    June 29, 2015 at 8:43 am - Reply

    Hi,
    Thanks for the great tutorial. Did you ever get anywhere with making the pairing of the Wii Fit and the RasPi more streamlined (ie without having to push the button)?

    • Jamie Bailey
      June 29, 2015 at 9:05 am - Reply

      I never could make permanent pairing work. I certainly pulled my hair out trying though.

      • Cam
        July 1, 2015 at 10:19 pm - Reply

        Hi There
        I might have found a solution to your problem 🙂
        Stavros seems to have found a way to have it permanently synced to his ubuntu machine.
        http://www.stavros.io/posts/your-weight-online – check the edit part at the bottom of the article

        “I have finally managed to get the Wii Board to successfully (and permanently) pair with my Ubuntu computer. Here are the steps:
        sudo apt-get install build-essential libdbus-1-dev check checkinstall to install the dependencies.
        apt-get source bluez to get the source.
        Apply this patch to actually get it to recognize hex pin codes.
        ./configure –enable-test, make
        sudo checkinstall to create a .deb you can remove after pairing.
        Restart your computer/bluetooth services/etc.
        ./test/simple-agent hciX ##:##:##:##:##:##, you need to change hciX to whatever your Bluetooth adapter is (usually hci0, find it with hcitool dev). The hashes are the Balance Board’s Bluetooth address.
        Your pin is now $FFEEDDCCBBAA, where AA:BB:CC:DD:EE:FF is your Bluetooth adapter’s bluetooth address. Just reverse the order of the octets, so 01:23:45:67:89:AB becomes $ab8967452310.
        Your balance board will pair, and you have to immediately connect to it with python gr8w8upd8m8.py ##:##:##:##:##:##, or it might not pair.
        If you missed the connecting step above, run ./test/simple-agent hciX ##:##:##:##:##:## remove and try again.
        To trust the device so it will connect in the future, run bt-device –set ##:##:##:##:##:## Trusted 1”

        • Jamie Bailey
          July 1, 2015 at 10:24 pm - Reply

          I tried this and never could get a successful pairing even when I patched bluez to accept hex pin codes. No hex pin code I used would work.

          • SDC
            January 14, 2017 at 10:48 pm

            OK, I feel less dumb now. Pulled my hair out on this one, too. SHEESH.

  • Heather Smith
    January 10, 2016 at 5:17 pm - Reply

    The fridge in the picture, what brand is it? It’s exactly what I’m looking for. Any information you could provide on the fridge in the picture would be greatly appreciated.

    • Jamie Bailey
      January 10, 2016 at 6:37 pm - Reply

      The fridge used is listed in the Equipment section of the tutorial. It is a Frigidaire 4.6-cu ft Stainless Steel Freestanding Beverage Center: http://www.lowes.com/pd_591037-47224-FFBC46L2QS_1z11pmp__

    • Adam
      June 8, 2016 at 1:53 am - Reply

      LOL, and what is the beer you are drinking in the video?

      • Jeff Loucks
        June 8, 2016 at 11:15 am - Reply

        That was a Harpoon Long Thaw White IPA. All six of those were delicious.

  • K&N Sales - Kitchen Appliances
    September 6, 2016 at 8:21 am - Reply

    Now this is one great tutorial! Thanks for this one. Getting a beer or wine inventory alert in a personal mobile device sounds great! Right from tracking who’s stealing wine or beer from my fridge to the number of bottles I consumed, I could keep a tab on all, with the help of this tutorial. Amazing step-by-step guide! It really does make a beer or wine fridge super-advanced! It is no less than a fridge for the next gen. An awesome and hi-tech fridge with email/SMS alerts, something which I could not have thought of, without such a blog. Thanks again!

  • EngineersGarage
    July 19, 2017 at 4:46 am - Reply

    Dear initialstate Team

    Greetings for the day,

    We feel glad to inform you that your website/blog titled (Tutorial: Beer/Wine Fridge of Awesomeness and hyperlink”http://blog.initialstate.com/tutorial-beerwine-fridge-of-awesomeness/”) was covered by our teams on our website www.engineersgarage.com

    The coverage can be locate at (Fridge of the future
    and hyperlink”https://www.engineersgarage.com/mygarage/fridge-future”). You may use the same link to share the story among your community/followers.

    If you would like to submit more recently developed projects for review, you may contact us using the link (DIY Reviews, https://www.engineersgarage.com/submit/diy-reviews).

    About EG: 

    EngineersGarage is a community of Electrical & Electronics Engineers which interacts with each other to learn and share technical knowledge. We publish high quality technical content which includes experiments, circuit design, tutorials and articles for the electronics fraternity. Our community comprises of active and loyal audience of design, research and product engineers from industries and hobbyists. 

    Key Statistics

    1. EG currently serves 550k+ visitors every month. 
    2. Registered database of 300k+ engineers.
    3. 1Million+ followers on Facebook.

    Best Wishes

    Team EG

Leave a reply: Cancel Reply

Your email address will not be published.

Site Footer

Sliding Sidebar

Categories

Press Release Raspberry Pi Makerspace Profiles Ethereum Guest Post Big Data Internet of Things Use Case Cryptocurrency Technology BeagleBoard Review Weekly Envy Arduino Major Release SlideShare Presentations Quick Tutorial Videos SmartThings Tutorials Engineering Resources Company News Thingsee Hardware Did You Know Future Entrepreneurs Interviews Uncategorized