# How to wire illuminated switches to arduiono board

**URL:** <https://forum.core-electronics.com.au/t/how-to-wire-illuminated-switches-to-arduiono-board/2012>\
**Category:** Arduino\
**Created:** [4 January 2018 05:49 UTC](https://forum.core-electronics.com.au/t/how-to-wire-illuminated-switches-to-arduiono-board/2012 "2018-01-04T05:49:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tony54450](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@tony54450](https://forum.core-electronics.com.au/u/tony54450)\
**Post date:** [4 January 2018 05:49 UTC](https://forum.core-electronics.com.au/t/how-to-wire-illuminated-switches-to-arduiono-board/2012/1 "2018-01-04T05:49:02Z")

</div>

can any one tell or show me how to connect how to wire illuminated switches to arduiono board  
Please help  
tony gard

---

<div class="post-metadata">

**Author:** ![Graham](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/graham/32/54_2.png) [@Graham](https://forum.core-electronics.com.au/u/Graham)\
**Post date:** [5 January 2018 03:21 UTC](https://forum.core-electronics.com.au/t/how-to-wire-illuminated-switches-to-arduiono-board/2012/2 "2018-01-05T03:21:08Z")

</div>

Hi Tony,

If you are referring to these style of swtiches:

> **[16mm Illuminated Pushbutton - Yellow Momentary](https://core-electronics.com.au/16mm-illuminated-pushbutton-yellow-momentary.html)**
>
> A button is a button, and an LED is a LED, but this LED illuminated button is a lovely combination of both! It's a medium sized button, large enough to press easily .. read more

Then there are two contacts for the button and two contacts for the LED, one marked + and one -. The forward voltage of the LED is about 2.2V so connect a 220 to 1000 ohm resistor in series just as you would with any other LED to your 3V or higher power supply.

---

<div class="post-metadata">

**Author:** ![tony54450](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@tony54450](https://forum.core-electronics.com.au/u/tony54450)\
**Post date:** [5 January 2018 03:39 UTC](https://forum.core-electronics.com.au/t/how-to-wire-illuminated-switches-to-arduiono-board/2012/3 "2018-01-05T03:39:02Z")

</div>

Hi graham  
thanks for getting back to me  
I am a complete novice at this so please be patient with me  
I need to know how to connect the switches 9 I have (9 of them i want to  
use) to my arduino uno mega board  
could you please send me a diagram of how to do it  
I have looked at all or most of the tutorial and they all assume that you  
are an electronics expert (not me!!!)  
hoe you can help  
kind regards  
Tony gard

---

<div class="post-metadata">

**Author:** ![Graham](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/graham/32/54_2.png) [@Graham](https://forum.core-electronics.com.au/u/Graham)\
**Post date:** [5 January 2018 03:51 UTC](https://forum.core-electronics.com.au/t/how-to-wire-illuminated-switches-to-arduiono-board/2012/4 "2018-01-05T03:51:18Z")

</div>

Hi Tony,

No worries. To turn on the LED, wire it up like this to 5V on Arduino.

![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/c/cae1e10e405e8772225b6b5de690834965e016c9.jpg)

Note, you need a 1K resistor in series with the LED.

> **[Resistor 1K Ohm 1/4th Watt PTH - 20 pack](https://core-electronics.com.au/resistor-1k-ohm-1-4th-watt-pth-20-pack.html)**
>
> These are ¼th Watt, +/- 5% tolerance PTH resistors. Commonly used in breadboards and perf boards, these 1K Ohm resistors make excellent pull-ups, pull-downs, and current limiters.

If you want to turn this on/off digitally, then afterwards move it to one of the digital outputs on your Arduino and use code to turn on/off that output.

---

<div class="post-metadata">

**Author:** ![tony54450](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@tony54450](https://forum.core-electronics.com.au/u/tony54450)\
**Post date:** [5 January 2018 04:04 UTC](https://forum.core-electronics.com.au/t/how-to-wire-illuminated-switches-to-arduiono-board/2012/5 "2018-01-05T04:04:39Z")

</div>

sorry mate you lost me at resistors and pull ups and pull downs i have no  
idea what that means  
where do the resistor go and what type of resistors do i use  
tony

---

<div class="post-metadata">

**Author:** ![tony54450](https://avatars.discourse-cdn.com/v4/letter/t/7bcc69/32.png) [@tony54450](https://forum.core-electronics.com.au/u/tony54450)\
**Post date:** [5 January 2018 04:09 UTC](https://forum.core-electronics.com.au/t/how-to-wire-illuminated-switches-to-arduiono-board/2012/6 "2018-01-05T04:09:58Z")

</div>

i have 2 types of resistors (rr0636 0.5 w metal film 470k andres 0.5 w mtl  
560r 1%  
what does that mean and do i have to connect one resistor to each switch ?  
tony

---

<div class="post-metadata">

**Author:** ![Graham](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/graham/32/54_2.png) [@Graham](https://forum.core-electronics.com.au/u/Graham)\
**Post date:** [5 January 2018 04:16 UTC](https://forum.core-electronics.com.au/t/how-to-wire-illuminated-switches-to-arduiono-board/2012/7 "2018-01-05T04:16:36Z")

</div>

All good 🙂

There are just so many forks in the road, that it would perhaps be best to follow a proven learning experience such as this:

> **[SparkFun Inventors Kit - v4.0 (for Arduino)](https://core-electronics.com.au/sparkfun-inventors-kit-v4-0.html)**
>
> The SparkFun Inventor’s Kit (SIK) is the best way to get started with Arduino! It bundles together a Sparkfun RedBoard, a case full of popular electronic components, as well as a fun, easy-to-follow project book.

If you already have your own hardware, then check out our own Arduino Course for beginners:

> **[Arduino Workshop for Beginners - Tutorial](https://core-electronics.com.au/tutorials/arduino-workshop-for-beginners.html)**
>
> Welcome to the Arduino Workshop, where you'll be able to follow our guided course which covers everything you'll need to know in order to create your own Arduino projects and become a leveled up maker. My name is Sam and along with being a maker...

It’s worth noting that the Sparkfun Inventors Kit Guide is also available as a downloadable PDF

> **[SIK\_v4\_Book\_Oct\_25\_FINAL.pdf](https://cdn.sparkfun.com/datasheets/Kits/SIK/SIK_v4_Book_Oct_25_FINAL.pdf)**
>
> 33.17 MB

Between all of those resources, you’ll be on track to build DIY projects!
