Advanced Search
Search Results
133 total results found
How to get started with Face Tracking in Spark AR
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
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...
Using a Vibration Motor
...sure that not too much current flow from the output of the transist ...circuit but try your best to follow! Other NPN transistorsYou can u ...make sure the pins go as the following. 1. Emitter (E) to Ground ( ...second digitalWrite(motorPin, LOW); //stop vibrating delay(100...
How to use a PIR sensor
...onment. The small size and physical design of this module allow you to easily use it in your pr ...o potentiometers on the board allow you to adjust the sensitivity a ...else { digitalWrite(ledPin, LOW); // turn LED OFF if we have no motion } }
What is a Raspberry Pi?
... Pi project originally leaned towards the promotion of teaching ba ...ed in many areas because of its low cost, modularity, and open desi ...ngs on it. BUT, you have to be aware of the types and sizes of the SD card. There is a list for you to check the sp...
Using a TCS34725 RGB Color Sensor
...s synchronized by a high to the low pulse of each clock on the SCL line. Serial Data (SDA) – Transfer of data takes place through this pin. Serial Clock (SCL) – It carries the clock signal. Learn more about I2C I2C on different Arduino boards The two maj...
How to use a rotary encoder
...WZ3E, the colours referred to below will only apply to this model. ...signals switch between high and low states. By detecting which sign ...ry possible shaft angle. This allows you to always know the exact position, even after power is cycled. Applicatio...
Controlling an actuator with TinkerKit Mosfet
...mall, cheap module which takes away all these headaches, on the Ar ...other side of your actuator) **Warning**The TinkerKit Mosfet can ...There are some quick examples below: Basic Example This basic examp ... digitalWrite( actuatorPin, LOW ); delay( 1000 ); } Advanced...
Controlling an actuator with a N-channel Mosfet
...de (SiO₂). Operation A small voltage applied to the Gate controls the current flow between the Drain and Source te ...ntrolling the level of current flow). Types There are two main type ... digitalWrite( actuatorPin, LOW ); delay( 1000 ); }
Using a Force Sensor
... 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
...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); }
How to connect a Light Dependent Resistor (LDR)
...h restricts how much power can flow through a circuit based on how ... to A0 Getting started The following code uses analogRead() to ge ...s 0V and 1023 is 5V. The code below uses the serial port to output ... digitalWrite(LED_BUILTIN, LOW); } delay( 50 ); }
Using a HC-SR04 distance sensor
... the sound takes to come back, exactly like bats use to fly in the dark. The sensor works between 2-400cm however if the ping sound is reflected away from the sensor by an a diverg ...else{ digitalWrite(13, LOW); delay(100); } }
Touch sensor - with No Sensor!
...curacy without ANY external hardware. CapacitiveSensor library wil ...; }else{ digitalWrite(13, LOW); previousReadings[currentIndex] = reading; // set index for the next reading currentIndex++; // mnake sure [currentIndex] d...
Using a Whadda Vibration Motor Module
...apacitor, and diode—into a single module along with the coin vibration motor. This ensures a safe and stable circuit, allowing you to easily control the mo ...second digitalWrite(motorPin, LOW); //stop vibrating delay(100 ...0); //wait 50 seconds. }
How to Program an ATtiny85 with an Arduino Uno
...P) and comes in the category of low-power microcontrollers. This mi ...o Arduino Preference Copy the below code and paste it into Additional Boards Manager URLs, if you already have a board manager URL just add a comma before pasting. Click OK and restart ...
Radio Communication: How to use APC220 Radio Data Module
...Radio Data Module is a compact, low-power, wireless transceiver mod ... 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 build a Simple Robot Arm with Servo Motor and Joystick
...hich consists of the upper arm, lower arm and hand (gripper). There ...D Workshop to laser cut the hardware. In this tutorial, we will focus on how to control the servo motor (the joint of your robotic arm) with two potentiometers. You can use more or les...