Advanced Search
Search Results
132 total results found
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...
Using a Sparkfun MP3 Trigger
...fun electronics that provides a way to play MP3 files from a Micro ...s from the SD card via Serial. Warning If you are using Mac OS X ...lly annoying. So you can run following command in terminal to elimi ... Serial.write( i ); // Wait a bit delay( 1000 ); } ...
UE Installation and Set-up
...d and install the Launcher, follow these steps. Access the Downl ...finishes, run the installer and wait for it to complete. Creat ...ect which Engine components you want to install. This is where you .... Click the Install button and wait for the installation to compl...
How to hack a brainwave EEG toy - Force Trainer II
What is a NeuroSky Brainwave? NeuroSky Brainwave is a technology that uses EEG ...roSky chip can be found on brainwave-controlled toys such as the S ...tar Wars Force Trainer. The toy can be ...orial, we are using an UNO, hardware Serial (pins 0 & 1) is shared...
Interactive Projections
...t. This can be done in multiple ways, this tutorial will briefly i ... in-depth explanation of our following steps is also available here ...: https://www.youtube.com/watch?v=1Uw2PWTR_XM&t=529s. Begin ...he Threshold value; Ideally you want to get completely transparent...
OculusQuest - Setting up development enviroment in Unity
... prefab and scripts for object grab and haptics. The easiest way to get the Oculus Integration ... You will then be asked if you want to restart the Unity editor, ...other message asking you if you want to upgrade the spatializer pl ...side the Oculus folder, just follow the highlighted path.
Accessibility Statement
...s accessible as possible and we want as many people as possible to ...te using speech recognition software listen to most of the websit ...accessible to screen reader software old video content is missing ...accessible to screen reader software or using just a keyboard Fee...
Web App Template for Beginners
...le_app folder and create the following file setup by clicking the f ...and Express 4) Install Node. 5) Watch videos 12.1. and 12.2. of th ...ith them. You are welcome to follow along, but steps 6-10 will give ...to this project folder (we only want it to live in this folder, no...
(MAC) Automatic printing with Automator
...s a built-in Mac feature that allows users to easily “program” thei ... programming knowledge or don't want to do a lot of coding. One of ...ter Choose the folder where you want to put all your printing file ...and choose the printer that you want to use as the default printer...
Position-based Tracking using a Webcam
...e dot in your node, this will allow you to easily monitor any alter ... object from it's background we want to look for the white pixels ...wn our input's resolution, this way we will have less data to anal ...SOLUTION to be Eighth. Afterwards add a TopTo CHOP to your thr...
How to use MatrixPortal M4
...D matrices (HUB75 interface), allowing direct control without needi ...ng additional hardware. Power: Can be powered via US ...ddle pad is 'shorted' to 8 as below. You can read more about Addre ... by Adafruit, optimized for hardware projects like controlling sen...