OpenSprinkler › Forums › Hardware Questions › More than 3 / 5 expansion boards
- This topic is empty.
-
AuthorPosts
-
September 15, 2013 at 9:15 pm #22639
BiojardimParticipantHi,
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
AlexSeptember 17, 2013 at 4:00 am #25545
RayKeymasterFirmware 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 😯
September 17, 2013 at 4:51 am #25546
RayKeymasterI forgot to mention that you may want to consider OpenSprinkler Pi, which has no software limitation on the number of expansion boards.
September 18, 2013 at 2:05 pm #25547
djagerifParticipantJust 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
October 16, 2013 at 12:04 pm #25548
BiojardimParticipantHi,
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
October 16, 2013 at 12:30 pm #25549
RayKeymasterI 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.
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › Hardware Questions › More than 3 / 5 expansion boards