Computer Engineering Activities The Joystick Project BEIT 2003 Graham Smyth Yungsiow Yang Jerry Dolata Kevin Shea Ilana Smyth.

Slides:



Advertisements
Similar presentations
Wireless Cue Light Project
Advertisements

HOW TO MAKE UTP CAT-5/5e CABLE
US First Robotics Lab View Tutorials Jim Thomas Lawrence Berkeley National Laboratory Team 496 Port Jeff Powerhouse.
Club Car IQ Technical Information
Computer Engineering Activities Introduction to Interfacing Traffic Light Project SI 2003 Graham Smyth Yungsiow Yang Kevin Shea Jerry Dolata Ilana Smyth.
Amplifying Signals Breadboarding: from a diagram to an actual working amplifier.
Jason Howard. Agenda I. How to download robotc II. What is tele-op used for? III. How to build a basic tele-op program IV. Getting the robot to drive.
Interfacing Project. Computer Controlled Car Left Headlight – D0 Right Headlight – D1 Left Taillight – D2 Right Taillight – D3.
Assembly Manual Mike Fortney 04/09/2004 CricketSat Receiver.
MOOD LIGHT PCB ASSEMBLY V By Phil Townshend 2008.
PIC Programming with Logicator
CSC 405 Lab 1 - Building a Simple Combinatorial Circuit In this laboratory exercise you will learn about the layout of some small-scale integrated circuits.
Hands On: Cutting and Connectorizing UTP Chapter 3a Panko’s Business Data Networks and Telecommunications, 6 th edition Copyright 2007 Prentice-Hall May.
C OINS The coin operated binocular / telescope can accept most, though not all,coins into the coin chute. It can be program easily by yourself or you can.
Living with the Lab Using Your Arduino, Breadboard and Multimeter EAS 199A Fall 2011 Work in teams of two!
An Intro to Robots and Computer Programming
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.
Presented by Tim Surtell in association with
McGraw-Hill © 2008 The McGraw-Hill Companies Inc. All rights reserved. Electricity Principles & Applications Seventh Edition Chapter 4 Circuit Components.
BAE SYSTEMS PROPRIETARY – Internal Use Only Unpublished Work Copyright 2014 BAE Systems. All rights reserved. BAE Systems C2C SWAT Project Tutorial 4,
Experiment 3 Ohm’s Law.  The goals of Experiment 3 are:  To identify resistors based upon their color code.  To construct a two-resistor circuit using.
Embedded Programming and Robotics
Worksheet Assistance Color Coding Schematics VBloom.
The Electronics Kit TEE2O1 Mr. Payne’s Period 5 Room S111.
Objectives How Microcontroller works
Introduction to Interfacing Projects Nareen Khan.
Introductory Electronics Summer Institute 2004 Michelle Vidberg Peter Beens.
Summer Institute 2004 Chips and Gates An Introduction Linda Soulliere
Computer Engineering Remote Controlled Car Project ACSE 2006 Graham Smyth Jerry Dolata.
Vela NDU EAS Controller BEFORE connecting any hardware, verify that the NDU front power LED indicator is OFF. BEFORE connecting any hardware, verify that.
Basic Circuits Foundations of Technology Basic Circuits © 2013 International Technology and Engineering Educators Association, STEM  Center for Teaching.
Installation Guide for AC-1000RF & SA V1.6 Installation Guide for AC-1000RF & SA V1.6 Version Eng1.10 Jul., Union Community Co., Ltd.
Experiments Day 1 & 2 Resistors, Potentiometers and Photocells.
Experiments Day 1 Resistors.. Electronic Technology Definition: The technology of using small amounts of electricity for controlling, detecting, collecting,
BOOT MODE 1 BOOT MODE 2 BIOS COMMUNICATION DEFAULT CONTROLLER INVERT RELAY OPERATION ENABLE COMM FAIL RELAY CONTROL RELAY OFF / ON COMM.
Creating your first C++ program
First, let’s review the structure and use of a breadboard.
Basic Stamp OEM module By Wilmer Arellano. 2  The BASIC Stamp 2 OEM is a discreet component version of the BS2 which may be purchased in kit form. 
The seven layers of the OSI Model are: Basics of Networking.
Lab 1 : Introduction to LabView 1 Southern Methodist University Bryan Rodriguez.
Computer Hardware Technology
Castor Bot. Now, we will begin creating a robot Log onto your computer On your screen, click on the website labeled “castor bot” Your building instructions.
BAE SYSTEMS PROPRIETARY – Internal Use Only Unpublished Work Copyright 2014 BAE Systems. All rights reserved. BAE Systems C2C SWAT Project - WF32 Shield.
Network Anatomy By: Roland J. Boutte. Ethernet Cable cable used to connect computing devices together directly. two hosts or two switches to each other.
How to Make an Ethernet CAT5 RJ45 Crossover Cable
Chapter 5a. 5a-2 Single Twisted Pair Jacket Four pairs (each pair is twisted) are enclosed in a jacket. Copyright 2011 Pearson Education, Inc. Publishing.
Intro. Interfacing & Electronics 1 Interfacing Introduction.
By Joshua Shaw.  Now that we have a program, we should see how it works in the real world  To do this we need the Cortex and the orange USB cable 
An introduction to PIC’s for KS3 and KS4. Mr Rooks Hetton School.
LESSON 05 Using the Touch LED The Touch LED The purpose of this lesson is to introduce students to the Touch LED Sensor and how they can be used on a.
Building controller with joystick and buttons. put joystick together (keep things in order below)
Introducing Scratch Learning resources for the implementation of the scenario
Controlling an LED with a switch. 2 breadboard place where you can build electric circuits really quickly the magical breadboard.
Wireless Lighting control system
Arduino Uno – controlling LED strips
How to wire Ethernet Cables
Purpose of This Minilab
Wireless Cue Light Project
Starter Activity Instructions: Complete the starter sheet Planner
Introduction to Handshaking Communication with SSC-32U
Introduction to Handshaking Communication with SSC-32
Basics for Robotics Programming
Foundations of Technology Basic Circuits
8.0 Programmable Logic Controllers 1
Wiring the Light and Relay
Task 1 You are going to use the Makey Makey arrow inputs to create a joystick / games controller. Step 1: Connect Makey.
2019 Investing Now Summer Program
A modular robot for use in the RoboSumo lab
Presentation transcript:

Computer Engineering Activities The Joystick Project BEIT 2003 Graham Smyth Yungsiow Yang Jerry Dolata Kevin Shea Ilana Smyth

Computer Engineering Units Grades 10/11/12 1. Hardware 2. Networking 3. Integrated Circuits 4. Programming 5. Interfaces

Interfacing Activities Grade 12 One byte LED intersection Stop Lights AC? Vehicles Security systems Drag strips Music Boxes Joysticks Marquees GUIs/Mouse Control

Interfacing Activities

World’s Largest Portable Joystick

Claim ID: Membership Number: June 2003 Dear Mr Smyth Thank you for sending us the details of your recent record attempt for 'Largest Joystick'.I am afraid to say that we are unable to accept this as a Guinness World Record. Unfortunately our research team have concluded that your attempt does not conform to our manufactured articles guidelines as there is no commercially available joystick which looks like a small version of this. I appreciate that this may be disappointing to you, but I hope that this does not deter you from trying again. We are always keen to hear from people who wish to set a Guinness World Record. If you should need any advice regarding breaking an existing record or setting a new Guinness World Record please contact us again through our website or directly quoting the above membership number. Once again thank you for contacting Guinness World Records. We wish you every success with any future record-breaking endeavours. Yours sincerely, Sophie Whiting Records Research Services

Breadboard Architecture Connected High Fives Divider Low Fives

Computer Interface Peripheral Interfacing System Unit 5 Parallelport Wires ICs Resistors Capacitors Transistors LED's Motors Lights Robots Joysticks Software Hardware

Joystick Software Turing parallelput(number) - reads 8 pins put parallelget - reads 5 pins mousewhere(x,y,click) play(“CDEFG”) drawline(x1,y1,x2,y2,red) FREE!!!

Joystick Hardware Five male pins One D sub connector Cable 1 – D sub to Breadboard Cable 2 – Breadboard to Joystick One N.O. pushbutton One Doorstop Five Resistors (Brown/Black/Orange) Four Small pipes One Block of wood One Breadboard

Joystick Hardware - Resistor Joystick Hardware - Resistor (Five Required) Brown Black Orange Gold 1 0 X 10 3 Tolerance +-5%

Resistor Chart

Cable 1: D sub to Breadboard Male Pin Insulated Wire Large Crimp Tab Stripped Wire Small Crimp Tab

D sub to Breadboard Cable White/Green Green Brown Blue White/Brown Orange White/Blue White/Orange

Joystick Hardware : Parallelport View from back of Computer Output D0 – D7 Input I0 – I3 Input I4 Grounds

Joystick Hardware: Normally Open Switch Physical Schematic

Joystick Wiring Schematic Fire Button To D Sub Joystick

D Sub Connector Pin 10 Pin 18 D sub Connector Pin 15 Pin 13

D Sub Connector (with extraction wire)

D Sub Connector Colour Code Pin # Colour 2Brown 10Green 11Orange 12Blue 13 White/Green 15 White/Orange 18 White/ Blue

D Sub to Breadboard Cable Pin13 White/Green Pin12 BluePin11 Orange Pin10 Green Pin18 White/Blue Pin15 White/Orange Pin 2 Brown Total of seven wires from D sub connector

From D Sub to Breadboard Pin 2 to Upper Rail

Breadboard with Resistors Resistors to Top Rail Brown/Black/Orange Resistors to Any Column

D Sub to Breadboard Cable To Pin11 (Orange) To Pin12 (Blue) To Pin13 White/Green To Pin18 White/Blue To Pin15 White/Orange To Pin 2 Brown Total of seven wires from D sub connector To Pin 10 Green

Joystick – Top View Fire Button Top Rail Left Rail Right Rail Bottom Rail Joystick

Joystick Cable 1. Run the White/Orange and the White/Blue wire into fire button hole 2. Attach the White/Orange wire to one pin of fire button 3. Attach the White/Blue wire to the second pin of fire button

Joystick Cable continued 4. Attach a short White/Blue wire to the second pin of fire button 5. Run the other end of this White/Blue wire into the joystick hole 6. Insert the fire button into the block 7. Wrap short White/Blue wire around the screw in the base of the door stopper 8. Screw base of door stopper into the bottom of the joystick hole

Joystick Cable continued 9.Run the Green, Orange, Blue, and White/Green wires into the joystick hole 10. Wrap Green wire around Top rail 11. Attach Orange wire around Bottom rail 12. Attach Blue wire around Left rail 13. Attach White/Green wire around Right rail 14. Screw door stopper into base 15. Insert the 4 rails into their appropriate locations

Connecting Joystick to Breadboard Method: Match the colour of the seven wires already in the breadboard with the colour of the six wires coming from the joystick. Next diagram is messy, sorry

Joystick to Breadboard Six wires from Joystick Previous seven wires from D Sub

End of Hardware Start of Software

Inputting Software Assignment 1 Write a program that will continuously scan for input values from the parallelport.

Inputting Software Code 1 parallelput(1) loop% Start of infinite loop. put parallelget% Returns input pin values. end loop% End of loop.

Inputting Data Matrix: Part 1 PartPositionParallelget Value 1Neutral 2Up 3Down 4Left 5Right 6Up/Left 7Up/Right 8Down/Left 9Down/Right

Inputting Data Matrix: Part 2 PartPositionParallelget Value 10Fire/Neutral 11Fire/Up 12Fire/Down 13Fire/Left 14Fire/Right 15Fire/Up/Left 16Fire/Up/Right 17Fire/Down/Left 18Fire/Down/Right

Inputting Software Assignment 2 Write a program that will: Display “UP” when the joystick is moved up Display “DOWN” when the joystick is moved down Display “LEFT” when the joystick is moved left Display “RIGHT” when the joystick is moved right etc

Inputting Software Solution Assignment 2 parallelput(1) var value : int loop value := parallelget if value = ______ then put “UP” elsif value = _____ then put “DOWN” etc

Inputting Software Assignment 3 Write a program that will: Draw 8 arrows (compass points) and a fire button Randomly highlight one of the 8 arrows and/or the fire button Time how long it takes the user to match the prompt with the corresponding joystick movement Repeat 20 times Output the total time taken for all 20 matches ?????? Additions ??????

More Hands-On Activities Keyboard Intersection Robot World’s Largest Joystick

Addresses