I have a general question, before I start a small project.
Imagine a setup with one master and 16 slaves.
The slaves should start counting millisecs at exately the same time.
Later the master should query the reaction time on an slave. the timer will be stopped at the slave by e.g. a pressed button.
It's kind of a 16 person reaction test finding out the slowest one.
How could I achieve that all the slaves start counting at exactly the same time?
explain:
Why do you need separate "slaves"?
Why do you need to connect them via I2C?
Why I2C? Are alle "slaves" on the same PCB?
Why are you writing in English when posting in the GERMAN subforum. Edit your first post and move the post to a better place. For example Using Arduino / Project Guidance
Wenn alle Slaves gemeinsam gestartet werden, sollte millis() sychron genug sein.
Wenn nicht, oder wenn das ganze beliebig spät/oft nach Reset erfolgen soll, kann der Master ja ein gemeinsames digitales Startsignal setzen.
Letzteres zuerst:
biem Thread erstellen stand da International/Deutsch. Dachte da könne man auch Englisch schreiben, weil man da mehr erreicht.
Und nun das andere:
Weil ich aus verschiedenn Gründen bis zu 16 Nanos dran haben will die ne Menge mehr machen sollen als nur Millis zählen. (Sensoren, Displays, etc.)
Doch, schon ....
Nennt sich "I2C General Call", Google liefert gerne die Zusammenhänge.
Leider, wird das nicht unmittelbar von Wire unterstützt.
Aber I2C selber, kennt das seit den Anfangstagen.
Lässt sich auch auf AVRs umsetzen, die TWI Hardware ist dazu fähig.
bitte lass uns nicht rumraten.
Sind alle Nanos auf einer PCB? Wenn nicht, I2C ist kein Kabelbus. Du würdest auf eine falsche Infrastruktur aufbauen.
ja ne ist klar, auf einer internationalen Seite wo alle Themen auf Englisch sind ... klar findet sich dann aus Sicht Englisch in den "internationalen Foren" alle anderen Sprachen außer Englisch.
Deutsch