Skip to main content

Physical Computing & Arduino

Powering an Arduino

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

How to install Arduino libraries

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

Using the serial monitor and serial logger

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

Using an MPR121 capacitive touch sensor

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

Connecting a Potentiometer

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

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...

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...

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...

5V Air Pump Guide

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

Stepper motor with TB6000 Microstep driver

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

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...

Using a Sparkfun MP3 Trigger

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

Using a Sparkfun Sound Detector

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

DFPlayer Mini

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

Mini 360 Degree Continuous Servo Code

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

Beyond Arduino: Choosing Boards for your Project

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

Using delta time: breaking free of delay() in Arduino programming!

The Limitations Of Arduino's delay() Function If you've written any code for Arduino, or even jus...

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...

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...

Using a Buffer to Smooth Your Signals

Got an Arduino project that uses an analog sensor, but the readings keep jumping around? What you...