Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

102 total results found

Useful learning resources

Physical Computing

...behind the platform, some basic code and electronics guidance. Make: Electronics by Charles Platt A very hands on guide to the fundamentals of electronics. Assumes no prior knowledge and uses some great real world examples and practical applications. Pra...

Using a Vibration Motor

Physical Computing Tutorials

... motor) Getting started This code is getting the motor to vibrate for 1 second and stop for 1 second. int motorPin = 3; //motor transistor is connected to pin 3 void setup() { pinMode(motorPin, OUTPUT); } void loop() { digitalWrite(motorPin, HIGH)...

Using a Sparkfun MP3 Trigger

Physical Computing Tutorials

... "Serial" with "Serial1" in the code if you are using Arduino Leonardo! void setup() { // Start the serial port at 38.4K Serial.begin( 38400 ); // Set volume Serial.print( "v" ); Serial.write( 0 ); // 0 = maximum volume, 255 = minimum volume } ...

UE Installation and Set-up

Unreal Engine Basics

... Debug symbols Engine source code You may select or de-select and components that you think you need/don't need. If you are unsure, just leave these to the default selections Important: Before you install Unreal Engine, make sure you have enough disk ...

Installing Mamba

Python for Beginners Setting Up Your Environment

...libraries as ready-made sets of code created and maintained by other developers. They're like toolkits that solve specific problems or add new features to Python. Instead of reinventing the wheel, it's much smarter to use these libraries when they fit your...

Who works in the Creative Technology Lab?

About the Lab Frequently Asked Questions

...er Interactive Audio & Creative Code Specialist Technician Physical Computing Specialist Technician he/him/his he/him/his she/her/hers j.escobarramirez@arts.ac.uk m.mizra@lcc.arts.ac.uk joanne.leung@lcc.arts.ac.uk Dolica Akello-Egwel Darsh K...

How to use a Hall Effect Sensor

Physical Computing Tutorials

... Getting started The following code uses digitalRead() to get a integer (1/0) representing the detection of magnet. const int hallSensorPin = 2; // Hall Effect sensor connected to digital pin 2 int hallSensorState; // Variable to store the state...

Using the MAX9814 mic amplifier

Physical Computing Tutorials

...ires: Retrieving Data  This code allows instructs the mic to detect and prints out values corresponding to the sound's varying volume. int MicPin = A0; int MicVolume = 0; // Define a variable MicVolume and initialize it to 0 void setup() { S...

How to use a relay module

Physical Computing Tutorials

...arted The following is a simple code that will make the water pump turn on for 1 second and off for 1 second. const int RELAY_PIN = 3; // the Arduino pin, which connects to the IN pin of relay // the setup function runs once when you press reset or power...

Controlling an actuator with TinkerKit Mosfet

Physical Computing Tutorials

...rning you.Always make sure your code prevents the speed of the motor going below the stall speed, you can find the stall speed by testing different values until the motor is only just turning, this should be your minimum. #define actuatorPin 6 void setup...

Using Arduino Leonardo to send USB MIDI data

Physical Computing Tutorials

...Arduino to applications like MadMapper, Max and Ableton Live. In or ...wrapping the noteOn and noteOff code in logic you could attach this to a button or sensor. #include "MIDIUSB.h" void setup() { Serial.begin(115200); } void loop() { Serial.println...

Using a HC-SR04 distance sensor

Physical Computing Tutorials

...3 Getting started To use this code you will need the HCSR04 Library by Martin Sosic. We have a tutorial on how to install a library here. This example turns on an LED when the distance measured is less than 30cm and back off when the distance goes over 3...

Touch sensor - Using an MPR121

Physical Computing Tutorials

...oximity / raw data This example code is only reading from electrode 11. #include <MPR121.h> #include <Wire.h> void setup() { Serial.begin(9600); Wire.begin(); // Initialize MPR121 MPR121.begin(0x5A); // Default I2C address MPR121.setTouchThresh...

How to use 7-Segment LED Backpack

Physical Computing Tutorials

...w sketch is i2c_scanner example code, which will show the address of the i2c device connecting to Arduino. #include <Wire.h> void setup() { Wire.begin(); Serial.begin(9600); while (!Serial); // Leonardo: wait for Serial Monitor Serial.println("\n...

Capturing in Wide-Angle with the OAK-D Pro camera

Touchdesigner Interactive Media

...the Text DAT with the following code: import depthai as dai def onInitialize(oakDeviceOp, callCount): return 0 def onInitializeFail(oakDeviceOp): parent().addScriptError(oakDeviceOp.scriptErrors()) return def onReady(oakDeviceOp): return ...

Using a Whadda Vibration Motor Module

Physical Computing Tutorials

...o pin 13 Getting started This code is getting the motor to vibrate for 1 second and stop for 1 second. int motorPin = 13; //motor transistor is connected to pin 3 void setup() { pinMode(motorPin, OUTPUT); } void loop() { digitalWrite(motorPin, HIGH...

Raspberry Pi Image: Video Looper

Raspberry Pi Raspberry Pi Image

...r, which can play most videos encoded with the H.264 video codec and in a video format with an extension like .avi, .mov, .mkv, .mp4, or .m4v. Try to minimize the size of your files and export the video with the exact resolution of your display for better ...

Using an PN532 RFID reader

Physical Computing Tutorials

...ta, and is read-only. The below codes are only for writing to and reading the data from Block 3. Write Data #include <DFRobot_PN532.h> #define BLOCK_SIZE 16 #define PN532_IRQ 2 #define INTERRUPT 1 #define POLLING 0...