Hackaday.io Hackaday.io
Projects
Discover Contests Courses Stack
More
Courses Tutorials Events Hackerspaces Hackaday.com Tindie Marketplace
Sign up Log in
Close
0%
0%

Reverse Vending Machine

Bribing kids into eating healthy since 2015.

milkey-mouseMilkey Mouse
Following Follow project
Liked Like project

Become a Hackaday.io member

Not a member? You should Sign up.

Already have an account? Log in.

Sign up with Github
Sign up with Twitter
OR
Forgot your password?

Just one more thing

To make the experience fit your profile, pick a username and tell us what interests you.

Pick an awesome username
hackaday.io/
Your profile's URL: hackaday.io/username. Max 25 alphanumeric characters.
Pick a few interests
Projects that share your interests
People that share your interests

We found and based on your interests.

Choose more interests.

OK, I'm done! Skip
Join this project
Similar projects worth following
2.7k views
9 comments
28 followers
10 likes
  • Description
  • Details
  • Files 0
  • Components 8
    • View all
  • Logs 3
    • View all
  • Instructions 0
  • Discussion 9
  • The 2015 Hackaday Prize
View Gallery
2.7k
9
28
10

Team (1)

  • milkey-mouseMilkey Mouse

Join this project's team
  • GitHub repo
hardware
Software
ongoing project
2015HackadayPrize

Related lists

2015 Hackaday Prize: Quarterfinalists

Projects that were officially submitted to the 2015 Hackaday Prize

This project is submitted for

  • The 2015 Hackaday Prize

This project was created on 03/10/2015 and last updated 10 years ago.

Description

When I was six, I put my sister in a cardboard box. When my mom came to see what happened, she saw a box with the words "Reverse Vending Machine" scrawled on the side in a kindergartener's excuse for handwriting. Out of the box came the words, "PLEASE INSERT CHIPS." When I put a bag of chips into the mysterious void, out came a hand, holding two quarters.

I am currently in middle school, and all over the cafeteria are these pictures of this cartoon star captioned things like "Milk is Great!" and "Beans are Radical!" (not even kidding on the last one). No student I know would ever think, "Oh, the sentient blue star is doing it, let's go drink some milk!"

I refined this idea into something that could hopefully convince kids to eat healthy (or, at the very least, not eat junk) at schools. You put in food qualified as "junk" and out comes your 50 cents (or another amount of money). I already have a database of foods and a concept video.

Components

  • 1 × RadioShack USB Postal Scale http://www.amazon.com/USB-Electronic-Postal-Shipping-Scale/dp/B000EREN4S/ref=sr_1_1?ie=UTF8&qid=1434146798&sr=8-1&keywords=B000EREN4S&pebp=1434146802783&perid=969172520E604581874A
  • 1 × HDMI cable Anything works, don't bother with Monster cables.
  • 1 × Adafruit HDMI 4 Pi: 5" Display (no Touch) w/Mini Driver - 800x480 HDMI https://www.adafruit.com/products/1928
  • 1 × Raspberry Pi 2
  • 1 × Webcam A $20 one works fine.

View all 8 components

Project Logs
Collapse

  • Backend scraper

    Milkey Mouse • 04/12/2015 at 05:13 • 0 comments

    I made a Python script that scrapes a UPC food database and spits out CSV files of all the products. It's currently running on a VM just for development, but tomorrow I will work on the (PC) client.

  • Working on app

    Milkey Mouse • 04/11/2015 at 22:22 • 0 comments

    I've started a GitHub for a C# WPF app that will be the setup tool. I want it to look somewhat like GitHub for Windows:

    There's a simplified sketch of what I thought it might look like back before I started development in the RVM video:

    Here's the GitHub, I'd be happy to have some help:

    https://github.com/milkey-mouse/ReverseVendingMachine

  • Video!

    Milkey Mouse • 03/10/2015 at 23:40 • 0 comments

    It makes little sense without narration, but I don't want to do so with my squeaky annoying voice. Also, the video is not completely done, but what the heck. Here is what I have so far:


View all 3 project logs

Enjoy this project?

Share

Discussions

Log In/Sign up to comment

Become a Hackaday.io Member

Create an account to leave a comment. Already have an account? Log In.

Sign up with Github
Sign up with Twitter
OR
Ryan Solonynko wrote 08/18/2015 at 15:30 • point

Yes, gaming the system is pretty much inevitable with such a thing. I noticed you took inspiration from ATM machines, well, why not take it a step further.

I know of many schools, high schools to be specific, that use a sort of student money account for purchases at canteens. Instead of dispensing the cash, students will put in their ID and add the funds to their account. 

This allows you to add another check to the system similar to how ATMs handle cheques. When a product is deposited in the system, it is placed in a container marked with the product, amount worth, date, and student. The funds are immediately added to the student's account. At the end of the day/week/whatever, a human inspector then verifies the packages to determine if they meet the standards required (are sealed, contain the product, etc.). 

If there is a problem, the student's account is charged the amount and they are sent a correspondence concerning the problem. 

  Are you sure? yes | no

usenthrow wrote 06/13/2015 at 02:35 • point

Nice concept, but I'm afraid you should brace yourself against being gamed A LOT. Make sure you payout less than what your local wholesale club charges per-unit for a giant pack of candy & chips. Or pay out bitcoin/vouchers/"Rev Bux (TM)".

I think this is a very challenging implementation and a wonderful learning opportunity. It's easy to verify currency and spit out junk. How are you going to verify that you aren't receiving empty wrappers, soda bottles filled with water or maybe a neatly glued-back-together bag of chips filled with poop??

Because we all know your middle school peers are already plotting what I'm writing :)

I think it depends on what you're goal is. if you want to learn about building cool machines, I think there are better projects with lower chances of human excrement getting all up in your circuits. OTOH, if you're serious about reducing junk food in schools, then I would recommend a social engineering approach.

Too many good engineers have already been lost throwing more machines at social issues.

  Are you sure? yes | no

Milkey Mouse wrote 06/13/2015 at 07:11 • point

Oh believe me I am the kind of person who would put in a Doritos bag full of rocks. For one, it doesn't start to so anything with the food until the Plexiglas door has closed, making it inaccessible to the user, and with a solenoid/spring keeping the storage bay closed so nobody can reach in and steal "exchanged" snack, like a food airlock. It has a postal scale that I'll post an update on soon, and the device checks the weight and scans the UPC for every product. I don't know how many people would bother to fill a bag of rocks to exactly 3.4 oz (since most foods are packaged by weight, these numbers are within 20 grams in my experience) and then print out a UPC. Now I was thinking that at least at my school they already have teachers monitoring the lunchroom (close to the vending machines), so nobody could really poop in there without getting suspended. I agree, in any sort of setting open to the public it would be a pretty crappy idea, maybe even literally. But I have enough trust, at least in those at my school, to think it will work.

In the app I have on the repo, the admins can set the foods they want to accept, so if something bad does happen, they can block that UPC, category of food, or manufacturer. You can block by ingredient, too, in, say, a peanut-free school. I know that before this could go anywhere one would have to consider things like that, which kind of felt like localizing apps, where it doesn't directly benefit most people, but is a deal breaker for some.

The default return price is 75 percent of the 1st quartile price of ones from a few different websites, so it's not like somebody could have an endless cycle of buying and exchanging Doritos or anything. I'm assuming resale is out of the option, since who knows where those snacks have been?

P.S. If someone is not only taking the time to fill a chip bag with something nasty, but also measure it out within a 30-gram range, they can take their stupid 50 cents; they've earned it.

My mom used to work in market research, and helped me get ideas for ways to stop stuff like what you said. I also looked at those phone recycle things and ATM's for inspiration.

Man I wrote a lot, probably should have made this a project log update!

  Are you sure? yes | no

Milkey Mouse wrote 06/13/2015 at 07:14 • point

Also having the option of paying out bitcoin would be kewl, but a. I don't know any (other) middle schoolers who have bitcoin wallets b. The entire system runs without an internet connection in its current state and i dont want to make it need one and c. Bitcoin transactions are harder than cash

  Are you sure? yes | no

Milkey Mouse wrote 06/13/2015 at 07:20 • point

Also, does bribery count as a social engineering approach? ;)

  Are you sure? yes | no

usenthrow wrote 06/15/2015 at 02:23 • point

Sure it does. Sounds like a good plan. I'd love to see an update.

  Are you sure? yes | no

C Stone wrote 04/22/2015 at 17:37 • point

Would suggest that instead of giving out cash, you give out milk/veggies instead. Less likely to get misused that way and more likely to be actually getting kids healthier. Unfortunately it does add cost due to required refrigeration and regular re-stocking. 

  Are you sure? yes | no

Milkey Mouse wrote 04/23/2015 at 05:02 • point

That was my original idea, but I don't think that as many people would want to just replace their Doritos or whatever with carrots. As a middle schooler with a penchant for certain snack foods, it's going to be a pretty hard sell even for cash. Also I was thinking the refund would be like half the retail value, not full price. I've got some ideas for food verification to keep out the riff raff, though.

  Are you sure? yes | no

Daniel Sun wrote 04/12/2015 at 17:14 • point

GREAT!  :D

  Are you sure? yes | no

Similar Projects

We had a Hackaday Assembly at 35C3. Thanks to everyone who was there or came by!
Project Owner Contributor

[Hackaday] @ 35C3

elliot-williamsElliot Williams

Shush don’t like when people pass in front of him.
Project Owner Contributor

MEET "SHUSH"

tinandjartinandjar

Building computers for profit? Sounds fun AND useful!
Project Owner Contributor

Ethereum Mining Rig

dylan-brophyDylan Brophy

I found a cache of photos I thought long lost on an SDCard...
Project Owner Contributor

Nostalgia

morningstarMorning.Star

Does this project spark your interest?

Become a member to follow this project and never miss any updates

Going up?

About Us Contact Hackaday.io Give Feedback Terms of Use Privacy Policy Hackaday API

© 2025 Hackaday

Yes, delete it Cancel

Report project as inappropriate

You are about to report the project "Reverse Vending Machine", please tell us the reason.

Send message

Your application has been submitted.

Remove Member

Are you sure you want to remove yourself as a member for this project?

Project owner will be notified upon removal.