BREAKING NEWS

05 November 2015

HL-58S module with 8 relays, controlled by Arduino UNO R3

Continuing the series of articles devoted to the Arduino and the world of electronics in general, we see how to connect the module HL-58S to the Arduino. Here's the video that illustrates the operation of the module controlled by Arduino.



We start from the module HL-58S:


It 'a very economical product that you can find online for less than 10 euro, with 8 relays to 5 volts. The inputs are equipped with a photo-coupler and a red LED signal. The LED indicates the activation of the corresponding relay. Each channel consumes a current of about 70mA and must be powered at 5 Vdc. When active all the relay is a current of 550-600 mA, current is better to provide a dedicated regulator to avoid overloading the Arduino.In recent days I have proposed a small regulator module 5V 1A useful for this purpose.


The form is signed HL-58S V1.2: we see how to activate a relay. For the circuit uses the input signal must be active low: it means that when the output of the Arduino will have the logic value 0 (0 Volt), the relay will be activated. It deactivates the logic signal 1 (5 volts).Just be careful in writing the sketch in this particular and everything will work. There remains the problem of the electric current voltage of 5 volts which is better not to take directly from the integrated controller on the ticket Arduino UNO R3. A special note is the yellow jumper on the right: if you take away, the relays are not activated and the LEDs light up only. It can be used to provide an 'auxiliary power supply to 5 volts dc. The sketchthat I made ​​as an example, is not deliberately complicated: need to become familiar with the circuit. It has an initial delay of 10 seconds before turning on in sequence the various relays. This cycle is continuously repeated with activations of each relay for 1 second with a pause of 2 seconds.

Note, in Fig. 3 and Fig. 4, the controller 5 volts which feeds the module only HL-58S.

Warning: remember to connect the GND wire to form HL-58S and Arduino UNO R3, otherwise the relay does not energize. The relays are not appropriate , in my view, to switch loads to the supply voltage (for instance, with voltages above 24 volts ), so pay close attention.
For the moment everything: good job from the Blog Waiting for the bus!

Share this:

Post a Comment

 
Back To Top
Distributed By Blogger Templates | Designed By OddThemes