Added Arduino code (old version with power and current monitoring)