Advanced Search
Search Results
164 total results found
How to use DFPlayer Pro to play MP3
... upgrade of the DFPlayer Mini MP3 Player for Arduino. It is a sma ...ll and low-priced MP3 module with an internal storage ...wer) GND to GND (Ground) RX to D3 TX to D2 R+ to Speaker(+) red w ...ack wire Connect L+ & L- if you want stereo audio File handling ...
An Introduction to 2D in Unity 5
...the instructions: https://unity3d.com/get-unity/download Resour ...The difference between 2D & 3D in Unity Overview, terminolo ...p right corner, and select 2 by 3: Creating a Main file Fi ...ect. You can do this one of two ways: Option 1: On the menu ba...
How to send data to p5.js from Arduino
...n setup() { createCanvas(400, 300); // make the canvas ...text("sensor value: " + inData, 30, 50); } // if there's no port ...ble: function openPort() { // wait for the serial.open promise to return, // then call the initiateSerial function...
Using MatrixPortal M4 for animation
...an animation to display on a 64x32 matrix. CircuitPython and lib ... bitmap spitesheet. If you just want to test the code, you can dow ... to set the canvas size to 64 x 32 px Draw whatever you want Add new frame and draw until ...URATION direction = 1 #1 for forward, -1 for backward def load_im...
How to use 7-Segment LED Backpack
...ment displays normally require 13 pins (5 'characters' and 8 tota ... solves the annoyance of using 13 pins or a bunch of chips by hav ... while (!Serial); // Leonardo: wait for Serial Monitor Serial.p ...done\n"); } delay(5000); // Wait 5 seconds for next scan } G...
How to use a Hall Effect Sensor
...or? The hall effect sensor is a type of magnetic sensor which can be used for detecting the strength and direction of a magnetic field produced from a permanent magnet or an electromagnet with its output varying in proportion to the strength of the magneti...
Using a Membrane Potentiometer (SoftPot)
...? A Membrane Potentiometer is a type of position sensor that measure ...A0 & via 10k resistor to GND Pin3 (the one with a small arrow) to GND Getting started This example turns on the built-in LED when touched lightly. int SOFT_POT_PIN = A0; void setup...
How to use a Reed Switch
...ed Switch? The Reed Switch is a type of magnetic switch that changes ...eed switch const int LED_PIN = 13; // LED pin - active-high void setup() { Serial.begin(9600); // Since the other end of the reed switch is connected to ground, we need // to p...
How to use an Electromagnet
...t? The Grove Electromagnet is a type of magnetic actuator that becomes magnetized when an electric current passes through it. When powered on, it can attract small ferromagnetic objects such as nails, screws, or paper clips. When the current stops, it imme...
How to make the Raspberry Pi display a web page fullscreen at power on
.../pi/.config/autorun/kiosk.desktop cd /home/pi/.config mkdir autorun kiosk.desktop [Desktop Entry] Type=Application Exec=/home/pi/full-screen.sh Hidden=false X-GNOME-Autostart-enabled=true Name=kiosk Reboot the Raspberry Pi. sudo reboot now
Powering an Arduino
...rt low-current charging mode/ always-on mode. These will be suitab ...dberg Powerbank 20000 PD65W 2xQC3.0. (We only tested this one, bu ...Motors There are many different types of motors available. Before deciding how to power your motor, you must know wha...
Interactive Projections
...t. This can be done in multiple ways, this tutorial will briefly i ...e here: https://www.youtube.com/watch?v=1Uw2PWTR_XM&t=529s. Begin ...he Threshold value; Ideally you want to get completely transparent ...thepelkus-too/rplidar_sdk/tree/531cb0d1ef4bd95ccc3ed0a24978783883...
Position-based Tracking using a Webcam
... 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 ...howing mostly 1s. Finally, we want to convert these 1s into X an...
How to use a PIR sensor
...movement. Wiring Singal to Pin 3 Power to 5V GND to GND Gettin ...g started int ledPin = 13; // LED int pir ...Pin = 3; // PIR Out pin int pirStat = 0; // PIR status void setup() { pinMode(ledPin, O...
Using built-in example code and Reading the hookup diagram
...d as L should be blinking now. 3. Understanding the Code First, you will see a lot of light grey coloured text, those are comments, not code. You will find a lot of information from these comments to help you understand the code. Arduino is using the lan...
Radio Communication: How to use APC220 Radio Data Module
... over long distances using the 433 MHz ISM band. It’s commonly use ... to 5V TXD to 8 RXD to 9 SoftwareSerial OnlyUse SoftwareSerial on both Arduinos. Never ...levels (some APC220 modules are 3.3V-only). Getting started Arduino ...rees, one by one. #include <SoftwareSerial.h> SoftwareSerial radio...
Projection Mapping in MadMapper
...er, MadMapper isn't free, but a 30-day demo version is available. ...scale projection (anything over 3 meters), MadMapper’s high-resol ...s://madmapper.com/madmapper/software. Software Setup Before launching MadMapper, make sure your displays are not mi...
Using NEMA17 Stepper motor with Big Easy Driver
... precise motor commonly used in 3D printers, CNC machines, and ro ...o → Big Easy Driver D2 → STEP D3 → DIR D4 → MS1 D5 → MS2 D6 → MS3 D7 → ENABLE GND → GND Motor → ...e code demonstrates 4 modes: forward, reverse, 1/16th microstep an ...duino #define stp 2 #define dir 3 #define MS1 4 #define MS2 5 #de...