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

128 total results found

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

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

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

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

Using a Joy-IT 1.3" 128x64 OLED display

Physical Computing Tutorials

What is the OLED display? An OLED display (Organic Light-Emitting ...-based materials. Unlike LCDs, OLEDs do not need a backlight, which ... more flexible screens. If you want to use the display for animat ...this tutorial. 3.3V Logic This OLED displays have a logic level of ...

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

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

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); //...

Unity for Beginners Workshop

Unity

... 1 - Installing Unity Task 2 - Watch and follow the video tutoria ... and prepare all the assets you want to use (Images and sound file ...nstalling Unity Task 2 - Please watch the Unity for Beginners vide ...le 3D objects for the floor and walls, we recommend creating a bas...

Raspberry Pi Image: Retropie for Reviving Vintage Games

Raspberry Pi Raspberry Pi Image

...ie image and add additional software later. It's up to you. We are ... Pi Imager. We have a more detailed tutorial for imaging the Pi. 1. ...ccordingly, one by one. If you want to skip any button configurat ...SB stick is the most straightforward method. You can find other wa...

Controlling an actuator with TinkerKit Mosfet

Physical Computing Tutorials

...devices like motors, solenoids, LED strips and electromagnets which ...mall, cheap module which takes away all these headaches, on the Ar ...e are four screw terminals, labeled: GND (Connects to your power s ...other side of your actuator) **Warning**The TinkerKit Mosfet can ...

How to use a Neopixel strip

Physical Computing Tutorials

...uit. Neopixel is an addressable LED, meaning that it can be program ...eoPixel library will be used. **Warning**Download version 1.9.0 or ...arted Once the library is installed, you can use the example code f ...ttached to the Arduino? #define LED_COUNT 60 You have to make sure...