Introduction to Handshaking Communication with SSC-32U

Slides:



Advertisements
Similar presentations
Interfacing Lab Part Guide. The Solderless Breadboard Rows along the top and bottom are connected horizontally along the length of the board Holes in.
Advertisements

Engineering Roles We will be forming groups of 3 students
» When you have completed this module you will know, what components do, what they physically look like and how they are represented in a circuit diagram.
MICROCONTROLLERS MODULE 2 Programming, Controlling and Monitoring.
Photos and Sensor Instructions
Connecting VEX and ROBOTC
Working with Arduino: Lesson #2: Variable, Photo, and Force Sensitive Resistors EGN1007.
George Washington University DC Circuits Lab Professor Ahmadi ECE 002.
Embedded Programming and Robotics Lesson 1 Basic Electricity and Electronics Transistor Basics Lesson 1 -- Basic Electricity1.
Using Your Arduino, Breadboard and Multimeter Work in teams of two! living with the lab 1 © 2012 David Hall.
Vex 1.0 © 2005 Carnegie Mellon Robotics Academy Inc. Touch Sensor This lesson will explain how to hook a standard micro switch into the Vex system to function.
Embedded Programming and Robotics
Dean Brock, Rebecca Bruce and Susan Reiser, CCSC SE 2009 Using Arduino Material taken from Todbot blog Bionic Arduino Todbot blog Bionic ArduinoTodbot.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Segway Controller Notes. = connection on top layer of circuit board = connection on bottom layer of circuit board Ground Plane: Areas enclosed by the.
Summer Institute 2004 Chips and Gates An Introduction Linda Soulliere
MICRO CONTROLLER MODULE 1. Learning Objectives Name some gadgets that use microcontrollers. Define a microcontroller. Differentiate between a computer.
First, let’s review the structure and use of a breadboard.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
Photos and Sensor Instructions
Lynxmotion Robotic Arm
Introduction to Handshaking Communication
Basic Equipment and Schematic Reading. Objectives Learn the basic equipment that will be used in the Lab. Learn some of the basic symbols used on electrical.
Data Acquisition Device (DAQ) A DAQ is a cool little device that allows you to interface hardware to a computer. Here is what we will do:  Create a square.
An introduction to PIC’s for KS3 and KS4. Mr Rooks Hetton School.
Lynxmotion Robotic Arm © 2013 Project Lead The Way, Inc.Computer Integrated Manufacturing
 A transistor is the basic building block of electronic components.  The average computer may have millions of them within its circuits.  Essentially,
Connect VEX and ROBOTC Electrical Engineer Responsibilities © 2011 Project Lead The Way, Inc.Automation and Robotics VEX.
Controlling an LED with a switch. 2 breadboard place where you can build electric circuits really quickly the magical breadboard.
1 Transistor. 2 Transistors are used to turn components on and off They come in all different shapes and sizes.
ROBOTC for CORTEX Teacher Training © 2011 Project Lead The Way, Inc. Automation and Robotics VEX.
Pick N Place Robot. Pick N Place Robot Introduction:  Pick and Place robot is the one which is used to pick up an object and.
Having fun with code, using Arduino in a middle school CS classroom
Electrical Engineer Responsibilities
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
The Breadboard The Breadboard Digital Electronics TM
Build on a Breadboard Simulator
Lynxmotion Robotic Arm
Purpose of This Minilab
Breadboarding and Electronic Components
FlowArm PLTW Motions Computer Integrated Manufacturing
Electrical Engineer Responsibilities
Breadboarding and Electronic Components
Arduino Development for Beginners
Pulse Detector Ramiro Duarte, Clayton Greenbaum Frank Paynter
Introduction to Handshaking Communication with SSC-32
FlowArm PLTW Programming
Electrical Engineer Responsibilities
Programming Design ROBOTC Software Computer Integrated Manufacturing
Breadboarding and Electronic Components
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
fischertechnik® RoboPro Software for Gateway To Technology® RoboPro
Electrical Engineer Responsibilities
The Breadboard The Breadboard Digital Electronics TM
Circuits Lab Introduction
Internet-of-Things (IoT)
TECH 1 BAMS Technology Education
Digital Electronics Lab 2 Instructor:
How a Breadboard Works Teacher Notes: This picture depicts the connections on a breadboard. A breadboard is a device used to make simple electrical connections.
Basic circuits Electrical circuits Electrical properties Ohm’s law
Copier Jam Detector Design Problem
Breadboarding and Electronic Components
Introduction to Wiring Logic Gates
Arduino Part 4 Let there be more light.
Photos and Sensor Instructions
The Breadboard The Breadboard Digital Electronics TM
Intro to Arduino Part 2 The Breadboard
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
2019 Investing Now Summer Program
Presentation transcript:

Introduction to Handshaking Communication with SSC-32U Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

Table of Contents Definition Signal Compatibility Components Optical Isolator Resistors Breadboards Communications: Lynxmotion to Lynxmotion Lynxmotion to VEX® VEX® to Lynxmotion VEX® to VEX® Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

Handshaking Handshaking is the process of communication that occurs between a robot and another piece of equipment in a work cell. Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

Handshaking This is a very simple form of communication A signal is sent from one machine to the robot or from the robot to a machine Can also be between two robots or two machines This signal is a simple “on” or “off” – in digital terms, a 1 (on) or a 0 (off). Did you ever notice that the symbol for an on/off switch is a “1” inside of a “0”? Check the computer you’re sitting at! Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

When Is It Used? When a part feeder is empty When a part is available for pick up or delivery When an operation is completed Communication between devices in a work cell is very important. A robot needs to know when to pick up a part, drop it off, or perform an operation. How many different forms of handshaking could be performed in the cell above? Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

Signal Compatibility When two machines talk, signals should be isolated to protect the machines from incompatible signals Optical Isolators and Relays are used to do this Some devices that we use operate use a 7.2 V signal, some use 5 V signals, and still others use a 3.3 V signal. What would happen if a 3.3 V signal is sent to a machine designed to receive a 7.2 V signal? It might not be a high enough voltage to interpret this as an “on” status. A 7.2 V signal is sent to a device designed to receive a 3.3 V signal could damage equipment. An interface, such as an optical isolator, between these machines is a more safe and reliable communication system. Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

Components: Optical Isolators An Optical Isolator sends a signal as a light pulse from an LED (1 & 2) on the input side The output side of the circuit senses the light and sends an electrical signal (4 & 6) Optical Isolators, or Optoisolators, use a small Infrared, IR, LED connected to the input side of the circuit. When voltage is applied, the LED shines on an IR sensor on the output side. This sends an “on” signal without a voltage just like closing a switch. This action just completes the circuit. 4N25 Optoisolator 1 2 3 6 5 4 Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

Components: Resistor A resistor is used to limit the amount of current to another component like the optical isolator Red = 2 A resistor is a component that resists electrical current. We use it to limit the current going to the optical isolator. + Red = 2 + Brown = 0 Gold ± 5% 220 Ω ± 5% Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

Components: Breadboards A breadboard is used to: Create a simple circuit without soldering Keep wires as short as possible Use as few wires as possible Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

Components: Breadboards The five holes of each row are electrically connected On the breadboard shown the five holes in a numbered row are connected internally, but the groups of columns labeled a–e and f–j are not. Components such as a microchip must be placed to straddle the middle gap, or pins will be short-circuited. Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

Components: Breadboards The holes of each column of the bus bars are electrically connected The pairs of columns on both sides of the breadboard are connected vertically and are called bus bars. These are not used for handshaking. Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

Communication Between Devices This circuit will be used to handshake between machines Output Device Input Device Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

Basic Circuit for Communications The five holes of each row are electrically connected 220 Ω Signal (Yellow or White) 1 2 3 6 5 4 A C B E (Not Connected) Ground (Black) Signal (Yellow or White) (Not Connected) Ground Black 4N25 Optoisolator Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

Lynxmotion to Lynxmotion Communication Example: When two robots have to perform a task at the same time or When one robot needs to wait for another to complete a task Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

Lynxmotion to Lynxmotion Communication Direction Input A Input A In the example above, the Lynxmotion robotic arm on the left uses pin A as an input for the switch to start the program from the beginning, although the black wire must always face the outer edge of the SSC-32U board. The same robotic arm uses pin 15 as an output. Any output, 8-15, can be used for this purpose. The black wire, ground, must always connect to the pin closest the outer edge of the SSC-32U board. The Lynxmotion robotic arm on the right waits for this signal on input pin A in the image shown above. Output 8-15 Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

VEX® to VEX® Communication Example: When one machine completes an operation in a sequence, it can let the next machine know when it is safe to begin the next operation In this example, a drill press and a grinder made out of VEX components are used. Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

VEX® to VEX® Communication From VEX Cortex 1 + To VEX Cortex 2 + Note that the bottom circuit is same as top circuit, except it is rotated 180 degrees To VEX Cortex 1 + From VEX Cortex 2 + Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

VEX® to VEX® Communication Communication Direction Digital port 1, 2, 3 Digital port 1, 2, 3 Motor port 1 Motor port 1 Cortex 1 In the image above, the VEX Cortex on the left receives a input from the switch on digital port 1. Notes that any of the digital I/O ports can be used provided that it is configured within the ROBOTC program. NEVER USE A MOTOR PORT AS AN OUTPUT FOR COMMUNICATIONS. The same Cortex outputs a signal from digital pin 2 configured as a digital output in ROBOTC®. The Cortex on the right receives a signal from the other Cortex on digital port 1 configured as a digital input in ROBOTC. The same Cortex on the right outputs a signal from digital port 2 to Cortex on the left. The Cortex on the left receives this signal on digital port 3. The Cortex on the right outputs power to the motor from motor port 1. This is the only use of a motor port in this example. All other connections are made using digital ports. Keep the wires as short as possible, and use as few wires as possible when breadboarding. This will make it much easier to troubleshoot! Arrows in the diagram above show direction of communication. When using a VEX component to communicate with another VEX component, the signal to the second component gets inverted due to the optical isolator. You will need to compensate for this when developing a program in ROBOTC. Cortex 2

Lynxmotion to VEX® Communication Machines can be simulated with VEX components and can easily communicate with your Lynxmotion robotic arm. Example: When a robot places a part on a conveyor, it can tell the conveyor when it is done Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

Lynxmotion to VEX® Communication From switch To VEX Cortex From Lynxmotion + Install male headers to adapt PWM cable Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

Lynxmotion to VEX® Schematic Communication Direction Digital port1 Input A The red arrows denote direction of communication. Remember to keep the wires as short as possible, and use as few wires as possible when breadboarding. This will make it much easier to troubleshoot! X Output 8-15 Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

VEX® to Lynxmotion Communication Example: When a machine completes an operation, it can tell the robot that it is finished and that the robot may come and pick up the part. The example above might be a buffer or a grinder. Example: When a machine is performing an operation, it can tell the robot when the operation is complete and it is safe to retrieve the part Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

VEX® to Lynxmotion Communication Robotic Arm From VEX Cortex + Install male headers to adapt PWM cable Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.

VEX® to Lynxmotion Communication Communication Direction Digital port 1 and 2 X Input A In this example the VEX Cortex receives a signal on digital port 1. Digital I/O ports 1-12 can be used for this purpose. The Cortex outputs a signal to a Lynxmotion Robotic arm. Arrows denote the direction of the communication. The digital port 1 is used to output the signal and is configured as a digital output. The SSC-32U on the Lynxmotion robotic arm waits for this signal on input pin A. Remember to keep the wires as short as possible, and use as few wires as possible when breadboarding. This will make it much easier to troubleshoot! Programming is done in ROBOTC® by configuring a digital I/O port as an Output and then using the command SensorValue[]==1 and SensorValue[]==0 to send the signal. See the example in the Teacher Notes. Computer Integrated Manufacturing © 2016 Project Lead The Way, Inc.