Get Your Project Started with Arduino

Slides:



Advertisements
Similar presentations
EMS1EP Lecture 8 Pulse Width Modulation (PWM)
Advertisements

Servo Background Servos provide control of rotary position Servos are used extensively in the remote control hobby world for: Aircraft (flaps, ailerons,
Servos The material presented is taken from a variety of sources including:
Panasonic EVE-KC2F2024B 24 pulses per revolution 6mm diameter flattened output shaft output type: quadrature (incremental) minimum life: 15,000 rotations.
Living with the Lab Using servos with an Arduino EAS 199A Fall 2011.
1 Servo Motor. 2 Overview A servo motor is a motor that is only capable of rotating 180 degrees A servo motor is controlled by giving it an angle to proceed.
Working with Arduino: Lesson #1: Getting Acquainted with the Kit EGN1007.
Manufacturing Advanced Design Applications Manufacturing © 2014 International Technology and Engineering Educators Association, STEM  Center for Teaching.
Using Hobby Servos with the Arduino living with the lab © 2012 David Hall.
Servos The material presented is taken from a variety of sources including:
Arduino Circuits and Code. int ledPin = 9; void setup() { pinMode(ledPin, OUTPUT); } void loop() { digitalWrite(ledPin, LOW); delay(1000); digitalWrite(ledPin,
1 - Remove LED from 13 and GND - Bring out your breadboard from HW#4 Arduino Overview:
Microcontroller Hands-on Workshop #2 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers October 31, 2009.
Arduino Training New Mexico Mathematics, Engineering, and Science Achievement (NM MESA) Getting Started.
Line following tips photoresistors positioned near floor photoresistor circuits © 2011 LWTL faculty team living with the lab.
INTERNET OF EVERYTHING SDU 2016 Week 4. Simple Digital and Analog Inputs  The Arduino’s ability to sense digital and analog inputs allows it to respond.
SAMI MAKERSPACE MAKE: AN ELECTRONICS WORKSHOP. SERVOS Precise rotations.
Microcontroller basics Embedded systems for mortals.
Robotics Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning in Mechatronics Technology.
Istituto Tecnico Industriale A.Monaco EURLAB Control a Servo Motor If you want to swing an robot arm or … steer a robot you need a special motor (Servo).
Controlling an LED with a switch. 2 breadboard place where you can build electric circuits really quickly the magical breadboard.
Microcontroller basics Embedded systems for mortals.
CSE 341 Project : Ultrasonic Radar PRESENTED BY: NAME : AKIFA TASNEEM ID : SECTION: 02 1.
Robotics Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning in Mechatronics Technology.
What is Arduino? It's an open source electronics prototyping platform: Open source: resources that can be used, redistributed or rewritten free of charge,
Having fun with code, using Arduino in a middle school CS classroom
Microcontroller basics
Get Your Project Started with Arduino
By Rick Darby Sponsors: Geekspace Gwinnett The WorkSpot
Prototyping Home Automation Concepts
Controlling Servos with the Arduino
Assist. Prof. Rassim Suliyev - SDU 2017
CU ATLAS Practical electronics Motion and Servos
Prototyping with Microcontrollers and Sensors
Microcontroller basics
If you want to swing an robot arm or …
Microcontroller basics
Servo Motor.
Using servos.
Wireless Cue Light Project
Get Your Project Started with Arduino
Introduction to Handshaking Communication with SSC-32U
Arduino motor control using servo & ultrasonic sensor
UCD ElecSoc Robotics Club 2017/2018
Lab 1: Arduino Basics Topics: Arduino Fundamentals, First Circuit
Building Raspberry Pi Controllers with Python
3.0 ARDUINO WORKSHOP PRESENTATION FOR STUDENTS IN 4º DEGREE OF COMPULSORY SECONDARY EDUCATION 3.0.
Arduino - Introduction
Control a motors angular position with a flex sensor
Introduction to Arduino Microcontrollers
Get Your Project Started
Roller Coaster Design Project
Schematic Diagrams: Electrical Component Symbols
Introduction to Arduinos
All you wanted to know about Arduino (and somethings you didn’t)
What is Arduino? By James Tedder.
Ultrasonic Distance Sensor
Arduino 101 Credit(s):
Working with Arduino: Lesson #1: Getting Acquainted with the Kit
Chapter 5 Servomotor.
Interfacing a Rotary Encoder with an Arduino
Arduino Part 4 Let there be more light.
Sensors and actuators Sensors Resistive sensors
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Arduino Motor Lab Inspired by NYU ITP project
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Multiplexing seven-segment displays
Arduino Uno circuit basics
Setting up a basic program with Arduino
Servo Motor.
Presentation transcript:

Get Your Project Started with Arduino Class 3: Arduino and Physical Computing June 11, 2014 Don Wilcher

Arduino and Physical Computing Topics What is Physical Computing? Make: Basic Arduino Book example Let’s Make a Tilt Sensing Servo Motor Controller!

What is Physical Computing? Definitions “The interaction between a human, an electronic circuit, and a sensor is physical computing.” [1] “Physical computing is about creating a conversation between the physical world and virtual world of the computer.” [2]

What is Physical Computing?... References [1] Learn Electronics with Arduino, Wilcher, D., Apress, 2012 [2] Physical Computing, Sullivan, D, and Igoe, T., Thomson Course Technology, 2004

Make:Basic Arduino book example

Let’s Build a Tilt Sensing Motor Controller Chapter 3. Tilt Sensing Servo Motor Controller In this chapter, we’ll build a gadget to easily detect object orientation using a tilt control switch to control a servo motor.

Tilt Sensing Motor Controller Block Diagram

Tilt Sensing Motor Controller Prototype

Tilt Sensing Motor Controller BOM Parts List Arduino microcontroller SW1: tilt control switch JI: servo motor R1: 1K ohm resistor (brown, black, red stripes) Pair of alligator test leads or equivalent Full-size clear breadboard

Tilt Sensing Motor Controller Fritzing Wiring Diagram

Tilt Sensing Motor Controller Circuit Schematic Diagram

Tilt Sensing Motor Controller Sketch /* This sketch controls a servo motor using a tilt control switch! * * 12 December 2012 * by Don Wilcher */ #include<Servo.h> // include Servo library int inPin = 2; // the tilt control switch is wired to Arduino D2 pin int reading; // the current reading from the input pin Servo myservo; // create servo motor object void setup() { myservo.attach(9); // attach servo motor to pin 9 of Arduino pinMode(inPin, INPUT); // make pin 2 an input } void loop() reading = digitalRead(inPin); // store digital data in variable if(reading == HIGH) { // check digital data with target value myservo.write(180); // if digital data equals target value, // servo motor rotates 180 degrees delay(15); // wait 15ms for rotation else { // if reading is not equal to target value, myservo.write(0); // rotate servo motor to 0 degrees delay(15); // wait 15ms for rotation