Asked — Edited
Resolved Resolved by Robot Doc!

5V Relay Board Control

I purchased a four channel 5v relay board.The problem i am having is that i can turn on digital port and turn on relay but if i set digital port off the relay stays on..I'm pretty sure that is not in latching mode only.if disconnect the lead from the digital port the relay turns off.What am i doing wrong?

User-inserted image

its has 4 enable ports and vcc and ground


ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

Ireland
#17  

@rb550f Tested 8ch card similar to yours.no problem am I correct in saying a digital " on " switches on relay but relay remains energised by digital " off " ,until you disconnect port

#18  

@Bravia, that seems correct. @rb550f cannot get the relay to release with the "digital off" command and must disconnect the port to release the relay.

Ireland
#19  

If that the case I would check the supply voltage to the relay card mine is around 5 volt and make sure both grounds are connected.

I cannot see how a digital off would give a voltage to energise relay

#20  

@rb550f do you have a link for that converter? That looks like a great way to solve my issues also.

#21  

Here is a LINK to a board that I use for converting TX, Rx levels between the EZB(4) UART0 and the Roomba R3 model TTL port.

User-inserted image

#22  

The digital outputs of the Ez-b v4 are different from the digital outputs of the ez-b v3.
according to the spec sheet ez-b v3 digital outputs are rated

Digital I/O High-Current Sink. - 25 mA Digital I/O High-Current Source - 25 mA Digital ports can output low current +5 or GND to power LED’s or communicate with peripherals.

The ez-b v4 digital outputs are rated

330 ohm current limiting Resistors on each Digital I/O pin

Digital I/O TTL Voltage Level (output) 3.3VDC

Can't find a sink and source current in the EZ-B v4 spec, but like the digital output high voltage the digital output source and sink current are probably different as well.

The ez-b v4 digital outputs are having trouble meeting the input requirements of the relay board.