Close

The relay and how control it

A project log for 3D Shutdown

Autonomous shutdown with Flip-Flop RS for 3D printer.

daveDave 06/18/2017 at 14:390 Comments

This is a standard 2 relays for Arduino, very cheap and easy to find online.

This one have 2 relay

This module is made with some components inside, like optocoupler and diode.

The microcontroller is a low power supply device, without relay it can not control high power supply, like the power supply in the 3D printer.

The basic function is schemed in this picture:

The rule of this component it's easy:

when the current pass through a coil - the component draw like a punch - the switch move, the C connection, from NC to NO. So, when the current not pass in a coil, the circuit return at NC.

Online simulator: http://tinyurl.com/yagvhscd

Why i added the transistor, resistor and diode on the output of the Flip-Flop?

These three components are integrated in the relay module. The resistor is put to put the transistor in the saturation region and the diode prevents the voltage spike when the inductor is discharged.

Now is the time to build the first prototype on the PCB board, according with the last circuit on the top.

Discussions