Re: USB controlled mains switch

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Re: USB controlled mains switch
De : dave (at) *nospam* davehigton.me.uk (David Higton)
Groupes : comp.sys.raspberry-pi
Date : 19. Jan 2025, 18:35:32
Autres entêtes
Organisation : Home
Message-ID : <423fc3e15b.DaveMeUK@BeagleBoard-xM>
References : 1
User-Agent : Messenger-Pro/8.03 (MsgServe/8.01) (RISC-OS/5.31) NewsHound/v1.55
In message <TjgqpoLGRDjnFwvW@ku.gro.lloiff>
          Adrian <bulleid@ku.gro.lioff> wrote:

I'm looking for a USB controlled mains switch (230V AC) that I can  connect
to a PI to turn a mains power supply on and off.
 
I've done a bit of digging around on the net, and the options seem to  fall
into two categories, either a relay device which means having to  rewire
the device (which I'd rather avoid), priced around 30Euros or one  that
sits in line (between the device and the supply).  The latter  appears to
be in excess of 100Euros, which is considerably more than I  want to pay.
 
Any suggestions on where to look ?  I'm not interested in a wireless
solution, as it is likely to be used in places where signals are not
reliable.

I did a bit of searching around.  AliExpress sell various models of
USB mains-rated relay boards.  Various models offer 5V, 12V or 24V
operation.  I see from a later posting that your RPi is in an IP55
plastic box, so I'm jumping to the conclusion that you're happy with
a bit of DIY to turn it from a board into a solution.

If I were doing it this way, I think I'd go for a 12V powered board
and have a separate PSU, rather than burden the RPi's supply further
as many people have problems that are traceable to inadequate power
supplies.

It sounds like you may have to build a USB library for the relay
boards - I don't know.

If I were doing the overall job that you're doing, I wouldn't use
USB, I'd use a GPIO pin to switch a different relay board on/off.
Much easier (and I've done lots of work on USB firmware and drivers).

David

Date Sujet#  Auteur
19 Jan 25 * USB controlled mains switch38Adrian
19 Jan 25 +* Re: USB controlled mains switch3Mike Scott
19 Jan 25 i+- Re: USB controlled mains switch1Pancho
19 Jan 25 i`- Re: USB controlled mains switch1Adrian
19 Jan 25 +* Re: USB controlled mains switch6Chris Green
19 Jan 25 i+- Re: USB controlled mains switch1The Natural Philosopher
19 Jan 25 i`* Re: USB controlled mains switch4Adrian
19 Jan 25 i +* Re: USB controlled mains switch2Theo
19 Jan 25 i i`- Re: USB controlled mains switch1Adrian
20 Jan 25 i `- Re: USB controlled mains switch1druck
19 Jan 25 +* Re: USB controlled mains switch4Pancho
19 Jan 25 i`* Re: USB controlled mains switch3The Natural Philosopher
19 Jan 25 i `* Re: USB controlled mains switch2Adrian
19 Jan 25 i  `- Re: USB controlled mains switch1Pancho
19 Jan 25 +- Re: USB controlled mains switch1Stefan Kaintoch
19 Jan 25 +- Re: USB controlled mains switch1The Natural Philosopher
19 Jan 25 +- Re: USB controlled mains switch1David Higton
19 Jan 25 +* Re: USB controlled mains switch8R.Wieser
19 Jan 25 i`* Re: USB controlled mains switch7Chris Elvidge
20 Jan 25 i `* Re: USB controlled mains switch6R.Wieser
20 Jan 25 i  `* Re: USB controlled mains switch5mm0fmf
20 Jan 25 i   +- Re: USB controlled mains switch1The Natural Philosopher
20 Jan 25 i   `* Re: USB controlled mains switch3R.Wieser
20 Jan 25 i    `* Re: USB controlled mains switch2Lars Poulsen
20 Jan 25 i     `- Re: USB controlled mains switch1R.Wieser
20 Jan 25 +- Re: USB controlled mains switch1druck
21 Jan 25 +- Re: USB controlled mains switch1Joe Beanfish
10 Feb 25 `* Re: USB controlled mains switch11Adrian
12 Feb 25  +* Re: USB controlled mains switch8Pancho
12 Feb 25  i`* Re: USB controlled mains switch7Adrian
13 Feb 25  i `* Re: USB controlled mains switch6Theo
13 Feb 25  i  +- Re: USB controlled mains switch1Adrian
13 Feb 25  i  `* Re: USB controlled mains switch4Pancho
13 Feb 25  i   `* Re: USB controlled mains switch3Adrian
13 Feb 25  i    `* Re: USB controlled mains switch2Pancho
13 Feb 25  i     `- Re: USB controlled mains switch1Adrian
12 Feb 25  `* Re: USB controlled mains switch2Michael Schwingen
12 Feb 25   `- Re: USB controlled mains switch1Adrian

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal