The Start

Hi, What and Why

Plug it in

Rule number 1

Water Sensor

Sound Sensor


Tri Colour LED

RTC (Real Time Clock) DS1302

RTC (Real Time Clock) DS3231

Matrix LED step 1


Stepper Motor

LCD revisited with PCF8574T

Humidity Sensor

Shift Register

RFID tags (RC-522)

7 Segment display

Ultrasonic distance sensor

5V regulator

analogRead and analogWrite

Wiring an Array of Switches

The next step

Other things I have bought

Infra red and Processing

Programming a separate arduino chip

Creating your own PCB

L293D for a DC motor

4 digit 7 segment display

Starting with motors

RF433 Wireless Comms

Sort a character array

More stuff

I2C devices (SDA,SCL)

I2C scanner

SPI devices (MOSI,MISO)

HMC5883L Compass

MMA7361 Accelerometer

Added projects

Message Display System

4WD robot car
4WD robot car II

4WD robot car COMPLETE

MP3 Player

How to wire an array of switches

Wiring up a bank of switches is theoretically easy, but if you get it wrong the first time, you won't be alone.

Since I got this wrong the first time, I wanted to document it for myself, and also share it. A few objectives here include as little space used as possible, the fewest soldering connection possible, and as neat as possible.

I've no doubt that there are other methods, and I would appreciate feedback; this method worked for me.

Array of 5 switches in a line. The strips underneath match the line of those switches. The resistors are angled purely to save space.

In the centre strip underneath, the strip is cut between each switch.
Switch Array

The switch is logic LOW normally, and logic HIGH when the switch is pressed.
As far as I am aware, the value of the resistor is not massively important; for example, both 10K and 220K should work.

And a close-up picture of that first switch. All the switches have the same wiring as this. Switch Array
And underneath, we can see : Cut the central strip, between each switch. I use an electric drill bit, hand held and gently twisted. Switch Array