Giter VIP home page Giter VIP logo

basilpi's People

Stargazers

 avatar

Watchers

 avatar  avatar

basilpi's Issues

Add class to manage DHT22 temperature/humidity sensors

Expected Behavior

BasilPi should have the ability to read the temperature of the enclosure

Current Behavior

New feature: NA

Possible Solutions

  1. Identify strategy to wrap existing DHT22 python driver in a class
  2. Write stub class to emulate DHT22 driver functionality in pure python
    • This is required because the DHT22 driver utilizes native C code. This code will not run on hardware that is not an RPi
  3. Write unit tests for temperature/humidity class that runs against DHT22 driver or DHT22 stub.

Context

Temperature/Humidity of the enclosure is an important datapoint. This influences whether or not the fan should be run to lower temperature/humidity.

Add class to manage soil moisture sensors

Expected Behavior

BasilPi should have the ability to read the soil moisture of the planter

Current Behavior

New feature: NA

Possible Solutions

  1. Identify soil moisture sensor to support
  2. Either:
    • Import the existing driver for the sensor
      OR
    • Write a driver for the sensor
      2. Write a class to wrap the driver similar to Lamp

Context

When soil moisture is low, we need to water the planter, either automatically or manually

Add a class to manage fan

Expected Behavior

BasilPi should have the ability to read to toggle a fan on and off

Current Behavior

New feature: NA

Possible Solutions

  1. Identify required hardware. The hardware solution should be able to activate a fan.
  2. Either:
    • Import the existing driver for the hardware solution
      OR
    • Write a driver for the hardware solution
      2. Write a class to wrap the driver similar to Lamp

Context

When humidity and or temperature is too high in the enclosure, toggle a fan on to pull fresh air into the enclosure. The turbulence from the fan also encourages a more sturdy plant structure so they don't collapse under their own weight.

Extend Fan class to support PWM speed control

Expected Behavior

The Fan class should have a method to set the speed at which the fan should run.

Current Behavior

New feature: NA

Possible Solutions

The Fan class should have a method similar to set_speed() that takes an int, setting the PWM value to send to the fan.

Context

I can't think of a reason I would need this feature in the final project, but I can do it with the hardware I have so I will.

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.