| Posted: 02:24am 12 Sep 2020 |
|
|
|
I2C devices have addresses. Provided that the addresses don't conflict, you can have as many devices as you wish on the one I2C port.
Some devices have a select pin which allows you to change the address so you can have 2 of the same device on the one port. The DS3231has a different address to the BMP180 and BME280 so no problems.
BMP085_Address = &H77 BME280_ADDRESS = &H76 DS3231_Address = &H68
On the micromites, if you use the built-in RTC commands, the RTC is only interrogated at startup then the timekeeping is done by the CPU.
You don't have to use the built-in RTC commands. You could roll your own if you want to do more than the standard offering. I have one configured as an alarm clock, starting the micromite at a preset time then putting it to sleep when the work is done.
Jim |