Giter Club home page Giter Club logo

automatic-plant-watering-system-tutorial's People

Contributors

wayintop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

automatic-plant-watering-system-tutorial's Issues

Item missing / not work.

i2c bus error when using rpi

When I run the code on my rpi, I get these errors with the ADS1115 library:
Traceback (most recent call last):
File "/home/user/water.py", line 5, in
adc = Adafruit_ADS1x15.ADS1115()
File "/usr/local/lib/python3.9/dist-packages/Adafruit_ADS1x15/ADS1x15.py", line 319, in init
super(ADS1115, self).init(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/Adafruit_ADS1x15/ADS1x15.py", line 82, in init
self._device = i2c.get_i2c_device(address, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/Adafruit_GPIO/I2C.py", line 63, in get_i2c_device
busnum = get_default_bus()
File "/usr/local/lib/python3.9/dist-packages/Adafruit_GPIO/I2C.py", line 55, in get_default_bus
raise RuntimeError('Could not determine default I2C bus for platform.')
RuntimeError: Could not determine default I2C bus for platform.

Arduino Code for 4 channel Plant Watering System Seems Wrong

The document has the following conditional for the control of the water pumps:

if (value>550)
    digitalWrite(IN1, LOW);
}
else
{
    digitalWrite(IN1, HIGH);
}

This will turn on the pump if the value from the moisture sensor goes below 550. However, when reading values from the moisture sensor, it appears that lower values are more moist, e.g. the ambient air has a reading of 573 and water a reading of 264. If this is correct, the conditional should be reversed, where a lower values turns on the pump and higher value shuts it off.

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.