Arduino, solenoid driver and current limiter