OpenSprinkler Forums Comments, Suggestions, Requests Opensprinkler on ESP8266

Tagged: ,

Viewing 17 posts - 126 through 142 (of 142 total)
  • Author
    Posts
  • #50573

    Ray
    Keymaster

    If you use the stock OpenSprinkler firmware — it assumes you have buttons, which on OpenSprinkler main board are connected to the PCF8574 IO expander. If you don’t have that, the ui_state_machine will probably cause problems as it will read button status incorrectly.

    #60884

    Jisse154
    Participant

    Hello all
    First of all, thanks Ray and all others for your work on this project.

    After 3 evenings trying to solve my problem, I see no other solution than to ask for your help. I am trying to upload opensprinkler master firmware in a esp8266 dev nodemcu.
    I am using arduino IDE 1.8.9 with ESP8266 CORE 2.5.2. I have compiled using mainArduino.ino and flash the firmware without any errors via serial USB, however the ESP8266 crash and enter on cycling reset loop with this msg:

    ets Jan 8 2013,rst cause:2, boot mode:(3,6)

    load 0x4010f000, len 1384, room 16
    tail 8
    chksum 0x2d
    csum 0x2d
    v8b899c12
    ~ld

    others have been facing to this problem but on my case, I cannot solve it.

    here attached my setup:
    is it correct?
    Thanks for your support

    #60935

    Ray
    Keymaster

    I would not recommend compiling the code with ESP8266 core 2.5 yet because it has not been tested with core 2.5. The stock firmware has only been compiled with CORE 2.4.1. I am pretty sure some part of the code has to be changed when transitioning to 2.5 and I haven’t had time to figure that out yet.

    #60980

    Jisse154
    Participant

    Thanks Ray for your reply.

    I still have the probleme.
    A watchdog reset occurs after the firmware upload

    ets Jan 8 2013,rst cause:4, boot mode:(1,6)

    wdt reset

    to compile without error, I have changed the updater.h lib to include reset function and also rename Time.cpp and Time.h.
    do I have to change something else?

    #61017

    Ray
    Keymaster

    Not sure. If you are using your own hardware, the best way to find out is to turn on debugging (#define SERIAL_DEBUG) and watch the serial output (baud rate 115200) to see where it triggers the watchdog timer reset.

    #61018

    Ray
    Keymaster

    Not sure. If you are using your own hardware, the best way to find out is to turn on debugging (#define SERIAL_DEBUG) and watch the serial output (baud rate 115200) to see where it triggers the watchdog timer reset.

    #61040

    Jisse154
    Participant

    I have uncommented the #define SERIAL_DEBUG on define.h and put a DEBUG_PRINT just after the DEBUG_BEGIN(115200) on main.h. After the firmware upload, I don’t see anything on the serial monitor except the watchdog reset as previously.

    ets Jan 8 2013,rst cause:4, boot mode:(1,6)

    wdt reset

    I am not sur to use the debug function correctly!?

    #61041

    Daijoubu
    Participant

    Does it also reset when not connected to the breadboard?
    Make sure you’re not pulling over the 1A the AMS1117 can provide on the 3.3V rail and check to make sure the GPIOs are in the correct state to boot from flash

    GPIO 0: HIGH
    GPIO 2: HIGH
    GPIO 15: LOW

    It’s possible your NodeMCU (or clone) is poorly implemented as with chinesium jelly bean parts

    #61095

    Jisse154
    Participant

    Hi,

    thanks for your support. I ‘m finally solved my issue removing #include <Wire.h> on mainArduino.ino.

    #61103

    Mouad
    Participant

    Hello,

    I am trying to upload opensprinkler master firmware in a esp8266 dev nodemcu.
    I have compiled using mainArduino.ino and flash the firmware without any errors via serial USB, however the ESP8266 crash and enter on cycling reset loop with this msg:

    ets Jan 8 2013,rst cause:2, boot mode:(3,6)

    load 0x4010f000, len 1384, room 16
    tail 8
    chksum 0x2d
    csum 0x2d
    v8b899c12
    ~ld

    I Am Used RTS DS3231 and I2C LCD For test

    • This reply was modified 5 months, 3 weeks ago by Mouad.
    #61153

    Mouad
    Participant

    Hello,

    I am trying to upload opensprinkler master firmware in a esp8266 dev nodemcu.
    I have compiled using mainArduino.ino and flash the firmware without any errors via serial USB, however the ESP8266 crash and enter on cycling reset loop with this msg:

    ets Jan 8 2013,rst cause:2, boot mode:(3,6)

    load 0x4010f000, len 1384, room 16
    tail 8
    chksum 0x2d
    csum 0x2d
    v8b899c12
    ~ld

    I Am Used RTS DS3231 and I2C LCD For test

    #61157

    Jisse154
    Participant

    Hi Mouad

    get the code mainArduino.ino and remove the first line #include <Wire.h> and then compile.

    It worked for me, but I don’t know exactly why!

    #61158

    Mouad
    Participant

    Hi Jisse154
    thank you for support
    Remains the same problem , pleas Give me your code source for testing

    #61166

    Jisse154
    Participant

    Mouad

    Here my sources

    #61731

    Kunstflieger
    Participant

    Jisse154

    do you have it also as compiled .bin file?
    And how the relais are connected to the NodeMCU? Is it with a shiftregister?

    #63316

    SpikeyGG
    Participant

    Guys, I have the components but I’m a bit of a newb when looking through the code. I’ve got the ESP8266 programmed to hook up to my wifi and I can see the web service. I have the RTC and LCD working but I can’t figure out how to hook up the 74HC595 so it controls the relays. Does someone have a wiring diagram of the ESP8266 and the 74HC595? I don’t understand how the shift register works with this…

    #63360

    litronas
    Participant

    great job. thanks to everyone. I live in an apartment and I will not be able to put it, but I would like to try it. What version do you recommend, the latest unified or the one in this post to start? Thanks again.

Viewing 17 posts - 126 through 142 (of 142 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Comments, Suggestions, Requests Opensprinkler on ESP8266