Code Monkey home page Code Monkey logo

autowatering's People

Contributors

ruifig avatar

Watchers

 avatar  avatar

Forkers

kingnaoufal

autowatering's Issues

Solder a usable PCB/breadboard board

Once I'm fairly certain the new design is feasible, it will be easier to work with a soldered board. Less wires to deal with.
This can be on a perfboard or breadboard, depending on how cramped the design will be.

Create startup menu to Load config or reset

By design, during runtime we don't allow loading a configuration, since there is too much room for bugs regarding resetting things to a valid state.
So, the easiest and safest way is to have a very simple menu at startup with:

  • Two big buttons far apart (Load Config, Reset Config)
  • Label explaining to pick an option
  • Countdown (maybe ~3-5 seconds). If no option is picked, it defaults to Load. This is needed so that when there is a power cut, the system can resume.
  • If "Reset Config" is pressed, disable the countdown and ask for confirmation. No need to for a button to go back. The user can just reset to go back.

Port old version's code to new design

The new version will use a different microcontroller and some different components in the board itself.
The entire previous code need to be ported to the point we have feature parity with the previous state.

  • Refactor pin code to work with the new design
  • Refactor logging code and console to work with the new design
  • Refactor gfx code to work with the new design

Design 3.3v compatible version

The old version used some components that were not compatible with 3.3v logic/voltage, such as the L293D to control the motors.
A new design is needed that can be used with 3.3v, and potentially also usable with 5v with minor changes.

Things I can think of that should be done as part of this task:

  • Design new version with Fritzing

Confirm the new design is probably ok by testing various things with temporary code

  • I2C in general seems ok ?
  • Display
  • Touch
  • Soil moisture sensor reading
  • Temperature and humidity sensor reading

Come up with a proper project enclosure

Ideally we should have a proper project enclosure to protect the components and makes things look neat and tidy
Googling for "diy project enclosure" shows up a couple of interesting things.

Add online mode

The Arduino Nano RP2040 Connect has Wifi, and it's probably the board I will end up targeting.

It would be nice to have some kind of online component where we can check for example:

  • Check relevant logs
  • Change settings
  • Software reset (if that is possible?)

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.