---
title: "Office Intelligence: Popcorn Maker (Part One)"
description: For the second installment of Arkatechture's Office Intelligence series, we hooked a Raspberry Pi up to our popcorn maker!
---

[Data Blog & Analytics | Arkatechture ](https://www.arkatechture.com/blog)

# [Office Intelligence: Popcorn Maker (Part One)](https://www.arkatechture.com/blog/office-intelligence-popcorn-maker-part-one)

 Written by [Chris Bond](https://www.arkatechture.com/blog/author/chris-bond) | June 23, 2016

 

A few months ago we hacked together a device using a Raspberry Pi to measure our [office coffee consumption](https://www.arkatechture.com/blog/office-intelligence-coffee-production). Well, the non coffee drinkers of the office started to get jealous that we had cool data and a cooler viz, and they didn't have anything. **Enter the popcorn machine**:

 

 

This popcorn machine has been with us at Arkatechture since 2015 and is our Chief Data Officer, Amy Mullen’s favorite part of the office. Before we got started we asked ourselves "*H**ow do we measure when a person wants to grab a handful of that sweet, sweet golden crunch?*"

Someone in the office mentioned that the handles of the machine connect to a single magnet in the back, and that they make a circuit. We can work with that. Here’s a picture of the doors opened and closed so you can see the magnet behind them.

 

 

You might ask: **is it safe to run electricity through the handles**? Well I don’t know much about electricity, I'm a just a Software Engineer, so I can’t answer that. But I can tell you that it’s only 3 volts going through the handles, and after trying to electrocute myself for 10 minutes and failing, **I deemed it safe**.

 

 

The backend looks very similar to what we did [with the coffee maker](https://www.arkatechture.com/blog/office-intelligence-coffee-production). We created endpoints using AWS’ **API gateway** and then post to a database. Although this time we used **DynamoDB** instead of **SQL Server** because we’re changing and adding things constantly and our data is pretty unstructured.

### In our next installment, [we made a viz](https://www.arkatechture.com/blog/office-intelligence-fresh-pops-data-viz) of how much popcorn everyone (Amy) at Arkatechture eats!

[View full post](https://www.arkatechture.com/blog/office-intelligence-popcorn-maker-part-one)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Chris Bond"
  },
  "dateModified" : "2017-03-03T21:21:47.646Z",
  "datePublished" : "2016-06-23T16:00:00Z",
  "headline" : "Office Intelligence: Popcorn Maker (Part One)",
  "image" : {
    "@type" : "ImageObject",
    "height" : 1600,
    "url" : "http://cdn2.hubspot.net/hubfs/420238/Blog_Images/IMG_20160621_092553.jpg",
    "width" : 1539
  },
  "mainEntityOfPage" : "https://www.arkatechture.com/blog/office-intelligence-popcorn-maker-part-one",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60.0,
      "url" : "https://www.arkatechture.com/hubfs/ArkaLogo_Large.png",
      "width" : 377.70493
    },
    "name" : "Arkatechture Blog"
  }
}
```