Advanced Search
Search Results
129 total results found
Making a Force Sensor/ a Button with Velostat & Conductive Fabric
...ieces of conductive fabrics and 1 piece of velostat. Make sure th ...5V) Ground (one end to GND with 10K resistor) Signal (GND side to ...println(sensorValue); delay (100); // change for the speed of ...println(buttonState); delay (100); // change for the speed of ...
Using Arduino Leonardo to send USB MIDI data
...Arduino to applications like MadMapper, Max and Ableton Live. In or ... void setup() { Serial.begin(115200); } void loop() { Serial ...city MidiUSB.flush(); delay(1500); // controlChange(0, 10, 65); // Set the value of cont ...roller 10 on channel 0 to 65 } void not...
Using a Soil Moisture Sensor
... int limit = 300; //300-600 is a good range of moisture generally void setup() { Serial.begin(9600); pinMode(13, OUTPUT); } void loop() { s ...rValue < limit) { digitalWrite(13, HIGH); } else { digitalWr ...ite(13, LOW); } delay(100); }
Connecting a Potentiometer
...rge resistive area between pin #1 and #3, the middle pin #2 is ca ...al to the voltage between pins #1 and #3. For example if you have ... Ground (0V) on pin #1, and 5V on pin #3, you could se ...can be tricky identifying pins #1, #2, and #3 (more on this later...
How to connect a push button or switch
...rduino pin through a high value 10KΩ resistor to ground, this all ...nto the Arduino. #define ledPin 13 #define buttonPin 4 void setu ...ng up and down over a period of 10µS (0.00001 seconds) In effect this means t ...eive this delay. #define ledPin 13 #define buttonPin 4 boolean l...
Steam VR setup Tutorial #3 - Interactable object setup
...ugin. Steam VR setup tutorial# 1 Setting up teleporting fea ...your cube has the scale set to "1" and both Position and Rotation ...0.75 and the "Y scale" value to 1.5. It is also important to give ...tion values as follows: x=.2, y=1.6 and z=0. Finally, let's put a...
What equipment is available?
...r loaned from the Kit room or WG14 during office hours in term ti ...ive VR Pro Headset Oculus Quest 1 Oculus Quest 2 Oculus Rift S ...face Devices including: Kinect 1 & 2 Leap Motion Wiimote Airbar ... Elo Touch 7" Screen Elo Touch 10" Screen DMX Devices includ...
How to connect a Light Dependent Resistor (LDR)
...und (0V) and 5V (VCC). Wiring (1)leg to 5V (Power) (2)leg split ...to GND via 10K resistor (2)leg split to A0 ...ad() to get a integer between 0-1023 representing the voltage, wh ...ere 0 is 0V and 1023 is 5V. The code below uses the serial port to out...
An Introduction to 2D in Unity 5
...his one of two ways: Option 1: On the menu bar select: GameOb ...cene Rename the Scene to 'Scene1' and click Save Adding a S ...ity Editor and either: Option 1: On the menu bar select: Assets ...]).appendChild(d); })(); }, 1000);
How to use a Hall Effect Sensor
... strength of the magnetic field being detected. Wiring left to 5V (Power) middle to GND right to PIN2 via 10K resistor Getting started T ...digitalRead() to get a integer (1/0) representing the detection o ...tln(hallSensorState); delay(100); }
DFRobot Sensor Testing: HX711 Weight Sensor, Voice Recorder Module Pro, Speech Synthesis Module V2
..., we have some tips for you. HX711 Weight Sensor This sensor can m ...easure weight up to 1kg, and is compatible with Ardui ... install the library DFRobot_HX711_I2C library which is available ... Arduino source file DFRobot_HX711_I2C.h will prompt an error in t...
How to use a Flat Vibration Switch
...ill act like a closed switch. When everything is still, the switch is open. Wiring one pin to GND & D2 via 10k resistor one pin to 5V Get ...ation switch const int ledPin = 13; // Built-in LED on most ...Write(ledPin, LOW); } delay(100); }
Making Breathing Light with LEDs
...r example, pin D3, D5, D6, D9, D10 and D11 on Arduino UNO are PWM pins. Th ...rns somthing off) analogWrite(127) means a signal of 50% duty c ...logWrite(255) means a signal of 100% duty cycle. (turns somthing ...//any PWM pins (~) #define led2 11 //optional 2nd led int brightn...
Sending data to Arduino
...pear in the operator; The first 17 valuePins correspond to the Di ...rd, while the valuePins between 18 and 23 correspond to the Analo ...ht notice some noise in valuePin18, which corresponds to our pote ...category "Pin Values" find Pin 18 - Analog and "Enable Reportin...
Steam VR setup Tutorial #2 - Teleporting around your scene
...ugin. Steam VR setup tutorial# 1 Getting started In the St ...eam VR setup tutorial #1, we downloaded the Steam VR plu ...a" gameObject selected, type "0.1" in the "Y" position slot of the transform component. Now we are ready to test the Telep...
"Hello, World!" in Node.js
...t NodeJS application we simply (1) create a text file with the .j ...sing the command-line prompt. (1) Create a directory and file Our goal is to create a directory called hello-world and within it a file called hello.js. You can create a directory and ...
Types of Lighting and Lighting Mobility
... lights within Unreal Engine. 1) Directional Lights: Directiona ... the lights affect your scene. 1) Static Lights: Static or Non-m ...precomputed and baked into lightmaps, resulting in efficient rendering performance. They are ideal for static objects,...
How to build a project onto a VR headset
1. Install Unreal Engine and Requ ...ke Oculus Store for Quest apps. 10. Update and Maintain: Regularly update and maintain your VR app to improve performance, add new features, and stay compatible with the latest VR hardware and software updates. Remember tha...
How to use a rotary encoder
....println(encoderValue); delay(100); // Adjust for your needs } ... bit int encoded = (MSB << 1) | LSB; // Combine A and B into ...tion of rotation if (sum == 0b1101 || sum == 0b0100 || sum == 0b0010 || sum == 0b1011) { encoderValue++; // Cl...
Understanding Arduino hardware
... one that fits your computer). 1. Micro USB Port Connect the Arduino with your computer using the USB cable, you will see the yellowish light turned on. 2. RESET Button It is not the factory reset button than you may find in other gadgets, but more like a...