Advanced Search
Search Results
123 total results found
How to send data to p5.js from Arduino
...ble: function openPort() { // wait for the serial.open promise to return, // then call the initiateSerial function serial.open().then(initiateSerial); // once the port opens, let the user know: function initiateSerial() { console.log("port ...
Depth Camera for Mac Users: Setting Up the OAK-D Pro in TouchDesigner
... camera. Click Initialize, wait for it to mark "Ready" (1), t ..., and darker areas are farther away. To gather both 'disparity' and 'rgb' data, replace the code in Text DAT with the following: import depthai as dai def onInitialize(oakDeviceOp, ...
What are GPIO pins on Raspberry Pi?
...leds, GPIO.HIGH) print("waiting for button") resetLightsandCounter() def resetLightsandCounter(): global counter GPIO.output(leds, GPIO.LOW) counter = 0 print("reset") # setup button handlers GPIO.add_event_detect(re...
Sending data to Arduino
...ences. This brief tutorial will walk you through using Firmata, a ...e communication between the softwares through serial. In Arduino ...nch Arduino. Make sure your hardware matches the software by selecting the correct board and port from "Tools". For ...
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?
Object in the space AR
... You can also duplicate the object in the scene by going to Edit > Duplicate and dragging it somewhere else on the scene: You can also edit the object size, and rotation in the properties menu. Make sure you select the object you want to edit:
Installing Unity
...re a few things you need to be aware of: Downloading and instal ...et a popup window asking if you want to open the Unity HUB, Select ...can choose Unity 2020, just be aware that your interface will look ...Now you are all set and the software is ready for you to create yo...
Importing and Placing 3D Models
...e. Select all the files you want to import to your project. For us, that will be the 3 files we downloaded. they will show up in your Content Browser like this: You can then drag the building asset into your scene and place it wherever you like. ...
Introduction to the PyCharm IDE
...The setup page also asks if you want to create a main.py welcome script; for this project, you should keep this option checked. This will have PyCharm create a basic Python file for you instead of just preparing a blank directory. Once the setup is complet...
A circle following the mouse
...he new set of values between we want x to fluctuates. We have previously established that my circle x-axis extremities are between -0.5 and 0.5. Therefore your Math CHOP should now look like this: Replace the previous reference with this new set of va...
How to send data to Processing from Arduino
...arameters //map(theVariableYouWantToMap, min.ValueOfRawData, max ...d max. value is 1023. //and I want to map the background colour from black to white, 0(black) - 255(white) float BW = map(value1,0, 1023, 0, 255 ); //create a variable to contain the...
(MAC) How to use Phomemo Thermal Printer M834
...instead, it is essential if you want to do auto-printing in the next step. Go to System Settings -> Printers & Scanners Click the drop down menu of Default paper size Select your new custom paper size 4. Set up Auto-Printing with Automator We have a t...
Understanding Arduino hardware
...elsius, a range of values. 6. PWM pins You can see the symbol ~ next to some digital pins, those are PWM pins. For now, you can see them as analog output pins. For example, if you want to create a breathing light e ...part, Understanding Arduino software.
How to use DFPlayer Pro to play MP3
...ack wire Connect L+ & L- if you want stereo audio File handling ...FRobot_DF1201S.h> #include "SoftwareSerial.h" SoftwareSerial DF1201SSerial(2, 3); //RX TX DFRobot_DF1201S player; void setup(void){ Serial.begin(115200); DF1201SSerial.begin(11...
Using a Joy-IT TFT LCD Display
...lude <Adafruit_ST7789.h> // Hardware-specific library for ST7789 # ...ft.print(p, 6); tft.println(" Want pi?"); tft.println(" "); tft.print(8675309, HEX); // print 8,675,309 out in HEX! tft.println(" Print HEX!"); tft.println(" "); tft.setTextC...
How to make Animation on NeoMatrix
... +5V to 5V GND to GND Library WarningDownload version 1.9.0 or b ...started The example shows the upward arrow first and then the anim ... colour-changing pattern. The upward arrow is for identifying the orientation of your matrix. #include <Adafruit_GFX...
Using the MAX9814 mic amplifier
...me = analogRead(MicPin); if (MicVolume > 400) { // If the volume is above this threshold a warning comes up in the Serial Monitor Serial.println("Loud noise"); delay(500); } else { Serial.println(MicVolume); } }