Lecture 7. Processing Development Environment (or PDE)
|
|
- Christopher Armstrong
- 5 years ago
- Views:
Transcription
1 Lecture 7 Processing Development Environment (or PDE)
2 Processing Class Overview What is Processing? Installation and Intro. Serial Comm. from Arduino to Processing Drawing a dot & controlling position Drawing a circle & controlling grayscale Drawing a square Switching control using buttons Additional Processing material
3 Processing? Processing is a free, open source, crossplatform programming language and environment for people who want to create images, animations, and interactions. Created in 2001 by Casey Reas and Ben Fry at the MIT Media Lab. Downloads, updates, reference, forums, etc. at:
4 Installation For Windows: Double-click the.zip file and drag the folder inside labeled Processing to a location on your hard drive. Double click the Processing icon to start Processing. If you are stuck go to hooting for help.
5 Anatomy of a sketch A sketch is a file or project you create in Processing. When you first open up a new sketch it will be completely blank.
6
7 Setup() This function runs once, at the very beginning of your sketch. You will use setup to set up certain aspects of your sketch, makes sense right? Most importantly for this class you will begin Serial communication in the setup function. The setup function without anything in it looks like this:
8 Draw() This function is where everything happens in your sketch. The draw loop is the portion of code that keeps repeating while the Processing sketch is open. The draw loop looks like this:
9 Basic Graphics we will be using point (x, y); background(color); ellipse (x, y, width, height); fill (red, green, blue, transparency); rect(x, y, width, height);
10 Reference One very convenient way to access Processing s Help Reference is to highlight a function or a word used in your code, right click and select Find in Reference (which brings you to the processing.org reference page):
11 Arduino Basics: Reading Digital values are 8 bit resolution: Analog values are 10 bit resolution: Commands for reading sensors: digitalread(pin#); & analogread(pin#);
12 Arduino Basics: Writing All output is 8 bit resolution. Commands for writing to actuators: digitalwrite(pin#, value); & analogwrite(pin#, value);
13 Hooking into Processing We can send values to Processing from an Arduino and use these values to control things in Processing Like Processing, we have a setup() function. In that function, we need to open Serial communication with this line of code: Serial.begin(9600);
14 Hooking into Processing Our potentiometer is connected to analog pin 0. Our buttons are connected to digital pins 2 and 3. The three characters are used for Serial communication.
15 Hooking into Processing We now have to set all pins to the right pinmode, in our setup function as well as pulling internal pull up resistors HIGH and establishing Serial communication. The establishcontact() function keeps the Arduino sketch from exiting the setup function until it hears from Processing and establishes contact.
16 Hooking into Processing Here s the establishcontact() function. It continually sends Hello out on the transmit serial pin. This travels to the computer. While the computer has not responded there is no data in the Serial buffer so Arduino just keeps sending Hello. Once the Arduino hears anything from the computer it exits establishcontact() as well as the setup function and enters the Arduino loop function.
17 Hooking into Processing In our loop() function, we need to read from all the sensors and send the values out the serial port by calling Serial.write and Serial.print
18 Hooking into Processing The difference between Serial.write and Serial.print is that write is used to transmit byte type variables and print is used to transmit all other variable types.
19 Hooking into Processing Here are the rest of the loop() statements. Basically we are just sending more data about the other sensors plugged into the Arduino. Then we send an end byte with Serial.write. Finally we send an empty println() command so Processing receives a \n and knows we have sent all the sensors values and will be starting over from the beginning.
20 Receiving Data in Processing We re sending data from the Arduino but we need a way to receive it in Processing. First, import the serial library. We ll also need a Serial object to define which serial port we ll be using, as well as an integer array for our sensor data. We also have a boolean variable to keep track of if we ve heard from Arduino or not. In your setup function, you need to initialize your Serial object, passing it the parent object (don t worry about this) which port you want to use, and the baud rate. Make sure you pick the same baud rate that you defined in the Arduino sketch. The bufferuntil function just stores our incoming data in a buffer until we re ready to do something with it. import processing.serial.*; Serial usbport; int [ ] sensors = null; boolean firstcontact = false; void setup() { usbport = new Serial (this, Serial.list( ) [0], 9600); usbport.bufferuntil ( \n ); }
21 Receiving Data in Processing Our next step is to define a SerialEvent function this function automatically gets called every time a character in our bufferuntil() statement is read from the serial port. We then read a chunk of data into a String, trim whitespace, and split it using our delimiter character into our sensors[ ] integer array. This puts each sensor value into its own addressable place in the array. There is a println that should be printing out the sensors values it sees try running the sketch to make sure you re getting values.
22 Receiving Data in Processing
23 Receiving Data in Processing Basically, we check for Serial Communication from Arduino. Once it reads a carriage return it checks to make sure the data string is not empty. Then we print out the string to the console in Processing so we can see what data we are receiving.
24 Receiving Data in Processing Next there is some code to deal with the eventuality that we have not made contact with the Arduino yet. If we haven t made contact it listens for a Hello. When it receives this it clears the Serial Buffer with usbport.clear(), sets the variable firstcontact true and sends an A to the Arduino. This causes the Arduino to exit the establishcontact() function and start sending data. After all that we print contact to the Processing console so that we can follow what is going on and we know we ve made contact with the Arduino.
25 Receiving Data in Processing If firstcontact is true we do the following code which splits the string up by our delimiter character into an array. This lets us put each sensor value into its own variable. Then there is a for loop that prints out the sensor values so we can see them. Then we assign the various values from the sensors array to individual variables. If you don t put the array values into their own variables you will get a null pointer exception when you try to use them in your code.
26 Using Received Data in Processing So we ve got all of the data we want placed in variables. Now we need to use them. In the draw loop we are calling the dotdrawer function and sending it the value of the potentiometer or sensor1.
27 Using Received Data in Processing Inside the dotdrawer function we have to use map to calibrate the potentiometer value (which goes up to 1023) so they correspond to an X value in the window created by Processing. Then we can use that value to draw a point in the window.
28 Using Received Data in Processing But wait! Why does the point draw itself over and over again? How can we fix this?
29 Using Received Data in Processing In order to fix this we will need to re-draw the background of the window over and over again before we draw the point. Here s what that code looks like:
30 Using Received Data in Processing Ok, that s fixed but one pixel is kind of hard to see. Let s put an ellipse in place of the pixel.
31 What Else? We ve still got two buttons we haven t used. Next we will use them to switch the circle between a circle and a square.
32 Making a New Tab and Function First thing we have to do is create a function that creates a square. To do this click on the arrow in the upper right corner of the Processing environment and select New Tab. Name the tab squaredrawer.
33 Making a New Tab and Function Here s what we need to type to make our empty function named squaredrawer.
34 Making a New Tab and Function Let s pass it the same variable that we sent to dotdrawer. (Copy and Paste is your friend.)
35 Making a Square Similar to the Circle Now copy the following code from dotdrawer and paste it into your new function.
36 Making a Square Similar to the Circle Now add the following code to actually display the square when the function is called.
37 Making a Square Similar to the Circle Add these last two lines of code so you can move the square by turning the potentiometer.
38 Switching between the sphere and the circle At the beginning of your draw function add two if statements that check the first and second button and change the variable you just created to keep track of the last button that was pushed. (Make sure you don t mix up the == and the =.)
39 Switching between the sphere and the circle Now simply add two more if statements that check the buttonpresse d variable to decide which of your two functions should be called.
40 We Controlled X, What About Y? Add another analog sensor, such as the soft potentiometer, and see if you can control the Y position of your circle and square with it. Remember, you will need to change code on the Arduino side as well as in Processing.
41 Sending Data from Processing to Arduino We ve received data in Processing from Arduino, but what if we want to go the other direction? In order to send data back to Arduino the first thing we need to do is add a command that spits information back over the Serial line from Processing to Arduino. (In this case we added two commands.) Don t forget the single quotation marks!
42 Sending Data from Processing to Arduino Now we need to add some code to the Arduino side so Arduino does something depending on what data it receives. The first thing we need to add is code that listens to see if there is data available on the RX Serial line. Add this code at the beginning of your loop function. Now we have a variable named signal that contains the data Arduino sees in the Serial buffer.
43 Sending Data from Processing to Arduino Next we need a simple switch case statement that tells us what to do if we receive certain information. You can use communication that is larger than one character, similar to the TX data Arduino is already sending. In this case we are using a single character to communicate.
44 Where To Go From Here? Here are this workshop s materials: Here are some links to help you with Processing:
Connecting Arduino to Processing a
Connecting Arduino to Processing a learn.sparkfun.com tutorial Available online at: http://sfe.io/t69 Contents Introduction From Arduino......to Processing From Processing......to Arduino Shaking Hands
More informationProcessing the Danger Shield
// About Processing: What Processing is: Processing is a Java based programming environment that draws on PostScript and OpenGL for 2-D and 3-D graphics respectively. Processing is a wonderful entry level
More informationConnecting Arduino to Processing
Connecting Arduino to Processing Introduction to Processing So, you ve blinked some LEDs with Arduino, and maybe you ve even drawn some pretty pictures with Processing - what s next? At this point you
More information4Serial SIK BINDER //77
4Serial SIK BINDER //77 SIK BINDER //78 Serial Communication Serial is used to communicate between your computer and the RedBoard as well as between RedBoard boards and other devices. Serial uses a serial
More informationArduino Prof. Dr. Magdy M. Abdelhameed
Course Code: MDP 454, Course Name:, Second Semester 2014 Arduino What is Arduino? Microcontroller Platform Okay but what s a Microcontroller? Tiny, self-contained computers in an IC Often contain peripherals
More informationNote. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.
Robotics and Electronics Unit 2. Arduino Objectives. Students will understand the basic characteristics of an Arduino Uno microcontroller. understand the basic structure of an Arduino program. know how
More informationThis is the Arduino Uno: This is the Arduino motor shield: Digital pins (0-13) Ground Rail
Reacting to Sensors In this tutorial we will be going over how to program the Arduino to react to sensors. By the end of this workshop you will have an understanding of how to use sensors with the Arduino
More informationSERIAL COMMUNICATION. _creates a data stream by sending one bit at a me _occurs sequen ally H...E...L...L...O
SERIAL COMMUNICATION Bits, Bytes, Data Rates and Protocols ASCI interpreta on Using terminal to view serial Data Serial Out from Arduino Serial In to Processing SERIAL COMMUNICATION _creates a data stream
More informationAdapted from a lab originally written by Simon Hastings and Bill Ashmanskas
Physics 364 Arduino Lab 1 Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas Vithayathil/Kroll Introduction Last revised: 2014-11-12 This lab introduces you to an electronic development
More informationIntroduction to Arduino. Wilson Wingston Sharon
Introduction to Arduino Wilson Wingston Sharon cto@workshopindia.com Physical computing Developing solutions that implement a software to interact with elements in the physical universe. 1. Sensors convert
More informationInteractive Tourist Map
Adobe Edge Animate Tutorial Mouse Events Interactive Tourist Map Lesson 1 Set up your project This lesson aims to teach you how to: Import images Set up the stage Place and size images Draw shapes Make
More informationCISC 1600 Lecture 3.1 Introduction to Processing
CISC 1600 Lecture 3.1 Introduction to Processing Topics: Example sketches Drawing functions in Processing Colors in Processing General Processing syntax Processing is for sketching Designed to allow artists
More information1 Getting started with Processing
cis3.5, spring 2009, lab II.1 / prof sklar. 1 Getting started with Processing Processing is a sketch programming tool designed for use by non-technical people (e.g., artists, designers, musicians). For
More informationIntroduction to Processing
Processing Introduction to Processing Processing is a programming environment that makes writing programs easier. It contains libraries and functions that make interacting with the program simple. The
More informationFall Harris & Harris
E11: Autonomous Vehicles Fall 2011 Harris & Harris PS 1: Welcome to Arduino This is the first of five programming problem sets. In this assignment you will learn to program the Arduino board that you recently
More informationLab 4 - Asynchronous Serial Communications
Lab 4 - Asynchronous Serial Communications Part 1 - Software Loopback In serial communications one of the important tools we have that allows us to verify the communications channel is working properly
More informationFUNCTIONS USED IN CODING pinmode()
FUNCTIONS USED IN CODING pinmode() Configures the specified pin to behave either as an input or an output. See the description of digital pins for details on the functionality of the pins. As of Arduino
More informationGetting Started with Processing by Casey Reas and Ben Fry
Free Sampler Getting Started with Processing by Casey Reas and Ben Fry Copyright 2010 Casey Reas and Ben Fry. All rights reserved. Printed in the United States of America. Published by O Reilly Media,
More informationSchedule. Sanford Bernhardt, Sangster, Kumfer, Michalaka. 3:10-5:00 Workshop: Build a speedometer 5:15-7:30 Dinner and Symposium: Group 2
Schedule 8:00-11:00 Workshop: Arduino Fundamentals 11:00-12:00 Workshop: Build a follower robot 1:30-3:00 Symposium: Group 1 Sanford Bernhardt, Sangster, Kumfer, Michalaka 3:10-5:00 Workshop: Build a speedometer
More informationIndex. Guide. Camera Detect Event Guide. AcuraVision
Index Guide of Camera Detect Events in AcuraVision How to use Motion Detection... 2 How to use Missing & Left Object Detection... 4 How to use Secure Zone Detection... 6 How to use Flow Counting feature...
More informationLesson 5: LDR Control
Lesson 5: LDR Control Introduction: Now you re familiar with the DIY Gamer and editing in an Arduino sketch. its time to write one from scratch. In this session you will write that talks to the Light Dependent
More informationVariables One More (but not the last) Time with feeling
1 One More (but not the last) Time with feeling All variables have the following in common: a name a type ( int, float, ) a value an owner We can describe variables in terms of: who owns them ( Processing
More informationThe Processing language. Arduino and Processing.
IAT267 Introduc/on to Technological Systems Lecture 8 The Processing language. Arduino and Processing. 1 Course Project All teams submibed very interes/ng proposals One requirement for the project is to
More informationYour First Windows Form
Your First Windows Form From now on, we re going to be creating Windows Forms Applications, rather than Console Applications. Windows Forms Applications make use of something called a Form. The Form is
More informationIntroduction to Flash - Creating a Motion Tween
Introduction to Flash - Creating a Motion Tween This tutorial will show you how to create basic motion with Flash, referred to as a motion tween. Download the files to see working examples or start by
More informationTutorial for loading music files into an Ipad
Tutorial for loading music files into an Ipad 1. For this example we ll use Adobe Acrobat Reader as the application (app) that we ll use to file and store our music on our Ipad. There are other music applications
More informationmith College Computer Science CSC103 How Computers Work Week 6 Fall 2017 Dominique Thiébaut
mith College Computer Science CSC103 How Computers Work Week 6 Fall 2017 Dominique Thiébaut dthiebaut@smith.edu Ben Fry on Processing... http://www.youtube.com/watch?&v=z-g-cwdnudu An Example Mouse 2D
More informationUniversity of Cincinnati. P5.JS: Getting Started. p5.js
p5.js P5.JS: Getting Started Matthew Wizinsky University of Cincinnati School of Design HTML + CSS + P5.js File Handling & Management Environment Canvas Coordinates Syntax Drawing Variables Mouse Position
More informationCISC 1600, Lab 2.1: Processing
CISC 1600, Lab 2.1: Processing Prof Michael Mandel 1 Getting set up For this lab, we will be using Sketchpad, a site for building processing sketches online using processing.js. 1.1. Go to http://cisc1600.sketchpad.cc
More informationMerging Physical and Virtual:
Merging Physical and Virtual: A Workshop about connecting Unity with Arduino v1.0 R. Yagiz Mungan yagiz@purdue.edu Purdue University - AD41700 Variable Topics in ETB: Computer Games Fall 2013 September
More informationClass #1. introduction, functions, variables, conditionals
Class #1 introduction, functions, variables, conditionals what is processing hello world tour of the grounds functions,expressions, statements console/debugging drawing data types and variables decisions
More informationPhotoshop tutorial: Final Product in Photoshop:
Disclaimer: There are many, many ways to approach web design. This tutorial is neither the most cutting-edge nor most efficient. Instead, this tutorial is set-up to show you as many functions in Photoshop
More informationThe Official E-Portfolio Tutorial Guide
School of Education Last Updated: January 2009 The Official E-Portfolio Tutorial Guide Includes Instructions For: -Setting Up Dreamweaver -Editing Images Using Photoshop -Creating & Inserting Evidence
More informationLesson 4: Animation. Goals
Introduction: In this session you are going to use custom built tools in Arduino to help you turn images or animation into code that automatically uploads to your DIY Gamer. It is a fun and easy way to
More informationGraphing on Excel. Open Excel (2013). The first screen you will see looks like this (it varies slightly, depending on the version):
Graphing on Excel Open Excel (2013). The first screen you will see looks like this (it varies slightly, depending on the version): The first step is to organize your data in columns. Suppose you obtain
More informationThe Big Idea: Background: About Serial
Lesson 6 Lesson 6: Serial Serial Input Input The Big Idea: Information coming into an Arduino sketch is called input. This lesson focuses on text in the form of characters that come from the user via the
More informationArduino IDE Friday, 26 October 2018
Arduino IDE Friday, 26 October 2018 12:38 PM Looking Under The Hood Of The Arduino IDE FIND THE ARDUINO IDE DOWNLOAD First, jump on the internet with your favorite browser, and navigate to www.arduino.cc.
More informationMy Awesome Presentation Exercise
My Awesome Presentation Exercise Part One: Creating a Photo Album 1. Click on the Insert tab. In the Images group click on the Photo Album command. 2. In the Photo Album window that pops up, look in the
More informationWideQuick Remote WideQuick Designer
FLIR ThermoVision CM training This manual is starting off with a quick instruction on how to start the system and after that there are instructions on how to make your own software and modify the FLIR
More information+ Inheritance. Sometimes we need to create new more specialized types that are similar to types we have already created.
+ Inheritance + Inheritance Classes that we design in Java can be used to model some concept in our program. For example: Pokemon a = new Pokemon(); Pokemon b = new Pokemon() Sometimes we need to create
More informationRotary Encoder Basics
Rotary Encoder Basics A rotary encoder has a fixed number of positions per revolution. These positions are easily felt as small clicks you turn the encoder. The Keyes module that I have has thirty of these
More informationCISC 1600, Lab 3.1: Processing
CISC 1600, Lab 3.1: Processing Prof Michael Mandel 1 Getting set up For this lab, we will be using OpenProcessing, a site for building processing sketches online using processing.js. 1.1. Go to https://www.openprocessing.org/class/57767/
More informationHow to Make a Book Interior File
How to Make a Book Interior File These instructions are for paperbacks or ebooks that are supposed to be a duplicate of paperback copies. (Note: This is not for getting a document ready for Kindle or for
More informationFRC LabVIEW Sub vi Example
FRC LabVIEW Sub vi Example Realizing you have a clever piece of code that would be useful in lots of places, or wanting to un clutter your program to make it more understandable, you decide to put some
More informationLab 5 - Serial Parser, String Manipulation & Libraries
Lab 5 - Serial Parser, String Manipulation & Libraries At the end of the previous lab you got a taste of adding a parser to your project. A parser is simply a program that looks for (parses) information
More informationCode&Drive First steps
Code&Drive First steps Now that you have built the Code & Drive, you can set the Build&Code 4in1 board using any of the following software: Arduino IDE, Bitbloq or a visual programming software by blocks
More informationProcedure: Determine the polarity of the LED. Use the following image to help:
Section 2: Lab Activity Section 2.1 Getting started: LED Blink Purpose: To understand how to upload a program to the Arduino and to understand the function of each line of code in a simple program. This
More informationSetting Up the Fotosizer Software
Setting Up the Fotosizer Software N.B. Fotosizer does not change your original files it just makes copies of them that have been resized and renamed. It is these copies you need to use on your website.
More informationThumb Joystick Retail. Tools and parts you'll need. Things you'll want to know. How does it work? Skill Level: Beginner. by MikeGrusin March 22, 2011
Thumb Joystick Retail Skill Level: Beginner by MikeGrusin March 22, 2011 Thank you for purchasing our Thumb Joystick! Whether you're blasting aliens or driving a robot, you'll find it a very useful addition
More informationIn this lesson, you ll learn how to:
LESSON 5: ADVANCED DRAWING TECHNIQUES OBJECTIVES In this lesson, you ll learn how to: apply gradient fills modify graphics by smoothing, straightening, and optimizing understand the difference between
More informationUsing Methods. Methods that handle events. Mairead Meagher Dr. Siobhán Drohan. Produced by: Department of Computing and Mathematics
Using Methods Methods that handle events Produced by: Mairead Meagher Dr. Siobhán Drohan Department of Computing and Mathematics http://www.wit.ie/ Caveat The term function is used in Processing e.g. line(),
More information0 Graphical Analysis Use of Excel
Lab 0 Graphical Analysis Use of Excel What You Need To Know: This lab is to familiarize you with the graphing ability of excels. You will be plotting data set, curve fitting and using error bars on the
More informationCS Multimedia and Communications. Lab 06: Webpage Tables and Image Links (Website Design part 3 of 3)
CS 1033 Multimedia and Communications Lab 06: Webpage Tables and Image Links (Website Design part 3 of 3) REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB! Table Properties Reference Guide The Property
More informationLab 9: Pointers and arrays
CMSC160 Intro to Algorithmic Design Blaheta Lab 9: Pointers and arrays 3 Nov 2011 As promised, we ll spend today working on using pointers and arrays, leading up to a game you ll write that heavily involves
More informationGetting Started with Keil µvision 3 and C51
Getting Started with Keil µvision 3 and C51 1. Create a Project: Start uvision3. Go to Project->New µvision Project on the µvision3 window. Then enter the name of your project and select a location. Click
More informationCopyright 2018 MakeUseOf. All Rights Reserved.
15 Power User Tips for Tabs in Firefox 57 Quantum Written by Lori Kaufman Published March 2018. Read the original article here: https://www.makeuseof.com/tag/firefox-tabs-tips/ This ebook is the intellectual
More informationDice in Google SketchUp
A die (the singular of dice) looks so simple. But if you want the holes placed exactly and consistently, you need to create some extra geometry to use as guides. Plus, using components for the holes is
More informationAP Computer Science Unit 1. Writing Programs Using BlueJ
AP Computer Science Unit 1. Writing Programs Using BlueJ 1. Open up BlueJ. Click on the Project menu and select New Project. You should see the window on the right. Navigate to wherever you plan to save
More informationCreate a unit using United Streaming and PowerPoint. Materials: Microsoft PowerPoint, Internet access, United Streaming account
Create a unit using United Streaming and PowerPoint Materials: Microsoft PowerPoint, Internet access, United Streaming account Find United Streaming Clips: 1. Decide on a topic for your unit. 2. Search
More informationICS 61 Game Systems and Design Introduction to Scratch
ICS 61, Winter, 2015 Introduction to Scratch p. 1 ICS 61 Game Systems and Design Introduction to Scratch 1. Make sure your computer has a browser open at the address http://scratch.mit.edu/projects/editor/.
More informationLab 8. Communications between Arduino and Android via Bluetooth
Lab 8. Communications between Arduino and Android via Bluetooth Dr. X. Li xhli@citytech.cuny.edu Dept. of Computer Engineering Technology New York City College of Technology (Copyright Reserved) In this
More informationHow to make a Work Profile for Windows 10
How to make a Work Profile for Windows 10 Setting up a new profile for Windows 10 requires you to navigate some screens that may lead you to create the wrong type of account. By following this guide, we
More informationCounter & LED (LED Blink)
1 T.R.E. Meeting #1 Counter & LED (LED Blink) September 17, 2017 Contact Info for Today s Lesson: President Ryan Muller mullerr@vt.edu 610-573-1890 Learning Objectives: Learn how to use the basics of Arduino
More informationUsing Flash Animation Basics
Using Flash Contents Using Flash... 1 Animation Basics... 1 Exercise 1. Creating a Symbol... 2 Exercise 2. Working with Layers... 4 Exercise 3. Using the Timeline... 6 Exercise 4. Previewing an animation...
More informationExploring Processing
Exploring Processing What is Processing? Easy-to-use programming environment Let s you edit, run, save, share all in one application Designed to support interactive, visual applications Something we ve
More informationIntroduction to Excel
Introduction to Excel Written by Jon Agnone Center for Social Science Computation & Research 145 Savery Hall University of Washington Seattle WA 98195 U.S.A. (206)543-8110 November 2004 http://julius.csscr.washington.edu/pdf/excel.pdf
More informationArduino. AS220 Workshop. Part III Multimedia Applications Lutz Hamel
AS220 Workshop Part III Multimedia Applications Lutz Hamel hamel@cs.uri.edu www.cs.uri.edu/~hamel/as220 Basic Building Blocks The basic building blocks for Arduino interactive object(s) are: Digital Input
More informationNecessary software and hardware:
Necessary software and hardware: Bases: First, remember that I m a French guy so my English is not perfect ;) If you see any mistakes, don t hesitate to tell me so I can correct them (my email is at the
More informationInDesign Tools Overview
InDesign Tools Overview REFERENCE If your palettes aren t visible you can activate them by selecting: Window > Tools Transform Color Tool Box A Use the selection tool to select, move, and resize objects.
More informationPSpice Tutorial. Physics 160 Spring 2006
PSpice Tutorial This is a tutorial designed to guide you through the simulation assignment included in the first homework set. You may either use the program as installed in the lab, or you may install
More informationLaboratory 5 Communication Interfaces
Laboratory 5 Communication Interfaces Embedded electronics refers to the interconnection of circuits (micro-processors or other integrated circuits) with the goal of creating a unified system. In order
More informationLab 4. Out: Friday, February 25th, 2005
CS034 Intro to Systems Programming Doeppner & Van Hentenryck Lab 4 Out: Friday, February 25th, 2005 What you ll learn. In this lab, you ll learn to use function pointers in a variety of applications. You
More informationFUNCTIONS For controlling the Arduino board and performing computations.
d i g i t a l R e a d ( ) [Digital I/O] Reads the value from a specified digital pin, either HIGH or LOW. digitalread(pin) pin: the number of the digital pin you want to read HIGH or LOW Sets pin 13 to
More informationCISC 1600, Lab 2.3: Processing animation, objects, and arrays
CISC 1600, Lab 2.3: Processing animation, objects, and arrays Prof Michael Mandel 1 Getting set up For this lab, we will again be using Sketchpad. sketchpad.cc in your browser and log in. Go to http://cisc1600.
More informationHow to set up an Amazon Work Profile for Windows 8
How to set up an Amazon Work Profile for Windows 8 Setting up a new profile for Windows 8 requires you to navigate some screens that may lead you to create the wrong type of account. By following this
More informationLab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System
Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System Ahmed Okasha okasha1st@gmail.com
More informationHYPERSTUDIO TOOLS. THE GRAPHIC TOOL Use this tool to select graphics to edit. SPRAY PAINT CAN Scatter lots of tiny dots with this tool.
THE BROWSE TOOL Us it to go through the stack and click on buttons THE BUTTON TOOL Use this tool to select buttons to edit.. RECTANGLE TOOL This tool lets you capture a rectangular area to copy, cut, move,
More informationThe Fundamentals. Document Basics
3 The Fundamentals Opening a Program... 3 Similarities in All Programs... 3 It's On Now What?...4 Making things easier to see.. 4 Adjusting Text Size.....4 My Computer. 4 Control Panel... 5 Accessibility
More informationMyNIC Team Site - Document Sharing
Table of Contents Create a Document...2 Upload a Document...3 Rename Document...4 Edit a Document...6 Check-out a Document...6 Edit a Document...7 Check-in a Document...9 Check-in Someone Else s Document...
More informationPick a number. Conditionals. Boolean Logic Relational Expressions Logical Operators Numerical Representation Binary. CS Conditionals 1
Conditionals Boolean Logic Relational Expressions Logical Operators Numerical Representation Binary CS105 04 Conditionals 1 Pick a number CS105 04 Conditionals 2 Boolean Expressions An expression that
More information[ the academy_of_code] Senior Beginners
[ the academy_of_code] Senior Beginners 1 Drawing Circles First step open Processing Open Processing by clicking on the Processing icon (that s the white P on the blue background your teacher will tell
More informationUsing PowerPoint to Create an Interactive Multimedia Portfolio Ben Johnson
Using PowerPoint to Create an Interactive Multimedia Portfolio Ben Johnson www.psd.k12.co.us/staff/benj Getting Started 1. Launch PowerPoint from the start button. Select the Design Template radio button.
More informationGIS LAB 1. Basic GIS Operations with ArcGIS. Calculating Stream Lengths and Watershed Areas.
GIS LAB 1 Basic GIS Operations with ArcGIS. Calculating Stream Lengths and Watershed Areas. ArcGIS offers some advantages for novice users. The graphical user interface is similar to many Windows packages
More informationCHAPTER 3. Entering Text and Moving Around
CHAPTER 3 Entering Text and Moving Around Typing text is what word processing is all about. You can, in fact, create a perfectly respectable document by typing alone. Everything else all of the formatting
More informationA Hacker s Introduction to the Nokia N900
A Hacker s Introduction to the Nokia N900 Introduction Welcome to the Hacker s Introduction to the Nokia N900. This guide is intended to help you begin connecting the N900 s builtin capabilities to information
More informationExcel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller
Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Table of Contents Introduction!... 1 Part 1: Entering Data!... 2 1.a: Typing!... 2 1.b: Editing
More informationProcessing Presentation by Ben Leduc-Mills
Processing http://processing.org Presentation by Ben Leduc-Mills Processing: History Processing is a free, open-source Java-based framework as well as an Integrated Development Environment (IDE). It was
More information1 Getting started with Processing
cisc3665, fall 2011, lab I.1 / prof sklar. 1 Getting started with Processing Processing is a sketch programming tool designed for use by non-technical people (e.g., artists, designers, musicians). For
More informationENGR 40M Project 4b: Displaying ECG waveforms. Lab is due Monday June 4, 11:59pm
ENGR 40M Project 4b: Displaying ECG waveforms Lab is due Monday June 4, 11:59pm 1 Introduction Last week, you built a circuit that amplified a small 1Hz simulated heartbeat signal. In this week s you will
More informationThank you for purchasing a ZT-1300 printer! The following guide will help you install the equipment and software that goes with your ZT-1300 printer.
Thank you for purchasing a ZT-1300 printer! The following guide will help you install the equipment and software that goes with your ZT-1300 printer. It is strongly recommended that you read through the
More informationBarchard Introduction to SPSS Marks
Barchard Introduction to SPSS 21.0 3 Marks Purpose The purpose of this assignment is to introduce you to SPSS, the most commonly used statistical package in the social sciences. You will create a new data
More informationIntro. Scheme Basics. scm> 5 5. scm>
Intro Let s take some time to talk about LISP. It stands for LISt Processing a way of coding using only lists! It sounds pretty radical, and it is. There are lots of cool things to know about LISP; if
More informationENGR 40M Project 3c: Coding the raindrop pattern
ENGR 40M Project 3c: Coding the raindrop pattern For due dates, see the overview handout The raindrop pattern works like this: Once per time period (say, 150 ms), (a) move the pattern one plane down: the
More informationIntroduction to Java Unit 1. Using BlueJ to Write Programs
Introduction to Java Unit 1. Using BlueJ to Write Programs 1. Open up BlueJ. Click on the Project menu and select New Project. You should see the window on the right. Navigate to wherever you plan to save
More informationStep 1: Create A New Photoshop Document
Snowflakes Photo Border In this Photoshop tutorial, we ll learn how to create a simple snowflakes photo border, which can be a fun finishing touch for photos of family and friends during the holidays,
More informationTitle and Modify Page Properties
Dreamweaver After cropping out all of the pieces from Photoshop we are ready to begin putting the pieces back together in Dreamweaver. If we were to layout all of the pieces on a table we would have graphics
More informationVoyant Connect User Guide
Voyant Connect User Guide WELCOME TO VOYANT CONNECT 3 INSTALLING VOYANT CONNECT 3 MAC INSTALLATION 3 WINDOWS INSTALLATION 4 LOGGING IN 4 WINDOWS FIRST LOGIN 6 MAKING YOUR CLIENT USEFUL 6 ADDING CONTACTS
More informationSmall rectangles (and sometimes squares like this
Lab exercise 1: Introduction to LabView LabView is software for the real time acquisition, processing and visualization of measured data. A LabView program is called a Virtual Instrument (VI) because it,
More informationMOBILOUS INC, All rights reserved
8-step process to build an app IDEA SKETCH CONCEPTUALISE ORGANISE BUILD TEST RELEASE SUBMIT 2 I want to create a Mobile App of my company which only shows my company information and the information of
More informationLecture 05 I/O statements Printf, Scanf Simple statements, Compound statements
Programming, Data Structures and Algorithms Prof. Shankar Balachandran Department of Computer Science and Engineering Indian Institute of Technology, Madras Lecture 05 I/O statements Printf, Scanf Simple
More information