# Arduino and PCF8575 input monitoring

**URL:** https://discourse.nodered.org/t/arduino-and-pcf8575-input-monitoring/1238
**Category:** Share Your Projects
**Created:** [2 July 2018 14:03 UTC](https://discourse.nodered.org/t/arduino-and-pcf8575-input-monitoring/1238 "2018-07-02T14:03:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![markost](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@markost](https://discourse.nodered.org/u/markost)
#### Post date: [2 July 2018 14:03 UTC](https://discourse.nodered.org/t/arduino-and-pcf8575-input-monitoring/1238/1 "2018-07-02T14:03:55Z")

</div>

Hi,

this is a project for monitoring input states of various device.  
Devices on input are anything with open/close state indication.

Goal:  
• up to 64 inputs (status 1 or 0) over one serial port(USB)  
• surveillance of the status of the interface  
• display configuration (ui\_template) via database:  
- the name of the each input,  
- each input status text,  
- each input status text color,  
- each background status text color

```
• NO/NC input configuration via database
• log file in database (SQLite)
• search database depended of timestamp via dashboard

```

Interface between auxiliary device and hardware on which is Node-RED(Raspberry/Windows) is Arduino.

Arduino is connected with port expander (PCF8575;16xinput) via I2C bus.

4 port expander are connected to one Arduino.  
Each port expander have unique I2C address.

link to google disk (flows also;dowload flows and open with notepad,Don’t copy/paste from google preview)  
[link to google disk](https://drive.google.com/drive/folders/1jzsh5HohI_5N3Acahcw-Hje8Jk5cGOmy?usp=sharing)
