Skip to main content

I am still a beginner, and iI wanted to do this projectenter image description here

project

which will be fairly easy if i followedI follow the code and the pic, but there is something i dontI don't understand about the relay connection, why: Why is there a transistor, and why is there a diode, can't iI just connect the output pin to a resistor then to the coil pin on the relay?

I am still a beginner, and i wanted to do this projectenter image description here

which will be fairly easy if i followed the code and the pic, but there is something i dont understand about the relay connection, why is there a transistor, and why is there a diode, can't i just connect the output pin to a resistor then to the coil pin on the relay?

I am still a beginner, and I wanted to do this project

project

which will be fairly easy if I follow the code and the pic, but there is something I don't understand about the relay connection: Why is there a transistor, and why is there a diode, can't I just connect the output pin to a resistor then to the coil pin on the relay?

Source Link
user28324
  • 223
  • 2
  • 5
  • 10

Arduino water solar heater pump control

I am still a beginner, and i wanted to do this projectenter image description here

which will be fairly easy if i followed the code and the pic, but there is something i dont understand about the relay connection, why is there a transistor, and why is there a diode, can't i just connect the output pin to a resistor then to the coil pin on the relay?