Maria and Albert’s Laundry Pocket
by maria.stangel
Have you ever run out of quarters while doing your laundry? With our laundry pocket, a green light will tell you if you have enough quarters for your next load.
Maria and Albert's Laundry Pocket
Our initial design concept was a bit more complicated. We wanted to leverage the power of the Arduino platform to dynamically and precisely change up to four outputs connected to our printed circuit board. Nothing struck the imagination more than a music mash-up like the one below:
Unfortunately, our electronics skills weren’t quite good enough to figure out how to connect and more importantly power-up our musical outputs and so we had to go back to the drawing board for something a bit simpler.
What we opted for instead was to a simple laundry pocket, powered by a PCB that flashed an LED red every 0.1 second when the circuit was closed — in this case, when the button was closed. However, if there were enough quarters in the pocket and the connection was complete, that red LED would turn off and be replaced by a green LED that flashed every 0.1 second.
You can see a video demo of it here: Maria and Albert’s Laundry Pocket
The Arduino code is as follows:
const int buttonPin = 2;
int buttonState = 0;
void setup() {
pinMode(4, OUTPUT);
pinMode(3, OUTPUT);
pinMode(buttonPin, INPUT);
digitalWrite(buttonPin, HIGH);
}
void loop(){
buttonState = digitalRead(buttonPin);
if (buttonState == LOW) {
digitalWrite(4, HIGH);
delay(100);
digitalWrite(4, LOW);
delay(100);
digitalWrite(3, LOW);
} else {
digitalWrite(3, HIGH);
delay(100);
digitalWrite(3, LOW);
delay(100);
digitalWrite(4, LOW);
}
}
More pictures of our process are below — ENJOY!!!
![Putting Together the Pocket](https://lh3.googleusercontent.com/_Y9p6N00ThMQ/TXbBhuomNDI/AAAAAAABG9Y/grSx0dm-Npg/Photo%20on%202011-03-07%20at%2018.10%20%232.jpg)
Putting Together the Pocket
![Inserting the PCB into the Pocket](https://lh6.googleusercontent.com/_Y9p6N00ThMQ/TXbBhwBgIMI/AAAAAAABG9c/NwrLpgXX6Kg/Photo%20on%202011-03-07%20at%2018.11.jpg)
Inserting the PCB into the Pocket
![Backside of the Pocket](https://lh4.googleusercontent.com/_Y9p6N00ThMQ/TXbBiAuFMNI/AAAAAAABG9g/We86PtnEHq4/Photo%20on%202011-03-07%20at%2018.11%20%232.jpg)
Backside of the Pocket
Ironing on the Laser-Cut Laundry Prints
New Fashion Statement
Pocket Full of Quarters
Finished Pocket - Front View
Finished Pocket - Back View