Main > Raspberry Pi & Dev Board
A 12v delay relay that activates from a switch
mrbee:
Yeah im about to chuck this thing through a window.
Simply cannot get my head around it.
So - ive connected everything exactly as shown. Like triple checked.
I tried then looking for ground issues, turns out the timer delay module, multimeter testing the trigger and ground trigger points with nothing connected, at the positive and negative of the trigger of the timer delay module it is a constant 11.3v, even if I connect a 5v trigger to it. its as if the trigger connection on the timer is also receiving the voltage, so its like pumping 11.3v back into the zero delay unit.
two of the boards i have are the same thing. constantly giving voltage into the ground of at least 1.3v across the circuit
mrbee:
Im at a loss :(
I have connected everything as the diagram shows but it wont activate the timer relay trigger.
I thought it was because it was a 6v to 36v trigger. it is infact a 3v+ trigger and it is the relay side which is 6v to 36v.
So i didnt need to buy that step up converter.
Using a multimeter i check the voltages..
They are all over the place. Narrowed it down to the timer relay module.
The trigger and gnd_t, testing the voltage of these is a constant 2.3v!
so this feeds back to the zd module so its showing a button is being constantly pressed. the 2.3v is enough to activate a button press.
now. if i change the gnd_t to ground, the voltage reading of the trigger is 11.3v!
so this feeds back to the zd unit and shorts it.
if i dont connect gnd_t. nothing happens. timer relay wont trigger
im.not sure what to connect the timer relay gnd to.
im thinking maybe its because the relay is being powered by 12v. so i will try to power it via micro usb 5v and see if this stops the 2.3v constant in gnd_t and trigger
PL1:
* Deleting the reply I'd been typing up for an hour and a half before seeing your latest edit. :banghead: *
1. Stop flailing around making changes. It's causing confusion and you might fry something by mixing 5v and 12v connections.
2. We need to go back and check the assumptions about the relays you're using.
- Need good pics or a diagram of the timer relay showing all the connection labels and any jumpers on the module. Pretty sure the connections are different than what I thought they would be based on the earlier video.
- Specs and links to the relays that you purchased would also be very helpful as would any datasheets that might have been sent with them.
3. Your latest edit contains some info that might be useful.
--- Quote from: mrbee on May 13, 2025, 11:05:03 am ---if i change the gnd_t to ground, the voltage reading of the trigger is 11.3v!
so this feeds back to the zd unit and shorts it.
--- End quote ---
The input circuit for the delay timer is a different design than expected i.e. no onboard 5v regulator and possibly 4 connections on the coil side instead of 3.
You definitely don't want to mix 5v from the ZD with 12v from the relay input circuit.
--- Quote from: mrbee on May 13, 2025, 11:05:03 am ---if i dont connect gnd_t. nothing happens. timer relay wont trigger
im.not sure what to connect the timer relay gnd to.
--- End quote ---
So "gnd_t" is a separate connection from regular ground, right?
If so, pretty sure how to get it working, but need the pics and info requested in #2 to confirm.
Hang in there, we've almost got it working. :cheers:
Scott
mrbee:
I really appreciate your advice and tim e you have put into responsibg to me about this.
So much going on lately (its 1.45am, just got back from the hospital with my wife. anaphylaxis from ibuprofen!
shes all good now but just laying in bed thinking... right lets figure out this relay problem now lol
this is the timer delay module (pixtured
my thinking is to power it with 5v. or. see if bridging the two gnd points will turn trigger gnd into a common gnd..
not sure if these do anything mind you!
but as a last attempt now ive bought this one here https://amzn.eu/d/6IENx3K
its got a "low" and high trigger so i can connect the coin trigger to this module and also the 12v relay
PL1:
--- Quote from: mrbee on May 14, 2025, 09:03:24 pm ---just got back from the hospital with my wife. anaphylaxis from ibuprofen!
shes all good now
--- End quote ---
Glad to hear she's OK. :cheers:
--- Quote from: mrbee on May 14, 2025, 09:03:24 pm ---... right lets figure out this relay problem now lol
this is the timer delay module (pixtured
--- End quote ---
Here are two ways to wire this XY-J02 timer relay -- either one should work.
- They should also work with the JZ-801 timer relay if someone has that version.
1. Power the module with 12v. (active low)
- Connect 12v (yellow) to the "6.0-30.0v" port.
- Connect ground (black) to the "GND" port.
- Connect 12v (yellow) to the "Trigger" port.
- Connect the active low coin mech signal (dotted orange) to the "GND_T" port.
Before a coin is dropped into the mech, the signal line is 12v so the relay is not triggered.
When a coin is dropped into the mech, the signal line goes momentarily LOW and triggers the timer relay.
2. Power the module with 5v. (active high)
- Connect the micro USB 5v power supply
- Connect switched 5v from the ZD encoder (dotted purple) to the "Trigger" port.
- Connect ground (black) to the "GND_T" port.
When the other relay is triggered by the coin mech, 5v Common from the ZD encoder HIGH is on the "Trigger" port and triggers the timer relay.
Scott
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version