ManCyc4 Presentation 1.1
Download
Report
Transcript ManCyc4 Presentation 1.1
ADAVANCED DESIGN APPLICATIONS
UNIT 4: MANUFACTURING
Learning Cycle Four – In Control
© 2015 International Technology and Engineering Educators Association
The BIG Idea
Big Idea:
Systems involve simple and
complex technologies working
together to control or
accomplish a task.
© 2015 International Technology and Engineering Educators Association
Objectives
After completing this
learning cycle, you will be
able to:
Describe how a microprocessor
is used to control devices and
systems and to provide
information to humans.
Write a program to control a
“positionable” motor.
© 2015 International Technology and Engineering Educators Association
Computer Integrated
Manufacturing
The integration of computers
into manufacturing
Reduces
Costs
Producing designs
Packing
Shipping
Time and effort of workers
Provides repeatability
Safe, economical, timely
© 2015 International Technology and Engineering Educators Association
Computer Integrated
Manufacturing
Computer Aided Design
(CAD)
Create, modify, and
design products
Quickly alter drawings
http://www.deskeng.com/de/which-graphics-card-is-right-forcomputer-aided-design/
© 2015 International Technology and Engineering Educators Association
Computer Integrated
Manufacturing
Computer Numerical Control (CNC)
Program basic machine
motions
Uses programming to
perform a process
Simulate a process to
identify errors
http://tex.org/what-is-a-cnc-machinist-and-what-do-they-do/
© 2015 International Technology and Engineering Educators Association
Computer Integrated
Manufacturing
Computer Aided Manufacturing (CAM)
Interface into
management and
control of
manufacturing
Better control of
scheduling and
inventory
© 2015 International Technology and Engineering Educators Association
http://www.fashion-writings.com/computer-aided-design-engineeringmanufacturing/
Exploration
Microprocessors
Control all kinds of motors
Inkjet print head
DVD automatic eject
feature
Used during manufacturing
Automate processes
© 2015 International Technology and Engineering Educators Association
Explain
Stepper Motors
Require complex
control circuitry
Servo Motors
Stepper motor
with
additional control
circuitry
© 2015 International Technology and Engineering Educators Association
http://files.tested.com/photos/2013/06/12/48912arduinouno_r3_front.jpg
Basic Servo
Programming the UNO R3
Sending brief “high” signals
Repeatedly sent every 20 ms
Last between 1-2 ms
Length determines position
Servo Motor
Moves through an arc of 180
degrees
Moves through an arc of 180
degrees in opposite direction
© 2015 International Technology and Engineering Educators Association
Review of Schematic
Symbols
560 Ohm
P9
GND
P9
GND
© 2015 International Technology and Engineering Educators Association
An Explanation of the Program
This part of the program implements the
“servo” library of the Arduino
Programming Language. It allows
commands that move the servo to be
used.
#include <Servo.h>
© 2015 International Technology and Engineering
Educators Association
An Explanation of the Program
This creates a new servo named: “myservo”
and sets its position to 0.
Servo myservo;
int pos = 0;
© 2015 International Technology and Engineering
Educators Association
An Explanation of the Program
This tells the Arduino that the servo output
will be on pin 9.
void setup()
{
myservo.attach(9);
}
© 2015 International Technology and Engineering
Educators Association
An Explanation of the Program
“for” loops are used to deliver a certain number of
pulses to the servo motor, which cause the servo
motor to hold a position for a certain amount of
time. This loop delivers 180 pulses.
A jumper wire, resistor, and LED are all connected in
Pin 9. All are receiving signals through this Pin.
for(pos = 0; pos < 180; pos += 1)
{
myservo.write(pos);
delay(15);
}
© 2015 International Technology and Engineering
Educators Association