I have a problem with my automatic water system. I’m using the following elements:
- Water valve with a mounted solenoid. (https://www.digitalimpuls.no/adafruit/142660/plastic-water-solenoid-valve--12v--1-2)
- Photon (Which I just love)
- A 5VDC Relay
- 9V battery
Since the Photon’s output is max 5V I need to be able to give the valve what it needs thru the relay. The relay is connected +(VIN), -(GND) and for testing purposes the S pin is connected to the D7. And I have tested it to just turn on and off every second. That part works.
The power cables to the 9V battery is connected to the solenoid and is hooked into Common and NC - Normally closed.
My problem is that the battery is getting way to hot. Would an IN4001 solve my problem here? I’m a beginner so go easy on me
PS! I tried including a video showing the relay working as it should…