Final Design Review By: Alireza Veiseh Anh-Thu Thai Luai Abou-Emara Peter Tsang.

Slides:



Advertisements
Similar presentations
IO Interfaces and Bus Standards. Interface circuits Consists of the cktry required to connect an i/o device to a computer. On one side we have data bus.
Advertisements

INPUT-OUTPUT ORGANIZATION
RADIO FREQUENCY BASED SERIAL COMMUNICATION..
Chapter 10 Input/Output Organization. Connections between a CPU and an I/O device Types of bus (Figure 10.1) –Address bus –Data bus –Control bus.
By: Russ Butler ECE4220 Spring 2012 Dr. DeSouza May 2, 2012.
DATA COLLECTION USING ZIGBEE NETWORK Timothy Melton Moscow, ID.
Shift Register Application Chapter 22 Subject: Digital System Year: 2009.
EUT 1040 Lecture 10: Programmable Logic Controllers.
OutLine Overview about Project Wii Robot Escaper Robot Problems and Solutions Demo.
RADIO FREQUENCY MODULE. Introduction  An RF module is a small electronic circuit used to transmit and receive radio signals.  As the name suggests,
Initial Position Orientation Tracking System (IPOTS) Group Members: Keiichi McGuireHenry Pham Marc TakamoriScott Spiro.
Guitar Effects Processor Critical Design Review October, 07, 2003 Groups Members: Adam Bernstein Hosam Ghaith Jasenko Alagic Matthew Iyer Yousef Alyousef.
1 Electrical and Computer Engineering Guitar Virtuos Justin D’Alessandro (EE) Jacob Dionne (CSE) Adam Montalbano (CSE) Jeffrey Newton (EE) Team Kelly Final.
Senior Project Design Review Remote Visual Surveillance Vehicle (RVSV) Manoj Bhambwani Tameka Thomas.
7-1 Digital Serial Input/Output Two basic approaches  Synchronous shared common clock signal all devices synchronised with the shared clock signal data.
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
Configuration. Mirjana Stojanovic Process of loading bitstream of a design into the configuration memory. Bitstream is the transmission.
1 Application Accessory For Cellular Phone - Final Presentation - Performed by: Omer Kamerman Avi Feldman Project instructor: Boaz Mizrachi Technion –
Design of an Obstacle Avoidance Vehicle Frank Scanzillo EECC657.
Input/Output and Communication
Software Defined Radio Brad Freyberg, JunYong Lee, SungHo Yoon, Uttara Kumar, Tingting Zou Project Description System Design The goal of our project is.
Abstract Home gardening is still largely more art than science. While sensor solutions exist for professional farmers, few cheap and convenient devices.
PC 232 Serial Ports Ports –Connectors at back of PC –Plus related internal electronics to send/receive PC 232 Serial Port –Follows EIA/TIA 232 standards.
INPUT-OUTPUT ORGANIZATION
The Electronic Badge System Chia-yang Hung Frans Faizal Man Hing Wong.
Electronic Compass PIC Processor RF Transceiver Sonar Range Finder RF Transceiver XSV 300 Board Tank Remote Control PC Tank Side: Remote Component User.
INPUT/OUTPUT ARCHITECTURE By Truc Truong. Input Devices Keyboard Keyboard Mouse Mouse Scanner Scanner CD-Rom CD-Rom Game Controller Game Controller.
Computer Architecture Lecture 08 Fasih ur Rehman.
Serial Peripheral Interface Module MTT M SERIAL PERIPHERAL INTERFACE (SPI)
331: STUDY DATA COMMUNICATIONS AND NETWORKS.  1. Discuss computer networks (5 hrs)  2. Discuss data communications (15 hrs)
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 4. Peripherals Input Devices Keyboard Mouse Scanners Microphone Digital.
1 Long-Distance Communication. 2 Illustration of a Carrier Carrier –Usually a sine wave –Oscillates continuously –Frequency of carrier fixed.
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
4.0 rtos implementation part II
Introduction to Data communication
Input/Output mechanisms
Software; Nature, Capabilities and Limitations: describe the need for interfacing with peripherals storage devices, input and output devices and display.
Team Members: Ruichen Zhao Xhoua Lor Jen-Yuan Hsiao John Marion.
AMMAR HAJ HAMAD IZZAT AL KUKHON SUPERVISOR : DR. LUAI MALHIS Self-Driven Car.
 Timing between LabVIEW 7.1 and phased array hardware  Designing inexpensive yet accurate variable delay lines  Controlling 8 serial inputs through.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Autonomous Robot Project Lauren Mitchell Ashley Francis.
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
Cisco S2 C4 Router Components. Configure a Router You can configure a router from –from the console terminal (a computer connected to the router –through.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
(More) Interfacing concepts. Introduction Overview of I/O operations Programmed I/O – Standard I/O – Memory Mapped I/O Device synchronization Readings:
RED ROVER Team CPNE Crossen Davis Peter Ramer Nancy Robinson Eric Rodriguez.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Audioprocessor for Automobiles Using the TMS320C50 DSP Ted Subonj Presentation on SPRA302 CSE671 / Dr. S. Ganesan.
Chapter 24 Transport Control Protocol (TCP) Layer 4 protocol Responsible for reliable end-to-end transmission Provides illusion of reliable network to.
1 Transmission of Digital Data : Interface and Modems.
NS Training Hardware Traffic Flow Note: Traffic direction in the 1284 is classified as either forward or reverse. The forward direction is.
FUNDAMENTALS OF NETWORKING
Lecture 4 General-Purpose Input/Output NCHUEE 720A Lab Prof. Jichiang Tsai.
Preliminary Design Review By: Alireza Veiseh Anh-Thu Thai Luai Abou-Emara Peter Tsang.
Voice Controlled Home Automation System Group 13 Zhe Gong Hongchuan Li.
LonWorks Introduction Hwayoung Chae.
박 유 진.  Short RF Range(~10m)  Reduce range by obstruction  Low data rate(1Mbps)  Normal Audio data rate : 1.5 Mbps  CD Quality Audio data rate :
Michael Rahaim, PhD Candidate Multimedia Communications Lab
Input/Output and Communication
Chapter 11: Inter-Integrated Circuit (I2C) Interface
OBJECTIVE AND FEATURES:
CS 286 Computer Organization and Architecture
Zigbee Networks Using Xbee Modules
This chapter provides a series of applications.
Serial Communication Interface
Manual Robotics ..
Chapter 13: I/O Systems.
William Stallings Computer Organization and Architecture
Presentation transcript:

Final Design Review By: Alireza Veiseh Anh-Thu Thai Luai Abou-Emara Peter Tsang

Goal: –To allow students to learn basic programming concepts by controlling movements of a toy tank via a set of instructions. Introduction

Parts List Requirements Design Scheme Modules: – Electronic Compass – Radio Frequency Module – Oscillator – Sonar Ranging Module – XSV-300 – Remote Control – User Interface Reviewer Comments Current Status Overview

Parts List Part Name ManufacturerPart #SupplierCost TankHobby Zone2050CSE lab$99.95 CompassPrecision NavigationV2XCSE lab$49.95 Virtual Wire Development KitRF MonolithicDR1004-DKCSE labNo Sonar Ranging KitPolaroidR CSE labNo XSV-300 BoardXilinxXSV300CSE labNo PICMicro-ChipPIC16F876CSE labNo Oscillator FOXF1100ECSE labNo TransistorsRadio Shack Self-Supl.$2.69 ResistorsUnknown CSE labNo CapacitorUnknown CSE labNo PCDell Unknown CSE labNo WoodHome DepotUnknownSelf-Supl.$30.00 BatteriesRadio ShackAlkaline DSelf-Supl.$7.00

Table 1: Part specifications of the central and the remote component Requirements

Design Scheme Sonar: –Is used to measures the distance of the tank to the border of the world Compass: –Calculates the current heading of the tank, and sends it to the PIC PIC: –Processes and formats the input from the sonar or the compass –Sends the formatted packets to the RF transceiver RF transceiver: –Transmits packets from the remote component to the central component PC: –Runs the user interface application to send commands to the XSV-300 board XSV-300 board: –Processes the inputs from the PC and the RF transceiver –Control movements of the tank Tank remote control: –Commands the tank to move or to turn

Compass: –Operates in slave mode –Performs I/O in binary format PIC: –Resets compass –Polls data periodically from the compass –Receive interrupt from EOC –Provides the clock for the compass –Reads data from SDO Compass – PIC Interface

RF Transceiver: –Communicates using RS232 protocol with peripheral devices (PIC and XSV-300) PIC: –Periodically retrieves data from the compass and the sonar –Encodes them separately into specific format that RF requires –Sends them to RF for transmission RF Transceiver – PIC Interface

Oscillator: –Provides the clock for PIC (20 MHz) Oscillator – PIC Interface

Sonar-PIC Interface Sonar: –Operates in single-echo mode. –Transmits sound wave and gets the echo reflected off of the border. PIC: –Triggers the input signal of the sonar module and turn on its timer at the same time. –Receives the interrupt from sonar and turns off the timer. –Calculates the distance of Etank to the border using the response delay.

User sends a destination to the XSV-300 using a PC application. It is sent as a (command, units) pair through the parallel port. –Commands: Move forward Move backward Turn right Turn left. –Units: Degrees if a command is to turn Millimeters if a command is to move forward or backward PC to XSV-300 Interface PC Application Command, Units XSV

When a new destination from a user is received, XSV will capture and decode data from Etank and determine how to control the tank. Serial signal: ^ ^ ^ Each byte in a serial transmission is preceded by a start bit, point 1 above. Data is sampled at the center of each bit, like points 2 and 3 above. XSV-300 Capturing Data From Serial

Each RF data packet is composed of eight bytes. Contained within the packet are the device ID and current position of tank. Other bytes are not used for controlling the tank. –Device ID: Used to discriminate which packets are relevant to the current command. For example, commands for turning only need data from the compass. –Current position: Used to determine whether the tank has reached it’s destination. XSV-300 Decoding Data From Serial

Steps taken when the XSV receives a new command: 1. Assert a busy signal to the PC. 2. Capture the initial position of the tank. 3. Calculate the destination of the tank. (i.e. the angle or the distance from a wall the tank needs to be at.) 4. Assert appropriate pins to control movement of tank. 5. Low the busy signal when destination is reached. If the tank’s position is stuck within a set tolerance for more than two seconds, all movement is halted. Accuracy of reaching final destination - +/- 8 degrees for turning. - +/- 305 millimeters for forward or backward movement. XSV-300 Controlling Tank Movement

PC -- XSV Remote Control Interface PC: –Sends to XSV-300 board one set of instructions at a time: Forward, distance Backward, distance Left, angle Right, angle XSV-300 board: –Processes the data received from the remote component -Controls the remote control using four pins

Etank’s Remote Control Channels Channels: -Four output bits control the channel -Each bit controls a channel as shown below: Command LBRBLFRF Move Forward 0011 Move Backward 1100 Turn Left 1001 Turn Right 0110

User Interface Will be a GUI application that allows a user to send instruction to Etank Will be programmed in C++ Will communicate through the parallel port using the DLportIO.lib and DLportIO.dll interfaces, which we studied in CSE467

User Interface (cont.)

Parallel Port Communication –Comment: It is better to buffer the input from the parallel port. –Explanation: We implemented it. Serial Method –Comment: Choose between the two types of serial port communication methods: »Use a PIC processor to capture one byte of data at a time and have it sent off to the XSV-300 board. »Have the XSV-300 board decode the serial stream of data –Explanation: We chose the second method. Compass Polling –Comment: Specify how often the PIC processor will poll the compass. –Explanation: For now, we poll it every half of a second. RF Frequencies –Comment: Ensure that there will be no interference between the Virtual Wire RF and the remote control RF. –Explanation: We tested it and knew that they are not interfering. Environment –Comment: Specify the Etank’s operation environment and the drawing surface. –Explanation: We agreed with them and decided to have a 20’ x 20’ world. Reviewer Comments

Control Implementation –Comment:In order to prevent the tank from the over steering, slow it down or turn it by short bursts. –Explanation: We slowed the tank down and added a tolerance in our accuracy. –Comment:Clarify the ambiguity in the specification of the Etank’s movement: »Does the tank move given a set of distance or angle? »Is the tank keep moving in a specified direction until the user issues another command? –Explanation: The tank moves given a set of distance or angle. Power Consumption –Comment: Clarify what type of battery we use for the remote component devices. –Explanation: We used 4 D-size batteries and a voltage regulator. Component Communication –Comment: Use a common communication path between the remote component and the central component. –Explanation: Agreed with the recommendation but declined to implement it. The reason for having two RF units is for simplicity. Reviewer Comments (cont.)

To be completed: Current Status Completed: Interfacing the remote and the central components via RF Debugging the system and finalizing the design Protocol to control the Compass using the PIC Protocol to control the Sonar using the PIC Protocol to control the RF using the PIC Protocol to move/turn the Etank using XSV-300 and the remote control Protocol to communicate with XSV-300 via serial and parallel interfaces Integrating RF with the XSV-300 Integrating compass, sonar and RF protocols Implementing a user interface application for the Etank

Summary uw: Parts List Requirements Design Scheme Modules: – Electronic Compass – Radio Frequency Module – Oscillator – Sonar Ranging Module – XSV-300 – Remote Control – User Interface Reviewer Comments Current Status