Good evening,
My problem statement is as follows,
have 8 node mcus each collecting sensor data. I want to collect it at a common node using serial commication and decided to use a arduino uno for the same.
Currently i am using a code where sensor data is stored on to a buffer on node mcu and is transferred to uno. This works only for a single node and slave.
I request you to help me with a new code or reference code where the master can select the slave,collect the data and move to next slave.
Deadline is Saturday. Will be compensated for work
When you say serial are you talking SPI/I2C/Serial, is this a multi drop connection because 232 wont work unless you are poling the nodes from the Uno one at a time with each having its own address in the data exchange packets. SPI would need a CS for each Node and I2C an address for each node. I2C is the cleanest as they all share the SCL/SDA pair and will work for mutidrop.