Skip to main content

Physical Computing


How to install Arduino libraries

Arduino libraries are collections of code that are designed to provide additional, reusable funct...

Powering an Arduino

Here is some resources about powering Arduino or other electronic projects: General How to powe...

Using an MPR121 capacitive touch sensor

The MPR121 is a tiny microchip formerly manufactured by NXP, now under Resurgent Semiconductor, i...

Using a Sparkfun MP3 Trigger

The MP3 trigger is a board made by Sparkfun electronics that provides a way to play MP3 files fro...

Making sounds with a piezo

'Piezo' normally refers to an electrical component which can be used to make sound, however more ...

Using a Sparkfun Sound Detector

The Sound Detector is a board made by Sparkfun electronics that provides a way to detect ambient ...

How to connect a push button or switch

Buttons and switches are a way of opening and closing a circuit, i.e. making and breaking a conne...

Using a HC-SR04 distance sensor

The HC-SR04 is a ultrasonic distance sensor, it uses ultrasound to send out a ping and measure ho...

Connecting a Potentiometer

A potentiometer (often abbreviated to pot) is an electronic component with three connections, the...

How to connect a Light Dependent Resistor (LDR)

An LDR or Light Dependent Resistor is a component which restricts how much power can flow through...

How to use a rotary encoder

A rotary encoder is a device used to measure the rotation of something, similar to a rotary poten...

Using the serial monitor and serial logger

Serial communication is a type of communication between two devices, normally between a computer ...

Using Arduino Leonardo to send USB MIDI data

One of the secrets of Arduino Leonardo is the in-built USB MIDI support. This is really useful fo...

DFPlayer Mini

The DFPlayer Mini is a small (cheap!) and flexible mp3 player unit that can be controlled via an ...

How to revive a broken Arduino using a Mac

These are instructions for doing this on a mac -- there are a few extra steps which might be a l...

Stepper motor with TB6000 Microstep driver

We have the 42BYGHM809 Stepper motors with the TB6600 Stepper motor microstep driver to the Ardui...

5V Air Pump Guide

We have a number of small 5V air pumps and silicone tubing available for students to borrow for s...

Mini 360 Degree Continuous Servo Code

Continuous servos have a different structure to them than regular servos. A regular servo simply ...

How to build your own flex sensor

You will need: Velostat Copper tape Foam Soldering kit Silicon wire (thin threaded wire is also ...

Beyond Arduino: Choosing Boards for your Project

For projects requiring greater complexity, or more specific features than is possible with an Ard...

Workshop: Knitted Synthesisers

These notes are based on a workshop run by Agnes Cameron, and were developed as part of B Claxton...

Using Raspberry Pi for Projects

In the CCI we have a large number of pre-configured Raspberry Pi 4 boards for use by students, as...