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

44 total results found

Control Flow and Conditional Statements

Python for Beginners

Week 2 - Animation, conditionals & random numbers

Creative Coding Workshop: Introduction to Creative Coding

... to use them Using conditional statements to control code flow Usin ...; Let's break down the above statement: var - This is how the b ...browser Use the conditional if statement to reset the square to posi ..._conditionals/ A conditional statement is used to control which co...

Where to buy components

Physical Computing

...n suppliers, other than eBay... Electronics UK Arduino boards, shields, etc... Proto-PicOffers 10% student discount SKPang #DigitalMeans Cool Components HobbyTronics Kitronik Oomlout Pimoroni Spiratronics Bright Components Components ...

Accessibility Statement

About the Lab Frequently Asked Questions

Accessibility Statement for https://lab.arts.ac.uk/ ... by the Creative Technology Lab University of the Arts London (UAL). This ...accessibility statement applies to https://lab.arts ...in have their own accessibility statements. This website uses HTML 5...

Physical Computing

Build circuits, solder and learn how to use electronic components and micro-controller ...t, temperature or light. Our electronics bench in the lab has a set of ...equipment for soldering electronics, please email us for an induction.

Useful learning resources

Physical Computing

...e 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 an ...ctical applications. Practical Electronics for Inventors 3rd Edition by P...

How to control Arduino without using delay()

Physical Computing Tutorials

...fire()) { // Toggle the LED state static bool ledState = LOW; // Keep track of the cu ...rrent LED state ledState = !ledState; // Toggle the state digitalWrite(LED_BUILTIN, l ...edState); } } Change Timer in the lo ...fire()) { // Toggle the LED state static bool ledState = LOW;...

How to hack a brainwave EEG toy - Force Trainer II

Physical Computing Tutorials

...d readMindwave() { static int state = 0; static byte payload[256] ...waveSerial.read(); switch (state) { case 0: // Waiting for ...) if (byteRead == 0xAA) state = 1; break; case ...) if (byteRead == 0xAA) state = 2; else state = 0; ...

Week 3 - Iteration, arrays, objects and pixel arrays

Creative Coding Workshop: Introduction to Creative Coding

...conditionals. We saw that an if statement can be used to branch code, ...dly, we need to use a different statement – the while loop. The exam .... The parentheses contain three statements separated by semicolons, r ...ed and initialised in the first statement. for (var x = 50;x <= ...

Radio Communication: How to use APC220 Radio Data Module

Physical Computing Tutorials

...ght servo motors to rotate to 0 degrees and then 90 degrees, one by one. #include <SoftwareSerial.h> SoftwareSerial radio(8, 9); // RX, TX void setup() { radio.begin(9600); } void loop() { radio.println("Hello from Leonardo!"); delay(1000); } Ardu...

How to use a Servo Motor

Physical Computing Tutorials

...ght servo motors to rotate to 0 degrees and then 90 degrees, one by one. #include "PCA9685 ... is controlled by a pulse, the ‘degree’ values work differently. Values like 0, 90, and 180 don’t represent angles; instead, they typically control rotation direc...

How to control Raspberry Pi Pico via Wifi

Raspberry Pi Tutorials

...smartphones, laptops, and other electronic gadgets to connect to the inter ... led.value(1) stateis = "LED is ON" if led ... led.value(0) stateis = "LED is OFF" respo ...nse = html % stateis cl.send('HTTP/1.0 20...

Understanding Arduino hardware

Physical Computing Workshop: Beginner Physical Computing

...Input/ Output Digital means two states only, yes or no. Input can be ... cold, it will give you degress degree celsius, a range of values. 6. PWM pins You can see the symbol ~ next to some digital pins, those are PWM pins. For now, you can see them as ana...

Course

What are GPIO pins on Raspberry Pi?

Raspberry Pi

... are mostly used for connecting electronics with computers/microcontrolle ...your Pi when you are connecting electronics and DOUBLE CHECK your connections!Raspberry Pi is not short-circuit-proof as Arduino. If you have a short circuit or you give more pow...

What is the Creative Technology Lab?

About the Lab Frequently Asked Questions

...jects that involve programming, electronics and the experimental use of AV ...ties and equipment to build the electronics in the Lab and the physical parts of the project in the Workshop, encouraging true multi-disciplinary approach. Next: Where is the...

Controlling an actuator with a N-channel Mosfet

Physical Computing Tutorials

...r amplify electrical signals in electronic devices. It’s one of the most c ...ommon components in electronic circuits, especially in digital and analog systems. Structure A MOSFET has three main terminals — Gate, Drain, and Source. The Gate is separated fr...

What is Unreal Engine?

Unreal Engine Basics

...ng fields like architecture and engineering, as it allows them to test and visualize designs with accurate physics simulations. 4) Reach Different Platforms: Unreal Engine supports multiple platforms, such as PCs, consoles, mobile devices, and virtual real...

How to use a rotary encoder

Physical Computing Tutorials

...hich are triggered whenever the state of A or B changes), the Arduino ...als switch between high and low states. By detecting which signal cha ...s to store current and previous states of the encoder volatile long e ...= encoded; // Store the current state for the next loop }

How to send data to Processing from Arduino

Physical Computing Tutorials

...ved from Arduino to control the degrees of rotation of a rectangle in Processing. import processing.serial.*; Serial myPort; String val; int datanum = 0; //number of data receiving from Arduino int value1; //int value2; //multiple data from arduino if ...

Combining codes & circuits

Physical Computing Workshop: Beginner Physical Computing

...place. if(){ }else{ } The if statement is the most common way to m ...board is the extension lead for electronics. The two columns at each side are connected vertically. The inner rows are connected horizontally. You can see a tiny gap right down the mi...

Using Smartphont to Read NFC tag

Physical Computing Tutorials

...less technology that allows two electronic devices to communicate when they are within a few centimeters of each other. It’s most commonly used in contactless payments, digital keycards, smart tags, and tap-to-share features. NFC works by using magnetic fi...