6 -18 VAC Relay for O-gauge train

Go To Last Post
9 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

 

I recently got back into model railroading and found that the Arduino with an IR sensor is great for triggering lights, controls etc... However, I want to be able to use an isolate track section to trigger an event with a relay. The relay's trigger would need to handle 6-18VAC as well as the voltage across the circuit. Most everything out there the I can find is 5VDC trigger. I need something that can take up to 18VAC. Any suggestion?

 

Thank

 

Phil 

 

 

"When all else fails, read the directions"

Last Edited: Tue. Aug 31, 2021 - 04:12 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If you want to switch AC , look at a solid state relay

 

How much current? 1 amp? 2 amp? 20 amps?

 

Can you use DC instead?----there are slightly easier switching options

 

If the triggering signal itself is the issue  (being AC & high volt), just  send it into a full-wave bridge and take that output into a resistor (say 1K) and a 5V zener, to limit the trigger to 5V.

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


 

This circuit might do what you want.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

avrcandies wrote:
How much current? 1 amp? 2 amp? 20 amps?
 5 amps

avrcandies wrote:
Can you use DC instead?-
not if I want to use the isolated track.

 

Chuck99 wrote:
This circuit might do what you want
This looks like it might work. What would be the PN for the N-Channel FET? 

 

Thanks for help!

"When all else fails, read the directions"

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

PhillyNJ wrote:
I want to be able to use an isolate track section to trigger an event with a relay.

The title says "servo" - doesn't seem to match the post ?

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

awneil wrote:
The title says "servo" - doesn't seem to match the post ?
Fixed! I was tired when I posted this last night! Thx

"When all else fails, read the directions"

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Take a look at

 

https://www.st.com/content/ccc/r...

 

There are others , similar...basically burnout-proof.

At 5 amps, this will need a heatsink  (Rds is a high 100 milliohm)

 

You can get other unprotected  fets with much lower Rds (like 10milliohm), so they might not need a heatsink

This will drive a 5 amp DC load

 

for driving a RELAY, you only need low current (say 100ma)  look at the ZXMS6004

also  non-surface mount:

https://rocelec.widen.net/view/p...

 

 

 

 

 

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

Last Edited: Tue. Aug 31, 2021 - 04:57 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0


PhillyNJ wrote:

What would be the PN for the N-Channel FET? 

 

To pick a FET, you need to specify the relay and V+.

 

Also, I forgot to include a diode across the relay coil.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Also, I forgot to include a diode across the relay coil.

The diode is usually not needed, because of the FET internal zener.  Some smart fets include extras that turn the fet itself on to quench the flyback voltage

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!