Processing + Firmata with Arduino

Size: px
Start display at page:

Download "Processing + Firmata with Arduino"

Transcription

1 Processing + Firmata with Arduino Processing IDE and language used to generate interactive visualization and sound Firmata Protocal used to communicate between Arduino and Processing Combining Processing with Arduino you can: Use input from the Arduino to generate images on your computer screen Use input from the Arduino to cue sound files Use input from the internet (like Twitter) to control the Arduino

2 Setting up the Arduino Open the Standard Firmata sketch under File > Examples > Firmata > StandardFirmata Do not make any changes Upload the sketch to your board That s it! This will allow us to control the Arduino via Processing Even if you turn off the Arduino, the standard firmata sketch will start running the next time you turn on the Arduino

3 Setting up a Processing sketch Communicating with the Arduino requires two libraries in Processing, so you will need to add these lines at the beginning of the sketch (before setup): import processing.serial.*; import cc.arduino.*; Next you will need to declare an Arduino with this line: Arduino arduino; Like in Arduino, Setup is a function that runs once when the Sketch is run. Starts with: void setup() { Ends with: } In Setup, add these two lines: println(arduino.list()); arduino = new Arduino(this, Arduino.list()[0], 57600); Change the zero in brackets in the second line to correspond with the port to which your Arduino is connected

4 Differences between Processing and Arduino Instead of Loop, that function is called Draw Begins with: void draw () { Ends with: } When you want to use an Arduino function, put arduino. at the beginning of it. That is because those functions are in a library called arduino. arduino.pinmode() arduino.digitalread() arduino.analogwrite() When you use the values INPUT, OUTPUT, HIGH, and LOW, put Arduino. at the beginning of it. That is because those values are specific to the Arduino class. Arduino.INPUT Arduino.HIGH To run your Processing sketch, press the triangular play button in the upper left, which says Run when you hover over it. To stop, press the square button beside it.

5 Visualization - Shapes Use one of these functions in setup to set the size of your visualization: size(width, height) generates a canvas window of width and height in pixels (check you display settings to see the pixel width and height of your screen) fullscreen() generates a full screen canvas (press the escape key to exit) Here are a couple functions to generate shapes: ellipse(x, y, width, height) generates an ellipse at position coordinates (x,y) in pixels of width and height in pixels (if the width and height are the same, it will be a circle) rect(x, y, width, height) ) generates a rectangle at position coordinates (x,y) in pixels of width and height in pixels (if the width and height are the same, it will be a square) For more, look at the 2D primitives section in the Processing reference By default, Processing will draw ellipses from the center. To change that to instead draw from the upper left corner of the ellipse, use this function: ellipsemode(corner);

6 Exercise 1 Make a circle that responds to pressure Connect an FSR to A0 on the Arduino Set up Processing to communicate with the Arduino Before setup, create an integer variable called fsr and a float variable called circlesize In setup: Set the size of the canvas to (600,600) In draw: Set fsr equal to the analog reading from 0 Set circlesize equal to the mapped value of fsr from a range of 0 to 1023 to a range of 0 to 600 Generate a circle from the center of the canvas that changes size based on the fsr Since the center of the canvas is (300,300) use 300 as the x coordinate, 300 as the y coordinate Use circlesize as the width, and circlesize as the height

7 Visualization Color and lines To set the background color for the canvas use this function: background(color); Use it in setup to layer each frame on top of each other (like the last exercise) Use it in draw to redraw each frame separately. Be sure to use it before generating any other images. For greyscale, just use one number on a scale of is white. 0 is black. For color, use three numbers (also on a scale of 0 255) By default, Processing uses RGB color. To use HSB instead, use the function colormode(hsb); To set the fill color for a shape, before generating the shape use fill(color); To set the stroke color use stroke(color); To turn off stroke or fill use nostroke(); or nofill();

8 Exercise 2 Make a psychedelic circle Keep the FSR connected to A0 and add a potentiometer connected to A1 Start with your sketch from the previous exercise and revise it so that the potentiometer changes the hue of the background color as well as the hue of the circle fill. Before setup: Declare an integer variable called potread Declare a float variable called circlehue and another called backgroundhue In setup: Change the color mode to HSB In draw: Set potread equal to the analog reading from 1 Set circlehue equal to potread mapped from a range of 0 to 1023 to a range of 0 to 255 Set backgroundhue so that the higher circlehue gets, the lower backgroundhue gets. You can do that by setting backgroundhue equal to 255 circlehue. Set the background color to (backgroundhue, 255, 255) Before generating the circle, set it to have no stroke and set its fill color to (circlehue, 255, 255)

9 Exercise 3 Make your own visualization Make a visualization from at least 2 inputs on your Arduino that includes at least 2 shapes.

Interfacing with Other Programming Environments _Processing, _MAXMSP, _PureData,

Interfacing with Other Programming Environments _Processing,   _MAXMSP,   _PureData, + + + Interfacing with Other Programming Environments _Processing, http://processing.org/ _MAXMSP, http://cycling74.com/ _PureData, http://puredata.info/ Using the Firmata Library Firmata a generic protocol

More information

Controlling motors with Arduino and Processing

Controlling motors with Arduino and Processing Fabian Winkler Controlling motors with Arduino and Processing Today s workshop illustrates how to control two different types of motors with the Arduino board: DC motors and servo motors. Since we have

More information

1. Exercises in simple sketches. All use the default 100 x 100 canvas.

1. Exercises in simple sketches. All use the default 100 x 100 canvas. Lab 3 Due: Fri, Oct 2, 9 AM Consult the Standard Lab Instructions on LEARN for explanations of Lab Days ( D1, D2, D3 ), the Processing Language and IDE, and Saving and Submitting. Rules: Do not use the

More information

Art by Numbers. Our Goal

Art by Numbers. Our Goal Art by Numbers Creative Coding & Generative Art in Processing 2 Ira Greenberg, Dianna Xu, Deepak Kumar Our Goal Use computing to realize works of art Explore new metaphors from computing: images, animation,

More information

TWEAK THE ARDUINO LOGO

TWEAK THE ARDUINO LOGO TWEAK THE ARDUINO LOGO Using serial communication, you'll use your Arduino to control a program on your computer Discover : serial communication with a computer program, Processing Time : 45 minutes Level

More information

The Junior Woodchuck Manual of Processing Programming for Android Devices

The Junior Woodchuck Manual of Processing Programming for Android Devices Page1of19 TheJuniorWoodchuck Manual of ProcessingProgramming for AndroidDevices TheImage TheCode voidsetup() { s ize(400,600); background(0,0, 200);//blue fill( 200,0,0);//red } voiddraw() { ellips e(mousex,mous

More information

Setup Download the Arduino library (link) for Processing and the Lab 12 sketches (link).

Setup Download the Arduino library (link) for Processing and the Lab 12 sketches (link). Lab 12 Connecting Processing and Arduino Overview In the previous lab we have examined how to connect various sensors to the Arduino using Scratch. While Scratch enables us to make simple Arduino programs,

More information

INTRODUCTION to MICRO-CONTROLLERS

INTRODUCTION to MICRO-CONTROLLERS PH-315 Portland State University INTRODUCTION to MICRO-CONTROLLERS Bret Comnes, Dan Lankow, and Andres La Rosa 1. ABSTRACT A microcontroller is an integrated circuit containing a processor and programmable

More information

FABO ACADEMY X ELECTRONIC DESIGN

FABO ACADEMY X ELECTRONIC DESIGN ELECTRONIC DESIGN MAKE A DEVICE WITH INPUT & OUTPUT The Shanghaino can be programmed to use many input and output devices (a motor, a light sensor, etc) uploading an instruction code (a program) to it

More information

1 Lab 6 - Implicit Lines and Circles

1 Lab 6 - Implicit Lines and Circles .. Fall 2015 Computational Art Zoë Wood.. 1 Lab 6 - Implicit Lines and Circles Goals The goals for this lab are: 1. Practice using a loop control structure to create an image made of strokes based on implicit

More information

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs 10-11 Introduction to Arduino In this lab we will introduce the idea of using a microcontroller as a tool for controlling

More information

Copyrights and Trademarks

Copyrights and Trademarks Mobile Copyrights and Trademarks Autodesk SketchBook Mobile (2.0) 2012 Autodesk, Inc. All Rights Reserved. Except as otherwise permitted by Autodesk, Inc., this publication, or parts thereof, may not be

More information

Programming a Servo. Servo. Red Wire. Black Wire. White Wire

Programming a Servo. Servo. Red Wire. Black Wire. White Wire Programming a Servo Learn to connect wires and write code to program a Servo motor. If you have gone through the LED Circuit and LED Blink exercises, you are ready to move on to programming a Servo. A

More information

Autodesk. SketchBook Mobile

Autodesk. SketchBook Mobile Autodesk SketchBook Mobile Copyrights and Trademarks Autodesk SketchBook Mobile (2.0.2) 2013 Autodesk, Inc. All Rights Reserved. Except as otherwise permitted by Autodesk, Inc., this publication, or parts

More information

A servo is an electric motor that takes in a pulse width modulated signal that controls direction and speed. A servo has three leads:

A servo is an electric motor that takes in a pulse width modulated signal that controls direction and speed. A servo has three leads: Project 4: Arduino Servos Part 1 Description: A servo is an electric motor that takes in a pulse width modulated signal that controls direction and speed. A servo has three leads: a. Red: Current b. Black:

More information

100UF CAPACITOR POTENTIOMETER SERVO MOTOR MOTOR ARM. MALE HEADER PIN (3 pins) INGREDIENTS

100UF CAPACITOR POTENTIOMETER SERVO MOTOR MOTOR ARM. MALE HEADER PIN (3 pins) INGREDIENTS 05 POTENTIOMETER SERVO MOTOR MOTOR ARM 100UF CAPACITOR MALE HEADER PIN (3 pins) INGREDIENTS 63 MOOD CUE USE A SERVO MOTOR TO MAKE A MECHANICAL GAUGE TO POINT OUT WHAT SORT OF MOOD YOU RE IN THAT DAY Discover:

More information

Attribution Thank you to Arduino and SparkFun for open source access to reference materials.

Attribution Thank you to Arduino and SparkFun for open source access to reference materials. Attribution Thank you to Arduino and SparkFun for open source access to reference materials. Contents Parts Reference... 1 Installing Arduino... 7 Unit 1: LEDs, Resistors, & Buttons... 7 1.1 Blink (Hello

More information

Welcome to Arduino Day 2016

Welcome to Arduino Day 2016 Welcome to Arduino Day 2016 An Intro to Arduino From Zero to Hero in an Hour! Paul Court (aka @Courty) Welcome to the SLMS Arduino Day 2016 Arduino / Genuino?! What?? Part 1 Intro Quick Look at the Uno

More information

Lab 5: Arduino Uno Microcontroller Innovation Fellows Program Bootcamp Prof. Steven S. Saliterman

Lab 5: Arduino Uno Microcontroller Innovation Fellows Program Bootcamp Prof. Steven S. Saliterman Lab 5: Arduino Uno Microcontroller Innovation Fellows Program Bootcamp Prof. Steven S. Saliterman Exercise 5-1: Familiarization with Lab Box Contents Objective: To review the items required for working

More information

Part Design. Sketcher - Basic 1 13,0600,1488,1586(SP6)

Part Design. Sketcher - Basic 1 13,0600,1488,1586(SP6) Part Design Sketcher - Basic 1 13,0600,1488,1586(SP6) In this exercise, we will learn the foundation of the Sketcher and its basic functions. The Sketcher is a tool used to create two-dimensional (2D)

More information

Consult the Standard Lab Instructions on LEARN for explanations of Lab Days ( D1, D2 ), the Processing Language and IDE, and Saving and Submitting.

Consult the Standard Lab Instructions on LEARN for explanations of Lab Days ( D1, D2 ), the Processing Language and IDE, and Saving and Submitting. Lab 4 Due: Fri, Oct 7, 9 AM Consult the Standard Lab Instructions on LEARN for explanations of Lab Days ( D1, D2 ), the Processing Language and IDE, and Saving and Submitting. Rules: Do not use the translate(),

More information

Lesson 3: Arduino. Goals

Lesson 3: Arduino. Goals Introduction: This project introduces you to the wonderful world of Arduino and how to program physical devices. In this lesson you will learn how to write code and make an LED flash. Goals 1 - Get to

More information

Learning Objectives. References 10/26/11. Using servos with an Arduino. EAS 199A Fall 2011

Learning Objectives. References 10/26/11. Using servos with an Arduino. EAS 199A Fall 2011 Using servos with an Arduino EAS 199A Fall 2011 Learning Objectives Be able to identify characteristics that distinguish a servo and a DC motor Be able to describe the difference a conventional servo and

More information

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment.

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment. Physics 222 Name: Exercise 6: Mr. Blinky This exercise is designed to help you wire a simple circuit based on the Arduino microprocessor, which is a particular brand of microprocessor that also includes

More information

Using Servos with an Arduino

Using Servos with an Arduino Using Servos with an Arduino ME 120 Mechanical and Materials Engineering Portland State University http://web.cecs.pdx.edu/~me120 Learning Objectives Be able to identify characteristics that distinguish

More information

STEP BY STEP GUIDE FOR CREATING A CUBE IN FREECAD. STEP 1. Chose Create a new Empty Document Part Design Create a New Sketch XY- Plane and click OK.

STEP BY STEP GUIDE FOR CREATING A CUBE IN FREECAD. STEP 1. Chose Create a new Empty Document Part Design Create a New Sketch XY- Plane and click OK. STEP BY STEP GUIDE FOR CREATING A CUBE IN FREECAD STEP 1. Chose Create a new Empty Document Part Design Create a New Sketch XY- Plane and click OK. STEP 2. Chose Rectangle tool and create any rectangle

More information

Cube in a cube Fusion 360 tutorial

Cube in a cube Fusion 360 tutorial Cube in a cube Fusion 360 tutorial n Before using these instructions, it is helpful to watch this video screencast of the CAD drawing actually being done in the software. Click to link to the video tutorial.

More information

PLAN DE FORMACIÓN EN LENGUAS EXTRANJERAS IN-57 Technology for ESO: Contents and Strategies

PLAN DE FORMACIÓN EN LENGUAS EXTRANJERAS IN-57 Technology for ESO: Contents and Strategies Lesson Plan: Traffic light with Arduino using code, S4A and Ardublock Course 3rd ESO Technology, Programming and Robotic David Lobo Martínez David Lobo Martínez 1 1. TOPIC Arduino is an open source hardware

More information

Saturday Academy Program

Saturday Academy Program Lesson Plans High School Courses Donald L. McCoy K-to-College STEM Education Consultant thempitman@gmail.com Last Update: October 17, 2018 Virtual Reality Coding using PlayCanvas RobotC Coding Applications

More information

Arduino Lesson 1. Blink. Created by Simon Monk

Arduino Lesson 1. Blink. Created by Simon Monk Arduino Lesson 1. Blink Created by Simon Monk Guide Contents Guide Contents Overview Parts Part Qty The 'L' LED Loading the 'Blink' Example Saving a Copy of 'Blink' Uploading Blink to the Board How 'Blink'

More information

Autodesk. SketchBook INK. Tips & Tricks. ios

Autodesk. SketchBook INK. Tips & Tricks. ios Autodesk SketchBook INK Tips & Tricks ios Contents What s New 3 Tips Before You Begin 4 Getting Started 5 Create a canvas 5 Navigating 5 Hide the UI 5 Color 6 Customize the color palette 6 Selecting a

More information

Lab 2: Blinkie Lab. Objectives. Materials. Theory

Lab 2: Blinkie Lab. Objectives. Materials. Theory Lab 2: Blinkie Lab Objectives This lab introduces the Arduino Uno as students will need to use the Arduino to control their final robot. Students will build a basic circuit on their prototyping board and

More information

APDS-9960 RGB and Gesture Sensor Hookup Guide

APDS-9960 RGB and Gesture Sensor Hookup Guide Page 1 of 12 APDS-9960 RGB and Gesture Sensor Hookup Guide Introduction Touchless gestures are the new frontier in the world of human-machine interfaces. By swiping your hand over a sensor, you can control

More information

Exploring Photoshop Tutorial

Exploring Photoshop Tutorial Exploring Photoshop Tutorial Objective: In this tutorial we will create a poster composed of three distinct elements: a Bokeh, an image and title text. The Bokeh is an effect which is sometimes seen in

More information

Documentation for the world.rkt teachpack

Documentation for the world.rkt teachpack Documentation for the world.rkt teachpack The world.rkt teachpack allows you to create animations. Some of the functions are explained here in detail. Full documentation of these and other functions can

More information

ZX Distance and Gesture Sensor Hookup Guide

ZX Distance and Gesture Sensor Hookup Guide Page 1 of 13 ZX Distance and Gesture Sensor Hookup Guide Introduction The ZX Distance and Gesture Sensor is a collaboration product with XYZ Interactive. The very smart people at XYZ Interactive have created

More information

AutoCAD Lab 1 Basics and Drawing Fundamentals. EGS 1007 Engineering Concepts and Methods

AutoCAD Lab 1 Basics and Drawing Fundamentals. EGS 1007 Engineering Concepts and Methods AutoCAD Lab 1 Basics and Drawing Fundamentals EGS 1007 Engineering Concepts and Methods Will the Computer Ever REPLACE Pencil and Paper Drawings? Maybe someday When a computer becomes as light, small,

More information

Learning Adobe FireWorks CS5

Learning Adobe FireWorks CS5 Module 1 Contents Chapter 1: Introduction to FireWorks Starting the Document...1-1 Screen Modes...1-3 Bitmap and Vector Tools...1-4 Bitmap Tools... 1-4 Vector Tools... 1-6 Filling Shapes...1-8 Importing

More information

Application Note AN 102: Arduino I2C Interface to K 30 Sensor

Application Note AN 102: Arduino I2C Interface to K 30 Sensor Application Note AN 102: Arduino I2C Interface to K 30 Sensor Introduction The Arduino UNO, MEGA 1280 or MEGA 2560 are ideal microcontrollers for operating SenseAir s K 30 CO2 sensor. The connection to

More information

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators Ahmed Okasha, Assistant Lecturer okasha1st@gmail.com Objective Have a

More information

GIMP WEB 2.0 ICONS. Web 2.0 Icons: Paperclip Completed Project

GIMP WEB 2.0 ICONS. Web 2.0 Icons: Paperclip Completed Project GIMP WEB 2.0 ICONS WEB 2.0 ICONS: PAPERCLIP OPEN GIMP or Web 2.0 Icons: Paperclip Completed Project Step 1: To begin a new GIMP project, from the Menu Bar, select File New. At the Create a New Image dialog

More information

La Malinette is an open source project by Reso-nance Numérique Programming Interactivity Kit

La Malinette is an open source project by Reso-nance Numérique  Programming Interactivity Kit La Malinette is an open source project by Reso-nance Numérique http://malinette.info Programming Interactivity Kit La Malinette is a pedagogical tool under free license to discover and learn to build

More information

Start from Scratch Open Photoshop.

Start from Scratch Open Photoshop. Mr. Manders Repeating Patterns (Developed by Mr. Kasten) Our goals in this activity: To understand the similarities and differences working with the shape tools vs the marquee tools in Photoshop. It can

More information

Arduino Workshop 01. AD32600 Physical Computing Prof. Fabian Winkler Fall 2014

Arduino Workshop 01. AD32600 Physical Computing Prof. Fabian Winkler Fall 2014 AD32600 Physical Computing Prof. Fabian Winkler Fall 2014 Arduino Workshop 01 This workshop provides an introductory overview of the Arduino board, basic electronic components and closes with a few basic

More information

2.000 Sketching Example: Tractor transmission

2.000 Sketching Example: Tractor transmission 1. HAVE A PLAN:Look at the transmission from the angle you want to draw it from choose an angle that will show the most information. Here we choose to draw an oblique sketch for clarity and simplicity.

More information

Internet of Things Student STEM Project Jackson High School. Lesson 2: Arduino and LED

Internet of Things Student STEM Project Jackson High School. Lesson 2: Arduino and LED Internet of Things Student STEM Project Jackson High School Lesson 2: Arduino and LED Lesson 2: Arduino and LED Time to complete Lesson 60-minute class period Learning objectives Students learn about Arduino

More information

g. Click once on the left vertical line of the rectangle.

g. Click once on the left vertical line of the rectangle. This drawing will require you to a model of a truck as a Solidworks Part. Please be sure to read the directions carefully before constructing the truck in Solidworks. Before submitting you will be required

More information

Lecture 30. Monday, March 28 CS 205 Programming for the Sciences - Lecture 30 1

Lecture 30. Monday, March 28 CS 205 Programming for the Sciences - Lecture 30 1 Lecture 30 Log into Windows/ACENET. Download and extract GraphFunctionV2.zip, a new version of the Graph Function project. Double-click into the project folders to the solution file. Doubleclick on the

More information

Creo Extrude Tutorial 2: Cutting and Adding Material

Creo Extrude Tutorial 2: Cutting and Adding Material Creo Extrude Tutorial 2: Cutting and Adding Material 1. Open Creo Parametric 2. File > Open > extrudeturial (From Creo Extrude Tutorial 1) 3. Cutting Material a. Click Extrude Icon > Select the following

More information

Peek-a-BOO Kit JAMECO PART NO / / Experience Level: Beginner Time Required: 1+ hour

Peek-a-BOO Kit JAMECO PART NO / / Experience Level: Beginner Time Required: 1+ hour Peek-a-BOO Kit JAMECO PART NO. 2260076/2260084/2260092 Experience Level: Beginner Time Required: 1+ hour Make a ghost that reacts to an approaching object in the room. When idle, the ghost will keep its

More information

Rodni What will yours be?

Rodni What will yours be? Rodni What will yours be? version 4 Welcome to Rodni, a modular animatronic animal of your own creation for learning how easy it is to enter the world of software programming and micro controllers. During

More information

for Solidworks TRAINING GUIDE LESSON-9-CAD

for Solidworks TRAINING GUIDE LESSON-9-CAD for Solidworks TRAINING GUIDE LESSON-9-CAD Mastercam for SolidWorks Training Guide Objectives You will create the geometry for SolidWorks-Lesson-9 using SolidWorks 3D CAD software. You will be working

More information

AEROPLANE. Create a New Folder in your chosen location called Aeroplane. The four parts that make up the project will be saved here.

AEROPLANE. Create a New Folder in your chosen location called Aeroplane. The four parts that make up the project will be saved here. AEROPLANE Prerequisite Knowledge Previous knowledge of the following commands is required to complete this lesson. Sketching (Line, Rectangle, Arc, Add Relations, Dimensioning), Extrude, Assemblies and

More information

Programming 2 Servos. Learn to connect and write code to control two servos.

Programming 2 Servos. Learn to connect and write code to control two servos. Programming 2 Servos Learn to connect and write code to control two servos. Many students who visit the lab and learn how to use a Servo want to use 2 Servos in their project rather than just 1. This lesson

More information

Figure 1. Digilent DC Motor

Figure 1. Digilent DC Motor Laboratory 9 - Usage of DC- and servo-motors The current laboratory describes the usage of DC and servomotors 1. DC motors Figure 1. Digilent DC Motor Classical DC motors are converting electrical energy

More information

How to Create Animated Vector Icons in Adobe Illustrator and Photoshop

How to Create Animated Vector Icons in Adobe Illustrator and Photoshop How to Create Animated Vector Icons in Adobe Illustrator and Photoshop by Mary Winkler (Illustrator CC) What You'll Be Creating Animating vector icons and designs is made easy with Adobe Illustrator and

More information

A Denunciation of the Monochrome:

A Denunciation of the Monochrome: A Denunciation of the Monochrome: Displaying the colors using LED strips for different purposes. Tijani Oluwatimilehin, Christian Martinez, Sabrina Herrero, Erin Vines 1.1 Abstract The interaction between

More information

CATEGORY SKILL SET REF. TASK ITEM

CATEGORY SKILL SET REF. TASK ITEM ECDL / ICDL Image Editing This module sets out essential concepts and skills relating to the ability to understand the main concepts underlying digital images and to use an image editing application to

More information

Microcontrollers and Interfacing

Microcontrollers and Interfacing Microcontrollers and Interfacing Week 07 digital input, debouncing, interrupts and concurrency College of Information Science and Engineering Ritsumeikan University 1 this week digital input push-button

More information

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K.

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K. Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K. Roberts Page 1 See Appendix A, for Licensing Attribution information

More information

Community College of Allegheny County Unit 4 Page #1. Timers and PWM Motor Control

Community College of Allegheny County Unit 4 Page #1. Timers and PWM Motor Control Community College of Allegheny County Unit 4 Page #1 Timers and PWM Motor Control Revised: Dan Wolf, 3/1/2018 Community College of Allegheny County Unit 4 Page #2 OBJECTIVES: Timers: Astable and Mono-Stable

More information

Grove - HCHO Sensor. Release date: 9/20/2015. Version: 1.0. Wiki:

Grove - HCHO Sensor. Release date: 9/20/2015. Version: 1.0. Wiki: Grove - HCHO Sensor Release date: 9/20/2015 Version: 1.0 Wiki: http://www.seeedstudio.com/wiki/grove_-_hcho_sensor Bazaar: http://www.seeedstudio.com/depot/grove-hcho-sensor-p-1593.html 1 Document Revision

More information

Anna Gresham School of Landscape Design. CAD for Beginners. CAD 3: Using the Drawing Tools and Blocks

Anna Gresham School of Landscape Design. CAD for Beginners. CAD 3: Using the Drawing Tools and Blocks Anna Gresham School of Landscape Design CAD for Beginners CAD 3: Using the Drawing Tools and Blocks Amended for DraftSight V4 October 2013 INDEX OF TOPICS for CAD 3 Pages ESnap 3-5 Essential drawing tools

More information

Lesson 13. The Big Idea: Lesson 13: Infrared Transmitters

Lesson 13. The Big Idea: Lesson 13: Infrared Transmitters Lesson Lesson : Infrared Transmitters The Big Idea: In Lesson 12 the ability to detect infrared radiation modulated at 38,000 Hertz was added to the Arduino. This lesson brings the ability to generate

More information

Kerf Bent Clock Front Geometry in MasterCAM

Kerf Bent Clock Front Geometry in MasterCAM Kerf Bent Clock Front Geometry in MasterCAM Check to make sure the nethasp is working/turned on to network. Go to ALL APPs/Mastercam x8/nethasp After the computer reads the nethasp, these programs should

More information

Coding with Arduino to operate the prosthetic arm

Coding with Arduino to operate the prosthetic arm Setup Board Install FTDI Drivers This is so that your RedBoard will be able to communicate with your computer. If you have Windows 8 or above you might already have the drivers. 1. Download the FTDI driver

More information

Simulation using Tutorial Verilog XL Release Date: 02/12/2005

Simulation using Tutorial Verilog XL Release Date: 02/12/2005 Simulation using Tutorial - 1 - Logic Simulation using Verilog XL: This tutorial includes one way of simulating digital circuits using Verilog XL. Here we have taken an example of two cascaded inverters.

More information

Adobe Photoshop CS2 Workshop

Adobe Photoshop CS2 Workshop COMMUNITY TECHNICAL SUPPORT Adobe Photoshop CS2 Workshop Photoshop CS2 Help For more technical assistance, open Photoshop CS2 and press the F1 key, or go to Help > Photoshop Help. Selection Tools - The

More information

J. La Favre Using Arduino with Raspberry Pi February 7, 2018

J. La Favre Using Arduino with Raspberry Pi February 7, 2018 As you have already discovered, the Raspberry Pi is a very capable digital device. Nevertheless, it does have some weaknesses. For example, it does not produce a clean pulse width modulation output (unless

More information

1. Controlling the DC Motors

1. Controlling the DC Motors E11: Autonomous Vehicles Lab 5: Motors and Sensors By this point, you should have an assembled robot and Mudduino to power it. Let s get things moving! In this lab, you will write code to test your motors

More information

Using the S5U13781R01C100 Shield Graphics Library with Atmel Studio

Using the S5U13781R01C100 Shield Graphics Library with Atmel Studio Using the S5U13781R01C100 Shield Graphics Library with Atmel Studio Document Number: X94A-B-002-01 Status: Revision 1.0 Issue Date: 2015/07/30 SEIKO EPSON CORPORATION Rev. 1.0 Page 2 NOTICE No part of

More information

PWM CONTROL USING ARDUINO. Learn to Control DC Motor Speed and LED Brightness

PWM CONTROL USING ARDUINO. Learn to Control DC Motor Speed and LED Brightness PWM CONTROL USING ARDUINO Learn to Control DC Motor Speed and LED Brightness In this article we explain how to do PWM (Pulse Width Modulation) control using arduino. If you are new to electronics, we have

More information

Project 27 Joystick Servo Control

Project 27 Joystick Servo Control Project 27 Joystick Servo Control For another simple project, let s use a joystick to control the two servos. You ll arrange the servos in such a way that you get a pan-tilt head, such as is used for CCTV

More information

Kankakee Community College

Kankakee Community College Kankakee Community College Course prefix and number: DRFT 2114 Course title: AutoCAD I Credit hours: 4 Lecture hours: 2.5 Lab hours: 3 Semester: Spring 2015 Catalog description: This course introduces

More information

Modeling Basic Mechanical Components #1 Tie-Wrap Clip

Modeling Basic Mechanical Components #1 Tie-Wrap Clip Modeling Basic Mechanical Components #1 Tie-Wrap Clip This tutorial is about modeling simple and basic mechanical components with 3D Mechanical CAD programs, specifically one called Alibre Xpress, a freely

More information

Workshops Elisava Introduction to programming and electronics (Scratch & Arduino)

Workshops Elisava Introduction to programming and electronics (Scratch & Arduino) Workshops Elisava 2011 Introduction to programming and electronics (Scratch & Arduino) What is programming? Make an algorithm to do something in a specific language programming. Algorithm: a procedure

More information

Arduino Digital Out_QUICK RECAP

Arduino Digital Out_QUICK RECAP Arduino Digital Out_QUICK RECAP BLINK File> Examples>Digital>Blink int ledpin = 13; // LED connected to digital pin 13 // The setup() method runs once, when the sketch starts void setup() // initialize

More information

Diane Burton, STEM Outreach.

Diane Burton, STEM Outreach. 123D Design Tutorial: LED decoration Before using these instructions, it is very helpful to watch this video screencast of the CAD drawing actually being done in the software. Click this link for the video

More information

Digital Photography 1

Digital Photography 1 Digital Photography 1 Photoshop Lesson 3 Resizing and transforming images Name Date Create a new image 1. Choose File > New. 2. In the New dialog box, type a name for the image. 3. Choose document size

More information

INA169 Breakout Board Hookup Guide

INA169 Breakout Board Hookup Guide Page 1 of 10 INA169 Breakout Board Hookup Guide CONTRIBUTORS: SHAWNHYMEL Introduction Have a project where you want to measure the current draw? Need to carefully monitor low current through an LED? The

More information

Grove - Collision Sensor

Grove - Collision Sensor Grove - Collision Sensor Release date: 9/20/2015 Version: 1.0 Wiki: http://www.seeedstudio.com/wiki/grove_-_collision_sensor Bazaar: http://www.seeedstudio.com/depot/grove-collision-sensor-p-1132.html

More information

Arduino Platform Capabilities in Multitasking. environment.

Arduino Platform Capabilities in Multitasking. environment. 7 th International Scientific Conference Technics and Informatics in Education Faculty of Technical Sciences, Čačak, Serbia, 25-27 th May 2018 Session 3: Engineering Education and Practice UDC: 004.42

More information

LED + Servo 2 devices, 1 Arduino

LED + Servo 2 devices, 1 Arduino LED + Servo 2 devices, 1 Arduino Learn to connect and write code to control both a Servo and an LED at the same time. Many students who come through the lab ask if they can use both an LED and a Servo

More information

LESSONS Lesson 1. Microcontrollers and SBCs. The Big Idea: Lesson 1: Microcontrollers and SBCs. Background: What, precisely, is computer science?

LESSONS Lesson 1. Microcontrollers and SBCs. The Big Idea: Lesson 1: Microcontrollers and SBCs. Background: What, precisely, is computer science? LESSONS Lesson Lesson : Microcontrollers and SBCs Microcontrollers and SBCs The Big Idea: This book is about computer science. It is not about the Arduino, the C programming language, electronic components,

More information

Autodesk SketchBook Pro

Autodesk SketchBook Pro Autodesk SketchBook Pro Contents SketchBook Pro for Android Sketching... 5 For users of the SketchBook Pro for Galaxy Note... 5 S Pen menu... 6 Easy Clip... 6 Clutch... 6 Toolbar... 7 Information toolbar...

More information

CAD/CAM Lamp Project using 2D Design and the X-660 Laser Cutter

CAD/CAM Lamp Project using 2D Design and the X-660 Laser Cutter CAD/CAM Lamp Project using 2D Design and the X-660 Laser Cutter Paul Tate 2008 Booklet Version 2 Getting Started the preliminaries The Laser cutter which is going to cut out your acrylic bases and polypropylene

More information

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE LABORATORY 7: IR SENSORS AND DISTANCE DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS GOAL: This section will introduce

More information

Required Materials For complete material(s) information, refer to

Required Materials For complete material(s) information, refer to Butler Community College Science, Technology, Engineering, and Math Division Brett Trimpe Revised Spring 2016 Implemented Fall 2016 COURSE OUTLINE AutoCAD Basics Course Description EN 107. AutoCAD Basics.

More information

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O)

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) PH-315 Portland State University MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) ABSTRACT A microcontroller is an integrated circuit containing a processor and programmable read-only memory, 1 which is

More information

Describing an Angle Bracket

Describing an Angle Bracket Basics of Drafting Describing an Angle Bracket Orthographic Projection Orthographic drawings represent three dimensional objects in three separate views arranged in a standard manner. Orthographic Views

More information

CONSTRUCTION GUIDE Robotic Arm. Robobox. Level II

CONSTRUCTION GUIDE Robotic Arm. Robobox. Level II CONSTRUCTION GUIDE Robotic Arm Robobox Level II Robotic Arm This month s robot is a robotic arm with two degrees of freedom that will teach you how to use motors. You will then be able to move the arm

More information

Autodesk SketchBook Pro. English

Autodesk SketchBook Pro. English Autodesk SketchBook Pro English Contents What s New 4 Introduction 5 Sketching 5 Clutch and corner tools 5 Toolbar 6 Gestures 7 Palm Rest 9 Zoom into and out of the canvas 9 Reposition the canvas 10 Brush

More information

Arduino Control of Tetrix Prizm Robotics. Motors and Servos Introduction to Robotics and Engineering Marist School

Arduino Control of Tetrix Prizm Robotics. Motors and Servos Introduction to Robotics and Engineering Marist School Arduino Control of Tetrix Prizm Robotics Motors and Servos Introduction to Robotics and Engineering Marist School Motor or Servo? Motor Faster revolution but less Power Tetrix 12 Volt DC motors have a

More information

ISSN: [Singh* et al., 6(6): June, 2017] Impact Factor: 4.116

ISSN: [Singh* et al., 6(6): June, 2017] Impact Factor: 4.116 IJESRT INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & RESEARCH TECHNOLOGY WORKING, OPERATION AND TYPES OF ARDUINO MICROCONTROLLER Bhupender Singh, Manisha Verma Assistant Professor, Electrical Department,

More information

Chapter 2. Drawing Sketches for Solid Models. Learning Objectives

Chapter 2. Drawing Sketches for Solid Models. Learning Objectives Chapter 2 Drawing Sketches for Solid Models Learning Objectives After completing this chapter, you will be able to: Start a new template file to draw sketches. Set up the sketching environment. Use various

More information

How to generate different file formats

How to generate different file formats How to generate different file formats Different mediums print, web, and video require different file formats. This guide describes how to generate appropriate file formats for these mediums by using Adobe

More information

Computational Crafting with Arduino. Christopher Michaud Marist School ECEP Programs, Georgia Tech

Computational Crafting with Arduino. Christopher Michaud Marist School ECEP Programs, Georgia Tech Computational Crafting with Arduino Christopher Michaud Marist School ECEP Programs, Georgia Tech Introduction What do you want to learn and do today? Goals with Arduino / Computational Crafting Purpose

More information

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1 HAW-Arduino Sensors and Arduino 14.10.2010 F. Schubert HAW - Arduino 1 Content of the USB-Stick PDF-File of this script Arduino-software Source-codes Helpful links 14.10.2010 HAW - Arduino 2 Report for

More information

ISOMETRIC PROJECTION. Contents. Isometric Scale. Construction of Isometric Scale. Methods to draw isometric projections/isometric views

ISOMETRIC PROJECTION. Contents. Isometric Scale. Construction of Isometric Scale. Methods to draw isometric projections/isometric views ISOMETRIC PROJECTION Contents Introduction Principle of Isometric Projection Isometric Scale Construction of Isometric Scale Isometric View (Isometric Drawings) Methods to draw isometric projections/isometric

More information

Pulse Width Modulation and

Pulse Width Modulation and Pulse Width Modulation and analogwrite ( ); 28 Materials needed to wire one LED. Odyssey Board 1 dowel Socket block Wire clip (optional) 1 Female to Female (F/F) wire 1 F/F resistor wire LED Note: The

More information