Git Product home page Git Product logo

coffeeplantbot's Introduction

The coffee plantbot - A coffee machine that grow strawberries

This is a lil arduino program to turn a coffee machine into a device that takes care of plants

Installation

Materials:

  • A Cheap mositure sensor
  • LED lighting
  • I2C OLED 0.96'' screen
  • 3 Relays
  • Arduino board (I used nano)

Instalation:

Connect the relays to:

  • The water pump
  • The growing lights
  • And the moisture sensor

Code:

  • It uses Switch_lib to control relays and Adafruit library for the 0.96'' OLED ( You'll need to have it downloaded on the Arduino library manager. )

  • Adapt the PIN definition to your needs:

// ANALOG INPUTS  PIN DEFINITION//

int moisture_sensor = A2;

// DIGITAL INPUTS  PIN DEFINITION//

int lights_p = 11;  // Lights relay
int r1_p = 10;      // R1 relay
int r2_p = 9;       // R2 relay
int moisture_p = 8; // Hsensor relay
  • Conect the OLED screen to the I2C ports. In my Arduino nano were A4 and A5

First run:

Once all connected, during the setup the program will do some test as follow:

  • Turn on the Screen
  • Turn ON/OFF the lights
  • Turn ON/OFF the pump
  • Get first sensor read

If all of this goes well the program will start to work.

more information.

coffeeplantbot's People

Contributors

yyuri avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.