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

160 total results found

Variables

Python for Beginners

...us that 1 + 1 gives a result of 2. However, you may want to use a certain value more t ...s where you can store different types of data. This data could be nu ...ontains an integer of the value 2. Now we can display this by giv ...ome solutions. Where we assign 1234 to a variable called print, i...

Using L293D IC for motors

Physical Computing Tutorials

What is L293D? The L293D is a 16-pin Motor Driver IC ...aneously in any direction. The L293D is designed to provide bidir ... in toys. It usually comes with 2 wires, one red(+) and one black ... speed of the motor. Taking a 12V DC motor for example, we conne...

How to connect a push button or switch

Physical Computing Tutorials

...hes? Buttons and switches are a way of opening and closing a circu .... There are dozens of different types of switches and buttons, but a ...o these as it does to any other type of button or switch. Different types Rocker switch Push button Tac...

Web App Template for Beginners

Creative Coding Tutorials

... one yet. I like Visual Studio. 2) Create a folder for your proje ...and Express 4) Install Node. 5) Watch videos 12.1. and 12.2. of this excellent tutorial by ...ties/Terminal. On command line, type cd. Then in Finder, select "exa ...like this: 7) On command line, type npm init. Answer the questions ...

Using the serial monitor and serial logger

Physical Computing Tutorials

...ion? Serial communication is a type of communication between two de ... other boards based around the 32u4 chip have a seperate USB seri ...al and hardware serial, and you cannot direct ...ly monitor the hardware serial [Serial1] output using ...rst text field is where you can type text and press the send button ...

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 ...ixels? #define PIN 3 // Max is 255, 32 is a conservative value t...

Connecting a Potentiometer

Physical Computing Tutorials

... pin #1 and #3, the middle pin #2 is called the wiper, and by act ...e between 0V to 5V, at the half way the voltage on pin #2 would be 2.5V. Different types There are two main types: Rotary Potentiometers like t ...be tricky identifying pins #1, #2, and #3 (more on this later). A...

How to use a Servo Motor

Physical Computing Tutorials

... Motors in physical computing. Types of Common RC Servo Motors ... Servo Type Rotation Range Cont ...rol Type Common Use ... Servo 0°–180° (sometimes 270°) Angular position (PWM ... / Micro Servo Depends on type (limited or continuous) S...

How to use 7-Segment LED Backpack

Physical Computing Tutorials

... a bunch of chips by having an I2C constant-current matrix contro ...o is write data to it using the 2-pin I2C interface. There are three ad ...ol up to 8 of these on a single 2-pin I2C bus (as well as whatever other ... I2C chips or sensors you like). Th...

AR with Unity - Step #1 - Development environment setup

Unity AR Image target AR tutorial

...s Download and install Unity 2019.2.0f1. Previous versions might a ...so work, however, this tutorial was made using Unity 2019.2.0f1 (please read instructions b ... when you start running the software. About the Vuforia Engin ...e As of 2017.2, Unity integrates the Vufo...

How to use Grove Serial Bluetooth v3.0

Physical Computing Tutorials

...obtaining a copy * of this software and associated documentation ...files (the "Software"), to deal * in the Software without restriction, includin ...nd/or sell * copies of the Software, and to permit persons to who ...m the Software is * furnished to do so, sub...

Using an PN532 RFID reader

Physical Computing Tutorials

...s the difference between an PN532 RFID reader and an MFRC522 RFID reader The PN532 and MFRC522 are two popular RFID reader mod ... Feature PN532 MFRC522 Which Better ... Communication SPI, I2C, UART SPI only ✔ P...

Arrays

Programming Tips and Tricks

...ode, as so: var myVariable = 200; console.log(myVariabl ...function draw() { background(220); ellipse(x, y, 20,20); } p5 Editor Now what ...if we wanted to have a lot of circles, l ...es for every ellipse: var x1 = 20; var y1 = 100; var x2 = 213;...

How to control Arduino without using delay()

Physical Computing Tutorials

...0; // will store last time LED was updated // constants won't ch ... // the interval at which you want to blink the LED. unsigned ...tors, like giving each person a watch and ask them to action based ... on their own watches. Wiring There are three wi...

Combining codes & circuits

Physical Computing Workshop: Beginner Physical Computing

...ept one code at one time. If we want it to do multiple things at t ...s the distance value, and if we want to use the data, we will need ... to retype this long string of text multip ...if statement is the most common way to make a simple interaction b...

How to connect a Push Button with Digital Input Pull-Up resistor

Physical Computing Tutorials

... how to use a button the normal way. Advantage of using a button t ...his way Fewer External Components N ...ring one pin to GND one pin to 2 Getting started void setup() ... { pinMode(2, INPUT_PULLUP); // Internal pul ... int buttonState = digitalRead(2); Serial.println(buttonState)...

Controlling an actuator with a N-channel Mosfet

Physical Computing Tutorials

...r Field-Effect Transistor) is a type of transistor used to switch or ...ing the level of current flow). Types There are two main types of MOSFETs, we will be using a N-channel Mosfet in this tutorial.e N-channel MOSFETs: These conduct when a positive volt...

Unity for Beginners Workshop

Unity

...Task 1 - Installing Unity Task 2 - Watch and follow the video tutoria ... and prepare all the assets you want to use (Images and sound file ...all Unity Installing Unity Task 2 - Please watch the Unity for Beginners vide ...le 3D objects for the floor and walls, we recommend creating a bas...