OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Sprinkler Solenoid Driver

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22723

    lipiss
    Blocked

    Hi,

    I have seen that triacs are being used to drive the solenoids.

    There are resistors connected to the gate of each triac and then T1 connected to Ground. T2 I think is connected to one of the wires of the sprinkler Solenoid. But I cant see the 24Vac, from where is the motor getting the 24 volts. Which is the value of the resistors?

    I just want to a simple to circuit to do with a triac to test with the solenoid. Could I do it with a triac, a resistor and a 24 volts and the solenoid?

    Best regards and thanks for your comments.

    Felipe G.

    #25886

    Ray
    Keymaster

    On the OpenSprinkler circuit, one wire from 24VAC is tied to the circuit ground, the other is called the common (COM) wire. Each solenoid has one wire that’s connected to the common wire, the other tied to its corresponding triac’s T2 terminal. And you are right that the triac’s T1 terminal is connected to ground. When the triac is turned on (i.e. gate to ground voltage above threshold), the channel between T1 and T2 is open, thus completing the circuit (24VAC common -> solenoid -> triac -> 24VAC ground).

    The resistor value is 300 ohm. But anywhere between 200 to 330 ohm should be fine. According to the triac’s datasheet, the gate to ground voltage drop is about 1 to 1.3V, and you need at least 5 to 7 mA of gate holding current for triac to remain open. So assuming the microcontroller outputs a voltage of Vcc (in the case of OpenSprinkler, Vcc = 3.3V), you can calculate the necessary resistor value. For example, (3.3V – 1V) / 7mA = 328.6 ohm.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) Sprinkler Solenoid Driver