Advanced Search
Search Results
38 total results found
Adding a Processing Library
Processing libraries allow us to use code other people have written within the Processing environment -- these can be really useful when experimenting with more complex projects, and can save a lot of rewriting code. There are some 'core' processing libraries ...
Software Defined Radio
The CCI has a small number of Adafruit RTL-SDR software defined radios. These can be used to tune into AM and FM radio bands (like a normal radio), but also to decode other kinds of data sent over radio. If you're a mac user, Adafruit has a useful guide to us...
Using the Brother Innov-is V3 Embroidery Machine
To use this machine, you must have had an induction from one of the technical staff. This guide is to serve as a resource for students who have already had this induction, as a reminder of setup steps and as a troubleshooting guide. Overview The Brother Innovi...
How to install Arduino libraries
Arduino libraries are collections of code that are designed to provide additional, reusable functionality or to simplify using external electronic modules. Libraries typically come with examples of how to use them. The library developer usually provides online...
Powering an Arduino
Here is some resources about powering Arduino or other electronic projects: General How to power an Arduino How to power a project What adapter? Portable / Battery powered For portable projects some info on battery usage. http://www.instructables.com/...
Using an MPR121 capacitive touch sensor
The MPR121 is a tiny microchip formerly manufactured by NXP, now under Resurgent Semiconductor, it is a tiny surface mount device that provides 12 capacitive touch electrodes through an I2C interface. What is capacitive touch? Capacitive touch the the technolo...
Making sounds with a piezo
'Piezo' normally refers to an electrical component which can be used to make sound, however more broadly a piezo is a component that is susceptible to the two-way piezoelectric effect where pressing or squeezing the piezo element can create a small voltage, an...
Using a Sparkfun Sound Detector
The Sound Detector is a board made by Sparkfun electronics that provides a way to detect ambient sound levels. There are three connections on the board: Audio - This is the raw audio from the microphone. Envelope - This is a analog value representing the vo...
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 connection as one of the most rudimentary forms of sensor you can use with an Arduino. There are dozens of different types of switches and buttons, but at their most ba...
Using a HC-SR04 distance sensor
The HC-SR04 is a ultrasonic distance sensor, it uses ultrasound to send out a ping and measure how long the sound takes to come back, exactly like bats use to fly in the dark. The sensor works between 2-400cm however if the ping sound is reflected away from th...
Connecting a Potentiometer
A potentiometer (often abbreviated to pot) is an electronic component with three connections, the main purpose of the pot is to create a variable voltage as an input to a circuit, for example controlling how loud your speakers should be. Inside a potentiomete...
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 a circuit based on how much or little light hits the sensitive part on the top. Wiring To use a Light Dependent Resistor, we have to use it in combination with a...
How to use a rotary encoder
A rotary encoder is a device used to measure the rotation of something, similar to a rotary potentiometer but not limited to how many rotations can be made, a common example of a rotary encoder is the volume dial on a car radio, which can be turned infinitely ...
Using the serial monitor and serial logger
Serial communication is a type of communication between two devices, normally between a computer and a microcontroller (such as an Arduino), between computers, or between Arduinos. Serial communication can be over physical cables between two Arduinos, or via a...
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 for sending data from Arduino to applications like MadMapper, Max and Ableton Live. In order use this you'll need to follow the guide on How to install libraries to ...
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 lot less hassle to do on windows but I haven't tried. If you're a student reading this, chances are you don't have an Atmel-ICE programmer to hand: if you're having...
Stepper motor with TB6000 Microstep driver
We have the 42BYGHM809 Stepper motors with the TB6600 Stepper motor microstep driver to the Arduino using the BasicStepperDriver.h library. Connect the stepper and driver as shown: Download and install the driver to arduino from here. (If you need help, c...
Mini 360 Degree Continuous Servo Code
Continuous servos have a different structure to them than regular servos. A regular servo simply goes to t degree angle to tell it, where as continuous servos of course keep going around, so we must program them slightly differently, like so: // Include the se...
How to build your own flex sensor
You will need: Velostat Copper tape Foam Soldering kit Silicon wire (thin threaded wire is also fine) Tape of some sort Arduino wiring: Arduino code: /* Simple code to light up an LED based on resistance sensor Matt Jarvis - Creative Computing Inst...
Forking a Git Repository
A common way to run classes at the CCI is for your lecturer to manage homework through a main git repository that they update with new files weekly, and ask you to make a fork of it to complete the work. Once you have a fork of the repository set up properly, ...