Mod_Thyristor Overview - RobotDynOfficial/Documentation GitHub Wiki
RobotDyn Thyristor Module Overview
If you need to control the AC power (lights, home equipment), this thyristor module can help you with that. Thyristors are solid-state semiconductor switches that can turn a flow of high current to your circuit on or off in a matter of *microseconds*
. Not only that, powerful thyristors can control high voltage/current, usually in the mains power supply range of 110-220V/5A, being controlled by the microcontroller voltage level of 5V/3.3V.
This board has an optoisolator to protect your micro-controller from high AC currents, i.e., it features full galvanic isolation. We also left more space, if you need to install a heat sink for the thyristor.
- Very fast switching
- No mechanical moving parts
- No contact arcing or suffer from corrosion or dirt
- Unlimited usage cycles
Connect GND to the MCU GND and Vcc to any available digital pin.
Thyristor modules require no special libraries. Just digitalWrite HIGH to the pin where the module is connected to switch it on, LOW to switch it off. In the following example MCU switches an AC lamp powered through the thyristor module on and off for 1 second repeatedly.
int LAMP = 4;//control pin number
void setup()
{
pinMode(LAMP, OUTPUT);
}
void loop()
{
delay(1000);
digitalWrite(LAMP, HIGH);
delay(1000);
digitalWrite(LAMP, LOW);
}