Re: USB controlled mains switch

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Re: USB controlled mains switch
De : address (at) *nospam* is.invalid (R.Wieser)
Groupes : comp.sys.raspberry-pi
Date : 19. Jan 2025, 20:24:56
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vmjjim$2euqk$1@dont-email.me>
References : 1
User-Agent : Microsoft Outlook Express 6.00.2900.5512
Adrian,

... 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)

Whut ?   As others have already mentioned, you could take a short extension
cord and put the relais* in that cord.  Makes it reusable too.

* also consider a solid-state relais.

Also, you say USB controlled.  How do you imagine that ?  As some kind of
special USB device (for which it is hard to find a driver) ?

Perhaps consider a simple USB-to-serial thingly*, where you can use the DTR
line to signal the relais board to switch on.  After that you can use the
RPi build-in serial API to switch the relais.

* I would strongly suggest to use one of RPi's gazillion I/O pins for it,
but as you specifically mentioned USB controlled ...

The only thing you will need to do (and which costs money) is to put the
relais (and the USB-to-signal-line thingamagochy ?) in a shielding plastic
box.  220 is lethal even when you touch it by accident. :-)   And make sure
the 220v and the relais-driving low-voltage electronics are well seperated.
Your RPi doesn't like 220v either. :-o

Regards,
Rudy Wieser



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