Connect Foot and palm switch to Raspberry pi

Hi! We made a project using a raspberry pi and 4 arcade buttons (Massive Arcade Button with LED - 100mm White | The Pi Hut) sadly there were not robust enough, it is used inside a playground for entry, and 2 broke in the span of 2 weeks.

We were getting power from these on a simple GPIO PIN 3/4 for example, this kinda worked but i bet it will not work with the more robuust buttons we wanna buy:

We were thinking of buying 4 of the above one, can anyone helm me out regarding the button receive on a GPIo from this button.

And will this work with the simple raspberry pi wires?

All help is very appreciated, thank you!

Hi Dion
Welcome.

Why ??? They are all switches.
Cheers Bob

Hi Dion,

Welcome to the forum :slight_smile:

As far as I can tell both the button you’ve already used and the more ruggedized version you were looking at getting are both just simple switches.

I’m not sure how power comes into this, unless you are referring to the optional internal LED in the massive arcade button. Your rugged button doesn’t feature a light though.

For your Raspberry Pi to read the buttons correctly you will also need to make sure they are enabled as inputs correctly so that the internal pull-up/pull-down resistors are active and you avoid having floating logic inputs on your switch.

1 Like

Hi men, thanks for advice! I had a question about setting the input correct, can you point me in correct direction?

Hi Dion,

What programming language were you using? I’ll try and find some resources using that language.

1 Like

Hi @Dion252241

Ahh the ‘joys’ of interfacing with the public …

Apart from the technical connections to the Pi (or whatever control system you are using), there is the appropriately robust design and selection process for the items that they can touch.

You - as a designer / builder - know how to use the buttons / devices that interconnect with the Pi.
The great unwashed public don’t.

For the work I have done in this field at Fox Studios, and other themed attractions, the choice was always for industrial switches and indicators. And remote sensors too (optical beam types, non contact proximity sensors etc). For screens and displays, put them behind protection panels, or place them out of reach …

And while @Trent5487676 is chasing up programming languages, don’t forget technical interfacing concepts as below.

cheers
Murray

2 Likes

Hi! I am using NodeJS (NestJS) with the Onoff library. Weird part is current buttons i couldt get working o n the 21/27 gpio only on 3/4 and 5/6 out of my head.

1 Like

Hi men!

Thanks for your comment and information, we are a software company that build SAAS/Mobile apps on a professional level. A company we work with asked us to make a game for in a playground and indeed the non-robuust play button was a good learning leason. We are know looking into industrial ones, they are ofcourse more expensive, but i think idea is same like the arcade just a OFF or ON

1 Like

Hi @Dion252241 ,
Without commission or endorsement or suitability for your application, I have previously used items from this range for buttons and indicators accessible by the general public.

Your requirements may require you to search out other sources for appropriate items for your project.

Murray

1 Like