Path: ...!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Chris Green Newsgroups: comp.sys.raspberry-pi Subject: Re: relay modules? Date: Wed, 10 Apr 2024 14:16:03 +0100 Lines: 30 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net 2//QYocTAbD0eP5r7Cw+jAJFetFdHWASCGh7FFqoNRgZ4lHlo= X-Orig-Path: not-for-mail Cancel-Lock: sha1:7Ys8+dqhCfyF8/mqGAp20L0o3Ng= sha256:a6XotHRfPx9tfRoxXSDUhXhWltDyxiMcQlTmOGiQO8g= User-Agent: tin/2.6.2-20220130 ("Convalmore") (Linux/5.15.0-102-generic (x86_64)) Bytes: 1900 Mike Scott wrote: > Hi all. Two separate projects which will need a relay of some sort to > run from a Pi or similar. > > I'm really looking for something plug-and-go rather than build-your-own > (especially item 2 below) > > First is a dpdt relay to switch around 12-20 V at a couple of amps. spdt > are easy to come by; the only dpdt ones I've found are on aliexpress, > but their longevity is possibly open to question :-{ > Try CPC (cpc.farnell.com), but you will probably need some sort of 'driver' between the Pi digital output and the relay coil. Alternatively, as suggested here, a solid state switch or even an opto isolator. > Second is something to switch mains safely - a full 13A to run a 3kW > heater. I've drawn a blank: best I can think of is to butcher one of > those wireless mains switch modules, which would at least provide a good > isolation gap :-) > Again CPC will probably have something, but again you'll need something between the Pi and the 'whatever'. Are there not ready made relay modules for the Pi? -- Chris Green ยท