place. If you're using a 3.3V microcontroller then use a 3.3V power source, if you're using a 5V microcontroller then use a 5V souce. Take care to not BURN OUT your digital I/O. start = true; // Power ...
//Digital Pin 2 is the Output PIn from Arduino to Mosfet to turn on Relay for Pumps int trigger= A0; //Analog input pin to determine if pump needs to be on #define Psignal 2 // GPIO TO turn pump on ...