With these mods, this circuit will last quite a long time, especially if you make things easier for the relay by turning off power to the motor before switching directions. It is simple and effective ...
The hardware setup shown below includes the Arduino Uno R4, a DHT11 sensor, and the built-in Wi-Fi for email alerts. The DHT11 is connected with VCC to 5V, GND to ground, and the data pin to Digital ...