You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 3, 2023. It is now read-only.
Describe the bug
When there are more than 6 slave devices the system will not recognize these in 1 out of 10 (or more) power on cycles. The device list is then just empty [ ].
There is a problem with the i2c initialization when such a large number of devices connects.
To Reproduce
Steps to reproduce the behavior:
I use an ESP8266-01S as Master device and 10 Arduino Nano as Slaves.
Use more than 6 Arduinos.
Check the device liste.
If it stays empty reset the Arduinos one by one and all of them should connect after a few seconds.
--Or--
Add a random delay to DoinoCoin_Arduino_Slave.ino before DuinoCoin_setup();
The delay must be longer than the time it takes to get wifi and the pool.
Expected behavior
While I had only 6 Nano the rig worked immediately after power on.
When I added 4 additional Nano devices it should all work as with 6 of them.
Arduino (please complete the following information):
Arduino IDE Version 2 Beta
lates code from this github
Additional context
The wiring is correct. If it works it just works right after the power on, no issue then with the single Arduinos.
I deactivated the pull-up resistors on the Arduinos as they are deactivated by default in this code on the ESP.
The reason is that I use a bidirectional level shifter that already has 10k resistors on each line on each side.