OpenSprinkler Forums Hardware Questions More than 3 / 5 expansion boards

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #22639

    Biojardim
    Participant

    Hi,

    Can we use the OpenSprinkler with the firmware 1.8.3 or even the new version with 2.0 installed with more than 5 expansion boards?

    I tried to change an 1.42 u, changed the firmware from 3 to 4 or more expansion boards , uptaded the changed firmware, but the Opensprinkler start to reboot.

    I will need 9 expansion boards for this project.

    Any sugestion?

    Br
    Alex

    #25545

    Ray
    Keymaster

    Firmware 1.8.3 (for hardware 1.x) supports up to 3 expansion boards, and 2.0 (for hardware 2.x) supports up to 5.

    Your 1.42u runs on ATmega328 which has very limited EEPROM (1KB). If you want to try 4 expansion boards, you should change the MAX_EXT_BOARDS macro define in defines.h. You cannot run 2.0 firmware on 1.42u because 2.0 is for generation 2 hardware.

    You may be able to run up to 9 expansion boards on 2.0, although I have not tried it myself. Does this mean you have close to 80 stations? That’s very impressive 😯

    #25546

    Ray
    Keymaster

    I forgot to mention that you may want to consider OpenSprinkler Pi, which has no software limitation on the number of expansion boards.

    #25547

    djagerif
    Participant

    Just for fun I tried 9 boards with OSPi and it works perfectly. OS2.0 seems to have an ‘out of bounds’ error when setting the board count to more than 5 via the GUI. I suspect a javascript boundary has been set.

    Ingo

    #25548

    Biojardim
    Participant

    Hi,

    Thanks for the repply,

    When i change the MAX_EXT_BOARDS macro define in defines.h from 3 to 4 the Opensprinkler reboot from time to time. If i put 5 it reboot faster, and so on.

    Br

    #25549

    Ray
    Keymaster

    I assume you have OpenSprinkler 1.x hardware. If you increase the MAX_EXT_BOARDS, the program will require more RAM to store the station status and information etc. Unfortunately ATmega328 only has 1KB RAM space, and I am pretty sure increasing MAX_EXT_BOARDS to 4 will cause the RAM consumption to exceed 1KB, causing the mcu to fail to start.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Hardware Questions More than 3 / 5 expansion boards