chaos-adept / iot-dipstick

esp8266 firmware for basic IoT operations with cloud integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Investigate possibility to reuse the single firware for flow watering

chaos-adept opened this issue · comments

open questions

  • can be i2c bus be placed in non D1, D2 pins
  • pins can be re-ordered without gaps
  • is it enough free pins in the existed firmware? i2c - 2 pins, 0-4 for pump transistors (as an option 74HC595 or other shift registers to safe pin count)
  • supply 12v and stabilize to 5v over L4940V5 https://www.chipdip.ru/product/l4940v5 (the first attempt can be with 5v instead of 12v)

the result so far, the single firmware might be used only if the temperature and humidity sensor will be connected as i2c sensor

as well it is required to apply massive refactoring for message pushing and provide an ability to push messages on-demand from various code components, for example, a water pump can notify that it is opened and that it is closed

it might be a buffer of messages or sending them right away

so far it makes sense to consider with the issue as resolved with resolution won't fix, devices have really different purposes, so it makes sense to split them and continue work in #37