piggy_2.jpg

a digital family piggy bank

PROJECT

An interactive piggy bank that connects to an app, aiming to save spare change as a whole family.

HOW DOES IT WORK?

Kids, parents, grandparents set personal goals in mobile app, where it also shows their individual contribution towards total family saving goal. Once they reach the goal, a rainbow color light will be triggered from the physical piggy bank, by then the family can celebrate their effort together.

Scope: 5 weeks
Adviser: Eric Forman, Bruno Kruse + Carrie Kengle (Areaofeffect)
Team: Margarita Yong
Role: prototyping, coding (C, Javascript)

 

making process + technical
 

  • Make the physical piggy bank prototype.
  • Figure how to use the digit display and potentiometer.
  • Figure out coin sorter by hacking and learning from an existed one. Now, it can differentiate pennies, nickels, dimes, and quarters by different diameter of coins. Each size corresponds a reading. How do we know? It is actually like simple switches. The metal bar that serves as a switch would shifts when spring mechanism is activated after inserting a coin. Thus, in the code, there is a lot of "if" statements. For example, if switch a, b, c, d is activated, then we know it is a quarter. 
  • Figure out how to user external power to light up LED strip.
  • Write the code. C for Arduino. Javascript for app prototype. Find code here.

 

Material
Arduino UNO
Adafruit 0.56″ 4-Digit 7-Segment Display
Potentiometer    x 1
Resistors 10K     x 5
Resistor 560      x 1
Jump wires
Neopixel RGB Led Strip

 Testing the digital display.

Testing the digital display.

 Making own coin sorter by hacking one. 

Making own coin sorter by hacking one. 

 Laser cutting prototype.

Laser cutting prototype.

 Schematics drawing of Arduino circuit. 

Schematics drawing of Arduino circuit. 


APP

Screen Shot 2017-12-12 at 10.38.32 AM.png
Screen Shot 2017-12-12 at 10.38.47 AM.png
Screen Shot 2017-12-12 at 10.38.54 AM.png
Screen Shot 2017-12-12 at 10.39.00 AM.png