Post

Visualizzazione dei post da Agosto, 2013

Arduino I2C communication

Immagine
While developing my energy monitoring system and my flood control system I decided I wanted to integrate the two in order to be able to monitor the flood control system using one of the sensor nodes of the energy monitor system.

The reasons behind it were:

The sensor node doing the monitoring was already physically near the flood control nodeThe flood control node has support for wireless modules (nRf24) but it is a different technology from what the open energy monitor nodes use (rfm12b)The need to be able to monitor the state of the float switches, the manual override switch (it is in a kids safe area, but not in a 'don't know what this is for, let's try and see' area ...)I wanted to experiment with I2C communications
I2C is a multimasterserialsingle-endedcomputer bus invented by Philips used for attaching low-speed peripherals to a motherboard, embedded system, cellphone, or other electronic device.
In particular I needed to exchange data between an emonTx node:



and…