# Hooking a big red button up to an rpi

**URL:** <https://forum.core-electronics.com.au/t/hooking-a-big-red-button-up-to-an-rpi/11911>\
**Category:** Uncategorized\
**Created:** [22 October 2021 05:09 UTC](https://forum.core-electronics.com.au/t/hooking-a-big-red-button-up-to-an-rpi/11911 "2021-10-22T05:09:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dominic181366](https://avatars.discourse-cdn.com/v4/letter/d/9de0a6/32.png) [@Dominic181366](https://forum.core-electronics.com.au/u/Dominic181366)\
**Post date:** [22 October 2021 05:09 UTC](https://forum.core-electronics.com.au/t/hooking-a-big-red-button-up-to-an-rpi/11911/1 "2021-10-22T05:09:08Z")

</div>

Seemed like a simple enough beginner project, I want to have a comically large button that is hooked up to an rpi, that when pressed writes something in a discord channel. I’ve never messed about with electronics to any great degree before, and used the following link:

[https://www.circuito.io/app?components=9443,200000,305155](https://www.circuito.io/app?components=9443,200000,305155)

as a guide to what I needed to buy, which included:

| Item | Sku | Qty |
| --- | --- | --- |
| **Big Dome Push Button - Red** | COM-09181 | 1 |
| **Solderless Breadboard - 300 Tie Points (ZY-60)** | CE05102 | 1 |
| **Raspberry Pi 3 Model B+** | CE05436 | 1 |
| **Resistor 10K Ohm 1/4 Watt PTH - 20 pack (Thick Leads)** | PRT-14491 | 1 |
| **Premium Jumper Wire 10-Pack M-F 6" Black** | POLOLU-1720 | 1 |
| **Pimoroni Pibow 3 Coupé (Raspberry Pi 3, 2, & B+)** | CE00319 | 1 |

I excitedly opened the box today only to immediately realise that I have no idea what I’m doing.

My main point of confusion atm is hooking up wires to the buttons microcontroller. the microswitch looks like it lends itself to being soldered rather than being connected to the jumper wires I bought. Is there a better way to hook that up to the breadboard as shown or am I going to have to make another order?

Any assistance would be appreciated, heckling is encouraged.

---

<div class="post-metadata">

**Author:** ![James46717](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@James46717](https://forum.core-electronics.com.au/u/James46717)\
**Post date:** [22 October 2021 05:38 UTC](https://forum.core-electronics.com.au/t/hooking-a-big-red-button-up-to-an-rpi/11911/2 "2021-10-22T05:38:35Z")

</div>

The Big dome Button uses spade connectors (links below) for the switch and the light. The size is not stated. The biggest expense would be the crimp tool (link below), and if your only using it once; over the top cost. You can solder wires, but I would use crimps as I like to make my stuff reusable or changeable in the future.

BUT … you could use this to connect it. Alligator clips to the switch and female pins to Pi.  
Easy but not robust.

> **[Small Alligator Clip to Female Jumper Wire Bundle - 6 Pieces](https://core-electronics.com.au/small-alligator-clip-to-female-jumper-wire-bundle-6-pieces.html)**
>
> When working with unusual non-header-friendly surfaces, these handy cables will be your best friends! No longer will you have long, cumbersome strands of alligator .. read more

OR … these if you want to use the breadboard.

> **[Small Alligator Clip to Male Jumper Wire Bundle - 6 Pieces](https://core-electronics.com.au/small-alligator-clip-to-male-jumper-wire-bundle-6-pieces.html)**
>
> When working with unusual non-header-friendly surfaces, these handy cables will be your best friends! No longer will you have long, cumbersome strands of alligator .. read more

Regards  
Jim

The light is 12V, web page says LED, but it may just be an incandescent light globe. Hard to tell from the web page. Depending on the current the light draws you may need a driver device. The Pi cannot output more than a few milliamps on GPIO pins.

The switch would be ok connected to GPIO pins as shown in the link you provided.

> **[Quick Disconnects - Female 1/4 (Pack of 5)](https://core-electronics.com.au/quick-disconnects-female-1-4-pack-of-5.html)**
>
> Sometimes referred to as “spade connectors,” these quick disconnects are really useful as power connectors in prototyping or in projects that are repeatedly assembled .. read more

> **[Spade Quick Connector Kit - 6.3mm / 4.8mm / 2.8mm](https://core-electronics.com.au/spade-quick-connector-kit-6-3mm-4-8mm-2-8mm.html)**
>
> Totaling 150 connectors and matching plastic sheaths, this Spade Quick Connector Kit is a must-have for your workstation. You'll have enough connectors to fuel your maker tendencies for days on end! Perfect for making wire harnesses to micro...

> **[Alligator Clip with Spade Connector (10 Pack)](https://core-electronics.com.au/alligator-clip-with-spade-connector-10-pack.html)**
>
> This is a 10-pack of wires that are pre-terminated with an alligator clip on one end and a female spade connector on the other. Alligator clips are a staple item .. read more

> **[Universal Crimping Pliers - 1.6 to 2.5mm Size Contacts - PA-21](https://core-electronics.com.au/universal-crimping-pliers-1-6-to-2-5mm-size-contacts-pa-21.html)**
>
> Make cables and wiring harnesses with ease using the best crimping pliers Adafruit have used. These precision machined crimpers will turn you into a pro, no more painful .. read more

---

<div class="post-metadata">

**Author:** ![Dominic181366](https://avatars.discourse-cdn.com/v4/letter/d/9de0a6/32.png) [@Dominic181366](https://forum.core-electronics.com.au/u/Dominic181366)\
**Post date:** [22 October 2021 05:51 UTC](https://forum.core-electronics.com.au/t/hooking-a-big-red-button-up-to-an-rpi/11911/3 "2021-10-22T05:51:42Z")

</div>

Thanks Jim for the information! with the alligator clips to female pins you mentioned, Would I be better off getting [Small Alligator Clip to Male Jumper Wire Bundle - 12 Pieces | Adafruit ADA3255 | Core Electronics Australia](https://core-electronics.com.au/small-alligator-clip-to-male-jumper-wire-bundle-12-pieces.html) so that I can pin them into the breadboard as shown on the diagram?

Also I have cracked open the lamp, and found that there is in fact an LED in there, that is also removable. Assuming that the led doesn’t complete the circuit, can I just remove it so that I don’t have to worry about the pi powering it? the light seems pretty tiny.

Also, going back to the part where I’m in the dark about this whole thing, what is the purpose of the resistor on the breadboard?

Here is the light being removed from a video I found, same product to my understanding:

[![](https://img.youtube.com/vi/T1jdjmbe1mM/maxresdefault.jpg "SparkFun 5-25-12 Product Showcase") ](https://www.youtube.com/watch?v=T1jdjmbe1mM)

---

<div class="post-metadata">

**Author:** ![Trent5487676](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/trent5487676/32/4583_2.png) [@Trent5487676](https://forum.core-electronics.com.au/u/Trent5487676)\
**Post date:** [22 October 2021 06:05 UTC](https://forum.core-electronics.com.au/t/hooking-a-big-red-button-up-to-an-rpi/11911/4 "2021-10-22T06:05:49Z")

</div>

Hi Dominic, Welcome to the forum 🙂

> [@Dominic181366](#):
>
> Also, going back to the part where I’m in the dark about this whole thing, what is the purpose of the resistor on the breadboard?

That is a pull-down resistor, it’s there so that when the switch is open and the digital input isn’t connected to anything the logic will be lightly pulled down to ground instead of floating around to a random unpredictable state and doing funny things to your circuit.  
I’ll link an indepth tutorial below if you are interested in the gory details.  
[https://www.electronics-tutorials.ws/logic/pull-up-resistor.html](https://www.electronics-tutorials.ws/logic/pull-up-resistor.html)

---

<div class="post-metadata">

**Author:** ![Dominic181366](https://avatars.discourse-cdn.com/v4/letter/d/9de0a6/32.png) [@Dominic181366](https://forum.core-electronics.com.au/u/Dominic181366)\
**Post date:** [22 October 2021 06:09 UTC](https://forum.core-electronics.com.au/t/hooking-a-big-red-button-up-to-an-rpi/11911/5 "2021-10-22T06:09:59Z")

</div>

Thank you Trent! I’ve been here a half hour and am already super impressed with the quality of the content and the people on this forum.

---

<div class="post-metadata">

**Author:** ![Trent5487676](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/trent5487676/32/4583_2.png) [@Trent5487676](https://forum.core-electronics.com.au/u/Trent5487676)\
**Post date:** [22 October 2021 06:14 UTC](https://forum.core-electronics.com.au/t/hooking-a-big-red-button-up-to-an-rpi/11911/6 "2021-10-22T06:14:26Z")

</div>

Hi Dominic,

Cheers, it’s members of the community helping each other that make it work so well. @James46717 put together a spot-on response quicker than I could get to it.  
I’m off for the weekend now but that certainly doesn’t mean the community activity on the forum slows down at all!

---

<div class="post-metadata">

**Author:** ![James46717](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@James46717](https://forum.core-electronics.com.au/u/James46717)\
**Post date:** [22 October 2021 07:44 UTC](https://forum.core-electronics.com.au/t/hooking-a-big-red-button-up-to-an-rpi/11911/7 "2021-10-22T07:44:53Z")

</div>

> [@Dominic181366](#):
>
> Thanks Jim for the information! with the alligator clips to female pins you mentioned, Would I be better off getting [Small Alligator Clip to Male Jumper Wire Bundle - 12 Pieces | Adafruit ADA3255 | Core Electronics Australia](https://core-electronics.com.au/small-alligator-clip-to-male-jumper-wire-bundle-12-pieces.html) so that I can pin them into the breadboard as shown on the diagram?

Yes. Male ones for the breadboard.

> [@Dominic181366](#):
>
> Assuming that the led doesn’t complete the circuit, can I just remove it so that I don’t have to worry about the pi powering it? the light seems pretty tiny.

See attached pic below from the Core Electronics web page, I added the text and arrows.  
I assume the pins shown are used to power the LED and if you don’t connect them to anything it wont matter. Removal of the LED would be fine.  
I have used similar buttons and that is how they are wired. Micro switch separate from the LED.

 ![Image1](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/0/019e9e4b9c76eef12e56f0e2ccc3e489b89b9102.jpeg)

Trent has covered the purpose of the resistor. If it was not there the switch would connect 3.3V to GND shorting out the supply and stopping the Pi from working; NOT good. Essentially the GPIO pin of the Pi is at GND when the button is not pressed and at 3.3V when the button is pressed, very easy for the Pi to see and do something.

cheers  
Jim

---

<div class="post-metadata">

**Author:** ![Dominic181366](https://avatars.discourse-cdn.com/v4/letter/d/9de0a6/32.png) [@Dominic181366](https://forum.core-electronics.com.au/u/Dominic181366)\
**Post date:** [22 October 2021 07:47 UTC](https://forum.core-electronics.com.au/t/hooking-a-big-red-button-up-to-an-rpi/11911/8 "2021-10-22T07:47:18Z")

</div>

You’re a legend Jim, I’m gonna go pick up some alligator to male pins and give it a shot. Really appreciate you taking the time to lay out your answers the way you did!

---

<div class="post-metadata">

**Author:** ![Matt](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/matt/32/5404_2.png) [@Matt](https://forum.core-electronics.com.au/u/Matt)\
**Post date:** [27 October 2021 23:38 UTC](https://forum.core-electronics.com.au/t/hooking-a-big-red-button-up-to-an-rpi/11911/9 "2021-10-27T23:38:57Z")

</div>

How did you go, Dominic? Any progress so far?

I love the idea of having a ‘Big Red Button’ for some arbitrary task! From my robocup days I do remember always wanting the run switch on our robots to be like a big missile launch switch for comedic value, something like a toggle switch with this cover:

> **[Missile Switch Cover - Red](https://core-electronics.com.au/missile-switch-cover-red.html)**
>
> It’s not what project you have in mind that may use a rocket launch switch… The question is what project will you come up with once you have one in hand? Everyone has a proverbial missile to launch.

> **[Toggle Switch and Cover - Illuminated (Red)](https://core-electronics.com.au/toggle-switch-and-cover-illuminated-red.html)**
>
> This simple on-off switch is rated for 20A at 12V but who cares about all that, it looks way awesome. These toggle switches come with those missile switch covers that make your project look like something out of a spy movie. They’re also a great...
