Advanced Search
Search Results
164 total results found
How to use a PIR sensor
... sensor, this pin value will be set to “1”. The two potentiometers ... // PIR status void setup() { pinMode(ledPin, OUTPUT); pinMode(pirPin, INPUT); Serial.begin(9600); } void loop(){ pirStat = digitalRead(pirPin); ...
Installing Mamba
...hink of libraries as ready-made sets of code created and maintained ...nts come in handy. They let you set up separate "sandboxed" Python ...'re going to use a piece of software called Mamba to create and manage virutal environments. Mamba is a package ma...
How to use a Hall Effect Sensor
...e the state of the sensor void setup() { Serial.begin(9600); ...e(hallSensorPin, INPUT); // Set the Hall Effect sensor pin as an INPUT } void loop() { hallSensorState = digitalRead(hallSensorPin); // Read the state of the sensor Serial.prin...
Using L293D IC for motors
...r Driver IC which can control a set of two DC motors simultaneously ...and has custom functions for forward(), backward(), stop(), turnRight() and ...is will run only one time. void setup(){ //Set pins as outputs pinMode(mot ...nalogWrite(motorAspeed, 255); //set motor A speed 0-255 analogW...
Using Arduino Leonardo to send USB MIDI data
...sor. #include "MIDIUSB.h" void setup() { Serial.begin(115200); } ...// controlChange(0, 10, 65); // Set the value of controller 10 on channel 0 to 65 } void noteOn(byte channel, byte pitch, byte velocity) { midiEventPacket_t noteOn = {0x09, 0x90 | ch...
Projection Mapping in MadMapper
...s://madmapper.com/madmapper/software. Software Setup Before launching MadMapper, ...s". Windows: Go to Display Settings, and choose "Extend these displays". Import your content MadMapper comes with a few built-in visuals, but to add your own:...
How to use a rotary encoder
... can rotate endlessly without resetting, but they only provide rela ...aft angle. This allows you to always know the exact position, even ...tile int lastEncoded = 0; void setup() { // Setup the encoder pins as inputs pinMode(encoderPinA, INPUT); pi...
Using built-in example code and Reading the hookup diagram
...u will see two main parts, void setup() {} and void loop() {}, this ...ructure of Arduino code. In the setup(), usually we establish what component we are going to control and what are they. pinMode(LED_BUILTIN, OUTPUT); we are using the built-in on-board...
Radio Communication: How to use APC220 Radio Data Module
... 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 ... void setup() { radio.begin(9600); } v ...o UNO - Receiving #include <SoftwareSerial.h> SoftwareSerial radio...
Using a Whadda Vibration Motor Module
...rcuit, allowing you to easily control the motor without needing to worry about the electronic setup. Wiring G to GND V to 5V S ...tor is connected to pin 3 void setup() { pinMode(motorPin, OUTPU ...stop vibrating delay(1000); //wait 50 seconds. }
Arduino Nano 33 Sense Rev2- IMU sensor
...sX = 0; int degreesY = 0; void setup() { Serial.begin(9600); w ...h" float x,y,z, ledvalue; void setup() { if (!IMU.begin()) { Serial.println("Failed to initialize IMU!"); while (1); } } void loop() { // read magnetic field in all t...
Introduction
...ab, don’t worry—this guide will walk you through the basics. If yo ...rn: Understanding Arduino hardware Understanding Arduino software Using built-in example code and Reading the hookup diagram Installing libraries Using Neopixel Using Ultraso...
Where is the Creative Technology Lab?
...k, in WG14. Through the main entrance, turn left in the first corner and turn left again. Keep walking down the hallway to the end. Passing throught the fire door, you will see the Creative Technology Lab. Next: When is the Creative Technology Lab open?
Importing and Placing 3D Models
...e. They can also be called 3D Assets. You can either create your ow ...oaded from here: UE Workshop Assets After downloading the Building ... Importing Models To import assets into your project, first open ... can specify which folder the assets will get imported into by sele...
How to power the Raspberry Pi Pico
...e Raspberry Pi Pico The easiest way to power a Pico is through the ...n other words, it acts as a one-way valve for electric current. We ...e time and there is a risk of unwanted power flow between the two power sources. Schottky diode is preferred for its...
Other resources
...designer here at LCC. The best way to grow in your visual program ...signer: https://www.youtube.com/watch?v=XLeghJmFBh0 AI vision usi ...signer: https://www.youtube.com/watch?v=Cx4Ellaj6kk Other repositories and useful tools might be Github, a websit...
Introduction to Spark AR
...nvironment. There are different ways where an AR experience can be ...utorial pages we will be using Spark AR, an app based tool that runs ... experiences. Introduction to Spark AR SparkAR is an app developed by Facebook one of the most useful features i...
Concepts
A collection of resources which outline ways of thinking in creative computation, computer science, and associated areas.