EE 451 FINAL SENIOR PROJECT PROPOSAL. Microcontroller-Based Remote Locator Using Asynchronous Serial Communication

Similar documents
CHAPTER 12 NORTHERN ILLINOIS UNIVERSITY

Project Proposal. Underwater Fish 02/16/2007 Nathan Smith,

RF4432 wireless transceiver module

RF4463F30 High Power wireless transceiver module

VisorTrac A Tracking System for Mining

Adding Heart to Your Technology

SECTION III OPERATION

Catalog

Simulation Of Radar With Ultrasonic Sensors

Robotic Navigation Distance Control Platform

RADIONICS 5501 / o PERIMETER o INTERIOR o o o o o o o o o INSTANT AC CMD

Introduction. Significance of the Project

LBI-38392C IC DATA MAINTENANCE MANUAL LOGIC BOARD U707 OCTAL DATA LATCH 19D902172G1 & G2 TABLE OF CONTENTS

Measuring Angles. Measuring Angles. Measuring Angles. Measuring Angles D E G J I K. Use a protractor to measure Also, tell whether the angle is

CAT-260 Repeater Controller Computer Automation Technology, Inc

INF8574 GENERAL DESCRIPTION

Project Proposal. Low-Cost Motor Speed Controller for Bradley ECE Department Robots L.C.M.S.C. By Ben Lorentzen

Wireless Sensor Network for Intra-Venous Fluid Level Indicator Application

*68P81072C40-O* MTX Series Models B5 and B7 Privacy Plus Portable Radios. operating instructions 68P81072C40-O

Control of Electrical Lights and Fans using TV Remote

DESIGN OF A DEVICE FOR CHECKING THE CONTINUITY IN ELECTRICAL CIRCUIT

SV613 USB Interface Wireless Module SV613

LABORATORY AND FIELD INVESTIGATIONS ON XBEE MODULE AND ITS EFFECTIVENESS FOR TRANSMISSION OF SLOPE MONITORING DATA IN MINES

Testing Motorola P25 Conventional Radios Using the R8000 Communications System Analyzer

Wireless Transceiver for Dot Matrix (WiTrix)

TABLE OF CONTENTS. Keypad Programming Manual 1

Remote Control Encoder IC

RCR-XXX-RP. Features. Typical Applications. Description. - i - Low cost 315/418/ MHz Super-Regen ASK/OOK Receiver

I!::1 LA!::1. All Hazards Weather. Alert.

Portable Repeater Controller. Instruction Manual for firmware version 1.0

Unidirectional Gateway EnOcean - KNX/BUS

Catalogue

FEATURES DESCRIPTION APPLICATIONS BLOCK DIAGRAM. PT2262 Remote Control Encoder

RF4432PRO wireless transceiver module

GM950 User Guide. GM950 User Guide. Safety Information. English

BCM20500/18 - Barrett Communications Head Office: European Office: Americas Office:

UH45 Series. UHF CB Transceiver. For more exciting new products please visit our website: Australia:

Lab 7 Remotely Operated Vehicle v2.0

Pair of PMR446 Two-Way Personal Radios Model: TP391

RF4432F27 Catalog

DMR Application Note Testing MOTOTRBO Radios On the R8000 Communications System Analyzer

School of Engineering Science Burnaby BC V5A 1S6

BATCHMATE 1500 Batch Control Computer Technical Bulletin

RF NiceRF Wireless Technology Co., Ltd. Rev

LoRa1276 Catalogue

Application Note: DMR Application Note Testing MOTOTRBO Radios On the Freedom Communications System Analyzer

Screening Audiometer

Features. Haltronics Ltd (

Catalog

Owner s Manual. Model G-223. GMRS/FRS Radio. FEATURES 22 Channels Scan 22 Key Pad Lock Call Alert Power HI/LO Roger Beep Tone

Wireless Music Dock - WMD Portable Music System with Audio Effect Applications

All Hazards Weather Alert Radio WR-300

CS-200. PORTABLE TRAFFIC LIGHT CONTROLLER (Software 1.05) OPERATION AND SERVICE MANUAL

Installation and Operating Guide

Application Note: Testing P25 Conventional Radios Using the Freedom Communications System Analyzers

INSTALLATION MANUAL FOR RADIO CONTROL SESAM 6099 TRANSMITTER

STC-KNX (32-channel AP)

KNX ENO 634 (32-channel AP)

Module-20 Shift Registers

TX3420 REMOTE MOUNT UHF RADIO

RF: RF Applicatant, normally omitted IR: IR Applicatant S: SOP-20 Package D: DIP-20 Package Omitted: DIP-18 Package SC Pin.

Advanced Mechatronics 1 st Mini Project. Remote Control Car. Jose Antonio De Gracia Gómez, Amartya Barua March, 25 th 2014

CEEN Bot Lab Design A SENIOR THESIS PROPOSAL

BOOMERANG PAGING SYSTEM (RCL T800) Manual

DS275S. Line-Powered RS-232 Transceiver Chip PIN ASSIGNMENT FEATURES ORDERING INFORMATION

MOTOROLA COMMERCIAL SERIES BASIC USER GUIDE CM140 & CM160

Instruction Manual. B Series Program Mode (BLDC Servos)

Motorola. iden. Digital. Portable. Getting Started

Remote Switching. Remote Gates. Paging.

Includes PRC-2090 Manpack, PRC-2090 Vehicle Docking Station and PRC-2090 Base Docking Station

Dynatel 965DSP / 3M Far-End-Device Setup

GM350 User Guide. GM350 User Guide. Safety Information. English

Rensselaer County Bureau of Public Safety 800 MHz Radio User Training. APX 4500 Mobile Radio APX 6500 Mobile Radio 02 Control Head

Ness M1RF Wireless Receiver

G3P-R232. User Manual. Release. 2.06

CHAPTER 11 NORTHERN ILLINOIS UNIVERSITY

Interfacing Clockaudio microphones with the Logic Box

Embedded Radio Data Transceiver SV611

LoRa1278 Wireless Transceiver Module

International Journal of Enterprise Computing and Business Systems ISSN (Online) :

CATALOG. ANALOG COMMUNICATION SYSTEMS DIGITAL COMMUNICATION SYSTEMS Microcontroller kits Arm controller kits PLC Trainer KITS Regulated Power supplies

OEM KEYFOB TRANSMITTER DATA GUIDE

OTFI 0285 XLM Plus High CRI LED Fiber Optic Light Module with Electronics Key Features

TLKR T60 OWNER'S MANUAL EN DE FR IT ES PR NL DA NO TU PL SV RU

INSTRUCTION MANUAL R.C. SYSTEMS CO. INC. WaveNet Site Survey Tool

Owner s Manual For Models G-225 & G-227 GMRS/FRS Radio

ELSEMA GLR Applications Automatic gates. Security systems. Timer controlled outputs. Simple on/off functions.

SmartRadio Transmitter / Receiver

M O D U L E - 7 D Model CS-CAL/DLIU V6.0 Operator s Manual

PART TOP VIEW V EE 1 V CC 1 CONTROL LOGIC

DP 3600 / DP 3601 Display Portable

Programming Parameter Guide

Overboard Recovery Communications Apparatus (ORCA ) RX-103 Receiver User s Manual

Maintenance Manual MDR GE-MARC MOBILE RADIO LBI-38952A. Mobile Communications

Programming Parameters - Feature Comparison : Rev 1

LORA1276F30 Catalogue

Design and Simulation of Universal Asynchronous Receiver Transmitter on Field Programmable Gate Array Using VHDL

ACCESS CONTROL CENTER RADIO ACCESS SYSTEM INTERCONNECTION

ORCA RX-103 IS A OVERBOARD RECOVERY COMMUNICATIONS APPARATUS RECEIVER. ORCA RX-103 Owner s Manual

Talkabout T82/ T82 EXTREME OWNER S MANUAL

Transcription:

EE 451 FINAL SENIOR PROJECT PROPOSAL Microcontroller-Based Remote Locator Using Asynchronous Serial Communication Prepared for Mr. Jose Sanchez, Project Advisor Dr. Brian Huggins, Project Advisor Dr. Winfred Anakwa, EE 451 Professor Bradley University Peoria, IL 61606 Prepared by Steve Yessa, Student Bradley University Peoria, IL 61606 March 24, 2003

Description The goal of this project is to develop a remote locator device that is used to find lost items by sending an RF signal to small remote units connected to various items in the home, such as keys, TV remotes, etc. When an item is lost, the user scrolls through an LCD screen located on the base unit. The name of the lost item is found in a list of saved names and is selected for location. The remote unit attached to the desired item receives the RF transmitted digital ID code from the base unit and produces an audible alert tone to allow the user to locate the item. Each additional remote unit also receives the signal, but they do not produce the audible alert. The user is able to turn the alarm off on the portable device or use a button on the base unit. The base unit is microcontroller based and interfaces with an LCD screen and a keypad. The user menu is displayed on the LCD and allows three different modes of operation: save mode, alert mode, and load mode. These modes are described in the modes of operation section below. Modes of Operation Save Mode: Alert Mode: Load Mode: This mode is used to save the name of each item to be located and to assign each item to its remote device. The names are entered into the list using the keypad. When the names of the items are saved into the menu, the user is then able to scroll through the list of names and locate the desired item in the when in the Alert Mode. The user uses the keypad to scroll down the list of saved items in order to find the desired item. He/she can then select the item and press the alert button to transmit the RF signal to each remote unit. The remote units then receive the transmitted signal and demodulate it. The demodulated signal is delivered to a comparator circuit, where each remote unit can compare the signal to its own ID number. When the correct remote receives the signal, it sounds the alarm on the remote so that the item can be found. The load mode is used when the user wants to add or replace a remote device in the system. The additional remotes each have a preset code that is entered into the base unit and stored so that the base unit knows what signal to send in order to activate the remote.

Figure 1 Base Unit System Diagram AC/DC Wall Unit V DC On/Off Button LCD Screen EMAC 8051 Microcontroller Alert Button 1 abc Keypad 2 def 3 ghi Audible Tone Off Button 4 jkl 5 mno 6 pqr Serial Bit-Stream TTL Signal RF Transmitter 7 stu ENT 8 vwx 0 Spac e 9 yz Transmitted RF Signal Output To The Remote Unit RF Receiver Input Base Unit Inputs Vcc: Keypad: On/Off button: Alert Button: Audible Tone An AC to DC wall transformer is used to power the base unit. The keypad is used to enter the names of the items, select the items, and store the eight-bit ID numbers of the locators. The keypad is a twelve button alpha numeric keypad that interfaces with a microcontroller and consists of a space button, an enter button, a scrolling button, all the letters of the alphabet, and the numbers 0-9. This button turns the power to the base unit on and off. This button is pressed in order to send the signal to the locator devices when it is desired to locate an item.

Off Button: Base Unit Outputs LCD: Microcontroller: RF Transmitter: This button allows the user to turn the audible alert tone off from the base unit. The display outputs the main menu and the modes of operation on the display screen. When the alert button is pressed, the base unit utilizes a microcontroller to output a UART compatible packed bit-stream to the transmitter. The bit-stream consists of a series of high bits, a low start bit, the eight-bit ID code, and two high stop bits. The transmitter transmits the packed bit-stream to all of the remote units. Figure 1 shows the high level block diagram of the base unit. Remote Unit Inputs Vcc: Off Button Remote Signal: UART Circuitry: A small battery is used to power each remote unit and all of their components. This button turns the audible alert tone off when it is pressed. Each remote unit receives the RF signal transmitted from the base unit, through the RF receiver, every time the alert button is pressed. The UART is used to separate the ID number from the packed serial bit-stream transmitted from the base unit. The UART determines the beginning and the end of the transmitted signal and then removes the start and stop bits that were added to the ID number prior to transmission. The UART then outputs the intended ID number to the digital decoding and compare circuitry. The UART receives the demodulated base-band signal from the receiver after transmission occurs. It must then unpack the serial bit-stream received from the receiver in order for the decoding/compare circuitry to determine the correct remote unit to alert. To do this, the UART determines the start and stop bits of the remote signal. An initial stream of high bits indicates that the remote signal is being received. The UART then waits for the first low bit to be received. This initial low bit is also known as the start bit of the signal. This bit is how the UART recognizes the

start of the input signal. After the UART receives the start bit, it knows that the next eight bits will be data bits that represent the ID number and the last two bits will be stop bits. The stop bits are always high and signal the end of the transmitted signal. The UART removes the excess bits from the desired ID number and outputs them to the digital decoding and compare circuitry. Figure 2 is a representation of how the UART will unpack the ID number. Figure 2 UART Signal Packing and Unpacking Software ID Number Transmitting Packed Serial Ex: 11001010 UART Bit-Stream 1111111101100101011 Transmitted RF Transmitter RF Signal Output Transmitted RF Signal 1111111101100101011 11001010 RF UART From The Receiver Demodulated Base-Band Signal Circuitry Unpacked ID Base Unit Number Digital Decoding/ Comparing Circuitry When the initial high bits received be the UART first drop low, a sample is taken halfway through the pulse in order to determine if the low drop is due to noise or the start bit. After determining the start bit, the UART samples at a standard 16 times the speed of the receiver clock and begins sampling halfway through each of the eight data bits. Sampling halfway through the pulses at 16 times the receiver clock keeps the UART from accidentally missing a pulse while unpacking the ID number. After the UART samples eight times, it locates and removes the two stop bits. The unpacked ID number is then sent to the digital decoding and compare circuitry. Figure 3 demonstrates the ideal asynchronous data sampling used to unpack the ID number.

Figure 3 Unpacked Remote Asynchronous Signal Digital Decoding/ Comparing Circuitry: The purpose of this circuitry is to determine the ID code that has been transmitted and to compare this code to the preset code of the remote unit. Each bit of the ID number is stored in a different flipflop of an eight-bit shift register in order to decode and determine the ID number. The output of each flip-flop will be compared to the preset number for each remote unit. If each flip-flop output matches the preset number, the circuitry produces a high output to the tone generating circuitry. If the ID codes do not match, the decoding logic produces a low output to the tone generating circuitry. Figure 4 shows the schematic for an eight-bit Shift register with compare circuitry. Figure 4 8-Bit Shift Register With Compare Circuitry

Remote Unit Output Tone Generating Circuitry: The speaker on the locator device produces an audible alert tone when it receives a high input from the comparator circuitry. Figure 3 shows the high level block diagram of the remote units. Figure 5 Remote Unit Hardware Diagram DC Battery Source V DC Transmitted Demodulated RF Signal Base-Band UART Unpacked RF Receiver Circuitry From The Signal ID Number Base Unit Digital Decoding/ Comparing Circuitry Audible Tone Output Tone Generating Circuitry Electric Tone Speaker Alarm Off Button Operation By Mode Main Menu: Save Mode: Load Mode: The main menu allows the user to choose which mode of operation to use. This menu is displayed on the LCD and the user uses the keypad to select the desired mode. Figure 4 show the software flow chart for the main menu. The LCD prompts the user to choose which remote unit to save a name to. The user then uses the keypad to choose which remote to name, and can then use the keypad to enter the desired name. The microcontroller then saves the entered name in a module and the LCD goes back to displaying the main menu. The remote unit is not used during this mode of operation. Figure 5 shows the software flow chart for the Save Mode. The LCD prompts the user to choose which remote unit is being added or replaced. The keypad is then used to choose the proper remote unit for loading. Next, the LCD prompts the user to enter the new ID number for the remote unit, using the keypad. When this is complete, the

microcontroller saves the ID number in a module and the LCD goes back to displaying the main menu. The remote unit is not used during this mode of operation. Figure 6 shows the software flow chart for the Load Mode. Alert Mode: The LCD prompts the user to choose which remote unit is to be found. The keypad is used to scroll through the list and choose the name of the desired item to be located. The microprocessor repeatedly sends the saved ID number to the RF transmitter for a preset number of times. The transmitter transmits the RF remote signal to the remote unit receiver. The receiver then demodulates the received signal and outputs the signal to the decoding circuitry. The decoding circuitry determines the ID number and compares it to the preset number of each remote unit. The remote unit that has the matching ID number produces the audible alert tone until the user turns it off on the base unit or the remote unit itself, using the alarm off button. Figure 7 shows the software flow chart for the Alert Mode. Figure 6 Software Flow Chart For The Main Menu Display The Modes Of Operation On The LCD Screen Wait For Desired Mode To Be Chosen Using The Keypad Exit To The Desired Mode Of Operation Figure 7 Software Flow Chart For The Save Mode Save Menu Display List Of Remote Units And Prompt To Enter Desired Remote Unit To Be Saved Enter The Number Of The Desired Remote Unit To Be Saved Display Keypad Name Entry Prompt Keypad Entry Of The Desired Name Save To Name List Exit Back To Main Menu

Figure 8 Software Flowchart For The Load Mode Load Menu Display List Of Remote Units And Prompt To Enter Desired Remote Unit To Be Loaded Enter The Number Of The Desired Remote Unit To Be Loaded Display Keypad ID Number Entry Prompt Keypad Entry Of The Desired ID Number Save To Number List Exit Back To Main Menu Figure 9 Software Flowchart For Alert Mode Alert Menu Display List Of Remote Units And Prompt To Enter Desired Remote Unit To Be Alerted Enter The Number Of The Desired Remote Unit To Be Alerted Load 8-bit ID Code From ID Number List Into Register Shift ID Code Out Through Serial Port Of Microprocessor Output ID Code To RF Transmitter Exit Back To Main Menu Standards Code of Federal Regulations Par 15-Title 47: Radio Frequency Demodulation. UART standards for packing and unpacking serial bit streams.

Data Sheet Dimensions L X W X H Base Unit: 6 X 4 X 3 Remote Unit.5 X.5 X.125 Number of remote units: 8 Power Supply Min Typ Max Unit Operating Voltage Base Unit: 7 15 Vdc Remote Unit: 2.7 3.3 13 Vdc Current Consumption Base Unit: 45 85 ma Remote Unit: 10 13 29 ma Power: Base Unit:.315 1.3 W Remote Unit: 27 43 377 mw Operational Temp: 0 70 o C The values on this data sheet were estimated due to the fact that nothing has actually been built and tested in the lab yet. The dimensions for the base unit were based off of the dimensions of a Micro Pac 8051 microcontroller board and an LCD screen. The remote unit dimensions were based off another remote unit device that was found during a patent search. The power supply ratings were based off of the microcontroller board for the base unit and the receiver for the remote unit.

January Schedule of Tasks February Week 4: Finish all assignments for EE 419 and 451. Week 1: Week 2: Week 3: Week 4: Begin hardware design for remote the remote units and work on the web page. Begin simulation of hardware, review microcontroller code, and work on the web page. Debug and test simulations and review microcontroller code. Finish all simulation and begin building in lab, review microcontroller code, and work on web page. March Week 1: Week 2: Week 3: Week 4: Build the hardware for the remote units and test. Continue testing of hardware and reviewing microcontroller language. Finish testing the remote units and finish review of microcontroller language. Begin writing the microcontroller software and work on the web page. April May Week 1: Week 2: Week 3: Week 4: Week 1: Write main menu and LCD software. Debug any problems with written software, and write, the modes different modes of operation software. Debug all software and begin the implementation of the combination of the hardware with the software. Test the software and hardware combination. Write the final project report and the oral presentation and finish the web page.

Other Works Patent Number WO0217265: A remote control locator system (10) that can be retro-fitted to any existing remote control device in a straightforward manner. The remote control locator system (10) comprises a sending unit (20) and a receiving unit (30, 130). The sending unit (20) includes a transmitter residing (28) in a sending unit housing (26) and an activation mechanism (25) coupled to the transmitter (28) to send a locator signal when the activation mechanism (25) is activated by a user. The receiving unit (30, 130) includes a receiver (46) residing in a receiving unit housing (38) to receive the locator signal and to emit an audible sound when the receiver (46) receives the locator signal. Sharper Image Item Finder: $50 Key Ringer Item Finder: $30 Bibliography 1. Sedra, Adel S., and Kenneth C. Smith. Microelectronic Circuits. New York: Oxford, 1998. 2. Huggins, Dr. Brian. Senior Project Advisor. Illinois: Bradley, 2002. 3. Key Ringer. www.keyringer.com 4. Quatech. www.quatech.com. Asynchronous Serial Communication. 5. Sanchez, Jose. Senior Project Advisor. Illinois: Bradley, 2003. 6. Sharper Image. www.sharperimage.com. Item Finder