Giter Club home page Giter Club logo

waterctrl's People

Contributors

dropedout avatar janhieber avatar matthiasbernloehr avatar mbernloehr avatar mgeforce avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

waterctrl's Issues

Moisture measure wrong freq

When soil is under direct sun with high temps, the sensor reports too low frequencies.

The frequencies indicate that the soil is wet, but that is not the case.

Further examination required.

code watchdog for RPi

When RPi does not send data for X seconds
we assume that it hangs, so restart the RPi

Move firmware to FreeRTOS

Using FreeRTOS would be a big improvement to the current self written "scheduler".
Pros:

  • Message queues and signalling between processes/threads
  • Much easier programming because every thread has its own endless loop, no need for static vars and counters...
  • Much cleaner design of codebase
  • Much easier to change or enhance functionallity

I think point 2 is the biggest one and absolutely worth the switch to FreeRTOS.
As soon as I have a bit free time i will move this project over to FreeRTOS, but that can be summer...

code global log function for STM32

code with different log classes: INFO, ERROR, DEBUG

code function for routing log messages

  • with desitnations: to UART, to SPI/RPI
  • with log class filter
  • enable error LED when ERROR class message occurs, think about clearing LED

code message broker for RPi

should send messages every X seconds and receive from STM.

should rung message parsing and routing on receive.

Project organisation

@dropedout @mbernloehr @mgeforce

As I have not much time to work on this project at the moment, it is up to you to implement the missing functionality. I'm sorry, but currently I have other tasks with higher prio at hand.

But... if I dont miss anything, we are only a bit from a running first version.

STM:

  • Moisture measurement works
  • PWM works
  • Message broker works, but reiceived messages are not processed, see #7

RPI:

  • Message broker works
  • database connection works
  • Web interface works
  • watering logic is under development by @mbernloehr

So if we fix #7, we should be able to have a running device.

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.