Luis,
My current thinking on this is that we will conventionally bind sensor types to I2C addresses. In doing so, the Nanode will be able to poll the known addresses to determine presence and types available in a given configuration.
The limits are TBD at this time but I think the sensor shield being connectorized to accept up to eight add on sensor modules would be a good goal. I2C allows for up to 128 addresses so that is the fundamental limit of the current design concept.
Thoughts?
Cheers,
Vic
In either case, the Egg has an Ethernet Jack and acts as the gateway to the internet. The Sensor Box acts as a wireless relay for the sensor data to get back to the Wireless Base Egg (and from there to the internet).
I2C is inherently a wired electrical interface. The Nanode (either in the Egg or Sensor Box) will be able to poll the addresses on this bus to determine which sensors are present and get the data from them, and send it off to a Wireless-capable Egg. The message structure returned by sensors on the I2C bus will probably be *very* similar to the over the air message structure, but not identical. Contrary to what I wrote previously, I think it might actually be easiest to simply transmit one wireless packet per sensor instead of trying to stuff all the available sensors into a single packet.
Anyway, I'm pretty excited about the concept. I was thinking more about the whole I2C multiplexer thing and may have convinced myself that it would be worth the complexity to add one. My reasoning is that you might want to have multiple instances of a given sensor type present in the context of a single Egg or Sensor Box. You would need to plug them into separate branches for that to work in framework we've been talking about. What do people think - is there a good reason to support multiplicities of a sensor type in the context of a single Egg or Sensor Box?
Kind Regards,
Vic