Posting Piggy

Made by James Katungyi and Travis Chambers

Deposit into my 'piggy bank' savings account, broadcast how wisely I use money all the time risking embarrasment

Created: March 23rd, 2017



Write about the big ideas behind your project? What are the goals? Why did you make it? What are your motivations?

Our project is a small step away from 'debt driven society' to a 'saving culture' - perhaps adults need piggy banks too. What would a modern piggy bank do? It would not take coins certainly - no one uses coins anymore; credit cards certainly. And of course, the social media craze - telling the world how smart and wonderful we are; letting your friends know that you are different; that you are prudent with money - not like everyone else. It would religiously broadcast every saving deposit you made. However, publishing such details attracts scammers who will attempt to con those close to you.



Describe what informed your ideas and your outcome? How does your outcome relate to other work in the field? What are the precedent projects?

Our project is a synthesis of two main ideas: the convenience of IoT devices - in this case, making saving easier using an age-old icon, the piggy bank, and secondly, showcasing the inherent risks of making private information public. Credit/Debit card technology is highly fortified against breach. Customization of this technology to accommodate the social media craze sidesteps safety features and thus exposes the card owner to financial loss or at the least, embarrassment. We looked at the possibility of a scammer using the Posting Piggy Bank's post as a way to add credibility to phishing emails but this product could be used in less nefarious ways that still could cause embarrassment. Our original example was a person cyber-stalking you before going out on a date. While you might think your postings are showing responsibility to others it may show you financial status and cause unfair judgements. What if the person cyber-stalking you decided that, based off of your Piggy Bank post, you aren't making enough money. While this person may not be someone you want to date and regardless of whether it is true or not, this could cause some embarrassment.

One precedent project is the Credit Card Piggy Bank, one of 5 nominees for the European Henkel Design Award in 2007 The Credit Card Piggy Bank was equipped with a credit card reader linked by BlueTooth technology to a software program on computer. When a card was swiped in the piggy bank, funds were transferred to the Savings Account of the Piggy Bank owner.



Outline your approach to the project? What ideas did you generate and how did you refine or reject them? What did you research and explore? what were the design choices? What challenges were encountered and how did you resolve them?

Our initial idea was 'Piggy with attitude' - a piggy bank that thanked you if you made a donation or hurled abuse if you passed by without depositing any money. Posting Piggy is more tech-savvy and polite - actually dumb. In a newer version, we may bring the speech back. Posting Piggy enhances your social media presence but at some risk. Your financial information can be used against you.



Detail what you created. What methods or techniques did you use? What tools and technologies were involved? Include images, code or video.

PostingPiggy is your typical piggy bank - pink in color. Hidden inside is a credit card reader. Turning the joystick on the side determines the amount to deduct The joystick direction is restricted to only one axis of movement. Each movement to right determines the dollar amount in multiples of 10. Movements to the left determine cent values in multiples of 20. The numbers are tallied on a screen beside the joystick Pressing the joystick transmits the tallied amount, to be deposited into the savings account. This amount is transmitted to the bank through the bank API. The tallied amount is also posted to your facebook page through IFTTT.

I love my posting piggy:

Downside of posting piggy is, scammers can use posting piggy project to fleece your grandma

(evil_laughter.mp3 in was downloaded from

// This #include statement was automatically added by the Particle IDE.
#include "Adafruit_GFX.h"
#include "Adafruit_SSD1306.h"

#define OLED_DC     D3
#define OLED_CS     D4
#define OLED_RESET  D5
Adafruit_SSD1306 display(OLED_DC, OLED_RESET, OLED_CS);

#define LOGO16_GLCD_HEIGHT 16
#define LOGO16_GLCD_WIDTH  16

#define NUMFLAKES 10
#define XPOS 0
#define YPOS 1
#define DELTAY 2

#if (SSD1306_LCDHEIGHT != 64)
#error("Height incorrect, please fix Adafruit_SSD1306.h!");

const int SW_pin = D0; // digital pin connected to switch output
const int X_pin = A0; // analog pin connected to X output

String value = "N/A";

int valueNum = -1;
int pushButton = -1;
int total = 0;
int finalTotal = 0;

void setup()   {
  Particle.variable("Savings",&finalTotal, INT);

  display.display(); // show splashscreen
  display.clearDisplay();   // clears the screen and buffer
  pinMode(SW_pin, INPUT);
  digitalWrite(SW_pin, HIGH);
  pinMode(X_pin, INPUT);


void loop(){
  String a = "A---B";
  String b = a.substring(0);
  valueNum = map(analogRead(X_pin), 2035,4094,0,20);
  total = valueNum + total;
  if(digitalRead(SW_pin) == 0) {
    if(total < 0) {
        total = 0;
    finalTotal = total;
Click to Expand
Share this Project


Deposit into my 'piggy bank' savings account, broadcast how wisely I use money all the time risking embarrasment