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

133 total results found

How to use DFPlayer mini to play MP3

Physical Computing Tutorials

...e sure you are using .mp3, not .wav or any other audio formats. #i ...nclude "SoftwareSerial.h" #include "DFRobotDFP ... // Connects to module's TX SoftwareSerial softwareSerial(PIN_MP3_RX, PIN_MP3_TX) ...al port for DFPlayer Mini softwareSerial.begin(9600); // Star...

An Introduction to 2D in Unity 5

...ect. You can do this one of two ways: Option 1: On the menu ba ...self using graphics editing software (e.g. Photoshop or Gimp) or y ...e what you can do: You can always reset the position, rotation ...]).appendChild(d); })(); }, 1000);

3D Geometry and Parametric Design

Creative Coding Concepts

...pace and making this content viewable in low-fi VR headsets. I ha ...ve been making a piece of software using openFrameworks to explo ...elling and explain how this software can be used as a tool to expl ...elow is a screenshot of the software: Code available here. Aims ...

Bonus round: putting an existing Unity project into git

Games Workshop: Version Control for Games Design

...liar with the command line, the way to use it is to type a command ...weird crap in it which we don't want to keep track of. We need a g ...ere's the .gitignore content we want to use - this is the list Git ...f you're working on Mac, you'll want to add this to it too: # ===...

How to get started with Face Tracking in Spark AR

Spark AR TEMPLATE : Basic Face Tracking

Face Tracking in Spark AR Watch this video which explains the basic features of the Face Tracker in Spark AR. There are multiple different starter templates in Spark AR that make use of face tracking. To make your development easier, choose a template t...

How to get started with World Effects in Spark AR

Spark AR TEMPLATE: World Effects

World Effects in Spark AR Watch this video which explains the basics of World Effects in Spark AR. There are multiple different starter templates in Spark AR that make use of world effects. To make your development easier, choose a template that is most...

How to use a Hall Effect Sensor

Physical Computing Tutorials

...ication at 9600 baud pinMode(hallSensorPin, INPUT); // Set the Hall Effect sensor pin as an INPUT } void loop() { hallSensorState = digitalRead(hallSensorPin); // Read the state of the sensor Serial.println(hallSensorState); delay(100); }

How to use a rotary encoder

Physical Computing Tutorials

...aft angle. This allows you to always know the exact position, even ....println(encoderValue); delay(100); // Adjust for your needs } v ... if (sum == 0b1101 || sum == 0b0100 || sum == 0b0010 || sum == 0b10 ...11 || sum == 0b0001 || sum == 0b1000) { encoderValue--; // Coun...

Using a Force Sensor

Physical Computing Tutorials

... pinMode(13, OUTPUT); } void loop() { sensorValue = analogRead(sensorPin); Serial.print("Force Level: "); Serial.println(sensorValue); if (sensorValue > limit) { digitalWrite(13, HIGH); } else { digitalWrite(13, LOW); } delay(100); }

Using a Soil Moisture Sensor

Physical Computing Tutorials

...inMode(13, OUTPUT); } void loop() { sensorValue = analogRead(sensorPin); Serial.print("Moisture Level: "); Serial.println(sensorValue); if (sensorValue < limit) { digitalWrite(13, HIGH); } else { digitalWrite(13, LOW); } delay(100); }

Using a Membrane Potentiometer (SoftPot)

Physical Computing Tutorials

...he built-in LED when touched lightly. int SOFT_POT_PIN = A0; void setup() { Serial.begin(9600); pinMode(SOFT_POT_PIN, INPUT); } void loop() { int softPotPosition = analogRead(SOFT_POT_PIN); Serial.println(softPotPosition); delay(100); }

How to use a Flat Vibration Switch

Physical Computing Tutorials

...id setup() { Serial.begin(9600); } void loop() { int state = digitalRead(vibrationPin); if (state == HIGH) { digitalWrite(ledPin, HIGH); Serial.println("Vibration detected!"); } else { digitalWrite(ledPin, LOW); } delay(100); }

Making Breathing Light with LEDs

Physical Computing Tutorials

...logWrite(255) means a signal of 100% duty cycle. (turns somthing on) It can be used in controlling the brightness of LED, speed control of DC motor, controlling a servo motor or where you have to get analog output with digital means. In this tutorial, we...

Radio Communication: How to use APC220 Radio Data Module

Physical Computing Tutorials

... to 5V TXD to 8 RXD to 9 SoftwareSerial OnlyUse SoftwareSerial on both Arduinos. Never ...rees, one by one. #include <SoftwareSerial.h> SoftwareSerial radio(8, 9); // RX, TX ...Hello from Leonardo!"); delay(1000); } Arduino UNO - Receiving #...

How to use a EMG Muscle Sensor

Physical Computing Tutorials

... if(timer < 0) { timer += 1000000 / SAMPLE_RATE; int sensor_value = analogRead(INPUT_PIN); // RAW EMG Values int signal = EMGFilter(sensor_value); // Filtered EMG int envelope = getEnvelope(abs(signal)); if (envelope > EMG_THRE...

DFRobot Sensor Testing: HX711 Weight Sensor, Voice Recorder Module Pro, Speech Synthesis Module V2

Physical Computing Tutorials

...on. It can store 10 segments of 100s audio. It also has a simplified speech synthesis function, for numbers 0 to 9 only. The built-in LED is very helpful when using the module. Off: No recording at the current number Yellow: There is a recording at the...

UE Installation and Set-up

Unreal Engine Basics

...finishes, run the installer and wait for it to complete. Creat ...ect which Engine components you want to install. This is where you .... Click the Install button and wait for the installation to complete. Depending on your system specifications and I...

3D Scanning a face for MetaHuman

Metahuman Creator

...ws or highlights. Try to brush hair back or use a hairband to hold any hair away from the forehead. Note: This ...will not work with long facial hair or accessories. 3. Begin your s ... from different angles. The software will then build a model from ...