Category Archives: Design

The Future of Hardware, Software, and The Physical World – Takeaways from O’Reilly Solid 2014

Last week, I attended the O’Reilly Solid Conference, focusing on solid – the intersection of hardware + software + physical things. While hardware and software have existed for decades and are mature in their own rights, it is often the intersection of disparate things that creates innovation though collisions of innovation. And so over 1,400  curious people gathered together to collide.

I wasn’t sure what to expect of conference.  I am passionate about hardware + software and the new possibilities for interactions and solutions that it enables.  And while wasn’t exactly what I thought it would be, it surprised, delighted, and taught me, leaving me hopeful and inspired in the future of solid.

While I’ll share some focused takeaways and observations in the remainder of this post, perhaps the thing that made the biggest impression on me was the diversity of the attendees and speakers. From professors to mechanical engineers to startup founders to artists to hackers to industrial designers to the just interested, solid is well poised to collide ideas to enable new and unexpected outcomes. It will be interesting to see the collisions it creates in the future, as well as who composes the community in the coming years.

After attending a diverse set of sessions and chatting with many attendees, the following takeaways standout for me:

  1. Don’t make a better solution for an unnecessary process. Focus on the user’s desired outcome and make a solution for that. Hardware + software enables new solutions that were hard or impossible previously.  Think about how things should work, not how they do work. This may mean remaking or even eliminating a process. Disruptive change.
  2. Hardware should know us. And it shouldn’t require a separate identity for each device. It should know our preferences and learn about us, no matter where we are. We need single sign on for the physical world. We should be able to interact with the whole world, not just a lightbulb in our living room.  The entire would should be a continuous interaction.
  3. Making is still too hard, but lots of people and companies are working hard to make it easier.  There is a huge complexity difference between 3D printing and CNC. Additional complexity is free in 3D printing while it’s not in CNC due to extra fixturing, rotation, etc. Also new making machines and materials are enabling new solutions like combo CAD / CAM / CNC / Laser / 3D printing all in one.
  4. Most remaining problems in the world are physical and require a physical solution, be that hardware + software / etc, to solve them. Software can partially solve it, but can’t bring a full solution to bear alone.
  5. We have tons of gadgets that don’t interact with each other. They need to be able to interact. Users want outcomes not brand specific ecosystems and proprietary closed solutions.
  6. Prototypes spark conversations. Build hardware prototypes fast, fail fast, fail often = more time to iterate and make it great. Sometimes the prototype is just a conversation starter – a way to get other people sharing their perspectives, even if they drastically change your initial direction.  Also, firmware can be used to dramatically iterate a physical product.
  7. You are the button. Hardware enables new methods of interaction. Maybe it’s where you are. Maybe it’s where you aren’t. Maybe it’s where you’re pointing. Maybe it’s who you’re with. Maybe it’s tapping one device to another. Maybe it’s flicking content from one device to another. Reimagine. Be playful. Some things will stick, the rest will be fun.
  8. Hardware can be soft. Just because something is physical doesn’t mean it must be rigid and frozen. Fabrics and flexible materials enable soft hardware, much like humans and animals with skin, mussels, and bone.  And often these are simpler to implement.
  9. Some promising tools and services:
    • Temboo: A service for orchestrating the Internet of Things, offering integrations with 100s of APIs and 1000s of API Calls.  Helps to limit the resources needed on limited resource embedded devices.
    • Mellow: A home sous vide machine for cooking food, design more like the Nest in terms of thinking about real use cases you care about.  Examples: It keeps food cold and starts it later in the day so it’s ready when you arrive home.  It asks you how you liked your meal and learn about you to better suite your needs in the future.  I love things the speak, and Mellow is a great example.
    • Node Red: A visual editor for Node.js to orchestrate interactions between the Internet of Things.
    • MQTT: A broker for publishing and subscribing to data using a lightweight protocol, limiting the resources needed on limited resource embedded devices.
    • noam.io: A service for rapid hardware prototyping through easy data storage.
  10. We’ve come so far, but we are only at the beginning… Some of these things may take years or decades to mature, but the attendees of Soid are leading the way.

-Adam

Better Ski Maps – Tinkurlab: SlopeStyle

Tinkurlab is going spatial!

We’re adding maps and spatial data to our visualization techniques.
Keep reading for the first foray into mapping…ski slopes!

——–

You’ve heard it all before.

“This run would totally be a green out west.” “This resort isn’t as hard as my home mountain.” “A blue here doesn’t equal a blue there.”

Really? Are you sure? The resorts themselves state that trail ratings are subjective to that particular mountain. Green – Blue – Black – Double Black…and what are those RED trails about in Europe? Even snow conditions can change the rating of one particular trail.

Tinkurlab's collection of trail maps from the 2013/2014 season...each one different

Tinkurlab’s collection of trail maps from the 2013/2014 season…each one different

Ski trail maps are works of art; designed by a couple people to make you want to visit the resort and display the number of trails- but how much can a color tell you? If it’s the right color, turns out a whole lot.  Enter Tinkurlab:SlopeStyle.

Tinkurlab_SlopeStyle

maps.tinkurlab.com/slopestyle

Earlier this winter, Adam and I relocated from Washington DC to Denver, and had many more ski resorts available to us within a 2 hour drive. Resources like FreshyMap helped us determine which one to hit up with a quick glance.   With so many choices, I was curious about finding a way to objectively compare resorts and tell which parts of the resorts I wanted to ski.  In ski progression, it’s easy to both stay on terrain that you are better than or find yourself in way over your head.  I wanted a way to know what I was getting into before I took that first turn.

Tinkurlab:Slopestyle lets you visually explore the pitch and slope angle of your favorite ski runs.  With this data, you can easily compare these runs with others at the same resort to find new terrain.  Additionally, since the color-coding is the same across the maps, you can now compare resorts with each other.  Pink is pink, no matter where you are!  The site performs the same on a desktop as on a phone, allowing you to plan your runs from   any type of chair you’re sitting on.   Happy skiing!  If interested, please read further for the technical details on how the site was created.

Built by processing USGS elevation data with GIS commands to calculate and thematically render slope pitch in degrees.

What I needed to start was elevation data.  I found what I was looking for thanks to the USGS.  They publish layers in varying degrees of resolution and are available for download using The National Map.  I selected the files for the sections of Colorado and California that I required, and set about processing the data.

I used the GDAL utility as my primary GIS tool.  It’s open source, and allows the user to execute a variety of commands for translating and processing raster data.  Using the command-line operators, I was able to create greyscale hillshade layers and calculate the slope for the terrain I was interested in.  I then selected break points for the slope degrees, and generated a color-reilef map based on the pitch.

Example commands:
gdaldem hillshade -s 111120 DEM.adf hillshade.tif
gdaldem slope -s 111120 DEM.adf slopedegree.tif
gdaldem color-relief slopedegree.tif slope-ramp.txt slopeshade.tif -alpha -co ALPHA=YES
Vail Hillshade TIFF

Vail Hillshade TIFF

Vail Slopeshade TIFF

Vail Slopeshade TIFF

Ski resort data overlaid using OpenStreetMap exports stored in PostGIS databases.

The next step was to get the trail map data.  My initial plan was to find a web service containing the features and add it to my map.  That search did not yield great results, so I switched to plan B and learned how to use OpenStreetMap exports.

I used JOSM to extract the aerialway, downhill and woods features for the ski resorts included in my beta site.   Once I had the .osm data, I used osm2pgsql commands to add the features to a PostGIS extended PostgreSQL database.   I found the LearnOSM tutorial extremely helpful (I’m using a Mac with OSX Mavericks, and was able to follow along with the Windows prompts.)

Visualized using Mapbox TileMill and Mapbox Javascript API.

Once I had the data downloaded and processed, it was time to put it all together and create some maps.  I chose to use Mapbox TileMill to combine my layers and create map tiles.  The Carto CSS-like language enabled styling control, and the built in raster and PostGIS support made adding data incredibly easy.

slopestyle-tilemill

Slopestyle TileMill Interface

The tile packages were uploaded to the Tinkurlab Mapbox account, and I set about creating the interactive web map using their javascript API.   The examples are straightforward, and with a couple lines of code, I was up and running.

SlopeStyle - Mapbox Javascript API

SlopeStyle – Mapbox Javascript API

Packaged in a responsive website.

It was important to house the webmap in code that would render correctly on any device.  You might investigate the resorts on a desktop at home, but on the mountain, you’re going to be on a phone.  The Twitter Bootstrap framework is perfectly suited for this application.  Both Tinkurlab:Maps and SlopeStyle are built using Bootstrap with some custom CSS files.

The application defaults to the I70 corridor resorts in Colorado, but the user has the option to switch to the Lake Tahoe area and back.   I chose to focus on the resorts that we skied the season, but plan on expanding in the future.  Other features in the future might include the ability to select a run to view it’s entire slope profile, as well as rendering the slope colors based on your personal ski preferences.  Keep checking back for updates!

– Val

What’s the best tool in our hackerspace workshop? A Dremel. Hands down.

Tales of Tools and a Panning Timelapse GoPro Timer.

So what is the best tool in TinkurLab’s workshop?  A Dremel!  Hands down!  Well, 1 minute quick drying epoxy is a close second, but let’s save that for another day.

It can cut.  I can grind.  It can drill.  It can route.  It can sand.  It can polish.  It’s pretty small.  You can get new bits cheap.

So how did we get to this epiphany?  I recently completed a small project to update my timelapse panning timer – affectionately named TinkurLapse.  TinkurLapse rotates my GoPro camera as it takes a photo every few seconds, creating a panning timelapse video.  My original timer was basically a $2 Ikea kitchen timer with a ¼”x20 screw glued to it to screw into the GoPro’s tripod mount.  BTW a standard camera tripod mount takes a – you guessed it – ¼”x20 screw.  Remember that for your next trivia night.  Anyway, in the spirit of most Tinkurlab projects, the goal was to get a minimally viable product out the door quickly to start really learning about it and to make improvements.  “Learning by doing” in other words.

TinkurLapse Panning Time-Lapse Camera Timer

And learn I did.  While the first version of TinkurLapse worked, it had a few issues.  First and foremost, having a tiny base, relatively high height, and very light weight resulted in an unbalanced base for the GoPro which easily fell over.  Many early experiments resulted in setting the camera up for a 60 minute timelapse only to return after an hour to find the camera lying sideways rotating the timer under its base.  Pretty uneventful video! The other issue was its size.  While it wasn’t huge, it wasn’t small either.  Given that most of my GoPro shooting occurs during travels and adventures like hiking, skiing, etc, it would be ideal to make the panning timer as small as possible.  While the first version of the panning timer worked, I didn’t use it very much.  It just wasn’t good enough for me.  I value it provided didn’t overcome the cost of using it.  My goal of creating awesome panning timelapse videos was blocked.

So one day while aimlessly wandering the Internet, I decided to search for a prebuilt device.  I know – it was a moment of weakness.  How un-DIY of me.  There are not very many panning timelapse devices on the market (at least not under less than a few $100s for professional use), but while browsing through the catalog of Photojojo, I came across the Camalapse.  However, aside from the $30 price tag, it has the same problem as the first version of TinkurLapse – not stable enough.  Camalapse is only 2 ounces, with a small base.  A featherweight.  However, it does support mounting to a tripod to provide a more stable base, so it has potential.

After knocking some sense into myself, I set out to research ways to improve the initial design.  I found a great video from a serious panning timelapser, who posted a great tutorial.  The tutorial suggested using the same Ikea kitchen timer I used in the first version of TinkurLapse – no problem, I bought 3x just for this reason.  The tutorial also had some other great ideas – remove the done bell as to not scare all people and wildlife in 1 mile radius, and mounting the timer to a Gorillapod tripod to provide a more stable base.  Perfect!

Enter the Dremel.  After some drilling, grinding, and gluing I had completed version two of TinkurLapse.  On to testing.  The initial test run resulted in rotation of about 90 degrees before stopping.  After some investigation, I determined that excess glue and some of the timer’s parts were obstructing the rotation of the GoPro mount.  What to do?  Dremel it!  After some precise grinding and sanding, I had trimmed down the responsible obstructions.  The next test passed without issue, even removing the annoying done bell at the end.

TinkurLapse v2 is ready for some more real world testing!  I’m looking forward to a few upcoming skiing trips to use the new TinkurLapse.  I’ll post some videos.  Until then, happy tinkering!

Example Timelapse Video 1

Example Timelapse Video 2

-Adam

 

Tagged , , , ,

Das Bot 2.0 – Now with more beer!

How quickly time goes by.  It seems like we only just completed Das Bot v1.0, but with Oktoberfest 2012 quickly approaching we started one of the biggest projects we’ve completed to date – Das Bot 2.0.  Instrumented beer on a grand scale!

The final setup, ready for the party to start.

 

Das Bot is a system for monitoring and controlling access to beer through RFID tags. Built on top of an internet-connected Arduino, the system accepts an RFID tag, checks to make sure you’re registered, opens the solenoid valves in the beer lines, lets you pour a beer and monitors how much you’ve poured, saves the data to a database, and prints out a receipt. Oh, and there’s prize badges you can win as well. There were three beers on tap this year (a homebrewed Dunkelweizen, a homebrewed Hefeweizen, and a Hofbrauhaus Oktoberfest) and each beer was tracked independently.

The Hardware

Das Bot contains the following pieces of hardware:

  • Arduino (with Ethernet shield) – the brains of the operation. This micro controller is what reads the RFID tags, talks to the PHP/MySQL site, controls the solenoid valves, prints to the thermal printer, and reads the data from the flow meters.
  • RFID Reader – reads the values from the RFID chips and sends the value to the Arduino.
  • 3 Solenoid Valves – similar to the ones on Adafruit’s site, these valves are normally closed (restricting access to vital beer) and are only opened when the Arduino gives the go ahead. After 10 seconds of no beer flowing, they close again. Since these draw more current and run at 12v, we used an old 12v wall wart we had laying around to power these (through the relay).
  • RelayThis relay controls the power to the solenoids.
  • 3 Flow Meters – we used the ones from Adafruit to send the flow data to the Arduino.
  • Thermal Printer – printed a welcome message, current stats, and final pour total for each pour.
  • Electrical Box – from the big box home improvement store, this water (and beer-proof) project enclosure was perfect for housing the Arduino, printer, and other electrical components.
  • RGB LED – when the light turns blue, pour your beer
  • Piezzo Buzzer – something this complicated needs to beep. Ours beeps when an RFID is successfully read.
  • Jockey Box – this converted cooler has a 7-pass plate chiller inside and once covered with ice, chills the beer as it flows through. This means no need to keep the kegs in giant plastic tubs with 800lbs of ice.
  • Tap Handles – no jockey box is complete without custom milled tap handles.
  • The Override Switch – this can not be over-appreciated. Buried in an undisclosed location was a switch that would override the arduino and open the solenoid valves. In the event of catastrophic failure, this is the switch represented the difference between beer and no beer. I’m always going to support the side with beer.

Closeup shot of the solenoids

The override switch. Luckily, this wasn’t needed this year. But it’s nice to know it’s there.

 

The Software

The hardware was almost the easy part of this project. We had experience with Das Bot v1.0, so adding some additional sensors wasn’t too difficult. The hard part was getting everything to talk to each other at the right times, with the right data.
Here’s what the software side looked like:
  • Arduino code – this is the air traffic control system. When an RFID chip is read, it sends the data to a web service and gets back the user’s current status. If they’re not registered, they get one (and ONLY one) free beer before they’re required to register. The flow meters are opened and activity from the meters is recorded. After 10 seconds of no flow, the system closes the valves and sends the pour volume data to the web service. The Arduino then prints out a receipt listing pour volumes and any badges that were won on this pour.
  • PHP/MySQL – a website used to store and present data during the party. The web service components were built using some simple PHP with a MySQL back end. The dashboard (running on an iPad taped inside the kitchen window during the party) presented current keg stats, leaderboards, badge summary, and other interesting bits of info. We also included the calibration for the flow meters in the database to allow for different keg sizes and to help more accurately record the data.

The welcome message displayed once an RFID tag is scanned

 The Dashboard

Want to become mayor of the Hofbrauhaus? Brag about having the largest drinking vessel? Why not turn an entire party into a drinking game? With all of the data we were collecting, it seemed natural to present this information back to the user. The thermal printer can only present so much data. The kegs were also under the table, making the “just lift it to see how much is left” method rather difficult. So, we created the dashboard to give a quick way to see how much fun we were having (note to self: next year, add a “fun” meter).

The dashboard presented the current leaders, the amount of beer consumed for each keg, the 5 most recent pours, and some other random stats. Some badges were mysteries, only visible once unlocked. Others were hinted at by the icon. Either way, the best way to win a badge was to drink beer. Actually, that was the only way.

How much fun are we having right now? Oh, THAT much. This was displayed on an iPad safely taped to the inside of the kitchen window. It was visible from the taps.

Future Enhancements

Some ideas for the 2013 Oktoberfest:

  • Integrate the photobooth – haven’t been inside the booth in the last hour? No beer for you!
  • More badges to win – need target different needs in people’s psyche, not just the “I drank more than you did” desire
  • Allow “offline” badges – someone won the beer stein race, but we’ll never remember who it was. We’ll need a way to award spot badges from mobile devices.
  • More notifications when a badge is won – I’m thinking car horns, disco balls, or fireworks. Perhaps all three.
  • Breathalyzer integration – imagine tracking this against the volume consumed overlayed with the photobooth pictures. None of our friends will ever be politicians.

Images

Additional images from the project:

 

RFID chips. Everyone got one. There were also zip ties to attach the chips to your beer stein.

The custom tap handles came out well.

The system, all condensed.

Water and electricity don’t mix, so we taped the electronics inside the cooler to the lid.

Additional photos can be found on Flickr

 

-Matt

 

*Disclaimer – Please note that this system was built for responsible adults. EVERY person in the “leader boards” either spent the night (and likely much of the next day) at the location or were driven home by a designated driver. We might mix water, beer, and electricity together from time to time, but we certainly don’t drink and drive.

Tagged , , , , ,

Four Frames Photubooth

www.FourFramesBooth.com

I love photographs. Their ability to capture a single candid moment of life. The play of light – black, white, shades of grey. Reminders of the people, places, and things that make life special. Ever since my friend Jim introduced me to photography as a teenager, I’ve had a special place in my heart for photography – taking pictures, post processing and darkroom, incorporating photography into my daily life and adventures, collecting vintage cameras, pushing myself to become a better photographer.  Out of all my photographs, the ones I enjoy the most are candid shots of family and friends. So I suppose  its a logic extension that I have a special interest in photobooths – the ultimate candid moment maker. Four Frames – four frames of uninhibited glory to do whatever you want. So with that love of photography and photobooths, TINKURLAB’s newest creation is the Four Frames Photobooth.

Four Frames Photobooth

A modified a dryer duct diffuser provides a finished opening for the camera lens. The extra room in the opening enables adjustment of the camera height and angle for different shooting situations.

The Four Frames Photobooth is based on an earlier photobooth named Das Booth created for our 2010 Oktoberfest party – “Fest”. Das Booth had no housing, with all the components freely exposed – a Nikon D200 digital SLR camera, a netbook computer, an Alien Bee 400 watt studio strobe, DIY Photo Bits software, and of course a big button. All this gear was setup in a small shed attached to our house (from the 1950s – it has odd storage locations). We also spruced up the inside shed, hanging black fabric on the walls and adding a small bench for those who didn’t want to hang upside down, through the door, do handstands, etc. After entering the booth, partygoers pressed the button, struck a pose, and took 4x pictures. After a minute of inactivity, a slideshow of random photos began playing on the screen – almost as popular as the actual taking of photos. The photobooth was a hit, and ever since has been an staple of Fest.

Four Frames Photobooth

Photostrip catch basket catches photostrips as they leave the printer, awaiting pickup by event guests.

Envisioning

Fast forward to 2012, Val and I had 4 weddings to attend in 2012, three of which were interested in having a photobooth. So as Matt and I started talking about all of these upcoming weddings, his among them, we decided to take Das Booth to the next level – to build a photobooth that would be of high reliability and quality (aka pretty to look at) for use at his own weddings. That seemed like a good high level acceptance criteria. We continued to discuss “must have” features, and decided on the following:

Automated Photo Taking

  • Show descriptive “how to start” instruction on screen
  • Press button to start
  • Take four photos
  • High quality photos and lighting
  • Save original photos and photo strips to computer

Print 2x Photostrips

  • Print 2x photostrip of four photos
  • Photostrips must be 2″x6″ (not 4″x6″ requiring manual cutting)

Highly Reliable and Self Sustaining

  • Zero failures during event usage
  • Take, store, and print 300+ photostrips of 4 photos each without materials replacement (paper, ink) during 5 hour event

Transportable

  • Able to be set up in 30min or less by one person
  • Able to be torn down in 30min or less by one person
  • Must fit in a mid sized SUV

Well Packaged

  • Look good
  • Look professional
  • Something we’d want at our own wedding / event and would pay money for renting

We also kept a backlog of other “nice to have” features that may be implemented in the future.

So with our features identified we set a deadline of the end of March 2012 to have the new photobooth fully completed and tested to ensure ample time for the bride and groom’s to make other plans if the photobooth wasn’t ready in time. And as things often go, we started working on the photobooth in mid April 2012 – two months before the first wedding, and well after our deadline. Hey, it was ski season!  Gota get in the turns while you can.

Four Frames Photobooth

Locking wheels provide for mobility to and from the event location. A single 30′ power cord provides an umbilical for all power in the photobooth and is long enough to deal with far away electrical outlets – a common challenge at events.

Development and Testing

Because I already had a lot of confidence in the photography and automation aspects of the photobooth, our initial focus were on the largest risks:

Packaging
Packing (the housing for the photobooth) took the most time of the project. We were trying to keep the costs down, so we were constrained by finding materials that looked good, were durable, but could also breakdown for our transportation and speed requirements – all at a reasonable cost. Matt, Val, and I all set out working on designs – together and independently, finding examples of photobooths that we liked, creating sketches, and periodically reviewing together.  In terms of material, we initially gravitated towards 80/20, dubbed the “industrial erector set, a system of aluminum stock and connectors that all work together to build almost anything. After learning a bit about 80/20 through online research, Matt and I created a specifications and a parts list. 80/20 is generally only sold through resellers, one of which offered to created a CAD schematic to validate the design – ours was spot on. After receiving quotes, the total cost for just the housing was coming to over $3000 – over our budget. The most expensive component were acrylic panels that would form the sides, top, and bottom of the photobooth. Realizing that spending so much money on a material we had never worked with, combined with the cost and looming schedule, I was hesitant to proceed. I also wasn’t happy with the look of the material – the design was busy – not simplistic and clean enough. So we did that anyone would do in such a situation – Matt, Val, and I went to Ikea and didn’t leave until we found the best possible solution – a large white cabinet of wheels that separated into two halves with a window on the top for the flash. About $200. Perfect. The exercise provided us a great constraint to work with what was available, and allowed us to move forward. We can always change the packaging in the future, after we’ve had some real world testing to learn more about the pros and cons.  We also decided to make the photobooth “open”, not having any enclosure for partygoers.  This is also something we can add in the future, but during testing we actually found out that allowing people waiting to use the booth to see people using the booth can actually create excitement and boost usage. Check.

Reliability
Das Booth was fairly reliable. But sometimes it locked up. Or crashed. Maybe one or twice during a party – but still too frequently for someone else’s event. It was also important to us that the photobooth be highly reliable, not requiring any maintenance during an event. Given the looming schedule, we decided to buy a reliable and cost effective photobooth software package. While we will certainly want to do custom scripting in the future and may develop our own software, we felt the best decision was to invest the $150 rather then potentially invest $1000s of our own time without having enough real world testing to learn more. After a few rounds of testing the software, we confirmed it was rock solid. Check.

Printing
The last major area that needed presented a risk was the photo printing. After consulting with a friend who is a sports photographer and does onsite printing, we decided to buy a HiTi dye sublimation printer – that same type used in professional photo labs. The printer uses a roll of paper which is capable of printing 330 4″x6″ photos without replacing ink or paper, and has an average print time of 12 seconds. As an added bonus, the printer also cuts a 4″x6″ photo into two 2″x6″ photostrips. Perfect. Check.

The first integrated test of the photobooth occurred one evening when George and Matt, two of the grooms, were over for dinner. What better way to convince potential clients then a demo! After setting up the gear in the middle of our living room, we took a few test shots. Awesome! I love how everyone just knows to act crazywhen there’s a photobooth. Both “clients” were convinced and we also got some great photostrips as well.

Four Frames Photobooth

The finished photobooth, complete with flash diffuser, camera, touchscreen, and photostrip catch basket (left).  A very clean design.

More to come in another post about alpha and beta testing (aka weddings), example photostrips, and what’s next. Stay tuned for posts in the near future.  Until then, check out www.FourFramesBooth.com.

Parts

  • Ikea Cabinet
  • Fluorescent Light Cover Material (for flash diffusion)
  • Nikon D200 camera and 28 f/2.8 lens
  • Tripod Ball Head (for mounting camera to shelf and providing adjustability)
  • Dryer Duct Diffuser (for camera lens cut in cabinet)
  • Alien Bee 800 watt Studio Strobe
  • Lug Bolt and Nuts (for mounting flash to shelf and general in cabinet mounting)
  • Asus Netbook Computer
  • Photobooth Software
  • HiTi Printer
  • HiTi Paper and Ink
  • Wire Basket (for catching photostrips)
  • Power and Data Cables

Four Frames v.Next Potential Features

  • Interaction with social media (Facebook and Twitter)
  • Allow users to tag photos or automatically tag using RFID or NFC
  • Create interaction with other products (ex. Das Bot)
  • Gamification
  • Allow users to request reprints
  • Taunts (when inactive, taunt users to take photos)
  • Other Activation Methods (sound, motion, face detection)
  • Random Timing (take random number of photos and/or random timing)

-Adam

 

Tagged , , , ,

Das Bot – Instrumented Beer

Oktoberfest is a big thing – BFD – in our household. We love beer, we love sausage, and we love hanging out with our friends. So what better way to celebrate those things then an annual Oktobesfest party. Our first “Fest” was held one week before my wife and I got married in 2008. It was informal and ad hoc – some bratwurst sausages, six packs of good beer, and friends sitting around a firepit on our side patio. Since those days, Fest has grown into a much bigger affair, complete with an Oktoberfest tent, photobooth, stump, homemade sausages, and homemade beer compliments of Matt and Matt – two of our friends who are also excellent beer brewers.

We first hosted the Matt’s beers at the second Fest, creating The Trasherator out of a large rubber trashcan fitted with 3x beer taps and ample space for ice and 3x 1/6 beer kegs. So what could make this situation any better you ask. Das Bot!  Das Bot is an Instrumented version of The Trasherator that measures how much beer is consumed by each guest and keeps a running total of consumption complete with a leader board of stats.
The scenario works like this:

  1. A new drinker pickups a small key chain RFID tag and swipes it over Das Bot’s tag reader. A led light blinks confirming the tag has been read.
  2. If its a new drinker, Das Bot prints a message using a thermal receipt printer welcomes the drinker, asking the drinker to register, and advising the drinker they will recieve one beer without registering. If its an existing drinker, Das Bot prints a message with the drinkers consumption total.
  3. Das Bot opens solenoid valve in the beer lines enabling the flow of beer. The drinker has up to 10 seconds of inactive beer flow to pour as much beer as they want. As the beer is being pored, Das Bot is keeping track of how many ounces have been poured using a flowmeter in the beer line.
  4. Once the drinker has stopped pouring beer, Das Bot prints a message with the drinkers new total consumption and a summary of the top three consumers.
  5. Das Bot also has a web interface tat can be accessed via desktop and mobile web browsers enabling drinkers to register, provide their nickname, and check the overall leader board and % of beer renaming in the keg.

Das Bot v1.0 was a big project so I enlisted the help of my friend Matt. Matt and I only started the project in earnest about a week and a half before Fest. We started with a envisioning session with a whiteboard, identifying the overall features and process flow, and discussing implementation plans and potential risks. We self assigned work based on our abilities and focusing on higher risk features first. While Matt worked on the enclosure, mounting, and wiring, I wrote code for each individual component – the RFID reader, the solenoid, the flowmeter, the Ethernet network interface and web service calls. After figuring out the electrical interfaces and code for each component, I started coding them together into the over process. Matt and I would periodically break to discuss progress, make additional implementation decisions, and help each other with impediments. We worked this way for a few nights, making steady progress. Matt also created the web service interface and web site. After some hasty testing Fest was upon us. As a final feature we added a kill switch that would bypass the system allowing beer to flow freely in the event of a malfunction. There’s noting worse for a beer dispensing robot then angry beer drinkers with no beer.

“There’s noting worse for a beer dispensing robot then angry beer drinkers with no beer…”

And so the day came – the day of Fest. With all the other preparations we were a bit rushed to setup Das Bot but successfully installed it on a single 1/6 keg. At first, all seemed well. But soon we found that Das Bot was only pouring for 10 seconds regardless of if there was flow or no flow. Translation – only 10 seconds of beer. Not enough to fill a 1L stein. Angry beer drinkers. They put up with it for a bit, but we eventually activated the kill switch to placate the drinkers.
A few weeks later Matt and I sat down to triage the bug. It turns out we missed a single line of code that activated a pull up resistor on the Arduino board that stabalized the reading from the flowmeter. Turns out the flowmeter wasn’t registering any flow they tripping the 10 second cut off and thereby angering the beer drinkers. One line of code. Sigh. But we fixed it! And did more extensive testing this time. Das Bot is patiently waiting for the next Fest – and maybe a few summer BBQs (for beta testing of course).

Parts

  • Arduino Uno
  • Arduino Ethernet Shield
  • Solenoid value
  • Flowmeter
  • RFID reader
  • Thermal receipt printer and paper
  • PHP code and Database and server running Apache and mySQL
  • Website
  • Misc supplies – wire, tools, etc

Das Bot v.Next Potential Features

  • Badges awarded for certain achievements
  • Adding support for additional beer lines
  • Improving packaging to allow for faster setup and teardown, especially for quick connections for beer inflow and outflow lines
  • Addition of breathalyzer to track each users progression over time
  • Itegration with the Photubooth that earns credits that can be redeemed for beer
  • Integration with Twitter

-Adam

Tagged , ,

Visualization and RoadLogger

As I recently tweeted, “Information is no longer a scarce resource – attention is”.  While technology, the internet, and the web of things have made amazing things possible, they have also given rise to vast amounts of information that are accessible almost anywhere at anytime.  Given this overload of information and often trying to find better way to determine what information is relevant and to improve the effectiveness of consuming it, I’ve recently found myself intrigued by data visualization – taking lots of data, analyzing it , and presenting it in a visual way that conveys a different point of view then the data could alone.  As a photographer, the phase “a picture is worth a thousand words” comes to mind.  And so to learn a bit more about this area of tinkuring, a few months ago I started reading Visualize This: The FlowingData Guide to Design, Visualization, and Statistics in which Nathan Yah describes his approach to visualization, including tools, approach, design – quite an interesting mash up of disciplines.

Realizing the first step towards visualization if to have data to analyze, I created a Arduino project called RoadLogger to use on a roadtrip to New England last summer with Val.  RoadLogger (v1.0) logged the location, speed, altitude, direction, and driver of our car ever second, using a USB GPS antenna and a microSD card to data storage.  While I haven’t had time to post info about RoadLogger and finish analyzing the 32,000+ datapoints, I’ve been thinking about what might be interesting way to analyize the data and present it visually.  Here’s a quick list of thoughts:

  • How many miles did each driver drive?
  • What was our average speed per state?
  • Who was the faster driver?
  • What was the average time from 0 – 60 mph per driver?
Any other ideas?

Until I get around to doing some more work on this project, check out my first basic visualization “Am I A Foodie” at another one of my blogs Until It’s Done.

-Adam

Tagged , , ,

Mugs of Glory – “They’re Accountable”

About a year ago, I started making mugs to immortalize the witty and otherwise worthy quotes of my friends, family, and acquaintances.  When someone says something the makes me laugh – they get “their mug”.

The “They’re Accountable” mug was inspired by two acquaintances who always joked that the other one was accountable and kept pointing fingers at each other.  Now you too can lay the blame on whoever is sitting to your left – a much more passively aggressively.  Makes a great gift.  Order yours today.

-Adam

 

Tagged , ,