TTL outputs relay module problem

tayloredtech

TayloredTech
When I power on the Masso all relays turn on from the TTL board even though outputs are on low (loud click from each relay and relays get warm and I tested the NO/NC) you'll see in the video that when I go from low to high I do get led feedback on the relay but no change in the relay state..

I have two seperate units and they both do the same thing from both banks of output terminals.

Is there something I'm missing here?

Each relay board has a 10 pin header that is VCC (12v) then in 1-8 and a ground to finish. All wiring is correct so I'm a bit lost..

I'll find the eBay link shortly

**EDIT**

eBay seller had it listed as VCC 12v but it needed 5v as the relays were 5V.
 

masso-support

MASSO Support
Staff member
Is there a manual of the relay board that you can share?

Also can you please make a wiring diagram on how you have wired the relay board with MASSO.
 

tayloredtech

TayloredTech
Quote from MASSO - Support on October 20, 2018, 2:17 am

Is there a manual of the relay board that you can share?

Also can you please make a wiring diagram on how you have wired the relay board with MASSO.

eBay link

There's no manual from eBay haha.
I have ground common to Masso which is shared with the 12v PSU ground. 12v feeding the VCC on the boards and inputs coming from outputs directly
 

masso-support

MASSO Support
Staff member
as expected from ebay :)

So if you disconnect all the TTL signal wires coming from MASSO and power up the board then do the relays come on?
 

tayloredtech

TayloredTech
Quote from MASSO - Support on October 20, 2018, 4:15 am

as expected from ebay ?

So if you disconnect all the TTL signal wires coming from MASSO and power up the board then do the relays come on?

Nope.. I split the header cable from power and outputs and if I disconnect the outputs they turn off
 

tayloredtech

TayloredTech
See attached screen shot. The part I'm confused about is 3/4 way down it says, can be powered separately and there is a jumper on the board but when I try swapping it the PSU shuts down
 

Attachments

  • 20181020_165746.jpg
    20181020_165746.jpg
    925.2 KB · Views: 13
  • Screenshot_20181020-165442_eBay.jpg
    Screenshot_20181020-165442_eBay.jpg
    347.6 KB · Views: 16

clover

clover
@tayloredtech, Relay Modules like you have used behave differently to standard relays. Many are input switchable so that they accept input that can be either active high and active low. Masso requires active low mode. If your Relay Module has this facility and it is set to active high that will give you the symptoms you describe. Changing the input mode may be made by a small switch, a plug type jumper or a solder jumper on the relay board.

To check the Relay Module operation disconnect the Relay Module inputs from the Masso and use the diagram below. This is the best way to check your Relay Modules mode of operation. By the way, I have a Relay Module operating successfully on my Masso.

Finally, can you give us the eBay link from where you purchased the unit? That may help.
 

Attachments

  • Relay-Module.png
    Relay-Module.png
    235.1 KB · Views: 18

masso-support

MASSO Support
Staff member
you can actually invert the outputs if you want that it won't be any issue.

As a test when you apply 5v on the relay input signal does the relay switch on or off?
 

clover

clover
@tayloredtech, I have just seen your latest post with the attached image. The devil is in the wording!


These 4/8 Channel Relay only work with low input IN1, IN2, etc.

This seems to suggest that this is an active low Relay Module but . the grammar used in this specification doesn t lead one to have a lot of confidence in its meaning.

Best to check your unit as I describe in my post above.

But probably the easiest option for you initially is just to invert the outputs as @masso-support suggest above.
 

tayloredtech

TayloredTech
In the video I am pressing invert in Masso and the LED changes but the relay stays on, so invert or not the relays aren't changing state.... Or do you mean something else?
 

tayloredtech

TayloredTech
I just pulled the jumper off entirely and the relays turned off, I then tried to change state by inverting in Masso and the LEDs changed state but no relays activating now... ?
 

tayloredtech

TayloredTech
Quote from clover on October 20, 2018, 6:07 am

@tayloredtech, Relay Modules like you have used behave differently to standard relays. Many are input switchable so that they accept input that can be either active high and active low. Masso requires active low mode. If your Relay Module has this facility and it is set to active high that will give you the symptoms you describe. Changing the input mode may be made by a small switch, a plug type jumper or a solder jumper on the relay board.

To check the Relay Module operation disconnect the Relay Module inputs from the Masso and use the diagram below. This is the best way to check your Relay Modules mode of operation. By the way, I have a Relay Module operating successfully on my Masso.

Finally, can you give us the eBay link from where you purchased the unit? That may help.

Sorry I missed this post! Cheers for the diagram. So in other words some are in active state (N/O is on) when the TTL input is low and visser versa? Ok well that's a simple fix as you can invert them on start up but this isn't my biggest issue here lol. See above post ?
 

clover

clover
So in other words some are in active state (N/O is on) when the TTL input is low and visser versa

No. that is not correct. I mean that the relay can be closed by: 1). 0v (or close to it) or 2). + voltage (usually about +5V). The former is an active low input and the latter is an active high input. It doesn't appear from the information you have provided that your Relay Module is switchable between either mode.
 

tayloredtech

TayloredTech
Quote from clover on October 20, 2018, 7:01 am

So in other words some are in active state (N/O is on) when the TTL input is low and visser versa

No. that is not correct. I mean that the relay can be closed by: 1). 0v (or close to it) or 2). + voltage (usually about +5V). The former is an active low input and the latter is an active high input. It doesn't appear from the information you have provided that your Relay Module is switchable between either mode.

I poorly wrote what I meant but what you said is what I meant lol.

Energised on 0v OR energised on voltage.

The jumpers are in a photo you'll see in a previous post and also there's a link to the eBay page further back.

The jumper has 3 pins and has GND VCC JD-VCC written. Default is VCC+JD-VCC.

Default position, all relays on no matter what the status lights on each relay are (green or red).

Removing the jumper makes the relays stay off.

Swapping the jumper seems to short incoming 12v to ground...

I have an idea... EDIT: didn't work.. I pulled the 12v out to see if it would simply activate the relays via the 5v outputs but.. no dice. All lights turned off and no response
 

clover

clover
Yes @tayloredtech I do it all the time. It's now become common 'Not what I said but what I meant!'

I'll have to check this out but it sounds very strange. I have to leave now until tomorrow. Cheers, Patrick
 

tayloredtech

TayloredTech
Quote from clover on October 20, 2018, 7:23 am

Yes @tayloredtech I do it all the time. It's now become common 'Not what I said but what I meant!'

I'll have to check this out but it sounds very strange. I have to leave now until tomorrow. Cheers, Patrick

Thanks Patrick!

I may have an idea. I think connecting the jumper in it's default is actually feeding the relays 12v when activated so I'm going to try and connect a 5v PSU into the JDD-VCC pin and see if that helps haha.

Storm has just hit here so the generator had to be pulled inside :-(

I'll see if the UPS has any juice and test the theory.

Cheers again
 

tayloredtech

TayloredTech
SUCCESS!

The special eBay seller has 12v on the page but the regatta are all 5v. Did some reading... 5v was needed. Still in the reverse state to what I would have liked but just have outputs inverted in Masso and I'm sweet.

Also. When the relay is OFF there is no light on the board. When activated (output goes low) relay is activated and red light goes on.

Thanks Pat

One big headache sorted!
 

clover

clover
I 'reverse engineered' the photos from the eBay website of the Relay Module and came up with the following:
  1. The Relay Module is indeed an active low unit and cannot be changed.
  2. Its operation is a bit unusual particularly in the way the onboard LED operates. The accompanying chart says it all.
 

Attachments

  • Truth-Table.jpg
    Truth-Table.jpg
    74.3 KB · Views: 14

masso-support

MASSO Support
Staff member
good stuff, that is why we have INVERT option on inputs and outputs as we have had similar experiences and you just dont know what the sensors or output boards will work on.
 
Top