Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5317

General • Pico crashes when load on relay

$
0
0
I am controlling a relay hat from a pico (https://github.com/sbcshop/Pico-Single- ... %201CH.pdf).
Due to this relay only being rated at 10A 30V DC, I am then using this to switch a second 12V automotive relay to trigger a horn.

When there is no load on the second horn relay, my code runs without issue and both relays latch and unlatch without issue.

When a load is applied on the second 12v horn relay, the pico then crashes.

I would welcome some support in where my rather rusty electronics knowledge is failing me.

The relay hat being used has a transistor and diode between the GPIO and the relay such that the pico should be protected.

Here is a simplified circuit diagram
Pico Hooter.drawio.png
I have also disconnected the Pico from the Buck and am now running it from an isolated USB power source to ensure there is no voltage drop.
As the horn is a car snail horn it does mean that there is emi noise being produced, however I would expect the relay hat to protect the pico from this.

Many thanks in anticipation.
Paul

Statistics: Posted by probso — Mon Apr 15, 2024 5:12 pm



Viewing all articles
Browse latest Browse all 5317

Trending Articles