Soil Sensing|| Veronika & Antonio

Used the sensor at work to test the soil on a cactus. The backlight changes color; when the plant needs to be watered, the backlight turns red and says “Water Me.” When the soil is watered, the backlight turns blue and says “I’m Good!” A further application for this device would be to program different plants and their thresholds of adequate watering.screen-shot-2017-02-21-at-5-51-03-pmscreen-shot-2017-02-21-at-5-51-28-pmsoilsense1soilsense2soilsense3

Makeshift Doorbell with LED

Using a LilyPad Arduino with the LilyPad LED, pressure sensor, and Piezo, I made a make shift doorbell with a dimming light and buzzer. I could not find a fabric that would hold up well for the sensor, so I used paper instead. When the sensor is pressed, the volume of the Piezo increases, while the light dims.

Raynor/ Soft Switch

I made a switch to toggle different lights whenever the circuit was open or closed. When I closed the circuit, a blue light is illuminated. When the circuit is broken, the red light becomes illuminated.img_2413Here is the code for the project:

const int buttonPin = 3; // the number of the pushbutton pin
const int ledPin = 12; // the number of the LED pin
int buttonState = 0; // variable for reading the pushbutton status

void setup() {
// initialize the LED pin as an output:
pinMode(ledPin, OUTPUT);
pinMode(11, OUTPUT);
// initialize the pushbutton pin as an input:
pinMode(buttonPin, INPUT);

void loop() {
// read the state of the pushbutton value:
buttonState = digitalRead(buttonPin);

// check if the pushbutton is pressed.
// if it is, the buttonState is HIGH:
if (buttonState == LOW) {
// turn RED on:
digitalWrite(ledPin, HIGH);
digitalWrite(11, LOW);
} else {
// turn BLUE off:
digitalWrite(ledPin, LOW);
digitalWrite(11, HIGH);