Skip to content

redSlug/Make-It-Rain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

Make it Rain!

Keep your plant alive from your cell phone!

Software Instructions

  1. To get started with Tessel, by following their instructions
  2. Make sure you have node.js and all of the dependencies installed
  3. For debugging, plug your machine into the tessel via USB (you need to have tessel climate module plugged into slot B, and relay module plugged into slot D)
  4. To run in debug mode, use tessel run app.js
  5. To deploy to the tessel to have it run without your machine, use tessel push app.js

Hardware Instructions

Components needed:

  1. tessel (a microcontroller that runs Javascript)
  2. tessel climate module ('climate-si7020')
  3. tessel relay module ('relay-mono')
  4. moisture sensor
  5. water pump
  6. lights
  7. chassis (optional)

Connections:

Plug the tessel climate module into port A and the relay module into port D. For the moisture sensor, attach the power and ground to the pins in the tessel GPIO jumper (in our 'tessel' image example we plug a red jumper cable into vcc, brown into ground, and yellow into pin A1). In our setup, the tessel is supplied by a 5V power supply, and has USB battery power for backup. Tessle is powered by a mini-USB cable.

tessel

Information is gathered from the yellow pin using the below code in app.js:

var gpio = tessel.port['GPIO'];     // select the GPIO port
var myPin = gpio.pin['A1'];
var moisture_data = myPin.read();

moisture sensor

In our example, for the relays, one controls a 110V AC plug for the LED lamp, and the other relay controls a 12V DC plug for the pumps.

relay

The relay is like a light switch that the tessel controls; when the tessel sends a signal to the relay, a mechanical switch flips and the electricity is turned on/off for the corresponding component. The relays can handle up to 240V / 5 amps, which is far more than needed.

lights

The pump is a $7 pump from ebay, but any pump can be used.

pump

Team

Sean Blum (Frontend), Brad Dettmer (Backend), Zachary Rubin (Hardware), Blake Skinner (Hardware)

Developed and presented over a weekend at Hack UCSC

Thank You

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published