Advanced Search
Search Results
128 total results found
Using a Force Sensor
...s example turns on the built-in LED when touched lightly. int sensorPin = A0; int sensorValue; //sensor value range: 0-1023 //200 is light touch //500 is medium touch //800 is hard touch int limit = 200; void setup() { Serial.begin(9600); pinMode(...
Using a Soil Moisture Sensor
...s 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 generally void setup() { Serial.begin(9600); pinMode(13, OUTPUT); } void loop() { sensorValue = a...
Using a Membrane Potentiometer (SoftPot)
...s example turns on the 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); ...
Using a HC-SR04 distance sensor
...if the ping sound is reflected away from the sensor by an a diverg ... here. This example turns on an LED when the distance measured is less than 30cm and back off when the distance goes over 30cm. #include <HCSR04.h> // Initialize sensor that uses digita...
Touch sensor - Using an CAP1188
... it will light up the 8 onboard LEDs when the matching touch sensor ... ⚠️ Partial (multi-touch disabled by default) I2C Addressability 4 possible addresses (0x5A–0x5D) 3 jumpers for I2C address config Proximit...
Using Smartphont to Read NFC tag
... involving Arduino. If you only want a simple read and write funct ...nt32_t versiondata = nfc.getFirmwareVersion(); if (!versiondata) ... to read RFID Serial.println("Waiting for an NFC tag..."); } vo ...er)) { Serial.print("Failed writing to page "); Ser...
Raspberry Pi Image: Video Looper
...rry Pi Video Looper is a simple way to display seamless looping vi ... Pi Imager. We have a more detailed tutorial for imaging the Pi. 1. ... with the Video Looper OS installed. It should appear as a drive wi ...t will encourage the display to wake up. When you are asked if you...
Steam VR setup Tutorial #3 - Interactable object setup
...to learn how to create two "throwable" objects but first, we are g ... create a plinth to put the throwable objectS on so it is easier t ...now see a cube intersecting the walking plane. Now let's chan ...y, you can call it whatever you want, we suggest a meaningful name...
AR with Unity - Step #2 - Unity project setup
...9.2.0f1) is a quite straight forward process, first, let's create ...ect settings panel, the easiest way to do it is by opening the bui ...t With the Vuforia plug-in enabled in your project, right-click on ...time, Unity will ask you if you want to include a default database...
Workshop exercise: Clone, commit, pull, push
...e interface - it's a text-based way of navigating our folders and ...ed to navigate to the folder we want to put the documents in. Let' ... files you have changed" You always have to put -m followed by a message in quotes. Git won't let you commit withou...
Adding content - Music and Audio
There are multiple ways in which you can use audio in ...es to M4A using open source software like Audacity. A tutorial for ... Computer. Select the file you want to open and click Open. Your audio clip will be in the Audio folder of the Assets pane. Note....
How to export your p5.js as a video
...ime-based work in p5.js you may want to capture the canvas as a vi ...uto-refresh" if you have it enabled as this could cause the video c ... need to create a new folder called src and upload all the seperate ...f you do not create a folder called src and upload the files into i...
Creating a Landscape
... modes of the editor. We will want to change two important setti ...k. This is not necessary if you want to make small adjustments. After clicking once to paint our landscape with Noise, it should look like this. As you can see, the height has been r...
How to build a project onto a VR headset
...the VR platform and headset you want to target (e.g., Oculus Rift, ...ty, enable the VR platforms you want to support (e.g., Oculus, Ste ...mpatible with the latest VR hardware and software updates. Remember that building VR apps can be a complex process, ...
Using MatrixPortal M4 for animation
...of CircuitPython you have installed and use updated and compatible ...ollection of smaller images (called sprites) arranged in a grid or ... bitmap spitesheet. If you just want to test the code, you can dow ...to 64 x 32 px Draw whatever you want Add new frame and draw until...
How to make Animation on NeoMatrix with Processing
...8x8 Adafruit NeoMatrix. Wiring WarningIf you have a bigger matrix ... +5V to 5V GND to GND Library WarningDownload version 1.9.0 or b ...f NeoPixel matrix rows int totalLEDs = cols * rows; int pixelSize = ...y i++; if (i >= totalLEDs){ i = 0; } updatePi...
Command Line Tools & Utilities
A Command Line Interface is a way of interacting with a computer ...h your operating system and hardware to perform complex and intens ...useful Free and Open Source Software (FOSS) available online that ...Interface (GUI). Often this software works more efficiently with t...
How to use a Bone Conductor Transducer
...onduction? Bone conduction is a way of transmitting sound to the i ...rdrum. In normal hearing, sound waves travel through the air, vibrate the eardrum, and are then passed to the inner ear. With bone conduction, vibrations are sent directly through the sk...