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

132 total results found

Using built-in example code and Reading the hookup diagram

Physical Computing Workshop: Beginner Physical Computing

...d the code. 2. Blinking Orange LED The orange LED labelled as L should be blinking now. 3 ...rol and what are they. pinMode(LED_BUILTIN, OUTPUT); we are using ...the built-in on-board tiny LED and it is an output as it is a ...ill loop forever. digitalWrite(LED_BUILTIN, HIGH); means we are w...

How to use a Reed Switch

Physical Computing Tutorials

...wo small ferromagnetic reeds sealed inside a glass tube. When a mag ...er the switch, and the built-in LED will light up. const int REED_P ...nected to reed switch const int LED_PIN = 13; // LED pin - active-high void setup() ...D_PIN, INPUT_PULLUP); pinMode(LED_PIN, OUTPUT); } void loop() {...

How to use a PIR sensor

Physical Computing Tutorials

...ND to GND Getting started int ledPin = 13; // LED int pirPin = 3; ...atus void setup() { pinMode(ledPin, OUTPUT); pinMode(pir ...otion detected digitalWrite(ledPin, HIGH); // turn LED ON Serial.println("Hey I go...

How to make Animation on NeoMatrix

Physical Computing Tutorials

...opixel. Neopixel is addressable LEDs, meaning that they can be prog ... +5V to 5V GND to GND Library WarningDownload version 1.9.0 or b ...started The example shows the upward arrow first and then the anim ... colour-changing pattern. The upward arrow is for identifying the ...

Interactive Projections

Projection Mapping

...t. This can be done in multiple ways, this tutorial will briefly i ...e here: https://www.youtube.com/watch?v=1Uw2PWTR_XM&t=529s. Begin ...he Threshold value; Ideally you want to get completely transparent ...ill use this to draw a bounding box around the detected objects:  ...

Connecting a Potentiometer

Physical Computing Tutorials

...and #3, the middle pin #2 is called the wiper, and by actuating the ...e between 0V to 5V, at the half way the voltage on pin #2 would be ...a potentiometer controlling the LED built into the Arduino. This sk ...etch will make the LED blink at a rate between 0ms to ...

Week 1 - Coordinates, shapes and colour

Creative Coding Workshop: Introduction to Creative Coding

... you will be using a library called p5.js to learn the fundamentals ...or expertise, you will almost always encounter bugs. Writing code ... code is meant to be doing. The way we do this is by adding commen ...s. Comments can be added in two ways: Single line commentUsing t...

Steam VR setup Tutorial #3 - Interactable object setup

VR tutorials - Unity HTC VIVE Tutorials

...to learn how to create two "throwable" objects but first, we are g ... create a plinth to put the throwable objectS on so it is easier t ...now see a cube intersecting the walking plane. Now let's chan ...y, you can call it whatever you want, we suggest a meaningful name...

Week 3 - Iteration, arrays, objects and pixel arrays

Creative Coding Workshop: Introduction to Creative Coding

... you have Node.js already installed you can run the following comma ... you do not have Node.js installed. In which case visit the Node.j ...and above. Once you have installed the HTTP web server you will ne ... is only performed once. If we want to perform a conditional oper...

Variables

Python for Beginners

...t's create a new Python file called "variables." This can be done b ... result of 2. However, you may want to use a certain value more t ...nformation. Imagine them as labeled boxes where you can store different ... = 1 + 1 We have now created a box with the label my_sum that cont...

How to use MatrixPortal M4

Physical Computing Tutorials

...dafruit designed to control RGB LED matrices. It is equipped with a ...l: Dedicated connectors for RGB LED matrices (HUB75 interface), all ... without needing additional hardware. Power: Can be powered via US ...s that involve large, colourful LED displays, such as scrolling tex...

What equipment is available?

About the Lab Frequently Asked Questions

...) HD Projectors Short Throw LED Projector Standard Throw LED Projector Laser Projector VR ...ncluding: DMX Dimmer Packs RGB LED PAR56 USB to DMX interfaces DMX ... LED driver Other Microcontroller ...ncluding: Neopixel & NeoMatrix LEDs Button/ switch Thermal Receipt...

Arduino Nano 33 Sense Rev2- IMU sensor

Physical Computing Tutorials

...gin()) { Serial.println("Failed to initialize IMU!"); while ...o_BMI270_BMM150.h" float x,y,z, ledvalue; void setup() { if (!IM ...gin()) { Serial.println("Failed to initialize IMU!"); while ..., y, z); if(x < 0) { ledvalue = -(x); } else{ le...

Using AVR ISP MKII to upload firmware to Arduino

Physical Computing Tutorials

...ers and hobbyists to upload firmware to AVR-based chips directly o ... Arduino UNO (re-upload the firmware to the ATmega328P chip on UNO ...ies Arduino Nano 33 series Software Compatibility Works with Atme ...at the bottom usually) Status LEDs General speaking, Green = Ever...

Adding content - 3D model from the internet

Spark AR Importing 3D content from different sou...

...? Depending on the model you want you might need to look for it ...uses and this often affects the way in which the model has been pr ...l in your project. You might want to avoid - Models that have ...f the specifications of the hardware involved. You might need to t...

How to use IR Breakbeam Sensor

Physical Computing Tutorials

...frared; detects changes in long-wave IR (heat) in its field. ...ck to GND Get Started #define LEDPIN 13 #define SENSORPIN 4 int ... void setup() { pinMode(LEDPIN, OUTPUT); pinMode(SE ...beam is broken digitalWrite(LEDPIN, HIGH); } else { ...

How to use a Flat Vibration Switch

Physical Computing Tutorials

...Inside is a very soft spring coiled around a long metal pin. When t ...d to vibration switch const int ledPin = 13; // Built-in LED on most Arduino boards void se ...ate == HIGH) { digitalWrite(ledPin, HIGH); Serial.println(" ..."); } else { digitalWrite(ledPin, LOW); } delay(100); }

How to connect a Push Button with Digital Input Pull-Up resistor

Physical Computing Tutorials

... how to use a button the normal way. Advantage of using a button t ...his way Fewer External Components N ...ULLUP); // Internal pull-up enabled Serial.begin(9600); } void loop() { int buttonState = digitalRead(2); Serial.println(buttonState); //...