Control Omron G5LE-1 relay that requires 12V to switch the relay on and off. The relay it self is turning a 220VAC circuit on and off.
Control relay with TIP120
Posted on by ellen
2
Transistor controls other power source
Posted on by ellen
DC motor
Posted on by ellen
You will need:
- DC Motor
- Power diode
- TIP 120
Turn the motor on with this code:
-
void setup() {
-
pinMode(8, OUTPUT);
-
}
-
-
void loop() {
-
digitalWrite(8, HIGH); // Turn on motor
-
delay(5000);
-
digitalWrite(8, LOW); // Turn off motor
-
delay(5000);
-
}