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

How to use a Rotary Encoder Button

Physical Computing Tutorials

...utton state int debounceDelay = 5; // debounce time for the button in ms void setup() { Serial.begin(9600); // Initialize encoder encoder.begin(); // Initialize interrupts attachInterrupt(digitalPinToInterrupt(pin1), interrupt, CHANGE); ...

3D Scanning a face for MetaHuman

Metahuman Creator

...is common for a scan to require 50+ pictures so don't worry if you think you are taking too many. The more pictures you take, the more accurate your scan will be. Make sure your subject maintains a neutral expression and does not move. Your scan will not ...

Using the MAX9814 mic amplifier

Physical Computing Tutorials

...tialize it to 0 void setup() { Serial.begin(115200); // Initialize serial commu ...ard. Make sure this is set to 115200 baud. To utilise this dat ...tln("Loud noise"); delay(500); } else { Serial.println(MicVolume); } }

Using Arduino Leonardo to send USB MIDI data

Physical Computing Tutorials

...Arduino to applications like MadMapper, Max and Ableton Live. In or ...void setup() { Serial.begin(115200); } void loop() { Serial. ...city MidiUSB.flush(); delay(500); Serial.println("Sending ...ity MidiUSB.flush(); delay(1500); // controlChange(0, 10, ...

UE Foliage

Unreal Engine Basics Creating Virtual Worlds

...ndscape with them to make it look more realistic. I have added smaller plants and painted them at a higher density, which is why there is more of them (500-600) in my scene. To continue with this tutorial, please follow the next article in this series.

Using Smartphont to Read NFC tag

Physical Computing Tutorials

...rary We will be using DFRobot PN532 module, please refer to this ...al. We will be using Adafruit_PN532 library, we have a tutorial o ...al, we are using NTAG203, NTAG215 or NTAG216 should work fine as ...e <Wire.h> #include <Adafruit_PN532.h> #define SDA_PIN A4 #defin...

Touch sensor - with No Sensor!

Physical Computing Tutorials

...edium to high value (100K ohm - 50M ohm) resistor between the send pin and the receive (sensor) pin. The receive pin is the sensor terminal. A wire connected to this pin with a piece of foil at the end makes a good sensor. Wiring 10M ohm resistor between ...

Using the Bantam Tools NextDraw Pen Plotter

Bantam Tools NextDraw

...the A4 page, leaving at least a 5mm margin from all edges. Open the Bantam Tools extension With your drawing selected, go to Extensions > Bantam Tools > Prepare Drawing for Plotting. Set your plotting parameters Pen up/down height: Leave de...

How to connect a push button or switch

Physical Computing Tutorials

...o this otherwise when you apply 5V by closing the circuit you wou ...HIGH, and then adds a delay of 75ms to allow the button to settle ...State = ! ledState; delay( 75 ); } digitalWrite( ledPin, ledState ); prevBtnState = btnState; }

How to use a PIR sensor

Physical Computing Tutorials

...the security systems. The HC-SR501’s infrared imaging sensor is ...iring Singal to Pin 3 Power to 5V GND to GND Getting started int ledPin = 13; // LED int pirPin = 3; // PIR Out pin int pirStat = 0; ...

How to use a Hall Effect Sensor

Physical Computing Tutorials

...eing detected. Wiring left to 5V (Power) middle to GND right to PIN2 via 10K resistor Getting started The following code uses digitalRead() to get a integer (1/0) representing the detection of magnet. const int hallSensorPin = 2; // Hall Effect senso...

Using AVR ISP MKII to upload firmware to Arduino

Physical Computing Tutorials

... Arduino Leonardo Arduino Mega 2560 However, it is not compatibl ... the computer using USB B cable 5V power supply for Arduino UNO (target Arduino), can be via USB port AVR ISP MKII 6-pin connector to Arduino ICSP pins (at the bottom usually) Status LE...

How to use a rotary encoder

Physical Computing Tutorials

... (Blue) - GND Voltage (Brown) - 5V A switch (Black) - 2 B switch ( White ) - 3 Getting started The encoder produces pulses on the A and B channels as it rotates. These pulses are 90° out of phase (quadrature), which lets you detect both the amount of rot...

Controlling an actuator with TinkerKit Mosfet

Physical Computing Tutorials

...uino. Wiring There are three wires to connect on the Arduino side: Ground (- connects to GND) Power (+ connects to 5V) Signal (The middle pin connec ...motor for ( int i = 128; i < 255; i++ ) { analogWrite( actuatorPin, i ); delay( 10 ); } }

Using a Soil Moisture Sensor

Physical Computing Tutorials

...nsors is simple: Power (VCC to 5V) Ground (GND to GND) Signal (SIG to A0) Getting started This example turns on the built-in LED when the soil is dry. int sensorPin = A0; int sensorValue; int limit = 300; //300-600 is a good range of moisture general...

Using a HC-SR04 distance sensor

Physical Computing Tutorials

...here needed, this is a cheap < £5 sensor, while more accurate one ...ensor is simple: Power (VCC to 5V) Ground (GND to GND) Echo to digital pin 12 Trigger to digital pin 13 Getting started To use this code you will need the HCSR04 Library by Martin Sosi...

How to use a Neopixel strip

Physical Computing Tutorials

...llations. Wiring DIN to Pin6 +5V to 5V GND to GND Library Adafruit NeoPixel library will be used. **Warning**Download version 1.9.0 or below for a more stable performance. We have a tutorial on how to install a library here. Getting started Once the li...

How to use a Flat Vibration Switch

Physical Computing Tutorials

... D2 via 10k resistor one pin to 5V Getting started const int vibrationPin = 2; // Pin connected to vibration switch const int ledPin = 13; // Built-in LED on most Arduino boards void setup() { Serial.begin(9600); } void loop() { int state...