“Are the dishes clean or dirty?” -Everyone

In a busy studio, with lots of people sharing a dishwasher, it can be confusing knowing if the dishes are clean or dirty. As a result I designed a kitchen appliance that will stop people from accidentally loading dirty dishes in a clean load.

This is how it works:

1. Richard loads the dishwasher and then kicks the button on (which activates the arduino)

2. Mansi comes to the dishwasher, not knowing that it is full of clean dishes, and is about to add her dirty dish. But when she opens the dishwasher, the green light comes on and tells her she better not!

3. People can take a dish out at a time to use them without unloading the whole dishwasher, but once the dishwasher is unloaded, the button should be kicked again so the green light is deactivated.

The circuit utilizes a modded push button, an LED and a light sensor.

 

 

 

 

Arduino Code:

const int LED = 13; // LED is from Pin 13

int lightSensor = 0; // lightSensor is the value given by the sensor
int button = 0; // button on/off
int state = 0; // 1 is on, 0 is off

void setup() {
pinMode (LED, OUTPUT);
Serial.begin(9600);
}

void loop() {
lightSensor = analogRead(0);
if (analogRead(1) > 900) {
button = 1;
} else {
button = 0;
}
if ((lightSensor > 29) && (button == 1)) { // If there’s little light
analogWrite(LED, 200);
}
else {
analogWrite(LED, 0);
}
Serial.println(button);
delay (100);
}