Potentiometers. Showcase your project!

Similar documents
Analog Input. Sure sure, but how to make a varying voltage? With a potentiometer. Or just pot.

Lab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System

Spooky Projects. Class 2. Introduction to Microcontrollers with Arduino. 14 Oct machineproject - Tod E. Kurt

Physical Computing Self-Quiz

Objectives: Learn how to input and output analogue values Be able to see what the Arduino is thinking by sending numbers to the screen

Laboratory of Sensors Engineering Sciences 9 CFU

Note. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.

Thursday, September 15, electronic components

Physical Computing Self-Quiz

Serial.begin ( ); Serial.println( ); analogread ( ); map ( );

EXPERIMENT 7 Please visit to learn all features of arduino before you start the experiments

IME-100 ECE. Lab 4. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

Lab 2.2 Ohm s Law and Introduction to Arduinos

Basic Electronic Toolkit for under $40

Electronic Brick Starter Kit

LabVIEW Experiment 1 Light Sensor Calibration Using Arduino Data Acquisition (Arduino DAQ)

LDR_Light_Switch1 -- Overview

Arduino 101 AN INTRODUCTION TO ARDUINO BY WOMEN IN ENGINEERING FT T I NA A ND AW E S O ME ME NTO R S

How to Use an Arduino

EK307 Lab: Microcontrollers

Objectives: - You need to be able to use the two equations above and the series and parallel circuit rules.

Robotics/Electronics Review for the Final Exam

ZMOTION Detection Module Development Kit

Autonomous, Surveillance Fire Extinguisher Robotic Vehicle with Obstacle Detection and Bypass using Arduino Microcontroller

Lecture 7. Processing Development Environment (or PDE)

SPDM Level 2 Smart Electronics Unit, Level 2

cs281: Introduction to Computer Systems Lab03 K-Map Simplification for an LED-based Circuit Decimal Input LED Result LED3 LED2 LED1 LED3 LED2 1, 2

Layad Circuits Arduino Basic Kit B. Content Summary

Digital Servo Drive. For Brushless Motor or Brushed Motor MDSC4805 / MDSC4810 / MDSC4830 / MDSC4850. Datasheet V1.1. Jun 2, 2017

Serial Communication

Lesson 4: Animation. Goals

ENGG1015: Lab 7. In Search of Light

Blue Point Engineering

TMP36 Temperature Sensor

Installation manual CF3-D, CF3-D-Disp

Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas

Prototyping & Engineering Electronics Kits Basic Kit Guide

Pridgen Vermeer Robotics ATmega128 Revision 0

Goal: We want to build an autonomous vehicle (robot)

TMP36 Temperature Sensor

BUILD: ARDUINO NANO + NEMA17 BIPOLAR STEPPER 12V 0.4A + EASYDRIVER

MigaOne-Arduino Tutorial: Position/Limit Sensing and Cycling with the Arduino Platform

Downloaded from Elcodis.com electronic components distributor

TECHNICAL DOCUMENTATION 10/10/2005 GAUGE. MyChron 3 LOG BIKE. Introduction. Notes: MyChron 3 LOG BIKE technical documentation Version 1.

Lab 4: Determining temperature from a temperature sensor

Arduino 6: Analog I/O part 1. Jeffrey A. Meunier University of Connecticut

MegaPi Born to Motion Control

Create moving images in forward and reverse with your Arduino when you connect a motor to an H-bridge and some still images BATTERY POTENTIOMETER

Outline. A Computerbased. Instrument for Measuring Distance for a Soccer Free- Kick 10/16/2016. Andy Vongphachanh Matthew Weeks

Experiment 10 Fall 2012

RoboClaw 2x30A Dual Channel Motor Controller

Lesson Plan For Common Core 8 TRANSFORMATIONS OF THE PLANE

This module can be used to build a light controlled switch i.e. switch off lights during day time and switch on lights during night time.

Arduino Prof. Dr. Magdy M. Abdelhameed

CPCS (Fall 2015), Merced College A Smart Parking Lot Dulce Meza-Flores Ashley Arredondo

Alcohol Detector with Auto-Ignition

PROGRAMMING ARDUINO COURSE ON ADVANCED INTERACTION TECHNIQUES. Luís Carriço FCUL 2012/13

Light Sensor. Overview. Features

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Arduino

CONTENTS. dspicpro4 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

COOKING WITH TEAM 279

The intelligent weather station system based on Arduino

Digital Pins and Constants

Embedded Systems and Kinetic Art. CS5968: Erik Brunvand School of Computing. FA3800: Paul Stout Department of Art and Art History.

Logistics. Embedded Systems. Kinetic Art. This Class. Embedded Systems and Kinetic Art. Kinetic Art

Introduction to MATLABs Data Acquisition Toolbox, the USB DAQ, and accelerometers

ESPino - Specifications

Display & Log Unit. Mikael Larsmark. November 22, 2006

Lab 8: Sensor Characterization Lab (Analog)

Electronics Single Board Computers

Custom O2+ODAC Soldering Instructions

IME-100 ECE. Lab 5. Electrical and Computer Engineering Department Kettering University

USER MANUAL FOR HARDWARE REV

Arduino Programming and Interfacing

Arduino Robots Robot Kit Parts List

Tangent line problems

Project 16 Using an L293D Motor Driver IC

ARDUINO MICRO WITHOUT HEADERS Code: A000093

Sensors Provide Feedback to Real World Applications. Jared Gordon. Professor: Pushkin Kachroo. Transpotronics

PRE-LAB #4: Voltage-Divider-Based Cloud Detector

Alessandra de Vitis. Arduino

RoboClaw 120A/160A/200A Dual Channel Motor Controller

The Sonic Pyramid (AKA The All-Seeing Eye of Sound)

Mailbox Notification Service. Created by Adam Kohring

PROLON INSTALLATION AND START UP GUIDE

CONTENTS BIGAVR2 KEY FEATURES 4 CONNECTING THE SYSTEM 5 INTRODUCTION 6

MAGIXBOX TM. Quick Start Guide

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools

Lesson 5 Line tracking car

CODE 50108, 50110, 50164, 50165

Color 7 click. PID: MIKROE 3062 Weight: 19 g

ENGR 40M Project 4b: Displaying ECG waveforms. Lab is due Monday June 4, 11:59pm

THE COMPLETE ALL IN ONE ROBOT 360 NANO BOT

MAKE YOUR OWN WEB CAM MICROSCOPE

REQUIRED MATERIALS Epiphany-DAQ board Wire Jumpers IR Rangefinder Sensor LED Resistors Breadboard Multimeter (if needed)

TA0297 WEMOS D1 R2 WIFI ARDUINO DEVELOPMENT BOARD ESP8266

Physics 120/220. Microcontrollers Extras. Prof. Anyes Taffard

Score. Test. Issued. Date. Name:

Introduction to Arduino. Wilson Wingston Sharon

BASIC-Tiger Application Note No. 030 Rev A joystick for the Tiger. Gunther Zielosko. 1. Basics

Transcription:

Potentiometers Showcase your project! 1

week 05 Sensor 2: Photocells and Force Sensors Analog input and Processing 2

Photocell Force Sensitive Resistor Photocell Force Sensitive Resistor 3

Photocell Force Sensitive Resistor $0.01 $5.50 Photocell Force Sensitive Resistor 4

Potentiometers Variable resistor (a type of resistive sensor ) Pot for short When you need a ranged input Measures rotational position (knob for volume, light dimmer, etc.) pot resistor 5

Potentiometers It s like a faucet (if current is analog to water flow) Like any other resistor, but you can vary the amount of resistance Generally used for making a varying voltage (remember, Arduino measures voltage differences, not resistance differences) turned anticlockwise turned clockwise somewhere in the middle Illustration adapted from Tod Kurt s Spooky Projects with Arduino 6

Voltage Divider Potentiometer is a type of voltage divider. Illustration adapted from Tod Kurt s Spooky Projects with Arduino 7

Photocells (aka photoresistor) Brighter light == lower resistance Photocell 8

Force Sensitive Resistors More pressure == lower resistance 9

Force Sensitive Resistors Experiment with different pressure objects, sponge, plates, etc. 10

Working with Processing Arduino as an interface board 11

Arduino to Computer USB to serial chip Arduino microcontroller 12

Arduino to Computer Laptop Arduino board Arduino programmer or RX TX USB to serial driver USB USB to serial chip RX TX Arduino microcontroller Processing sketch or Java program or Program of your choice! Illustration adapted from Tod Kurt s Spooky Projects with Arduino 13

Processing Open source programming language and environment for images, animation, and interactions. 14

Processing 15

Processing and Serial Processing has a Serial library to talk to Arduino. 1. load library 2. set portname 3. open port 4. read/write port adapted from Tod Kurt s Spooky Projects with Arduino 16

In Class Exercise 17

Photocell and LED SinglePotControlsBrightness.txt SinglePotControlsBlinking.txt 18

FSR and LED SinglePotControlsBrightness.txt SinglePotControlsBlinking.txt 19

Processing Download and install Processing from processing.org 20

Processing and Arduino arduino_ball_paint Every time a number is received via the serial port, it draws a ball that size. Project adapted from Tod Kurt s Spooky Projects with Arduino 21

Assignment this week Programming Create an interesting visualization on your computer that could be influenced by the input from the sensors you have (pot, photocell, FSR, or combination of them). You can use Processing (or any other language you like) in writing the program. Post your results on the course website. Mechanical Create a mechanical construction for your FSR that distributes or focuses physical force that is applied. Think about everyday objects (toothpaste tube, entrance mat, paintbrush, pipette, etc.) and how you measure the pressure or force applied to them. 22

Supplement Readings Force sensitive resistors: Chapter 11 of Physical Computing Voltage divider: Chapter 6, pp. 102-108 of Physical Computing 23

Photocell and LED SinglePotControlsBrightness.txt SinglePotControlsBlinking.txt 24

Tuesday Week 5: Ambient Media LumiTouch [Chang, Resner et al., 2001] 25

Homework Programming Create an interesting visualization on your computer that could be influenced by the input from the sensors you have (pot, photocell, FSR, or combination of them). You can use Processing (or any other language you like) in writing the program. Post your results on the course website. Mechanical Create a mechanical construction for your FSR that distributes or focuses physical force that is applied. Think about everyday objects (toothpaste tube, entrance mat, paintbrush, pipette, etc.) and how you measure the pressure or force applied to them. 26

Thanks! 27