Arduino project for metering digital and analog sensors