logo elektroda
logo elektroda
X
logo elektroda

Irrigation controller: ARM + ESP8266/ESP-07 or ESP-12F + GPIO expander?

RometFan;p 1287 12
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 18153578
    RometFan;p
    Level 26  
    Hi,
    I am currently planning a garden irrigation controller, with Wi-Fi access.
    And I'm faced with a dilemma:
    Is it better to use some ARM + control via AT commands with an ESP8266/ESP-07 module ?
    Or using the ESP-12F as the main processor + extending it with some expander for additional GPIOs?

    The ESP-12F WiFi module is a pretty good processor, and it seems to me that putting 2 processors into a device is a bit pointless.
    On the other hand, writing quite an extensive program (wifi communication + watering zones + some kind of work schedule + control of valves + TFT display + reading from sensors) seems to me to be a pain in the Arduino IDE. Timers, no debugger, slow programming....


    Using STM32 in LQFP-64 enclosure will raise the comfort of writing code, and solve the GPIO problem, but will raise the cost + ESP module will be wasted.

    What is your opinion?
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
  • #2 18153656
    jakubek56
    Level 32  
    If you want to use ST then you have the option of using ESP 01, so nothing is wasted.
  • ADVERTISEMENT
  • #4 18153698
    RometFan;p
    Level 26  
    ESP32 - I've heard but I'm totally unfamiliar with it. How do you program it besides Arduino?

    That's if I add the argument that I assume this is not a hobby project and I will want to develop it? Is it worth leaning on ESP then?
  • ADVERTISEMENT
  • #6 18153814
    Nagus
    Level 27  
    Quote:
    ESP32 - I've heard but don't know total. How to program it apart from the Arduino?
    .
    Normally, "on foot", using esp-idf. Anyway, the RTOS for the 8266 is slowly being rewritten in esp-idf style.
    So, currently you program both ESPs the same way. There are only a few nuances due to hardware differences. And not all features have been rewritten for the 8266, e.g. the https server.
  • #7 18153863
    Anonymous
    Level 1  
  • #8 18153888
    RometFan;p
    Level 26  
    3.2 inches, SPI or 8 bit depending on processor and amount of gpio. Resolution is 320 x 240 and I have tested on ESP and Stm32. Performance is sufficient for me on the plus side in stm32 that I can Use DMA
  • #9 18153906
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #10 18154397
    khoam
    Level 42  
    RometFan;p wrote:
    If I were to add the argument that I assume this is not a hobby project and I will want to develop it? Is it worth relying on ESP then?
    .
    As much as possible on ESP32 :) And even if you decide to use the 'hobby' Arduino HAL, it just happens to be 100% RTOS based on this platform, so it will be all the more fun to program ;) .
  • #11 18154953
    krzbor
    Level 27  
    I have a PV installation with a new SMA inverter. What is surprising - in an expensive and branded unit the display has been removed - there are only 3 LEDs. The rest of the information (very abundant) via the network only - mainly via WiFi of course. The device works both in AP mode and as a standard web server on the local network. It can also work in the cloud. The installer told me that the display was removed because it was the component that broke most often (inverters can even work outside in very variable weather conditions). I think this is a good direction. In general we have two types of users:
    1. It's supposed to work and I don't care about anything - to them, LEDs are enough - power supply, correct operation, failure. If something is wrong, they call a professional, but with cloud or remote access, problems can be diagnosed remotely. More affluent people tend to think about watering their garden in an advanced way, and these are often among this group of users.
    2) They like to know what and how (this applies to almost all electrode users :) )- but they don't mind rich information on a computer or smartphone instead of a display. I say "rich" because it's not just configuration, but also statistics, operation graphs, humidity sensor analysis, downloading weather information, water consumption analysis, etc.

    In the absence of a display, such an ESP12 should suffice. You can, of course, use an ESP32 especially if you are thinking about touch control or the need for analogue inputs (e.g. to determine valve failures).
  • #12 18195038
    Udios
    Level 12  
    RometFan;p wrote:
    Hey,
    I am currently planning a garden irrigation controller, with Wi-Fi access.
    .
    Hello.
    Could you write something more about what your system will have to do and what it will control?
    My parents have a greenhouse on their allotment and the thought has also recently crossed my mind to get them some automation to control it. I was thinking of designing a controller for an ESP 32. It has a lot of inputs.
    My assumption was that it would control three electric actuators for opening doors and windows - temperature-dependent opening and closing. Monitoring the position of the actuators. And it would control a valve for watering the plants. In addition, I wondered if the system would have some kind of GSM module to monitor temperature, humidity and if something unexpected happened. For example, an actuator would not open, we would run out of water. The plot of land is a long way from where we live.
  • #13 18198703
    RometFan;p
    Level 26  
    Hi,
    after reading my colleagues' posts I've started to wonder a bit whether to push for a display.

    The general assumptions are that:
    - Control of 4-8 watering sections,
    - reading the outside temperature,
    - rain sensor so as not to water when it rains,
    - communication via WiFi (here possible control from the web/smartphone via a web page).

    As to which specific functions it implements - download the manuals of several controllers available for sale. There you will find which functions they have and which are worth writing and which you will not necessarily need.

    GSM module - I once considered such a solution in a project, but abandoned it because the validity of the card/charging discouraged me.

    As for your needs:
    You can also implement the actuators' steering on relays. Actuators with limit switches, reading the signal from the limit switches opens the relay, etc....

Topic summary

The discussion revolves around the design of a garden irrigation controller with Wi-Fi capabilities, debating whether to use an ARM processor with an ESP8266/ESP-07 module or to utilize the ESP-12F as the main processor with a GPIO expander. The ESP-12F is noted for its processing power, while concerns about programming complexity in the Arduino IDE are raised. Alternatives like the ESP32 are suggested for their ease of programming and additional features. The conversation also touches on display requirements, communication interfaces, and the potential for remote monitoring and control of irrigation systems. Users express interest in functionalities such as temperature monitoring, rain sensors, and actuator control for automated gardening.
Summary generated by the language model.
ADVERTISEMENT