AlanL
Registered
I've received a bundle of components including some miniature 24 volt relays and have been trying a test on the bench. However seeing John's post above using an optoisolator, the relays may not be required.
Yesterday I cut a gap in my test track and filled in the gap with a small piece of rail glued in position -
The length of wire was soldered before gluing and as I had glued it slightly higher than the track, I filed and smoothed it so that it was perfectly level with the rail top.
I then soldered wires to the relay coil contacts and as it was on the bench, decided to try it with a single diode. The relay didn't work, just made a faint buzzing. Perhaps I should have used a lower voltage coil on half-wave? I then soldered a capacitor across the coil, 10uf and with that the relay operated and released instantly. I soldered an LED and battery on the relay contacts to confirm the operation. Earlier in this thread, relay chatter was mentioned so I wondered if a higher value capacitor might delay the relay operation. I tried a 100uf and a 470uf capacitor, they both operated instantly. What did alter was the holding time of the relay. 100uf was about 1/2 second and the 470uf was about 2 seconds.
With the test circuit connected to the rail, I pushed the caboose along the test track and the relay operated each time the metal wheels crossed the insert.
I tried a loco afterwards and again the relay worked faultlessly.
The idea works but I would have connected the relay contacts to a 555 timer circuit. However, after John's post above maybe an optoisolator would be better?
Alan
Yesterday I cut a gap in my test track and filled in the gap with a small piece of rail glued in position -
The length of wire was soldered before gluing and as I had glued it slightly higher than the track, I filed and smoothed it so that it was perfectly level with the rail top.
I then soldered wires to the relay coil contacts and as it was on the bench, decided to try it with a single diode. The relay didn't work, just made a faint buzzing. Perhaps I should have used a lower voltage coil on half-wave? I then soldered a capacitor across the coil, 10uf and with that the relay operated and released instantly. I soldered an LED and battery on the relay contacts to confirm the operation. Earlier in this thread, relay chatter was mentioned so I wondered if a higher value capacitor might delay the relay operation. I tried a 100uf and a 470uf capacitor, they both operated instantly. What did alter was the holding time of the relay. 100uf was about 1/2 second and the 470uf was about 2 seconds.
With the test circuit connected to the rail, I pushed the caboose along the test track and the relay operated each time the metal wheels crossed the insert.
I tried a loco afterwards and again the relay worked faultlessly.
The idea works but I would have connected the relay contacts to a 555 timer circuit. However, after John's post above maybe an optoisolator would be better?
Alan