Advanced Search
Search Results
155 total results found
How to get started with Textures and Materials in Spark AR
...ures and Materials in Spark AR Watch this video which explains th ...s and materials in other 3D software like Blender, Cinema4D, and Unreal Engine. If certain ..., they probably work in similar ways. However, you should always keep in mind that Spark AR is...
How to use DFPlayer Pro to play MP3
...ack wire Connect L+ & L- if you want stereo audio File handling ...FRobot_DF1201S.h> #include "SoftwareSerial.h" SoftwareSerial DF1201SSerial(2, 3); / ...e wire connection!"); delay(1000); } player.setVol(0); p ...eonardo, you should not use SoftwareSerial. The Leonardo already h...
3D Geometry and Parametric Design
...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 ...
How to send data to p5.js from Arduino
...the value to the Serial delay(100); //little delay to prevent Ard ...nction setup() { createCanvas(400, 300); // make the c ...ble: function openPort() { // wait for the serial.open promise to return, // then call the initiateSerial functi...
Making a Force Sensor/ a Button with Velostat & Conductive Fabric
...op() { int sensorValue = analogRead(sensorPin); // gives analog values for the sensors Serial.println(sensorValue); delay (100); // change for the speed of se ...println(buttonState); delay (100); // change for the speed of serial monitor }
Using a Vibration Motor
...it. vibration motor 2N2222 transistor (or any other NPN transistor) 0.1µF capacitor 1N4001 diode 1KΩ resistor It is a ...orPin, HIGH); //vibrate delay(1000); // delay one second digit ...LOW); //stop vibrating delay(1000); //wait 50 seconds. }
Controlling an actuator with TinkerKit Mosfet
...cidentally wiring up the 12 or 24 volt power supply to your Ardui ...mall, cheap module which takes away all these headaches, on the Ar ...other side of your actuator) **Warning**The TinkerKit Mosfet can ...only drive up to 24V DC. Getting started After wir...
Using a Whadda Vibration Motor Module
...3; //motor transistor is connected to pin 3 void setup() { pinMode(motorPin, OUTPUT); } void loop() { digitalWrite(motorPin, HIGH); //vibrate delay(1000); // delay one second digit ...LOW); //stop vibrating delay(1000); //wait 50 seconds. }
How to use a Hall Effect Sensor
What is a Hall Effect Sensor? The hall effect sensor is a type of magnetic sensor which can be ...tln(hallSensorState); delay(100); }
Using a Membrane Potentiometer (SoftPot)
What is a Membrane Potentiometer? A Membrane Potentiometer is a type of position sensor that measure ...ntln(softPotPosition); delay(100); }
What are GPIO pins on Raspberry Pi?
...e, the board pin 8 and BCM pin 14 are referring the same pin. Num ... on the Raspberry Pi, like GPIO14. It is used in most programming ...right will be the last pin, Pin 40. Board numbering is less commo ....value = ( showThis & 0b1000, showThis & 0b0100, ...
Understanding Arduino hardware
...he model we are using. In the kit, you will find a LEONARDO, and we will need this piece of information later. 4. Digital Input/ Output Digital ...utput pins. For example, if you want to create a breathing light e ...part, Understanding Arduino software.
How to use IR Breakbeam Sensor
...frared; detects changes in long-wave IR (heat) in its field. ...to 5V Black to GND White to pin 4 Rransmitter (2 wires) Red to ...ine LEDPIN 13 #define SENSORPIN 4 int sensorState = 0; int lastState = 0; void setup() { pinMode(LEDPIN,...
Making Breathing Light with LEDs
...nal for most pins will be about 490Hz and we can give the value f ...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 y...
Radio Communication: How to use APC220 Radio Data Module
...n over long distances using the 433 MHz ISM band. It’s commonly u ... 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 ...
How to use a EMG Muscle Sensor
...responsive #define BUFFER_SIZE 64 // EMG Threshold value, !!!!ne ... if(timer < 0) { timer += 1000000 / SAMPLE_RATE; int ...= output - 0.05159732*z1 - 0.36347401*z2; output = 0.01856301*x ...te float x = output - -0.53945795*z1 - 0.39764934*z2; out...
Using an MFRC522 RFID reader
...h each identification and a two-way radio transmitter-receiver as ... for Arduinos based on ATMEGA32U4) SPI.begin(); // Init SPI bu ...Init(); // Init MFRC522 delay(4); // Optional delay. Some bo ...n(F("Scan PICC to see UID, SAK, type, and data blocks...")); } void...
How to send files to Raspberry Pi using SSH
...cp, rsync, or SFTP) Install software, run Python scripts, update y ...es tab, enable SSH Reboot afterwards, sudo reboot Option 2: If ...that looks like this: 192.168.1.42, this is your pi's IP address ... the connection the first time, type yes If your Pi is using a cust...