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 node The 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 multimaster serial single-ended computer 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