Advanced Search
Search Results
166 total results found
Using the MAX9814 mic amplifier
...is mic, however we will only be using VCC, GND and OUT in our wiring. ...d initialize it to 0 void setup() { Serial.begin(115200); ...erial Monitor this time, to set up your own threshold, e.g. : voi ... this threshold a warning comes up in the Serial Monitor Se...
Using MatrixPortal M4 for animation
...ve another tutorial for setting up the MatrixPortal board and cove ...rsions In this tutorial, we are using CircuitPython 9.0.5 (11/10/2024 ...thon you have installed and use updated and compatible libraries. ...bmp": 0.05, } # --- Display setup --- matrix = Matrix(width=64, h...
Using a Monochrome 1.3" 128x64 OLED display
.... In this tutorial, we will be using Adafruit SSD1306 128 x 64 OLED ...with I2C communication. It can support SPI communication as well. ...or I2C to work! Wiring Wiring up the sensor is simple: VIN to 5 ...00, 0x00, 0x00 } }; void setup() { Serial.begin(9600); //...
Using NFC Tools to Read/Write NFC tag
...ow to read and write an NFC tag using the Arduino, which is more inte ...of Tag In this tutorial, we are using NTAG203, NTAG215 or NTAG216 should work fine as well. You cannot use MIFARE Classic tag or card. Steps Download the app, it is available for bot...
Using a Vibration Motor
... used. In this tutorial, we are using 2N2222. The diode acts as a su ... transistor, we place a 1KΩ (or up to 5KΩ) in series with the base ...or to vibrate for 1 second and stop for 1 second. int motorPin = 3; ... is connected to pin 3 void setup() { pinMode(motorPin, OUTPUT)...
Using a Sparkfun Sound Detector
...at the same time: Digital Wired up in digital mode the sound detec ... are three wires: Analog Wired up in analog mode the sound detect ...#define envelopePin A0 void setup() { Serial.begin( 9600 ); p ...gate #define gatePin 2 void setup() { Serial.begin( 9600 ); p...
Using NEMA17 Stepper motor with Big Easy Driver
...sheet. In this tutorial, we are using a 4-wire NEMA17 motor with no p ...t x; int y; int state; void setup() { pinMode(stp, OUTPUT); pinMode(dir, OUTPUT); pinMode(MS1, OUTPUT); pinMode(MS2, OUTPUT); pinMode(MS3, OUTPUT); pinMode(EN, OUTPUT); ...
Using a Force Sensor
... is easy to hide. Wiring Wiring up the sensor is simple, the senso ...uch int limit = 200; void setup() { Serial.begin(9600); pinMode(13, OUTPUT); } void loop() { sensorValue = analogRead(sensorPin); Serial.print("Force Level: "); Serial.println...
Using L293D IC for motors
...bidirectional drive currents of up to 600 mA (per channel) at volt ...the positive wire of the power supply and the black wire of the mo ...the negative wire of the power supply as normal practice. We will ...the positive wire of the power supply and the red wire of the moto...
Using a Soil Moisture Sensor
...es with drought). Wiring Wiring up the sensors is simple: Power ( ... of moisture generally void setup() { Serial.begin(9600); pinMode(13, OUTPUT); } void loop() { sensorValue = analogRead(sensorPin); Serial.print("Moisture Level: "); Serial.prin...
Using a Membrane Potentiometer (SoftPot)
...nsitive controls Wiring Wiring up the sensor is simple, the senso ...nt SOFT_POT_PIN = A0; void setup() { Serial.begin(9600); pinMode(SOFT_POT_PIN, INPUT); } void loop() { int softPotPosition = analogRead(SOFT_POT_PIN); Serial.println(softPot...
Using a HC-SR04 distance sensor
...es are over £100. Wiring Wiring up the sensor is simple: Power (V ...tanceSensor(13, 12); void setup () { Serial.begin(9600); //initialize serial connection so that we could print values from sensor. pinMode(13, OUTPUT); } void loop () { ...
Bonus: Using the Debugger
Bonus: Using Git from PyCharm
Using Arduino Leonardo to send USB MIDI data
...nardo is the in-built USB MIDI support. This is really useful for .... #include "MIDIUSB.h" void setup() { Serial.begin(115200); } void loop() { Serial.println("Sending note on"); noteOn(0, 48, 64); // Channel 0, middle C, normal velocity Midi...
Using a Whadda Vibration Motor Module
...o worry about the electronic setup. Wiring G to GND V to 5V S to ...or to vibrate for 1 second and stop for 1 second. int motorPin = 13 ... is connected to pin 3 void setup() { pinMode(motorPin, OUTPUT) ...igitalWrite(motorPin, LOW); //stop vibrating delay(1000); //wait...
Setting up Kinect in Touchdesigner
...orial we will look into setting up and using Kinect v2 and some of the other ...lopment Kit (SDK) from here, if using Windows 8 or later versions. Op ...hit run. A new window will come up; Here allow some time for the s ...oftware to upload and update the status of yo...