# Controlling antiparallel SCRs using Arduino

**URL:** <https://forum.arduino.cc/t/controlling-antiparallel-scrs-using-arduino/1294400>\
**Category:** General Guidance\
**Created:** [August 22, 2024, 6:40pm UTC](https://forum.arduino.cc/t/controlling-antiparallel-scrs-using-arduino/1294400 "2024-08-22T18:40:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pel\_engineer](https://avatars.discourse-cdn.com/v4/letter/p/96bed5/32.png) [@pel\_engineer](https://forum.arduino.cc/u/pel_engineer)\
**Post date:** [August 22, 2024, 6:40pm UTC](https://forum.arduino.cc/t/controlling-antiparallel-scrs-using-arduino/1294400/1 "2024-08-22T18:40:59Z")

</div>

Hello,

I have an existing circuit which is completely analog in nature that I would like to convert to digital using Arduino Uno R4 Minima. This is a single phase AC power controller using SCRs (Thyristors) connected in antiparallel fashion. The firing signal from the Arduino will be sent to a TIP122 darlington transistor which controls a pulse transformer as shown in the attached picture. I know that this Arduino Uno R4 Minima has one DAC pin which I was planning on using. My question is, does the signal to the base of the TIP122 transistor need to be pulsed (PWM) or an analog signal from the DAC pin output be enough to control the SCRs?

G1, K1, G2, and K2 are the gates and cathodes of SCRs 1 and 2 respectively.

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/7/9/0/790010f34bc30a72a5711e764e6323f34ccf0fe9.png)

---

<div class="post-metadata">

**Author:** ![gilshultz](https://avatars.discourse-cdn.com/v4/letter/g/67e7ee/32.png) [@gilshultz](https://forum.arduino.cc/u/gilshultz)\
**Post date:** [August 22, 2024, 7:07pm UTC](https://forum.arduino.cc/t/controlling-antiparallel-scrs-using-arduino/1294400/2 "2024-08-22T19:07:06Z")

</div>

> [@pel\_engineer](#):
>
> the signal to the base of the TIP122 transistor need to be pulsed (PWM)

The transformer will stop the DC, it needs to be pulsed so the transformer can transfer energy from the primary to the secondary.

---

<div class="post-metadata">

**Author:** ![davidefa](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/davidefa/32/1088935_2.png) [@davidefa](https://forum.arduino.cc/u/davidefa)\
**Post date:** [August 22, 2024, 7:38pm UTC](https://forum.arduino.cc/t/controlling-antiparallel-scrs-using-arduino/1294400/3 "2024-08-22T19:38:34Z")

</div>

Why the dac? You need a digital signal ( synchronyzed with the ac mains I suppose, at double frequency )

---

<div class="post-metadata">

**Author:** ![pel\_engineer](https://avatars.discourse-cdn.com/v4/letter/p/96bed5/32.png) [@pel\_engineer](https://forum.arduino.cc/u/pel_engineer)\
**Post date:** [August 23, 2024, 11:00pm UTC](https://forum.arduino.cc/t/controlling-antiparallel-scrs-using-arduino/1294400/4 "2024-08-23T23:00:05Z")

</div>

That makes sense. I have one more question. To send the pulse in my specific example, does it matter if I use analogWrite or digitalWrite as I show in the following code? They both yield the same result. Is one better than the other?

```arduino
  analogWrite(scrTrig, 255); //output high pulse for scr
  delayMicroseconds(500); // Pulse width for SCR trigger
  analogWrite(scrTrig, 0); // Stop triggering SCR

```

```arduino
  digitalWrite(scrTrig, HIGH);
  delayMicroseconds(500); // Pulse width for SCR trigger
  digitalWrite(scrTrig, LOW);

```

---

<div class="post-metadata">

**Author:** ![JCA34F](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/jca34f/32/340148_2.png) [@JCA34F](https://forum.arduino.cc/u/JCA34F)\
**Post date:** [August 23, 2024, 11:55pm UTC](https://forum.arduino.cc/t/controlling-antiparallel-scrs-using-arduino/1294400/5 "2024-08-23T23:55:46Z")

</div>

These two statements are equivalent:  
analogWrite(scrTrig, 255);  
digitalWrite(scrTrig, HIGH);

As are these:  
analogWrite(scrTrig, 0);  
digitalWrite(scrTrig, LOW);

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [February 19, 2025, 11:56pm UTC](https://forum.arduino.cc/t/controlling-antiparallel-scrs-using-arduino/1294400/6 "2025-02-19T23:56:17Z")

</div>

Closed on February 19, 2025, 11:56pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
