Creating new version with SoftwareSerial and switch to control a timed mode as well as the sensor mode.