Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

147 total results found

Using the MAX9814 mic amplifier

Physical Computing Tutorials

...ily detect sound.  There are a total of five connections on this mic ... and initialize it to 0 void setup() { Serial.begin(115200); ...olume is above this threshold a warning comes up in the Serial Monitor Serial.println("Loud noise"); ...

How to get started with Textures and Materials in Spark AR

Spark AR Materials and Textures in Spark AR

...ures and Materials in Spark AR Watch this video which explains th ...s and materials in other 3D software like Blender, Cinema4D, and U ..., they probably work in similar ways. However, you should always keep in mind that Spark AR is ... a separate software and might have implemented di...

Arrays

Programming Tips and Tricks

... 100; var y = 100; function setup() { createCanvas(400, 400); ... p5 Editor Now what if we wanted to have a lot of circles, l ...vidually. Going further, say we wanted to manipulate all of our ci ...rcles in a similar way (for example, move them all le...

Using the serial monitor and serial logger

Physical Computing Tutorials

...e a seperate USB serial and hardware serial, and you cannot direct ...ly monitor the hardware serial [Serial1] output using ...lotter The serial plotter is a way to visually graph the data bei ...ng received, a common way to transmit multiple values is...

Using a Joy-IT 1.3" 128x64 OLED display

Physical Computing Tutorials

... more flexible screens. If you want to use the display for animat ... Smartphones, premium TVs, smartwatches, VR headsets, foldable dev ... B00000000, B00110000 }; void setup() { Serial.begin(9600); ...image buffer on the display hardware. // Since the buffer is int...

Touch sensor - Using an CAP1188

Physical Computing Tutorials

...s to help you debug your sensor setup. The CAP1188 has support for b ...elect one of 5 addresses, for a total of 40 capacitive touch pads on one I2C 2-wire bus. Using this chip is a lot easier than doing the capacitive sensing with analog inputs: it handle...

Variables

Python for Beginners

... result of 2. However, you may want to use a certain value more t ... action, we'll keep things this way for now in order to better und ...he second path is the file that was run with this version of Pytho ...second line in our code. Python was able to get to this point in t...

Using a Sparkfun Sound Detector

Physical Computing Tutorials

...fun electronics that provides a way to detect ambient sound levels ...pe #define envelopePin A0 void setup() { Serial.begin( 9600 ); ...ng gate #define gatePin 2 void setup() { Serial.begin( 9600 ); pinMode( gatePin, INPUT ); } void loop() { ...

How to make Animation on NeoMatrix

Physical Computing Tutorials

... +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 ...; int numImage = 0; // When we setup the NeoPixel library, we tell ...

How to send data to p5.js from Arduino

Physical Computing Tutorials

...fine potPin A0 int value; void setup() { Serial.begin(9600); //in ...g data let vals = []; function setup() { createCanvas(400, 300); ...ble: function openPort() { // wait for the serial.open promise to return, // then call the initiateSerial fu...

Introduction to the PyCharm IDE

Python for Beginners

...akes things less confusing. The setup page also asks if you want to create a main.py welcome s ...ing a blank directory. Once the setup is complete, click "Create." The PyCharm Interface After creating your project, you'll land in the main PyCharm interfac...

How to send data to Processing from Arduino

Physical Computing Tutorials

...fine potPin A0 int value; void setup() { Serial.begin(9600); //in ...a from arduino if needed void setup() { size(800, 800); pri ...arameters //map(theVariableYouWantToMap, min.ValueOfRawData, max ...d max. value is 1023. //and I want to map the background colour ...

Understanding Arduino hardware

Physical Computing Workshop: Beginner Physical Computing

...ou can see them as analog output pins. For example, if you want to create a breathing light e ...USB port. When you finalise the setup, you won't need your computer ...with the setup, you can switch the power sour ...part, Understanding Arduino software.

Course

How to use DFPlayer mini to play MP3

Physical Computing Tutorials

...e sure you are using .mp3, not .wav or any other audio formats. #i ...nclude "SoftwareSerial.h" #include "DFRobotDFP ... // Connects to module's TX SoftwareSerial softwareSerial(PIN_MP3_RX, PIN_MP3_TX) ...RobotDFPlayerMini player; void setup() { pinMode(pot, INPUT); ...

Using a Joy-IT TFT LCD Display

Physical Computing Tutorials

...fruit_ST7789(CS, DC, RST); void setup(void) { lcd.init(240, 240, SP ...lude <Adafruit_ST7789.h> // Hardware-specific library for ST7789 # ...T); float p = 3.1415926; void setup(void) { Serial.begin(9600); ...ft.print(p, 6); tft.println(" Want pi?"); tft.println(" "); ...

How to use DFPlayer Pro to play MP3

Physical Computing Tutorials

...ack wire Connect L+ & L- if you want stereo audio File handling ...FRobot_DF1201S.h> #include "SoftwareSerial.h" SoftwareSerial DF1201SSerial(2, 3); / ... DFRobot_DF1201S player; void setup(void){ Serial.begin(115200) ...eonardo, you should not use SoftwareSerial. The Leonardo already h...

How to use Raspberry Pi Camera Module 3

Raspberry Pi Tutorials

...ra Module 3? This tutorial will walk you through setting up and us ...later Requirements Hardware Raspberry Pi (Pi 3 or later) ...upply & HDMI or SSH access Software Raspberry Pi OS Bookworm (64 ...the Ethernet port, metal pins toward HDMI. Insert the ribbon cable...

Making a website for your HTML, JS, CSS or p5.js files

Creative Coding Tutorials

...something goes wrong, you can always go back to when it did work! ...e. Very important!!!1!!1! The way that GitHub pages work is that ...). For instance, if my username was 'jonny' my GitHub pages URL wi ...uld see the below page. What we want to do is click the link that ...