Asked — Edited
Resolved Resolved by Dunning-Kruger!

Relay Driver Using An Arduino To An Ezbv4

Hello All,

I have an 8 relay 5volt relay board, (compatable with Arduino) which I want to drive from my EZBv4. I have made a script to run the ports D8 and D9 on and off for testing. The problem I have is the relay turns on but fails to turn off. I am using an ezb regulator to power the relay board. I thought I power draw might be too high so I changed to a two relay board of the same spec. I have the same problem with this board.

I see some other people have similar issues driving relays from their ezb's. Any suggestions? I never felt a full answer to the problem was made. I hoped additional hardware wasn't needed. I am beginning to consider building a transistor switching circuit to go between the ezb and the relay, but felt I shouldn't need it. I also considered using an Arduino?

I always thought a relay should be able to be driven direct from the ezb as described in the digital port spec..

Can anyone help.

Ron R


ARC Pro

Upgrade to ARC Pro

ARC Pro is more than a tool; it's a creative playground for robot enthusiasts, where you can turn your wildest ideas into reality.

#9  

Hello,

Here is the for the two relay board I used for the test. ,

Specification:

This is a 2 Channel 5V Relay interface board, Be able to control various appliances, and other equipments with large current. It can be controlled directly by Microcontroller(Arduino , 8051, AVR, PIC, DSP, ARM, ARM, MSP430, TTL logic) .

5V 2-Channel Relay interface board, and each one needs 15-20mA Driver Current

Equiped with high-current relay, AC250V 10A ; DC30V 10A

Standard interface that can be controlled directly by microcontroller (Arduino , 8051, AVR, PIC, DSP, ARM, ARM, MSP430, TTL logic)

Indication LED’s for Relay output status.

Description:

  1. Module with pine le relay control, ac voltage maximum 250 V, ac current maximum 10 A, dc voltage maximum 30 V, dc current maximum 10 A;

  2. The 8550 transistor drive, drive ability;

3.Tworking voltage 5 V

  1. Has the fixed bolt hole and easy installation

  2. Power indicator (green), Two ways of relay status indicator light (red)

Module interface specifications (6 wire)

  1. VCC external 5 V

  2. GND external GND

  3. 1N1-1N2 interchange relay control interface by single chip IO

Using a large current relay, AC250V 10A DC30V 10A

Contact some independent wiring, safe and reliable

Standard interface that can be extended in a variety of development board

With fixed screw holes for easy installation

Suitable for a variety of platforms 51/AVR/AVR/ARM

Size( L x W x H ): 54mm x 47mm x 18mm

Weight: 31g

I plan on using Rich's transistor switching circuit to try to make this work. I saw Steve G and Richard R discuss this issue in a previous thread. I believe the easiest way to be sure this will work is the slave board. I don't mind redundant circuits if the problem is prevented. I am getting parts today and will test it in the next few days.

Ron R

#10  

Dj,

Maybe down the road, offering a relay block which connects directly to an ezb may be a nice add-on?

Ron R

#11  

That's actually a good idea Ron.. I mean Jeremie can hack one of those together in about an hour, easy . ...;)

PRO
Synthiam
#12  

That's a good idea - it can be a quick and easy addon. We'll take a look and see what the demand would be. For us to manufacture anything means we do it in quantities of thousands, otherwise our facility won't even take the request. Some things like this are more challenging to produce if there isn't a demand. There are solid state relays available and many other options that aren't ezrobot branded in the meantime - they just aren't $0.50 eBay China products with engrish descriptions. :)

#13  

I would think a two relay block would be real handy to allow the running of lights, auxiliary motors, valves etc.. Static robots like the one I am making allows me to run 110vac lighting, fans and larger audio devices.

I would buy, rather than build, a plug and play item.

Ron R

#14  

@ Rich,

Thanks for the driver board construction info and schematic. I made a few changes to run a two relay board. It works Great.

User-inserted image

Ron R