Kondo KRS ICS Servos icon Kondo KRS ICS Servos Control Kondo KRS ICS2/3.5 servos via EZ-B UART; experimental, untested. Supports chaining, virtual servo ports, Release() and Servo() commands. Try it →
Asked — Edited

Look What I Got

Hello everyone!

I just got my first shipment of parts from china which included: 8x relays

User-inserted image

and 1x 5amp adjusting power adapter(Audiowind).

User-inserted image

Just waiting for some regulators, and I should be good to finish some robots!

A question: Relay wiring?

Relay:

User-inserted image

How do I wire this up?

Thanks, Tech


ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#9  

That datasheet is for just the relay which is on the board not the board itself.

It looks like, as Richard said, you can drive it direct from the EZ-B (as per my first reply) however check to make sure it does have the driving transistor and diode otherwise there is a risk of damaging the board, the EZ-B and the battery.

If in doubt, add a driver circuit. This would be the TIP122 circuit with the optional diode.

Or if you are feeling brave and want to risk the warranty on the EZ-B you could just try it and see what happens however I don't recommend that option personally:)

#10  

If you really want to be sure you could always test it with a multimeter first to see how much current (at 5V) the relay uses to close...

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#11  

@Richard, with no diode there is a chance of back feed from inductive loads. You don't want back feed into a LiPo battery... You don't want back feed anywhere to be honest:)

#12  

Any which way, I have a couple of transistors(don't ask where I got them from) that are 2n2222 transistors. 2n2222

Will these work? Added picture of pin layout

User-inserted image

#13  

@Rich, I guess I didn't even realize it or even thought about it as have only been using niMh batteries in most of my projects... Still, good to know... Thanks...

#14  

Will those transistors I mentioned in my last post work?

#15  

I know I've arrived late in the game but I purchased several of the 5 volt relays for use with one of the Roomba projects (not completed yet) but I did post some info about them a few months back. One key reason for my selection was that the relay boards are optically isolated from the EZB or any microcontroller for that matter. Also on ebay: https://www.ebay.com/itm/5V-1-Channel-Relay-Module-H-L-Level-Triger-with-Optocoupler-for-Arduino-Raspberr-/221407959915?pt=LH_DefaultDomain_0&hash=item338cf15b6b

User-inserted image

Author Avatar
PRO
Canada
LinkedIn Thingiverse Twitter YouTube TikTok
#16  

@TechnoPro Just wanted to chime in that a 2N2222 is perfect for this application, and a 1N4148 or 1N4001 should work for a fly back diode.