Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <uv8arc$1k8fn$1@dont-email.me>
Deutsch   English   Français   Italiano  
<uv8arc$1k8fn$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: The Natural Philosopher <tnp@invalid.invalid>
Newsgroups: comp.sys.raspberry-pi
Subject: Re: relay modules?
Date: Thu, 11 Apr 2024 10:34:35 +0100
Organization: A little, after lunch
Lines: 57
Message-ID: <uv8arc$1k8fn$1@dont-email.me>
References: <uv5qtf$te0a$1@dont-email.me> <uv6o4n$14n15$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 11 Apr 2024 11:34:36 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="37d730508eb085623df187c8991c6e46";
	logging-data="1712631"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18PdA7IuVjy70/osRCn4O4aHJu7zW/etjs="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Wvl/5JBmFD0YXTeRpDBbKoJiuGQ=
Content-Language: en-GB
In-Reply-To: <uv6o4n$14n15$1@dont-email.me>
Bytes: 3116

On 10/04/2024 20:09, Gordon Henderson wrote:
> In article <uv5qtf$te0a$1@dont-email.me>,
> Mike Scott  <usenet.16@scottsonline.org.uk.invalid> 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 :-{
>>
>> 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 :-)
> 
> I used a solid state relay to control an oven some years back - the
> Pi's 3.3v output was good enough to fire the relay although it's LED
> was rather dim.
> 
> The oven was only 2.2Kw though, but I used a relay rated for something
> like 40 amps (that's probably chinese amps, but it never failed in the
> 5 or so years I used it near daily when I was running my small bakery)
> 
> For a 3Kw project (Atmega, not a Pi) I used one of the SparkFun "Beefcake" relays.
> I think it did need a 5v signal though. You'll need a driver transitor from a Pi.
> 
> https://www.sparkfun.com/products/13815
> 

Good find - the relay is available separately at a sane price.

I might try and source some

https://www.aliexpress.com/item/4001135871051.html

Looking to make up some boards with mains relays on and PI Pico Ws and a 
mains PSU to go into the backbox of a UK mains socket to act as smart 
sockets...



> I built that into a control system in a micro-brewery 'washing machine'
> about 5 or 6 years back and its still running today.
> 
That says a lot more than any ali-express recommendation.

> Gordon

-- 
“The ultimate result of shielding men from the effects of folly is to 
fill the world with fools.”

Herbert Spencer