@redblueflame said in Home Button Project:

Also @Duds_O_Cara, I think you can use transistors to remove the "switching" noise, typical on relays.

Yeah, it's really possible! In fact, a few cents cheaper since transistors are cheaper than relays. In my case, I used some relays that I bought for my IoT testing and an old PNP Transistor. It's also possible do it using mosfet or other components "key-like".

But I'll tell you: I love the relay noise 🙂 ❤ (in fact, when I build my pinball machine I'll use as many as possible of the most louder relays in order to recreate the old school sounds).

I think a cheap shematic using transistors only should look like this:

Botao-Home-Mamute-Transistor-600x400.png

I used tinkercad to validate:
https://www.tinkercad.com/things/jKHnLiFRhBV

In fact if I'd build it to myself I think I should add a third transistor and pull it's base source feeding from the Raspberry 5V source trying to isolate the Home Button circuit from the GPIO pin ciruit, like I did with the relay project, so the GPIO pins wouldn't be in charge of operating the transistors. That would be something like this:

Botao-Home-Mamute-3-Transistor-600x400.png

Tinkercad validation:
https://www.tinkercad.com/things/0MSJcpwArDV

But I cannot grant it's working with the real Raspberry since I don't have any transistors here to mount a breadboard right now. Maybe I could try this one day.

What do you think about this schematic? Would this run along with Raspberry?