Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. why no one uses latching relays ?

why no one uses latching relays ?

Scheduled Pinned Locked Moved Hardware
41 Posts 14 Posters 16.6k Views 18 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • rozpruwaczR Offline
    rozpruwaczR Offline
    rozpruwacz
    wrote on last edited by
    #22

    I believe that with latching relay there is also a way to make the relay go into specific state during power outage - with a capacitor that stores some energy, that energy may be used to switch the relay into this specifi state. So I think that latching relays can do all the things non-laching relays can and also more :) and they are much more energy efficient. So my biggest issue is why there is so little of them on the market and hardly no ready made modules with required circuitry to handle them. And they are sooooo expensive ... :(

    wallyllamaW 1 Reply Last reply
    0
    • Anne van RossumA Offline
      Anne van RossumA Offline
      Anne van Rossum
      wrote on last edited by
      #23

      You can store the state in FLASH indeed, and have a rotating scheme to reduce wear. However, in practice it should also go fine if you store the information outside your system.

      Suppose you have a phone that remotely SETs the relay. Now the relay gets powered off and on through some fluke. The next time it is powered on and its state is the same as that on the phone, because that device is oblivious to this entire sequence of events.

      Next time the phone remotely does a RESET and the relay will toggle as expected.

      If (1) someone else does change the state of the relay and (2) the chip is recycled, then you will be out of sync with the actual state for one cycle. After sending a SET or RESET it is synchronized again.

      1 Reply Last reply
      0
      • rozpruwaczR rozpruwacz

        I believe that with latching relay there is also a way to make the relay go into specific state during power outage - with a capacitor that stores some energy, that energy may be used to switch the relay into this specifi state. So I think that latching relays can do all the things non-laching relays can and also more :) and they are much more energy efficient. So my biggest issue is why there is so little of them on the market and hardly no ready made modules with required circuitry to handle them. And they are sooooo expensive ... :(

        wallyllamaW Offline
        wallyllamaW Offline
        wallyllama
        wrote on last edited by
        #24

        @rozpruwacz i think your answer is "sooooo expensive", i suspect they are more complicated to build, so even if they were popular they would still cost more. As for the power cost, to put it in perspective, if you use 14w led bulbs, and your automation saves you 1 hour of bulb use, that will run your relay for 28hours at .5w. Now that doesn't help much if you are trying to run the relay on batteries/solar.

        rozpruwaczR 1 Reply Last reply
        0
        • gohanG Offline
          gohanG Offline
          gohan
          Mod
          wrote on last edited by
          #25

          Do solid stare relays consume less power?

          YveauxY 1 Reply Last reply
          0
          • gohanG gohan

            Do solid stare relays consume less power?

            YveauxY Offline
            YveauxY Offline
            Yveaux
            Mod
            wrote on last edited by
            #26

            @gohan yes, they only consume power when making the switch. They don't consume any power to maintain state.

            http://yveaux.blogspot.nl

            gohanG 1 Reply Last reply
            0
            • YveauxY Yveaux

              @gohan yes, they only consume power when making the switch. They don't consume any power to maintain state.

              gohanG Offline
              gohanG Offline
              gohan
              Mod
              wrote on last edited by
              #27

              @Yveaux
              I am talking about something like these https://it.aliexpress.com/popular/solid-state-relay-arduino.html . I heven't looked much into them since they have limitations, but I like the fact they are not mechanical.

              YveauxY 1 Reply Last reply
              0
              • FotoFieberF Offline
                FotoFieberF Offline
                FotoFieber
                Hardware Contributor
                wrote on last edited by
                #28

                Apart from 12V supply voltage, this seems interesting:
                http://www.ebay.com/itm/Latching-Bistable-Relay-module-12V-Relay-board-for-AVR-PIC-Arduino-from-EU-/181276052335

                1 Reply Last reply
                0
                • gohanG gohan

                  @Yveaux
                  I am talking about something like these https://it.aliexpress.com/popular/solid-state-relay-arduino.html . I heven't looked much into them since they have limitations, but I like the fact they are not mechanical.

                  YveauxY Offline
                  YveauxY Offline
                  Yveaux
                  Mod
                  wrote on last edited by
                  #29

                  @gohan said in why no one uses latching relays ?:

                  @Yveaux
                  I am talking about something like these https://it.aliexpress.com/popular/solid-state-relay-arduino.html . I heven't looked much into them since they have limitations, but I like the fact they are not mechanical.

                  Sorry, I misread your question, as this thread is about latching relays, not solid state.

                  Solid state relays do consume power, but in general less than mechanical relays.

                  http://yveaux.blogspot.nl

                  Nca78N 1 Reply Last reply
                  0
                  • gohanG Offline
                    gohanG Offline
                    gohan
                    Mod
                    wrote on last edited by
                    #30

                    No problem, I brought up the solid state because the opening post was about power consumption of standard relays compared to the latching ones, so I was wondering where they fit in between. That's it. :)

                    rozpruwaczR 1 Reply Last reply
                    0
                    • wallyllamaW wallyllama

                      @rozpruwacz i think your answer is "sooooo expensive", i suspect they are more complicated to build, so even if they were popular they would still cost more. As for the power cost, to put it in perspective, if you use 14w led bulbs, and your automation saves you 1 hour of bulb use, that will run your relay for 28hours at .5w. Now that doesn't help much if you are trying to run the relay on batteries/solar.

                      rozpruwaczR Offline
                      rozpruwaczR Offline
                      rozpruwacz
                      wrote on last edited by
                      #31

                      @wallyllama I agree that there are cases where normal relays are completely fine, but if you want to control some low power device that draws 0.5W then it makes sense to use latching relay, especially if it will be turned on half the time and you have 20 of them.

                      1 Reply Last reply
                      0
                      • gohanG gohan

                        No problem, I brought up the solid state because the opening post was about power consumption of standard relays compared to the latching ones, so I was wondering where they fit in between. That's it. :)

                        rozpruwaczR Offline
                        rozpruwaczR Offline
                        rozpruwacz
                        wrote on last edited by
                        #32

                        @gohan ssr's require less power to drive them but on the load side they have about 1V drop so this produses power loses, and ssr's that can handle large currents are quite big. But the have other features, like zero crossing switching (they can switch on/off when the voltage sine wave is near 0V).

                        1 Reply Last reply
                        0
                        • YveauxY Yveaux

                          @gohan said in why no one uses latching relays ?:

                          @Yveaux
                          I am talking about something like these https://it.aliexpress.com/popular/solid-state-relay-arduino.html . I heven't looked much into them since they have limitations, but I like the fact they are not mechanical.

                          Sorry, I misread your question, as this thread is about latching relays, not solid state.

                          Solid state relays do consume power, but in general less than mechanical relays.

                          Nca78N Offline
                          Nca78N Offline
                          Nca78
                          Hardware Contributor
                          wrote on last edited by
                          #33

                          Why are you all saying they are expensive ? If you take the 12V versions they are just a bit more expensive than normal relays.

                          @Yveaux said in why no one uses latching relays ?:

                          Solid state relays do consume power, but in general less than mechanical relays.

                          I'm sorry but I don't agree with this statement ;)
                          They consume nearly nothing from the "command" side, but they have a voltage drop. I think it's about 1V on those small Omron (on original one, not the copies sold on Aliexpress which could be worse) so the power loss is up to 2 watts for the 2A they are rated for. On the bigger models visible from the link above you need a (huge) radiator over 4A.

                          1 Reply Last reply
                          0
                          • YveauxY Yveaux

                            @rozpruwacz We were talking relay modules (like this one) which normally only take supply and a single control signal.
                            Having to control the latching of the relay using an H-Bridge I find 'a bit harder' compared to just toggling an IO, regarding both software and hardware.

                            For reference, this is the schematic I use to control a latching relay:

                            0_1487085965612_upload-0a5788cc-27e7-4bf6-98a1-7c26962bf71f

                            It uses a MAX2226/4427/4428 or compatible MOSFET driver to drive the relay.

                            And a function to switch it:

                            #define RELAY_INA_PIN         (A0)
                            #define RELAY_INB_PIN         (A1)
                            #define RELAY_SET_TIME_MS     (30)
                            
                            static void switchRelay( const bool on )
                            {
                                digitalWrite(RELAY_INA_PIN, on ? LOW : HIGH);
                                digitalWrite(RELAY_INB_PIN, on ? HIGH : LOW);
                                delay(RELAY_SET_TIME_MS);
                                digitalWrite(RELAY_INA_PIN, LOW);
                                digitalWrite(RELAY_INB_PIN, LOW);
                            }
                            
                            ? Offline
                            ? Offline
                            A Former User
                            wrote on last edited by A Former User
                            #34

                            You don't necessary need to use an H-Bridge, you can use: (Don't forget the flyback diodes!)
                            0_1487345715497_Latch.png

                            That above schematic is for an intermediate switch in a multi way switching circuit. This way has a high W.A.F (Wife Acceptance Factor). Doing it this way, you can keep the conventional light switches operational. As its part of a multiway light switch circuit, you only need to toggle it to turn the light on or off. You do of course need to detect if the light is on though!

                            And unless you're mass producing these for sale, what does the extra cost matter?

                            1 Reply Last reply
                            1
                            • rozpruwaczR Offline
                              rozpruwaczR Offline
                              rozpruwacz
                              wrote on last edited by rozpruwacz
                              #35

                              HAHA, You can always get a new wife with lower W.A.T (Wife Acceptance Treshold) :D

                              YveauxY ? 2 Replies Last reply
                              3
                              • rozpruwaczR rozpruwacz

                                HAHA, You can always get a new wife with lower W.A.T (Wife Acceptance Treshold) :D

                                YveauxY Offline
                                YveauxY Offline
                                Yveaux
                                Mod
                                wrote on last edited by
                                #36

                                @rozpruwacz that's even more expensive! :nail_care:

                                http://yveaux.blogspot.nl

                                1 Reply Last reply
                                2
                                • rozpruwaczR rozpruwacz

                                  HAHA, You can always get a new wife with lower W.A.T (Wife Acceptance Treshold) :D

                                  ? Offline
                                  ? Offline
                                  A Former User
                                  wrote on last edited by
                                  #37

                                  @rozpruwacz I've invested too much time and money in to this one already!

                                  1 Reply Last reply
                                  0
                                  • G Offline
                                    G Offline
                                    Grubstake
                                    wrote on last edited by Grubstake
                                    #38

                                    @rozpruwacz
                                    Late to this but for anyone who finds this thread (like I did) with the same thing in mind...here's a relay that looks like it might work for some. (I have not received it yet.)

                                    https://www.ebay.com/p/5v-Flip-flop-Latch-Relay-Module-Bistable-Self-locking-Switch-Low-Trigger-Board/14005978712

                                    Specifications:
                                    Working voltage: DC 5V
                                    Working current: 70MA
                                    Standby current: 1UA
                                    Load current: AC 250V / 10A, DC 30V / 10A
                                    Trigger mode: Low pulse trigger
                                    alt text

                                    There are 10 more listings for what looks like the same product...most about $2 US.

                                    This seems useful for any sort of battery powered node that is to trigger opening or closing a circuit. I certainly would not use it for house lighting in general due to the toggle/uncertain state, storing the state at the node, detecting the relay state when switching, and synchronizing to correct an error seems possible if needed.

                                    My use case is to provide remote control to outdoor landscape lights that use AC line power and a transfer to feed low voltage lighting common in the USA. I have a large yard with 4 different transformers that currently mechanical timer, light sensor, or electrical timer. I'm usually happy to NOT automate dedicated independent simple systems that just work. In this case, my equipment needs fixing after a power outage (mechanical timer), doesn't work well in winter when photo sensors don't get enough light, and I can't turn on the lighting manually very easily. I want to keep these transformers in place as a fallback (in manual 'on' mode), so I could use remote controlled relay to switch the 12 volt AC output to the lighting circuit. I prefer to use battery powered nodes even though line power is available because everything is outdoors and weatherproofing an AC power supply to power a node might be more work.

                                    YveauxY 1 Reply Last reply
                                    1
                                    • S Offline
                                      S Offline
                                      sridhar
                                      wrote on last edited by
                                      #39

                                      I just came across this thread while doing more research - good stuff!

                                      I do have a latching relay breakout board with 2 latching bistable relays that can switch 16A @ 250VAC

                                      As others have already mentioned, these relays have separate inputs for setting/unsetting the relay, so you can always start off with whatever state you want. Adding a hall effect current sensor, you can also detect the current state of the relay to see if it is open or closed.

                                      You can check it out on Tindie.

                                      Cheers,
                                      Sridhar

                                      1 Reply Last reply
                                      0
                                      • G Grubstake

                                        @rozpruwacz
                                        Late to this but for anyone who finds this thread (like I did) with the same thing in mind...here's a relay that looks like it might work for some. (I have not received it yet.)

                                        https://www.ebay.com/p/5v-Flip-flop-Latch-Relay-Module-Bistable-Self-locking-Switch-Low-Trigger-Board/14005978712

                                        Specifications:
                                        Working voltage: DC 5V
                                        Working current: 70MA
                                        Standby current: 1UA
                                        Load current: AC 250V / 10A, DC 30V / 10A
                                        Trigger mode: Low pulse trigger
                                        alt text

                                        There are 10 more listings for what looks like the same product...most about $2 US.

                                        This seems useful for any sort of battery powered node that is to trigger opening or closing a circuit. I certainly would not use it for house lighting in general due to the toggle/uncertain state, storing the state at the node, detecting the relay state when switching, and synchronizing to correct an error seems possible if needed.

                                        My use case is to provide remote control to outdoor landscape lights that use AC line power and a transfer to feed low voltage lighting common in the USA. I have a large yard with 4 different transformers that currently mechanical timer, light sensor, or electrical timer. I'm usually happy to NOT automate dedicated independent simple systems that just work. In this case, my equipment needs fixing after a power outage (mechanical timer), doesn't work well in winter when photo sensors don't get enough light, and I can't turn on the lighting manually very easily. I want to keep these transformers in place as a fallback (in manual 'on' mode), so I could use remote controlled relay to switch the 12 volt AC output to the lighting circuit. I prefer to use battery powered nodes even though line power is available because everything is outdoors and weatherproofing an AC power supply to power a node might be more work.

                                        YveauxY Offline
                                        YveauxY Offline
                                        Yveaux
                                        Mod
                                        wrote on last edited by
                                        #40

                                        @grubstake said in why no one uses latching relays ?:

                                        This seems useful for any sort of battery powered node that is to trigger opening or closing a circuit

                                        Be aware that the relay on the board is non latching. Keeping it in actuated state requires continuous power to the relay coil, which will quickly drain batteries.

                                        http://yveaux.blogspot.nl

                                        1 Reply Last reply
                                        3
                                        • A Offline
                                          A Offline
                                          Allan_GH
                                          wrote on last edited by
                                          #41

                                          In my use of bistable latching relays, where the state of the relay position is information that must be tracked, I have found it to be easiest to use an optocoupler (H11AA1 or PC817C) to feedback the state of the relay position, which is polled at bootstrap. If you have multiple states to read at boot, you can use something like the TCA9548A multiplexer to accomplish the state read and to set your volatile state variables appropriately, and save on your μC pin count.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          20

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular