Beruflich Dokumente
Kultur Dokumente
!
Senior!Design!I!
EEL!4914!
!
!
!
!
WiVal!
Project!Documentation!
!
!
!
!
!
!
!
!
December!8th,!2008!
!
Group!10!
James!O’Mara!
Stephen!Cover!
Henry!Plange!
!
! WiVal!Project!Documentation!
Table of Contents
Chapter 1: Executive Summary
Chapter 2: Introduction
2.1 Motivation for Project
2.2 Examples of Wireless Valet Systems
2.2.1 JTECH
2.2.2 Sindan Electrical Trading
2.2.3 ZipPark
2.2.4 Horizon Wireless
2.2.5 Wireless Valet Systems Comparison
Chapter 5: Research
5.1 Transmitters
5.1.1 Transmitters
5.1.2 RF Transmitters
5.1.3 RF Transmitters Parameters
5.1.3.2 Noise
5.1.3.3 Sensitivity
5.1.3.4 Dynamic Range
5.2.1 Receivers
5.2.2 RF Receivers
5.3 Antennas
5.3.2 Types of Antennas
5.3.2.1 Helical antenna
5.3.2.2 Loop antenna
i!
!
! WiVal!Project!Documentation!
ii!
!
! WiVal!Project!Documentation!
7.1.2 RF Transmitter
7.1.2.1 The RF Transmitter Connection
7.1.3 The RF Receiver
7.1.3.1 The RF Receiver Connection
7.1.4 The RF Transmitter and RF Receiver Combined
7.1.4.1 The Main Station Antenna
7.1.4.2 The Main Station Voltage
7.2 The Portable Receiver
7.2.1 The Portable Receiver Connection
7.3 The Pushbutton Pagers
7.3.1 The Pushbutton Pager Connection
7.4 PCB
7.5 Final Design - Microcontroller
7.6 Final Design - Software
7.7 Weatherproof Casing
Chapter 9: Testing
9.1 Testing Introduction
9.2.1 The RF Transmitter
9.2.2 The RF Receiver
9.2.3 The main station and portable receivers
9.2.4 The Antennas
9.3 Microcontroller
9.4 Programming
iii!
!
! WiVal!Project!Documentation!
Appendices
I Figure 7.2.1 the LR series Transmitter Pin Assignment
I Table 7.2.1 Pin description of the LR Series Transmitter
II Figure 6.2 the LR series receiver Pin Assignment
II Table 6.2 Pin description of the LR Series Transmitter
III Table 10.2
Table of Figures
Figure…..………………………………………………….…………….………
iv!
!
! WiVal!Project!Documentation!
Table of Tables
Table…..………………………………………………….………….….………
v!
!
! !
! WiVal!Project!Documentation! !
Executive Summary
WiVal will consist of three basic units that will be simple and reliable for ease of
use. The WiVal will use a simple pager with two buttons that a customer will
receive upon arriving to the location. That pager’s two buttons will be pressed by
the customer when they want to leave or get to their vehicle. The pager will then
send a signal to the Base Unit that receives and displays the requested vehicle,
which will be assigned by the number that is given by the pager. The Base Unit
then sends the signal to the portable receivers that a few of the employees will
have on them. The three main units are all weather protected as to
accommodate the weather conditions at the given areas.
! 1!
! !
! WiVal!Project!Documentation!
“pen and paper” method and bring forward a technological product that can
accomadate customers and hopefully allow the Valet industry to profit in a way
they never have. The WiVal brings a product that will only benefit the service.
The companies that use this product will be moving their customer service into
the next millennium.
The members of WiVal have several core goals for the WiVal Project. WiVal
wants to design and build a project that challenges their abilities in engineering.
This project will challenge WiVal’s group in ways that ultimately become the
educational “light at the end of the tunnel” in the pursuit of their engineering
degrees. WiVal’s group is determined to design and build a project that will
enhance themselves in their respective areas for future occupations.
The WiVal design represents a challenge to the group in many ways. The areas
in which the group will be challenged by this project can be grouped in two
completely different categories.
2!
!
! !
! WiVal!Project!Documentation!
2.1 Motivation
Finding a project to settle on became an awkward task. Ideas were thrown from
every direction. Ultimately the project chosen was the one that seemed the most
technologically feasible and the most needed or the most likely to be used of the
ideas. The motivation behind this project stems from several reasons but the
root of it all comes from one of the people in the group who had prior experience
within a valet company.
Working within a profession allows one to see the negatives in the job that occur
in everyday processes. As mentioned earlier, valet as a service has been around
in some form for many years. For the last several decades, valet has employed
the “pen and paper” method. The “pen and paper” method is one in which the
valet employee gives the incoming person or customer a piece of paper that can
later be collected and matched with the identifying ticket on the key chain. This
method still works and is still used in most places that employ a valet service.
This method is just another service that people who use that method are just
waiting to improve.
The traditional “pen and paper” method is where the improvements will be made.
The disadvantages aren’t outrageous but they can clearly be improved upon by
WiVal. Some of the disadvantages to the traditional method include:
The WiVal product allows the person or customer to take full advantage of a valet
service. Though the disadvantages seem ignorable, the benefits of changing the
method are worth the investment. The three main units that are part of the WiVal
eliminate the problems that come from using the traditional method. The
advantages of the WiVal include the following:
3!
!
! !
! WiVal!Project!Documentation!
! Restaurants want a level of class; the WiVal brings this to the table.
Technological upgrades within a company show a level of progress
and commitment towards giving the customers the best experience
possible.
! The pager system is less distracting. When a customer arrives, all an
employee has to do is hand a person or customer a designated
receiver that goes with the vehicle and the customer can move on with
their day.
! Paper gives the customer or person the ability to lose their car
identification. Paper valet tickets are lost frequently during lavish
evenings or events that require the customer to be aware or thin piece
of paper.
! The pager given to customers is a small yet noticeable piece of
equipment that looks similar to a cell phone. From experience, one
notices that the the customer finds the pager easily due to its
recognizable size and shape. Rarely will a pager be misplaced within
a purse or pocket.
! The WiVal pagers allow the valet companies to avoid using as much
paper. Paper costs are extremely high for imprinted tickets and this
can be eliminated with the use of a pager.
! Within the valet industry, ordering tickets can be delayed for unknown
reasons and then a chaotic mess occurs for the employees. Pagers
will always be on hand. Enough pagers for parking spots and for wear
and tear reasons will always be available.
As restaurants begin to flourish, so do there neighboring areas and with this the
areas in which parking is available, begins to be less accommodating for their
customers. This process has created a wave of companies hiring valet services
to allow the customers to avoid the hassle. This project will be intended for valet
companies around the world, but can also be used in clinics, hospitals, schools,
restaurants, shopping centers and hotels.
Currently there are few companies who manufacture similar products like the
WiVal. Having experience in the valet field has allowed the group to recognize
that most products do not work when customers have single button pagers.
These pagers are ‘hit’ several times throughout an evening, whether by accident
or for the simple purpose of amusement. This alone makes the idea a problem
for the valet service. When customers ‘hit’ pagers without any intention of
leaving, this creates traffic jams where the valet service is situated and it negates
the whole purpose of the product, accommodation. By adding another button on
a pager, the service can easily be confirmed and in within that action,
accommodate the customer. WiVal would like to enter into an Industry that has
few competitors. This will allow the WiVal system to be able to add specifications
to the system that have yet to be made on other’s.
4!
!
! !
! WiVal!Project!Documentation!
2.2.1 JTECH
JTECH is a company that is well known throughout the hospitality industry with a
leading presence amongst other wireless systems manufacturers. JTECH’s
design is a simple one that consists of three basic units. They created a pager for
customers that are a small, black, and sleek design that has a rubber button in
the middle of a plastic casing. The plastic casing is their version of
weatherproofing the pager’s electrical components and also protects it from
normal wear and tear damage. The second unit is the paging receiver that the
valet employees carry with them while working. The receiver is similar to a
traditional Motorola pager. It has the ability to store previous vehicles and to
keep the notification setting to vibrate or ring. The third unit is UHF transmitter
that is usually located within a building structure. The unit doesn’t display any
information but it has the ability to activate new pagers and to test signal range.
JTECH’s design is a simple and successful idea in which a lot of our ideas are
based from. Some of JTECH’s ValetAlert specifications are:
!
! !
! WiVal!Project!Documentation!
They have a system that still relies heavily on the “pen and paper” method.
When a customer arrives, they are still given a loose leaf piece of paper. This
whole process is one that the better valet paging systems are avoiding. SET’s
ValetCall appears to have only two main units. A docking station and pagers are
used for their system to work. When the customer or person wants their
respective vehicle, they still have to go to the Valet stand to notify that they want
their car. At that moment is when the customer is given a pager. This pager has
an LCD screen and notifies by sound and vibration when the vehicle has arrived
for pickup. When the pager notifies, the customer or persons then go to the valet
stand to accept their vehicle and return the pager. Some of ValetCall’s
specifications are:
2.2.3 ZipPark
ZipPark is a company that specializes in the Valet industry only. ZipPark is
currently the most innovative of the Valet solutions in the market. They are
working in small parts of the US but they are testing and selling their products
within some of the most financially fiscal business around. Their system is run
on their own product known as zControl. zControl is designed for usage at
hotels, restaurants and airports.
The system ZipPark is designed around what is known as zControl, this program
has been created to work on IBM terminals that are based off windows 2000.
This program is also ported to windows mobile that is used on some of the
handheld PCs on the market today. Some of the handheld PCs used are the
Hewlett Packard IPAQs and the Casio Casseiopeia. The training involved with
the technology is an extensive program that all parking employees must attend
6!
!
! !
! WiVal!Project!Documentation!
The technology used within the ZipPark is clearly more advanced than the rest.
With the advancements comes an increase in cost. The ZipPark isn’t available
for direct sales. They are currently designing and perfecting their product to
accommodate a larger clientele base.
7!
!
! !
! WiVal!Project!Documentation!
The WiVal’s pager will be designed with a sleek, cell phone like shape that has
two rubber buttons for valet notification. This unit will be as inexpensive as
possible. With this in mind, the team behind WiVal recognizes that this unit will
be replaced often compared to the other units. From basic wear and tear to
customer damage, these all are the main reasons behind the goal of an
inexpensive pager with a good weatherproof casing protecting its electrical
components.
The Main Station will be the main antenna and unit that controls all the
information flow. It will be self powered and will also have a display for home
base notification. This unit must consist of strong weatherproofing. The Main
Station will have the most expensive units and thus must be protected from
common weather such as rain, cold air and humidity.
The main goal behind the employee receiver is to have a reliable design that is
easy to use for the common worker. The receiver will have three buttons for full
control. The receiver also will be fully functional under all conditions. Whether it
be night or day the receiver will have a display that can be seen at all times of the
day. The notification of the customer’s page will come in the form of a beeping
noise and display of the vehicle number.
The goal behind WiVal is to have three basic units. WiVal will be optimal for all
levels of valet service. The equipment will be inexpensive and as protected as
possible for maximum protection. The WiVal will accommodate to the employee
who does not have a lot of technical knowledge. All of this will come together to
create a strong product known as WiVal.
8!
!
! !
! WiVal!Project!Documentation!
The main station has a LED component that illuminates (flashes) at the station to
let the supervisor know that the message signal has been sent to the assigned
Portable receivers informing the valet clerk of a customer’s departure. The main
station will be used to keep track of each Portable receiver and push button
pager being used on the network. A small database system will be available to
keep track of fifty cars. A database server may also available for storage. This
main system will be portable for easy maneuvering however it will be placed on a
desk or countertop so as to allow for the connection to a nearby computer. The
main station can also be mounted if desired in favor of better transmission. The
connection to a computer will be accomplished by using a portable usb port built
in the main station. Power to the main station would be supplied directly from a
plug in wall outlet. As far design is concerned, the main station would be built in a
tough and rigid plastic casing that is stylish, lightweight and waterproof.
Future upgrades
There are so many ways to improve upon this design such as the use of Flash
memory devices to store a database server, the addition of a touch screen LCD
panel and the construction of a web based application system. These additions
will allow WiVal to compete with the industry in the upcoming years.
For the web based application system we can reorganize the in service
techniques of the valet service. This can be done by keeping track of all license
plates of vehicles, employees using the Portable receivers and the various
customers using the push button pagers. The web application can then be run
on a local web server as well as a being connected to the internet. With the
installation of the portable usb port, we can accomplish the above upgrades as
well as make our product more satisfying to interested buyers and users.
9!
!
! !
! WiVal!Project!Documentation!
The Portable receiver has three function push buttons which allow the valet clerk
to request the previous and next car retrieved, the previous and recent car
checked in, and a clear list for retrieved cars. It also has a on/ off switch. An
alerting system such as sounds (ring tone) and a vibration mode will be included
in our design for the receiver, subsequently informing the valet clerk of a received
signal. The car number would be displayed on two 7-segment LEDs, for a range
of cars from 00 to 99. The Portable receiver needs to be powered by a constant
DC source. Our desired DC source will be AA or AAA rechargeable batteries.
The Portable receiver will be protected by a plastic casing that is stylish,
lightweight and portable. The plastic casing will be rigid, robust, and able to
withstand tumbling, run over’s, and bangs. Since the Portable receivers will be
used primarily outside, it will be waterproof to withstand intense heat and cold as
well as constant rainfall.
Future upgrades
Since the Portable receiver is the centerpiece of our messaging system, it has
the most potential for hardware upgrades. We can replace the LEDs with a LCD
screen which will be used to display the messages. GPS can also be added to
the design so as to keep track of the Portable receivers. The LCD can also
displays data concerning current GPS position and the RF connection strength.
The Portable receiver unit may also include a switch for adjusting the volume of
the ringtone as well as a button for muting the speaker. The Portable receiver
may also display on its front panel that the correct Transmitter currently
10!
!
! !
! WiVal!Project!Documentation!
broadcasting in order to avoid confusion with other networks. We also hope that
we can have a clip for the Portable receiver so that they can fit securely on belts.
Upon activation, the encoder in the pushbutton pager will send a messaging
signal identifying itself through the antenna. Once it has been identified, the
output from the pushbutton pager will go to a microcontroller, where appropriate
interpretations are made to determine what action to take. The pushbutton pager
will then receive a signal from the main station, which will then be decoded in
addition to indicating a light on the pushbutton pager to flash and confirm the
reception of the messaging signal.
Powered by a button cell battery, alkaline or lithium button cell battery for a long
service life and its size, the pushbutton pager may also use a rechargeable
battery, which will recharge at a charging station. Bodily, the pushbutton pager
will be small enough to fit into a pocket. The plastic casing will be rigid, robust,
and able to endure plummeting incidents.
3.3.1 Microcontroller
The microcontroller used in the WiVal system is the powerhouse that drives the
system. It is responsible, not only for controlling the signals being sent between
the various components, but also for monitoring these signals, and taking from
them the information required in order to build an accurate list of the cars
requesting pick-up. One microcontroller is installed in each main station, and
another is installed in each portable receiver. The microcontroller is responsible
for handling various inputs and outputs, and is more than capable of doing so
during even the busiest of shifts.
11!
!
! !
! WiVal!Project!Documentation!
The microcontroller also sends several signals through outputs. It sends analog
signals to the antenna. It also sends signals to the 7-segment LED displays, in
order to let the user know which car needs to be picked up. Additionally, it sends
a signal to the speaker, playing a tone, so that the user knows a new car has
been added to the list.
Future Upgrades
There are several possible upgrades to be considered for the microcontrollers.
These include expanded data storage, USB connectivity, multiple processors,
and an LCD screen. All of these would benefit the WiVal system, though they
would also increase the cost to the final user.
Expanded data storage would be very beneficial for larger establishments, who
need to keep track of a larger list of cars. The additional data storage space
would also allow for more complex options, such as screen brightness (for LCD
screens), programmable frequencies for when multiple WiVal systems are in
close proximity, and perhaps even storage of compiled information on all cars
processed, for statistical use. The additional data storage would also allow for
more robust code, as the code could be made larger, allowing more in the way of
verification and error checking. Overall, expanded data storage would be an
excellent addition to the WiVal system, if the schedule and the resources permit.
USB connectivity would allow a computer to connect to the WiVal system. This
would allow the user to download statistics from the WiVal system, to obtain
information such as when the busiest times are, or the average length between
when a car is dropped off, and when it is picked up. These statistics would aid in
the business aspect of the companies using the WiVal system. They would allow
managers to better organize break schedules, or figure out just how many
parking spaces to set aside for valet parking. In short, it would be another fine
addition to an already impressive system.
An LCD screen would allow for an improvement in the amount of data that could
be supplied to the user. The current configuration, with two 7-segment LEDs has
the limitations inherent to the seven segment display. With an LCD, however,
any alphanumeric character could be displayed, broadening the possibilities of
information. Simple graphics, for menu options and function confirmation, could
even be incorporated.
3.3.2 Software
The software used in the WiVal system is optimized for use on the
microprocessor. It is designed to require only a very small amount of storage
space, and to run the required functions efficiently. It is capable of storing the
data of the last twenty cars, and then displays whichever of the twenty cars is
12!
!
! !
! WiVal!Project!Documentation!
requested of it. It is designed to ensure that the program does not miss any
inputs.
WiVal’s Main Base unit should become the key component to the WiVal’s
functionality. WiVal’s Main Base Unit’s dependence is shown in Figure 3.4.2.
The main base should be able to power itself with a 110v outlet and easily be
discarded or used for long amounts of time. WiVal’s design should allow a Valet
Company to have the opportunity in deciding whether to use the Main Base Unit
13!
!
! !
! WiVal!Project!Documentation!
as the main wireless signal device while also using it as another way to
determine what vehicles are being summoned. The group behind WiVal hopes
to create a Main Base Unit that will be used by other employees who do not have
portable receivers, or the valet employee who doesn’t leave the booth can
coordinate around the key rack the Main Unit’s display. Some valet companies
like to avoid a certain clutter around their booths so the group would like WiVal’s
Main Base Unit to also have the ability to be stored in a hidden area in the booth
or inside a building.
WiVal’s group would like to see that the WiVal Push Button Pager and the WiVal
receiver are both functional and compatible with the WiVal Base Unit. Another
result that the final product should have is the look that will please companies
who purchase the product but also catch the attention of customers who use
WiVal. WiVal should be able to attract customers and the aesthetic look and on
the idea that the Restaurant or Building has fully committed to a Valet system.
The WiVal has several technical desired results. With all that needs to work, the
WiVal should be able to benefit the company employing the technology. The
WiVal has a strong idea aimed towards resolving prior problems with older
methods and to reach goals that Valet Companies couldn’t reach before. Some
of these expectations that WiVal hopes to meet are:
! To avoid and eliminate wait lines that occupies the front of the
entrance and degrades the overall look to the restaurant.
! Improve guest flow
! Maximize in profits for employees during times in which traditional ‘pen
and paper’ method can slow down business
! Improve Valet experience and overall quality
! WiVal should allow the Valet Company to maximize employee work
hours.
14!
!
! !
! WiVal!Project!Documentation!
15!
!
! !
! WiVal!Project!Documentation!
Specifications
4.1 Introduction
From research, a paging system contains a main terminal or transmitter that
provides the signal over a wide region. The other items include the actual
customer pagers, and the employee’s portable device that receives the pager’s
identification request. All work within the specified signal range that is given by
WiVal’s Main Base Unit. The signal strength will in the 900 MHz range.
WiVal Overview
Customer! Employee!
Base!Transceiver!
Paging/Customer’s! Master/Receiver!
Unit! Unit!
Figure 4.1.a shows a basic drawing of the units that WiVal consists of.
WiVal has specific transmission ranges that are respective of FCC rules and
regulations. The design will have a radio frequency range that is capable of
penetrating several walls made of different types of material. At the same time
the signals must be able to travel through rain. The designs are all capable of
secure data transmission over high speeds. The units will all be dependable and
precise under a 50m distance. WiVal needs to be reliable under several
conditions. The specifications in the design are made to operate in difficult
weather and they will all be weatherproof. The weatherproofing material is still
under research and there hasn’t been specific choice as to which one is most
16!
!
! !
! WiVal!Project!Documentation!
WiVal!Receiver!
Signal!from!
Base!Unit
Receiver!
Processor!
Display!Car!
Number
All three units have similar specifications in the area of style. Each unit will be
black and comparable to new technology in style of looks. WiVal’s design will be
competitive due to its reliability with its hardware and software but also its
aesthetic look as well. They will all have the WiVal symbol displayed on the
casing. Each unit will be of small enough size as to accommodate for even the
smallest of areas. Some basic specifications employed within WiVal are
Power Supply:
! Our master terminal will connect to a regular 110V outlet.
! Pagers will use batteries (CR2032 lithium, 3V lithium, or AAA)
17!
!
! !
! WiVal!Project!Documentation!
WiVal’s specifications for the software portion of the Main Base Unit design
include the interface between microcontroller, software and hardware. These
interactions are shown in Figure 4.1.c. There will be code for the master unit
and base transceiver. The master unit’s code will be able to receive messages
from the base transceiver. WiVal’s design is created to be easy to use. It will
also be robust enough that an error in the other units does not cause failure in
the master unit. WiVal will be able to display to the valet which customer is
ready. WiVal will also be able to transmit to the base transceiver with information
requests.
WiVal Base!Unit
Signal!
Signal!Receiver! Transmitter! User!Input
Processor
Output/Display
WiVal’s base transceiver’s code will be able to take in signals from the paging
unit. It will be able to arrange the signals in order of time received and be able to
add new paging units to the system when necessary. WiVal’s programming is
robust enough that an error in other units does not cause failure in the base
transceiver and not be able to take in requests from the master unit, and transmit
messages back.
The project can be divided into six parts: The main station, The Portable
receivers, antennas, the pushbutton pagers, microcontroller, and software.
18!
!
! !
! WiVal!Project!Documentation!
! Complexity
! power dissipation
! High data rate
! Low cost modules
! Secure data transmission
! Fulfill FCC rules and regulations
19!
!
! !
! WiVal!Project!Documentation!
WiVal!Customer!Pager
User!Input!
Transmitter! Output/LED!
!
! !
! WiVal!Project!Documentation!
Antennas range in all sizes and shapes. However for this project our goal is to
acquire the antennas that meet the following specifications for maximum
performance and design.
4.3.1 Microcontroller
At least two microcontrollers will be required for the WiVal system. The main
station must have one, and each portable receiver must have one. Both
microcontrollers must be able to receive analog signals from the antenna, as well
as be able to send analog signals to the antenna. Both microcontrollers must
have large enough capacity to hold the control code. Both microcontrollers must
be fast enough to handle the incoming requests. Additionally, both
microcontrollers must be small enough to fit in their respective physically
constructed units.
The microcontroller in the main station must be able to maintain a list of all the
currently activated pager units. The microcontroller must be able to add new
pager units to the list, and display active pagers. The microcontroller must be
able to take in a pager’s signal. The microcontroller must be able to maintain the
order in which the signals arrive. The microcontroller must be able to send the
signal out to the portable receiver. The microcontroller must have at least 1KB of
storage space for the program. The microcontroller must have at least 1KB of
RAM. The microcontroller’s footprint must be smaller than one square inch. The
microcontroller must be less than one quarter inch thick. The microcontroller
must be able to run on 4.5 volts or less. The microcontroller must, in fully active
mode, draw less than 1 mA. The microcontroller must cost less than $50. The
microcontroller will need to have at least one analog input. The microcontroller
will need to have at least two analog outputs. The microcontroller will need to
have at least four digital outputs. The microcontroller will need to have at least
three digital inputs.
21!
!
! !
! WiVal!Project!Documentation!
storage space for the program. The microcontroller must have at least 1KB of
RAM. The microcontroller’s footprint must be smaller than one square inch. The
microcontroller must be less than one quarter inch thick. The microcontroller
must be able to run on 3 volts or less. The microcontroller must, in fully active
mode, draw less than 1 mA. The microcontroller must cost less than $50. The
microcontroller will need to have at least one analog input. The microcontroller
will need to have at least one analog output. The microcontroller will need to
have at least four digital outputs. The microcontroller will need to have at least
three digital inputs.
4.3.2 Software
All software used must be compatible with the microcontrollers, and must be able
to compile to a size capable of fitting on the microcontrollers. The software will
need to handle inputs and outputs connected to the microcontrollers. The
software must also be able to manage a list of up to twenty active pagers. The
software must be able to contain at least 500 lines of code. The software must
have a total file size of less than 1KB. The software must be able to contain a
structure consisting of one piece of integer data, and two pointers. One pointer
must point to the next structure, and the other structure must point to the
previous structure.
The software must be able to order the structures into a bi-directional linked list.
The software must be able to form the bi-directional linked list into a ring-like
structure. The software must be able to ensure that the ring-like bi-directional
linked list is capable of storing twenty cars. The software must be able to handle
floating point numbers up to eight decimal places. The software must be able to
handle integer numbers up to two to the eighth. The software must be able to
run with only 1KB of RAM. The software must be either object oriented or
function oriented. The software must be able to analyze analog data. The
software must be able to pull integer data from the analyzed analog data. The
software must be able to handle digital data output to multiple lines. The
software must be able to send an analog signal to a speaker to produce an
audible tone. The software must be able to encode an integer into an analog
signal. The software must be able to then send that analog signal to a
transmitter.
22!
!
! !
! WiVal!Project!Documentation!
Research
5.1 Research
In order to effectively deliver WiVal, it is important to have an exhaustive building
and implementation strategy in place to serve as the basic framework of
operations. The end goal is to provide a working prototype at the end of next
semester. As such, it was important to adequately research and develops ideas
and methodology before formulating an implementation strategy around it. The
very first step in the implementation of this project was research and
development. Of course, it was imperative that the group established a clear
project definition. As such, the group routinely met to brainstorm ideas about
prospective ideas, with the end goal of selecting a project that presented an
adequate challenge given the available resources at our disposal. WiVal proved
to be the general consensus for the project to pursue based on interests and
financial status shared by the group.
After creating a clear and concise project definition, the next step was to seek to
understand the functionalities of the WiVal prototype. The key question we
sought to understand was, “What key functions do we expect this prototype to be
able to perform?” This led to the initial research phase. At this research phase,
each member of the team was tasked with blanket researching and
documentation of important information. This documented information was
discussed during team meetings. This next phase assisted the team in
understanding what functionalities could actually be built given limited time and
resources. Due to this, the project had to be significantly scaled back.
After this, WiVal’s group began a series of more focused research geared
towards achieving the goals and objectives defined. This time, the key question
for the project became “What tools do we need to be able to perform the
functionalities set for the prototype? “First, we brainstormed various design ideas
to realize our objectives. This phase required understanding the various
alternative methods of achieving our goal and agreeing on the most acceptable
and practical design. Subsequently, the discussion shifted towards acquiring
parts and chips for the design. There is a great amount of research that must be
done in order to complete WiVal in the allotted time. The research is important in
bridging our knowledge and skills of Computer and Electrical Engineering with
the current state of technology. It is mainly through research that engineers gain
insight into current market developments and possible solutions to any given
problem.
The team worked independently to gain the information we needed to provide the
content of this document. A majority of the information enclosed was generated
from prior knowledge gained during our education or from other sources. The
23!
!
! !
! WiVal!Project!Documentation!
other sources that we used were mostly available true the internet. We
searched, sent emails, and browsed to find the information we needed. Our
group interaction will be the key for our success in the course of this project.
Various meeting times were set up to discuss the project and come up with ideas
and solutions.
The research done for this project, involves a wide range of items and
disciplines, such as research on microcontroller, radio frequency, transceiver,
receivers, power supplies, and wireless communications specifications design.
These are just the items that we needed for our initial project design, but the
research also spanned into topics such as product price & ease of use, ease of
programmability, and feasibility of design, given limited time and resources.
In view of the fact that WiVal’s group picked this project without the knowledge of
how we were going to complete this task, we focused our research on
understanding the fundamental concept on how our RF based messaging system
will work. With a lot of time spent investigating on the internet and all the way
through books in the library, WiVal’s group was proficient enough to understand
the concepts that make up a communication system. Even as most of the group’s
first months in class were exclusively devoted to research, the group was able to
locate and strategize as a group the appropriate workings for the design and
completion of the project. Following comprehensive research, the team was able
to choose the appropriate parts to meet WiVal’s specifications.
A vast amount of chips exist in today’s market place, all of which perform various
tasks. Given this plethora of options, it became somewhat of a challenge to
identify which chips would be most efficient for WiVal. It was established that to
achieve the objectives earlier set, based on the acceptable design we had
chosen, it was essential to split the chips analysis and research into key parts
that would maximize our efficiency based on division of labor. It was agreed
amongst team members to select several key parts and perform more focused
research on each respective part. After selection of the chips compatible for
prototype implementation, the next step is to go about acquiring those chips.
Most companies send out sample chips to advertise products. WiVal’s first
course of action was to try to acquire as many samples as possible in order to be
able to get familiar with the technology. Unfortunately the parts the WiVal design
has settled on were not available for samples. Eventually, all chips will be
acquired.
Each team member took ownership of one or more blocks highlighted in the
block diagrams shown in Figure 4.1a. One team member took ownership of the
microcontroller chips, another overseeing the transceivers and antenna, and the
final group member managing the power chips portion of the project. This
division of labor is captured by group member in the table shown in table 5.1.
The product of this directed WiVal to in depth research in these three different
components of the project which led to the initial compilation of different chips
24!
!
! !
! WiVal!Project!Documentation!
that could be feasible for use in the WiVal Units. It was then imperative for the
team to take into consideration how easy and cost effective it was to use one
chip over the other, as well as, how seamless the interfacing of various chips
would be. Most of the information gathered on these chips was based off data
sheets pulled from the internet, and one-on-one telephone conversations with
representatives from respective companies.
Responsibility!Legend
Stephen!Cover!
James!O’Mara!
Martei!Plange!
Table 5.1
5.1.1 Transmitters
The purpose of wireless communications devices such as televisions is to
capture electromagnetic signals through antennas and propagate them through
air. This exchange of messages is carried out by a transmitter. As we studied in
Analog and Digital communication class, there are an assortment of category of
transmitters such as the amplitude-modulated, frequency-modulated, the phase-
modulated and radar. With this in mind, this project will be centered on radio-
frequency transmitter. In the electromagnetic spectrum where the RF region,
referring to the electromagnetic field that is generated when an alternating
current is input to an antenna, covers 10 kHz to thousands of GHz. WiVal can
therefore transmit a signal in the form of electromagnetic waves traveling at the
desired frequency of the group.
Over the years, the advancements in the developments of transmitter have made
frequency-modulated transmission an accepted standard technique for
transmitting information wirelessly. Transmitting data reliably has prompted many
different types of wireless devices such as mobile telephones and satellite
communication systems to make use of RF fields. However one major problem
wireless transmission is facing is interference between the intended message
and the unwanted signals captured by the antennas such as noise which can
cause data misplacements when trying to recover the original signal. The
25!
!
! !
! WiVal!Project!Documentation!
5.1.2 RF Transmitters
Wival’s wireless communication system consists of an RF Transmitter that
broadcast a signal wirelessly. The designs of RF transmitters for various wireless
applications require many architecture, communication and circuitry challenges
to transmitters support existing analog and digital standards. As shown in the
Figure 5.1 below, an RF transmitter is made up of main components which
include the data modulator, a frequency oscillator, a free space point source (an
antenna) and a power amplifier.
26!
!
! !
! WiVal!Project!Documentation!
The frequency oscillator retrieves frequency and mixes the baseband signals
from the data modulator. The power amplifier takes in frequency and transmits it
to the antenna. Finally the transmitter takes the signal and propagates it through
the antenna to the various receivers available.
1. Gain
2. Noise Figure
3. Transmitter Sensitivity
4. Transmitter Dynamic Range
5.1.3.1 Gain
Defined as the ratio of available output power to available input power, the gain
plays an important role in determining the efficiency of a transmitter. Practically, a
higher gain performance is achieved through an antenna. An antenna gain is
described as the power output, in a specific direction, as compared to that
produced in several directions by a present antenna.
27!
!
! !
! WiVal!Project!Documentation!
5.1.3.2 Noise
In practical wireless communication systems, the transmitted signal is frequently
impaired by prevailing obstruction sources. This impairment or unwanted signals
trapped in the transmission data is noise. Noise is an important system
parameter that is closely related to the overall receiver performance. It is
commonly used to characterize the ability of a receiver to process input signals.
Noise figure on the other hand is a key counter measure taken against noise
through the use of noise filters. A measure of how communication systems are
affected by random noise, it is designed to allow only frequencies that are lower
than the cut off frequency of the filter, while attenuating other frequencies higher
than the cut off frequency.
5.1.3.3 Sensitivity
Sensitivity is the ability of a receiver to pick up weak signals close to noise level.
It known also as the minimum input signal required to produce a specified output
signal. On the other hand there is no standard description of the sensitivity level
of an RF transmitter. The minimum sensitivity is determined by the transmitters’
direction, the bandwidth of a signal and the noise factor. The RF transmitters’
sensitivity also depends on the direction and size of the antenna as well as heat
dissipation.
5.2.1 Receivers
A receiver is made up of an interconnection of several main components of radio
frequency which include RF Amplifier, a mixer, an oscillator, an IR filter and an
antenna. After a signal is sent to the antenna and is confirmed by the receiver as
a friendly message, it goes through to the preselecting filter which is the first
component of the receiver. Next in line is a Low Noise Amplifier, which together
with the preselecting filter makes up the RF Amplifier. The Low Noise Amplifier
28!
!
! !
! WiVal!Project!Documentation!
then boosts the signal level while reducing noise and other unwanted
interferences. At that moment the Mixer takes the RF signal and converts it to a
lower intermediary Frequency. This conversion is accomplished by mixing the RF
signal with the Oscillator signal. Finally the IF filter removes unwanted frequency
components to generate the recovered data.
5.2.2 RF Receivers
The function of the receiver is to detect modulated signals in the presence of
noise and interference, and demodulate the detected original signal. An RF
receiver normally receives an RF signal, converts the RF signal to a baseband
signal and then coupled with an antenna recovers the data. We can satisfy much
of the requirement for our design by using a RF receiver. The perception of the
design of a RF receiver represents a combination of specific parts illustrated in
Figure 5.2 below and outlined in Table 5.2.2. As shown in table 5.2.2 below, the
antenna first receives an electromagnetic signal from a nearby transmitter. Once
this transpires, power is applied to the signal in the Low Noise Amplifier to
increase the range of the signal.
29!
!
! !
! WiVal!Project!Documentation!
After the signal is amplified, a noise filter is then utilized to remove all the
unwanted signals that occurred after the original signal was amplified. The next
stage is the mixer, followed by the local oscillators which in combination with the
mixer amplify the frequency signal for a lower bandwidth and a desired frequency
range. The final stage is the IR filter which sorts out all unwanted data
transmitted in the original signal, for effective data recovery and interpretation.
5.3 Antennas
Antennas have been of great interest to many manufactures and engineers in
recent years because of the high demand from the wireless communication
industry for improved technology. This in return has led to the development of
small, lightweight and reliable antennas.
30!
!
! !
! WiVal!Project!Documentation!
31!
!
! !
! WiVal!Project!Documentation!
! The greater an antenna’s gain the narrower the antenna’s model which in
turn leads to better performance
! When an isotopic model is used instead of a standard dipole, its antenna
gain figure is increased by approximately 2.15dB
! It also defines the way in which the radio frequency energy is propagated
! The radian pattern is the collective distribution characteristics of an
antenna
! Radiation patterns are normally based on frequency and polarization
!
! !
! WiVal!Project!Documentation!
In the above discussion, several antennas and their essential features were
analyzed, in view of the fact that the wireless part of a wireless communication
begins and ends with the antenna. The information acquired from these
procedures will be strategically analyzed to assist in the selection of an antenna
for WiVal’s miniature and efficient system.
5.4 Encoders
Serving as an intermediary between data and code, the encoder could be built in
the lab as we have studied in previous classes. However, the team has decided
on purchasing a commercially manufactured decoder because of its sensitivity
with noise and challenging design requirements. Figure 5.3 shows the genera
operation of an encoder. The fundamental encoder generally uses a wireless
communication medium that correlates signals to represent information. The
encoder is the device that corresponds to a message sent from the main station.
It does this by taking in incoming data from the main station along with a little
security signal that verifies whether the inward bound data is being sent from the
main station. Once this checks, a signal is sent back to the main station to
validate the reception of data. Finally the data is interpreted by the encoder.
33!
!
! !
! WiVal!Project!Documentation!
5.5 Decoders
A decoder is the device responsible for receiving data from the main station,
through an antenna and converts them back to messages. The decoder operates
in a reverse order of an encoder and then takes the data from the antenna and
produces the original message from the main station. It is important in wireless
communication systems to protect against unwanted signals. As with the
encoder, the decoder takes in incoming data from the main station along with a
little security signal that verifies whether the inward bound data is being sent from
the main station. However, the decoder checks to see whether the incoming
signal contains any errors.
34!
!
! !
! WiVal!Project!Documentation!
and well-regulated power source. For that reason, the power supply plays an
important role in our project and wireless recharging of the battery through the
selected RF modules is periodically necessary. From the system content
standpoint, the RF Power supply circuit must take into consideration quite a few
provisions.
! The Power supply must be designed and tested to meet strict safety
requirements.
! The Power supply should be small enough to fit out design.
! The Power supply must have efficient power saving techniques to
increase battery life.
! The Power supply must prevent noise from affecting the performance of
the RF components.
35!
!
! !
! WiVal!Project!Documentation!
After going through each voltage regulator, the group was not convinced enough
to purchase one. As a result, the group is going to stick to making a voltage
regulator in the senior design lab. The basic design for this case would be to
connect in series a resistor with our RF component, which will be followed by a
capacitor connected from the ground. The actual values for the resistor and
capacitor would not be determined until the members of WiVal have actually
experimented with the circuit.
5.7.1 Microcontroller
Several microcontrollers were considered for use in the WiVal system. The
microcontrollers were primarily those of three companies: Texas Instruments,
Parallax Inc., Microchip Technology Inc.
36!
!
! !
! WiVal!Project!Documentation!
The Parallax Inc. BASIC Stamp family microcontrollers were the next
microcontrollers under consideration. The BASIC Stamp 1 costs $29.00. The
Stamps tend to be a bit on the large side, especially as they seem primarily
designed for through-board soldering. The BASIC Stamp 1 has only 256 B for
the program, or about enough for 80 instructions, and only 16 B of RAM. It runs,
obviously, on a form of BASIC, known as PBASIC, which is less familiar to the
group than C. It runs on 5 to 15 volts, and in active mode, draws a whopping
1mA of current, even when running at only 5 volts. The Parallax Inc. Spin Stamp
microcontroller was the next microcontroller under consideration. The Spin
Stamp costs $49.99. The stamps are the same size as the BASIC Stamp, and
are still of the through-board soldering design. The Spin Stamp has 32KB for the
program, and 32KB of RAM. It runs on Propeller Assembly, which is less familiar
to the group than C. It runs on 3.3 volts. The Parallax Inc. Javelin Stamp
microcontroller was the next microcontroller under consideration. The Javelin
Stamp costs $89.99. The stamps are the same size as the BASIC Stamp, and
are still of the through-board soldering design. The Javelin Stamp has 32KB for
program storage and 32KB of RAM. It runs on a version of Java. It runs on 5 to
24 volts, and in active mode, draws an overwhelming 80mA at 5 volts, without
any sort of sleep mode.
The last microcontroller considered was the Microchip Technology Inc. PIC
series. The PIC series is available in 8-bit, 16-bit, and 32-bit architectures. The
architecture examined for the WiVal system was the PIC32, specifically the
MX320. The PIC32 MX320 costs only $4.25. The chip has an impressive 32KB
of storage for the program, and roughly 8KB of RAM. The PIC32 MX32000uses
C programming language as it’s driving force. It runs on 2.3-3.6 volts, though no
reliable information could be found regarding the current draw for the PIC32
MX320.
The Texas Instruments ez430 line was the first developer’s kit considered. It has
a simple USB interface, and the chip and the kit together are small enough to fit
inside a case about the size of a large flash drive. The ez430-F2013 is
compatible with both the standard ez430-T2012 as well as the ez430-RF2500T.
This is beneficial in the event that the group decides on making improvements
that could benefit from the addition of on-chip radio communication. Additionally,
the ez430-F2013 is only $20.00, and the ez430-RF2500 is only $49.00.
37!
!
! !
! WiVal!Project!Documentation!
Unfortunately, the other companies, Parallax and Microchip Technology Inc., did
not have integrate-able development boards available for purchase at the time of
this writing.
LEDs were looked at for their simplicity of use, and also for their low cost. A
seven segment LED can be purchased for less than a dollar, and all that is
required is to hook up a resistor and power, and it is fully functional. Additionally,
an LED draws very low power compared to other types of displays, extending the
battery life for portable devices, and saving on utility bills for stationary, wall-
powered devices. The downside is that there are severe limitations as to what
an LED is capable of displaying. A seven segment display is not really capable
of displaying more than digits, and perhaps a few letters. However, for the
purposes of the WiVal, two seven segment displays would be able to display
digits from 00 to 99, which should be more than enough for all but the largest of
businesses. Also, LEDs are rather durable, and fingerprints, bumps, and
scratches are all unlikely to damage an LED beyond use, except in the most
extreme cases.
LCDs, on the other hand, can be much more versatile. Some LCDs are capable
of displaying any number of characters, or even graphics. However, they do
draw considerably more power than LEDs. Also, they are considerably more
delicate. An LCD that is not protected can be scratched through normal use. It
is also considerably easier to crack an LCD screen, and even simply touching
one with a bare finger can, over time, dirty it to the point of hampering it’s use.
Another disadvantage with LCDs is their cost, which can be prohibitively high,
and moreover, the fact that ready-to-use units are extremely scarce. In fact, no
mass-produced LCDs fitting the requirements of the WiVal system were available
for purchase for commercial purpose at the time of this writing.
38!
!
! !
! WiVal!Project!Documentation!
Due to the scarcity of LCDs, it was decided that LEDs were a far better choice.
Though using them would mean limiting the amount of information capable of
being displayed, it was felt that all of the necessary information could be carried
out via LEDs. Additionally, the lower power consumption and higher overall
durability of LEDs mean less long-run cost to the consumer, which will make the
WiVal system more desirable for purchase.
WiVal has done extensive work in research with the pager. We have come
across several ideas utilizing LEDs that activate an area on the pager that light
up when pager has worked. It is a certainty that the customer or even the
employee can lose the pager. Cost in this item is more important than others
because we want the valet company to be able to replace pagers as
inexpensively as possible or expand and by more as business increases.
Another major factor involved in researching this unit is in which way power can
be maximized. WiVal’s reliability is very dependent on how long it lasts. One of
WiVal’s goals is to have the equipment last for a long time and finding ways of
power was a main area we spent time on. We asked ourselves the question,
“Will this be powered by basic batteries? Lithium batteries? Will this pager be
rechargeable?” These are all major questions that were researched for the most
39!
!
! !
! WiVal!Project!Documentation!
optimal design. With our research, we found that to design the power supply
could end up being major time consumption in comparison to all the allocated
time we have to design and build everything. This led to a few paths. We
originally wanted to create the pager and choose the battery, but WiVal was put
in a corner and had to choose a different direction.
An area that can’t be neglected is in the protection of the vital electronics that the
WiVal Pager consists of. The pager will be used in all weather conditions. Valet
companies who work in southern areas need a casing that can protect against
rain and humidity. Valet Companies who are located up north are in an area that
is susceptible to freeze and these units need to be as freeze resistant as
possible. WiVal’s Pager research included the types of protection that can be
used to maximize life of the WiVal Push Button Pagers.
Studying designs in the market, WiVal knows that this is the unit that needs to be
the most aesthetically pleasing. This unit is the one that is given to the customer
or person who will valet their vehicle. With that in mind, WiVal realizes the
importance that this first impression can make for the rest of the service. Valet
Industry usually works on tips and in this respect, WiVal needs to benefit the
valet company, not diminish its worth. Several customers, who valet, aren’t
familiar with the technology that is being spread into the Valet Industry. If a
customer comes to valet service, WiVal wants the customer or person to be
stunned at the fact that a company or restaurant has committed to higher level of
service. The WiVal Pager is essential to the success of this project. With our
research we will try to move forward with the most cost effective and aesthetically
pleasing method that works.
All of this has come to truly affect the direction that WiVal is taking the Pager. At
first our research put us on a path towards designing and building our own pager.
This led to several conclusions:
40!
!
! !
! WiVal!Project!Documentation!
This chip is truly capable of catering to several needs and requirements that
WiVal consists of. This chip is also cost effective which is one of the main
objectives to this unit. To further understand the design aspect of the TXM-916-
ES the block diagram in Figure 5.9.2b illustrates the components that consist of
this chip.
41!
!
! !
! WiVal!Project!Documentation!
!
! !
! WiVal!Project!Documentation!
Isaacs Tech’s design is extremely optimal for everything needed for the WiVal
Push Button Pager. One of the major specifications involved within WiVal is the
ability to withstand normal wear and tear and protect itself from major weather
conditions. The 612T has a design that is perfect for common wear and tear.
The design is a strong plastic that keeps all internal components in place and
protects them from customers or employees dropping them accidently. The
design also incorporates the two buttons, one function design that follows our
initial motivation. This two button concept allows for a stronger protection against
accidental hitting. The accidental hitting is a major reason for the creation and
improvements of WiVal over other Valet Systems in the market. Another key
specification of the 612T is its weather protection. The 612T has been tested in
high levels of humidity and has been tested in a cold chamber a temperature
below -30 degrees Celsius.
Isaacs Tech power supply is one that stood out amongst other products. It
utilizes a 3V lithium battery. This battery is expected to have a lifetime of three to
five years. This lifetime is perfect for satisfying the requirements of potential
WiVal clients. The 3V lithium battery design eliminates the need for a recharging
power supply or the need to create a recharging dock. The 612T is a product we
stumbled open during research. These transmitters appear to be an optimal
choice for WiVal.
43!
!
! !
! WiVal!Project!Documentation!
The EE1235D has a design that will protect itself against the everyday use of the
Valet Industry. The Inovonics transmitter has a strong plastic design similar to
Isaacs Tech’s 612T. The EE1235D has a two button, one function design as
similar to the one shown in figure 5.9.3.
The Inovonics transmitter is another product that appears to fit well for WiVal.
One specification that wasn’t clear was whether this product was FCC
compliable. We couldn’t find out whether this product is aimed towards
European markets instead of American.
The Linx OEM transmitter is a small compact key fob that allows for FCC
compliance under the range of 433.92 Mhz. This range allows for a distance up
to 1000 ft. The Linx OEM transmitter is ideal for usage in situations of remote
control and command operations. The Linx OEM transmitter shown in Figure
5.9.5 is a general look for the transmitter sold by Linx technologies. The other
pagers manufactured by them are with more buttons and look similar but with
added rubber. The Linx OEM transmitters power themselves with a single 3V
44!
!
! !
! WiVal!Project!Documentation!
CR2032 lithium battery. The linx OEM transmitter’s specifications that can
benefit WiVal are:
45!
!
! !
! WiVal!Project!Documentation!
specifications needed in the transmitter for WiVal that were adamant to our
research are:
All pagers researched allowed for most of these specifications. Ultimately WiVal
settled on pager. The pager that appears most suited for WiVal appears to be the
LINX Technology OEM Transmitter. All of this works best for the conditions that
are required for WiVal’s success. The LINX OEM transmitter will allow WiVal to
move forward and capitalize on the necessary specifications.
46!
!
! !
! WiVal!Project!Documentation!
both the WiVal’s Push Button Pager and the Portable Receiver. The Bantam
Clip fulfills our specifications and it cost is $6.00.
5.11.1 Weatherproofing
WiVal’s design requires everything to be weatherproofed. Each component
within each unit cannot be exposed to any kind of extreme weather. Rain, snow,
humidity or cold temperatures can affect the components within the Main Base
Unit, Push Button Pager and Portable Receiver. The Push Button Pagers that
are under research are all qualified for several different weather conditions. The
Push Button Pagers will be purchased and all manufactured with a plastic casing
for protection and aesthetics. The pagers all have rubber material protecting the
47!
!
! !
! WiVal!Project!Documentation!
button portion from wear and tear. The design shown in Figure 5.11 shows the
weather casing on the Linx Technologies Key Fob.
Each unit will have as maximum of protection as possible under the budget that
was made for WiVal. The weather casing will be water proof and be strong
enough from breaking easily when dropped. The Portable Receiver and the
Main Base Unit are both being designed by the WiVal team. Each unit will have
components on a board. When the board’s final dimensions are complete,
WiVal’s group can accommodate the plastic housing to fit. The housing that we
researched is basic plastic that can be cut or molded to fit anything. Several
companies sell the type of plastic needed for WiVal such as Ben Franklin’s,
Michaels or hobby shops. A plastic company that has caught the attention of
WiVal’s group is Tap Plastic. This company manufactures all levels of plastics
from all sizes and dimensions.
The plastic WiVal’s group is researching, is a type of PVC plastic sheet. These
sheets can be ordered in small dimensions and then cut and sized down to
accommodate the unit it is housing. The plastic is weatherproofed by being
water resistant and cold weather does not permeate through as naturally due to
the thickness and material of the PVC sheet. The sheets are the color and
aesthetically pleasing material that WiVal is trying to acquire. These sheets are
sold at the low price of $7 a square foot.
48!
!
! !
! WiVal!Project!Documentation!
Design Preferences
Unique to most senior design projects, the specifications and requirements for
this piece of hardware had no predefined schematics or designs by existing
systems, rather than WiVal being able to adopt and modify an older project.
These requirements forced the hardware to be designed based on our specific
needs and requirements. The units being designed are nonexistent for a
consumer to purchase in today’s market. A company can finance a wireless
company to engineer the systems, but rarely will these systems be sold to
common companies without proper planning for manufacture.
The Main Base Unit is the projects biggest hardware and software challenge.
WiVal’s research and planning has led the group to a specific path in the field of
RF technology. The components needed for the project include RF transmitters,
receivers and transceivers. The Main Base unit will utilize all the skills that the
49!
!
! !
! WiVal!Project!Documentation!
group’s engineers have come to learn. The Main Base Unit has three basic
requirements:
! It must be able to receive input data from the Push Button Pagers that are
being occupied by customers
! It must be able to process this data into a usable format
! It must be able to transmit the data to the Portable Receivers being
operated by the Valet employees
The Main Base Unit will be compromised of four main components. The Main
Base Unit has a Linx Technologies LR receiver and antenna. The antenna is
used for the long range signal transfer that will help the receiver acquire the
information sent from the customers. The Linx LR receiver will then send the
Push Button Pager info to an RF microcontroller that will then send the signal to
a LED displaying the car number. This process is then being done
simultaneously while the same signal is being sent to the Linx Technologies LR
Transmitter to send the formatted signal to a valet employee’s Portable Receiver.
The Valet Employee’s Portable Receiver has a Linx Technologies LR receiver
similar to the Main Base Unit’s that captures the signal identifying the car number
being sent by the Push Button Pager via the Main Base Unit’s receiver. The four
main components to the Main Base Unit are:
! RF Receiver
! RF Transmitter
! LED
! RF Microcontroller
! Antenna
Each unit has its own way of supplying power. Each unit has to have an
acceptable means of energy supply by American power standards. The supply
and storage of power place constraints on the features and physical form of the
final product. Determining the energy source, what medium is used to store the
chosen form of energy, and the means by which it is distributed are essential
issues for a prototype that must be resolved by compromising. Two conflicting
requirements are the number of features and the size of the end product. The
more features there are, the larger the power requirement, and hence supply
which must fit inside the units. The power supply for WiVal’s Push Button Pagers
and Portable Receivers will be power by lithium CR 2032 batteries for long life
and small size. The WiVal Push Button Pager’s batter supply is show in Figure
6.1. WiVal’s Main Base Unit’s power components are designed to power itself
from a standard power connection.
50!
!
! !
! WiVal!Project!Documentation!
Figure 6.1 Battery supply of the Linx Technologies 2 button Key Fob
(Permission Granted from Linx Technologies)
The design preferences we had were essential to our component selection. Our
research led WiVal to several paths of design choices. WiVal studied different
versions of wireless systems and existing Valet System to settle on a design.
WiVal took the path of RF technology and moved forward. The world of RF
technology is an inexpensive and accessible world in which WiVal can begin its
journey. Companies like Linx Technologies provide several components that will
allow WiVal to use RF components that are compliant with FCC Standards and
beneficial to a Valet company or restaurant that wants to enhance their customer
experience. The components described in the following sections are all able to
be purchased and tested by common citizens. These next few sections describe
the technology that drives WiVal forward in a competitive market.
6.2 RF Transmitters
The members of WiVal had a few options with the assortment of transmitters for
this project. Initially we had intended to use the 900 MHz modules for the RF
transmission because 900 MHz is the most flexible off all the FCC regulated
frequencies. This permits any analog or wireless data signal transmission without
restrictions on content and distance. However intense research led as to believe
that it was an unstable frequency to operate on because of the popularity of the
band within the RF spectrum making it crowded and the higher-level
interferences cause by many products using this frequency.
!
! !
! WiVal!Project!Documentation!
as compared to those intended for use at 900 MHz. Since less output power is
used, a longer transmission range is attained and battery life is prolonged. One
wonderful attribute of this frequency is that unlike 900MHz which is restricted to
the U.S, many countries worldwide have allocated this frequencies for wireless
communication devices, in this manner making it possible for WiVal’s product to
be sold overseas.
On the other hand the main manufacture of interest was Linx Technologies; a
company that supplies RF based chips for personal and commercial project. Linx
Technologies was a clear choice from the beginning because their RF modules
only necessitate an antenna, as compared to companies that require
supplementary external RF components. We looked into the ES Series, HP-3
Series, LC Series, KH2 Series and LR Series which had very interesting
applications.
!
! !
! WiVal!Project!Documentation!
53!
!
! !
! WiVal!Project!Documentation!
54!
!
! !
! WiVal!Project!Documentation!
The Linx HP-3 Series transmitter which allows for 8 parallel channels and up to
100 serial channels combined with a long rage of transmission was the group’s
first choice however it was too big for architecture of the main station. The
group’s next target was the Linx ES series transmitter which has a longer range
and is smaller in size than the HP-3 series but higher power consumption as well
as a heavy price tag. After months of deliberation we finally decided to go with
the 418MHz Long Range modules series. Similar to the LC Series, this
transmitter offers high-quality performance for its cost and size. This will be more
than ever useful for fulfilling the group’s project goals. The LC Series interfaces
with virtually any data source including microcontrollers and decoders, making it
suitable for our application. The members of Wival chose this RF transmitter
because the RF Module offers the essential tools to satisfy the requirements of
the main station.
6.3 RF Receivers
The component selection is a critical part of optimizing the receiver performance
and achieving a good balance. There are more than a few important factors that
have to be taken into deliberation when deciding on the ideal RF Receiver to use
in implementing our data reception. With that in mind, the group came up with a
series of identifiable challenges, and then found solutions and products to
overcome them. The operating principles of these receivers are described in the
following.
1. Cost: Since the members of WiVal’s group are responsible for footing the
bill for this senior design project, it is very important that take all the
necessary steps in minimizing the cost. This means that the RF receiver
selected should be worth its value based on the performance ratings of
various competitors.
2. Size: The size of the various components of this project pretty much
defines whether or not WiVal is marketable. In today’s wireless age where
size plays a major role in the use and sale of products, it is important that
our portable receiver is as small as possible. This means that the group
will have to select the smallest possible RF receiver that meets WiVal’s
specification.
!
! !
! WiVal!Project!Documentation!
!
! !
! WiVal!Project!Documentation!
57!
!
! !
! WiVal!Project!Documentation!
!
! !
! WiVal!Project!Documentation!
Linx LC Series receivers were the most appropriate choice to allow for a quick
and reliable design. Additionally, the compact low cost LC modules are the
cheapest modules that Linx Technologies currently has to offer. However after
reviewing the RF receivers above, the members of WiVal decided to use the LR
Series receiver. This decision was mainly because we were already using the LR
Series transmitter. Moreover is unique design and specifications shown in Table
6.3 completely met the group’s design specifications.
59!
!
! !
! WiVal!Project!Documentation!
Figure 6.3 a RH series whip antenna (With permission granted from Linx
Technologies)
! Low cost of $ 7
! Outstanding design based on its small size
! Omni-directional pattern
! Wide bandwidth of 80 MHz
! Flexible main shaft as shown in Figure 5.4 below
! Rugged & weatherized
! Integral 8½-inch RG-174 coax cable
60!
!
! !
! WiVal!Project!Documentation!
With that in mind the decision won’t be finalized until we start the actual testing of
the group’s wireless messaging system to determine which antennas provides
the best overall performance.
6.5 Encoders
After some research it became clear that the main criterion in selecting the
encoder was to look for an encoder that was simple but small enough to
implement a push button function.
During the design of this project, the team members took every measure to
ensure that the group picks the most compatible and smallest encoders available
on the market.
With this in mind, one of the options we considered to use was the Holtek HT640
encoder from Holtek Semiconductor Inc.
! Low cost of $4
! Uses a eight bit binary address
! Uses a low voltage of 2.4V to 12V
61!
!
! !
! WiVal!Project!Documentation!
6.6 Decoders
In view of the fact that the group had selected the encoder from Holtek
Semiconductor Inc, the members decided to use a companion decoder which is
the Holtek HT658 decoder. One of the advantages of this combination is the fact
that we can cheaply accomplish the task of building dependable push button
pagers. The group decided to narrow the selectable options down by choosing
the simplest device possible.
6.7.1 Display
Initially, the group desired an LCD screen for the purposes of outputting
information to the user. The LCD screen would have to be small enough to fit on
the handheld portable receiving units, while at the same time it would have to be
large enough to be able to read, even if the protection over the screen got dirty or
scratched. Additionally, the screen would ideally be lit, as many businesses that
will use the WiVal system may still offer valet services after night has fallen. In
researching display options, however, the group discovered that pre-constructed
LCD screens for handheld devices on the scale of the portable receiver of the
WiVal system are, for all intents and purposes, completely non-existent.
The next preference, then, was to custom order LCD screens for the devices that
make up the WiVal system. The advantage of this approach would be that the
group would be able to have the LCD screen manufactured to the exact
dimensions necessary, without having excess screen, or a screen that was too
small. Additionally, the group would be able to specify the desired resolution of
the LCD screen, allowing the resolution to remain high enough for the required
details, while still remaining low enough to be manageable. The major downside
to this approach was that the cost of custom ordering LCD screens is
prohibitively high. Though it is not so high as to bankrupt the group if they chose
62!
!
! !
! WiVal!Project!Documentation!
to custom order, the price is still high enough that the cost of the screens would
far outweigh any benefit of having an LCD screen over the much cheaper
alternatives.
In the end, the group decided that what really mattered to the success of the
WiVal system was to keep costs at a minimum, so that the system could be kept
as affordable as possible. To this end, the group decided on using seven
segment LEDs to simply display the number of the car which is ready. The LEDs
are low-power, which will aid in their being powered by a battery. Additionally,
the LEDs can display digits 0-9, so with two LEDs, up to 100 cars can be
uniquely identified, having numbers 00-99. The LEDs also have the advantage
of producing their own light, which will guarantee that the display will be visible
even in low-light conditions.
6.8 Microcontroller
Several microcontrollers were considered for use in the WiVal system. The
microcontrollers under consideration were: the Texas Instruments MSP430
family, the Parallax Inc. BASIC Stamp, and the PIC® family.
The Texas Instruments MSP430 family were the first microcontrollers under
consideration. One of the major benefits of the MSP430 is Texas Instrument’s
ez430 line of products. This series of development kits allows for easy USB
connection of the devices for the purposes of programming and testing. The
devices utilize C programming language for instructions, which has the benefit of
familiarity to the WiVal group. The chip of most interest, the MSP430-F2012, is
very low cost, at only $10 for three development boards. The boards themselves
are small enough that they could themselves be used in the final product, if
necessary. The MSP430-F2012 has 2 KB of program storage, and 128 B of
RAM. This should more than suffice for the purposes of the WiVal, and is
considerably more than several of the other microcontrollers. The power
consumption of the MSP430-F2012 is very low. It is designed to operate at
between 1.8 and 3.6 volts, and even in active mode, it draws only a miniscule
220"A.
The next microcontroller looked at was the BASIC Stamp. The BASIC Stamp 1
also has a development kit, though it is a bit more cumbersome than the ez430.
Additionally, each Stamp costs $29.00. The Stamps tend to be a bit on the large
side, especially as they seem primarily designed for through-board soldering.
The BASIC Stamp 1 has only 256 B for the program, or about enough for 80
instructions, and only 16 B of RAM. It runs, obviously, on a form of BASIC,
known as PBASIC, which is less familiar to the group than C. It runs on 5 to 15
volts, and in active mode, draws a whopping 1mA of current, even when running
at only 5V.
63!
!
! !
! WiVal!Project!Documentation!
The last microcontroller considered was the Microchip Technology Inc. PIC32,
specifically the MX320. The PIC32 MX320 costs only $4.25, though that is for
only a chip, with no development board. Sadly, the PIC line does not have the
option of purchasing with a development board. The upside is that when
installing, one needs only space for the chip, not an entire board. The chip has
an impressive 32KB of storage for the program, and roughly 8KB of RAM. It, like
the ez430, uses C programming language as it’s driving force. It runs on 2.3-3.6
volts, though no reliable information could be found, anywhere, regarding the
standard current draw for the PIC32 MX320.
In the end, the Texas Instruments ez430-F2012 was chosen for both the main
station and for the portable receiver, for several reasons. First, it would is
probably the easiest in terms of development, both because if its development
kits and because of the use of C programming language. Also, at 3 for $10, it is
easily the cheapest of the three microcontrollers. And though it lacks the storage
of the PIC32 series, it was felt that the extra power would not be greatly
beneficial to the WiVal’s operation. It was decided that both the main station and
the portable receiver should have the same microcontroller for ease of
implementation, and to reduce the costs of replacement, as often discounts are
offered for purchasing in bluk..
6.8.1 Programming
The software in the WiVal system must be able to store a list of cars to be
retrieved, as well as be able to quickly process inputs, so as not to miss any
signals. Several different programming languages were available for designing
the software to be used in the WiVal system. Of the variety of languages
available, Java, C, BASIC, and assembly were all looked into, as these were the
most common languages to be found in use with commercially available
microprocessors.
Java was the first programming language considered for use in the WiVal
system. Java is a powerful, object-oriented programming language, which would
more than meet the needs of the WiVal system. However, Java is far more
powerful than is really required by the WiVal system. Ultimately, Java would
likely require more resources, in the way of storage space and processing time,
than is necessary to run a relatively simple system. Additionally, Java is not as
familiar to the group as is desired for this project.
C was the second programming language considered for use in the WiVal
system. C is a very commonly used language, and could certainly handle the
task of running the WiVal system. Though not object-oriented, C definitely has
the capability to run all the features required in the most basic design of the
WiVal system. It runs fast, and yet it is of high enough level that it is easy to
understand. It is also very familiar to the group, and the support for it, both in the
64!
!
! !
! WiVal!Project!Documentation!
library and online, is vast. Overall, C is most likely the programming language of
choice, if available to the project.
BASIC was the third programming language considered for use in the WiVal
system. BASIC is a very easy language to understand, and could most likely
handle the task of running the WiVal system. However, BASIC is not quite as
familiar to the group as is desired for this project. Additionally, it is unknown if
BASIC has the capacity to handle any additional features that the group may
desire to add into the design at a later point in time.
Assembly was the final programming language considered for use in the WiVal
system. As the lowest level of the programming languages considered, it would
take up very little space, and would run very fast. However, it could potentially
be extremely difficult to get some of the more advanced features of the WiVal
system to work in assembly. Additionally, as different hardware setups use
different versions of assembly, the group may or may not be familiar with the
programming language, depending on which microprocessor is used in the WiVal
system.
In the end, C was chosen as the language of choice for the WiVal system. It is
powerful enough to suit the needs of the project without drawing power for too
many unnecessary additions. It is also very familiar to the group, and the variety
of information about it online and in print all but guarantees that any stumbling
blocks encountered will be able to be overcome with but a little research on the
group‘s part.
65!
!
! !
! WiVal!Project!Documentation!
Final Design
The project will be done in different stages. A major and critical part of our
design was the WiVal Main Base Unit processor and as a result WiVal took
several steps in determining which one of the chips will be the most appropriate
for our project. In determining the chips to use for our project we looked at
several factors such as the cost of the chip, the accuracy and the type of
programming involved.
The design of the main station is divided into two major components, mainly the
Transmitter and Receiver. Both the RF transmitter and RF receiver will be
connected to the same microcontroller and LED. However, this portion of the
design will focus mainly on the RF transmitter and RF receiver. The design for
the microcontroller and LED will be covered in detail in the subsequent sections.
After some consideration it was decided that the easiest way would be to start
with the RF transmitter.
66!
!
! !
! WiVal!Project!Documentation!
67!
!
! !
! WiVal!Project!Documentation!
68!
!
! !
! WiVal!Project!Documentation!
!
! !
! WiVal!Project!Documentation!
share a single antenna as compared to using two separate ones. This can be
accomplishing by using a commercially manufactured antenna switch as shown
in Figure 7.2. However a range test with different configurations of antenna
length and types selected for use in this project will need to be conducted in
order to find the most effective antenna for this system and whether or not a
antenna switch is need. Once this occurs, the antenna will be attached to the
main station so as to effectively transmit data to the portable receivers and
receive signals from the pushbutton pagers. For now we are going to use the
permanent mount PW Series 1/4-wave whip antenna from Linx Technologies.
The team is confident that if this module were to be used in the main station
application, we will have a functional wireless transmission tower.
!
! !
! WiVal!Project!Documentation!
Technologies to use a low-pass RC filter between the VCC Pin and the Linx
modules to reduce the high frequency noise. Displayed in Figure 7.3 is a basic
voltage supply filter. In Figure 6.3 a 10! resistor is placed in series with the
voltage supply followed by a10"F tantalum capacitor from VCC to ground.
!
! !
! WiVal!Project!Documentation!
responsible for all the indirect communication between the RF receiver, the main
station the LED and the vibrator. The RF receiver will only receive data signals
from the main station by first authenticating the main stations identification code.
Each time a message is sent to the portable receiver, the main stations
identification code will be sent along with the data packet. This is done so that
the portable receiver knows that every sent message is from the main station and
not a phony transmitter. This allows the Microcontroller to select the parallel
channel. Once this happens, the data is then processed into a data packet which
is sent to the RF receiver. The RF transmitter will use an incoming voltage 3VDC
in order to function steadily. The receiver’s Received Signal Strength Indicator
(RSSI) Pin which is Pin 7 serves as a power regulator. It also outputs a voltage
proportional to the incoming signal strength of transmitted data. The next Pin is
the Digital Data Output (Data) which is responsible for outputting demodulated
digital data. Finally, Pin 9 is where the RH series antenna from Linx Technologies
is going to be connected to receive data from the main station. A description of
the Pin layout and its functions are also described in Figure 7.2.1 in the table of
figures and Table 7.2.1 in the table of contents respectively.
!
! !
! WiVal!Project!Documentation!
!
! !
! WiVal!Project!Documentation!
data are decoded to activate the output pins, and the VT Pin is set high to
indicate a valid transmission. A signal on the DIN Pin then activates the
oscillator, which in turns decodes the incoming address and data. The decoders
will check the received address twice continuously. If all the received address
codes match the contents of the decoder’s local address, the 8 bits of data are
decoded to activate the output pins, and the VT pin is set high to indicate a valid
transmission. (www.Linx Technologies.com).once this occurs a signal from the
pushbutton pager will be sent to main station.
7.4 PCB
The main requirements in determining what kind of PCB to use for the entire
project taken as a whole were price, size and the weight of the component. Size
is an important factor in PCB selection for WiVal, because of the handheld nature
of the portable receiver and the pushbutton pagers. The success of WiVal
depends a lot on the size and weight of the components.! After months of
deliberation by team members we decided to order the PCB as a Standard Spec,
74!
!
! !
! WiVal!Project!Documentation!
as compared to a Custom built Spec board. This decision was based on the fact
that a lot of components need to be placed in a restricted gap in order to work
properly. Take for example, the mounting of the antennas which require special
care and placement on the PCB. The antennas need to be turned away from the
digital component as well as power the power sources, to prevent various
interferences. With this in mind, the antennas will be placed on the very ends of
the PCB so as to avoid any issues. Also having a standard PCB makes it easier
for the members of WiVal to test and modify component designs. It is very
important that the group separates the analog and power component of the
design, to prevent any electromagnetic damages to the various components.
However because the optimization for size is a very important factor in WiVal’s
design, the group has decided to have the PCB for the pushbutton pagers and
portables receivers custom built and soldered for the final development and
presentation. This conclusion is due to the need to minimize size but also
decrease the chances of one accidentally soldering wrong parts or damaging
components on the board. There are many factors that will influence the final
design and size of the PCB, however most of these factors will not be faced and
determine until we begin the initial phase in the next senior design class.
7.5 Microcontroller
The line supply line on the Texas Instruments ez430-F2012 board will be
connected to the voltage from the power supply, while the line ground line will be
connected to ground. Four digital lines from the Texas Instruments ez430-
F2012 will be used to power the LED display. Since only one line can be
powered at a time, the 14 lines that will control the LEDs will each be tied to a
latch. When power is sent down one line, through a diode to prevent analog
feedback into the digital system, it will activate the latch, and the LED will turn on.
The Texas Instruments ez430-F2012 will then turn on all the required LEDs in
turn. To reset, one of the two remaining lines from the decoder will activate a
transistor tied to ground, again through a diode, in parallel with the latches and
LEDs. When the transistor is activated, the current through the transistor and
accompanying resistor will drop the current through the latches below that which
is necessary to maintain the latch, thus shutting off all the LEDs until the next
signal is sent. The final line from the decoder will be available for any additional
function deemed necessary. Three digital input lines will be used for the three
buttons to add their input. An analog input line will be used to take in a signal
from the receiver, and in the main base, an analog output line will be used to
send a signal to the transmitter. An additional analog output line will be used to
send a signal to the speaker, to alert the user that a new car has been! added to
the list.
!
7.6 Software
75!
!
! !
! WiVal!Project!Documentation!
The program will need to keep track of which pagers have been activated. In
order to do this, a bi-directional linked list will be used. The linked list will be
treated as a ring, with ten slots. After ten cars have been added to the system,
any additional cars will be written over the previous cars, starting with the oldest.
It is believed that ten will be enough cars to ensure that the valet service using
the Wival system does not fall behind and drop cars that have not yet been
returned.
Several components will be necessary for the software. A complete listing of all
functions is found in figure 7.2.1-1. First of all, the main program will be in a
never ending while-loop, as the program is meant to continue running for as long
as power is supplied. The program will then first check for a signal with the
CheckSignal function. If a signal is found, it will then send the signal to the
DecodeSignal function. The program will then call the AddCar function to add a
car to the database, and then the AlertUser function will be called, to send a
signal to the speaker to let the user know that a new car is ready. In the main
base, after the AlertUser function is called, the EncodeSignal function will be
called to translate the car number into a signal to rebroadcast to the portable
receiver by means of the SendSignal function. In both the main base and the
portable receiver, the loop will then restart. If no signal is found with the
CheckSignal function, then the main function will call the CheckKeys function, to
see if a button has been pressed. If it finds one, it will first determine if the key
has just been pressed, or if it has been held down since the last time the function
was called. If it determines that the key has been held down, the main program
does nothing. If it determines that the key has just been pressed, the main
program will then call a function based on which key it was that was pressed. If
the forward button has been pressed, the program will call the ClearLED function
to clear the display. It will then advance to the next car after the currently
selected car. Then, the ToLED function will be called, to output the requested
car number to the display, by means of the sub-functions OneOut, TwoOut, etc.
If, however, the backward button has been pressed, the program will call the
ClearLED function to clear the display. It will then move to the previous car
before the currently selected car. Then, the ToLED function will be called, to
output the requested car number to the display, by means of the sub-functions
OneOut, TwoOut, etc. Finally, if the “latest” button is pressed, the program will
call the ClearLED function clear the display. It will then shift the data to look at
the most recent car added. Then, the ToLED function will be called, to output the
requested car number to the display, by means of the sub-functions OneOut,
TwoOut, etc. After the ToLED function has been called, the program will return
to the main loop.
76!
!
! !
! WiVal!Project!Documentation!
Several variables will be used in the program, in order for it to work properly. A
structure called sCarData will be used to form the double linked list ring. The
structure will consist of an integer variable called iCar, to hold the number of a
car. The sCarData structure will also have two pointers. The pointer pNext will
point to the next sCarData structure, whereas the pointer pPrev will point to the
77!
!
! !
! WiVal!Project!Documentation!
struct!sCarData
int!iCar
struct!sCarData*!pNext
struct!sCarData*!pPrev !
Figure 7.2.1-2 Structure information for the sCarData structure.
!
78!
!
! !
! WiVal!Project!Documentation!
Design Summary
8.1 The RF Transmitter Connection
Figure 7.1 shown below and Table 7.2.1 in the table of contents show the Pin
assignment and description respectively. First, Pin 1, 3 and 6 are set to analog
ground. The transmitter primarily receives input data serially from the
microcontroller which connects through the Pin labeled PDN and then transmits
this data on a selected channel through the antenna labeled ANT. The
microcontroller is the master of all activities in the main station. It reads in an
identification number when receiving an input data. This allows the
Microcontroller to select the parallel channel. Once this happens, the data is then
processed into a data packet which is sent to the transmitter. The transmitter
then processes data, one byte at a time based on the desired signal rate of the
RF Transmitter. At the same time as this occurs, the transmitter processes the
data packet and then transmits this data onto a selected channel through the
antenna labeled Pin ANT. Pin 2 is the Digital Data Output (Data) which is
responsible for outputting demodulated digital data. Also, there is the Level
Adjust (LADJ) Pin which is in charge of adjusting the output power of the RF
transmitter by placing a resistor between Pin 7 and LADJ. However Pin 7 is the
Voltage Supply, which is designed to normally use 3VDC in order to function
steadily. Finally the data is broadcasted through air via Pin 5, where it is picked
up by a friendly portable receiver.
79!
!
! !
! WiVal!Project!Documentation!
80!
!
! !
! WiVal!Project!Documentation!
!
! !
! WiVal!Project!Documentation!
identification code will be sent along with the data packet. This is done so that
the portable receiver knows that every sent message is from the main station and
not a phony transmitter. This allows the Microcontroller to select the parallel
channel. Once this happens, the data is then processed into a data packet which
is sent to the RF receiver. The RF transmitter will use an incoming voltage 3VDC
in order to function steadily. The receiver’s Received Signal Strength Indicator
(RSSI) Pin which is Pin 7 serves as a power regulator. It also outputs a voltage
proportional to the incoming signal strength of transmitted data. The next Pin is
the Digital Data Output (Data) which is responsible for outputting demodulated
digital data. Finally, Pin 9 is where the RH series antenna from Linx Technologies
is going to be connected to receive data from the main station. A description of
the Pin layout and its functions are also described in Figure 7.1 in the table of
figures and Table 7.1 in the table of contents respectively.
82!
!
! !
! WiVal!Project!Documentation!
The decoder will receive data transmitted by the encoder through Pin DIN. The
encoder will then read between the lines of the first 10 bits of the code as
address and then read through the remaining bits of the code as data. Next, the
decoder will check the received address code. Once the received address codes
shows up as exactly the one sent by the decoder’s local address, the 8 bits of
data are decoded to activate the output pins, and the VT Pin is set high to
indicate a valid transmission. A signal on the DIN Pin then activates the
oscillator, which in turns decodes the incoming address and data. The decoders
will check the received address twice continuously. If all the received address
codes match the contents of the decoder’s local address, the 8 bits of data are
decoded to activate the output pins, and the VT pin is set high to indicate a valid
transmission. (www.Linx Technologies.com).once this occurs a signal from the
pushbutton pager will be sent to main station.
83!
!
! !
! WiVal!Project!Documentation!
84!
!
! !
! WiVal!Project!Documentation!
Testing
The WiVal system will initially have the components and individual systems
tested. Then, the systems will be connected together until all of the systems
function as a whole. Finally, the components will be mounted inside their
respective weatherproof casings. When WiVal is assembled, it will undergo a
successful transfer of information from the customer’s Push Button Pager
through the wireless system in range and then display and keep order of vehicles
waiting to be picked up. Having passed all of the tests the WiVal System will be
a completely functional valet system that can compete in today’s industry. Figure
9.1 depicts a basic overview of the testing that will occur during the final stages
of our project.
Testing!
Assemble!power!
supply,! Construct!
Program! chassis!and!
transmitter,!and!
microcontroller! mounting
receivers!!!
Revise!and!repair! Test!functionality!
Final!product!
!
!
85!
!
! !
! WiVal!Project!Documentation!
Testing is a very important part for the WiVal project. The goal in testing will be to
verify the original goals, objectives, specifications, and requirements specified at
the beginning of this document. To complete this task all equipment must be
tested in a controlled environment, which will likely be the senior design lab.
Measurements must be taken, and definitions must be categorically and
methodically verified. In addition, all testing should be conducted in a manner
that is as close to realistic with everyday situations as possible. In order to
thoroughly confirm all requirements, specifications, goals, and objectives, a log
will be maintained in a lab notebook. The usual equipment will be used that is
available in the senior design lab, such as oscilloscopes and function generators.
Other equipment will be borrowed or purchased if need be.
During the build phases of the WiVal, testing must be done constantly to ensure
that completed tasks are not undone by new programming or building. Initial
testing is simply making sure that progress continues and that any setbacks will
be minimized. After any of WiVal’s units are built, and the first phases of testing
are complete, final testing will begin. This will consist of checking and rechecking
that all requirements set forth are met.
Figure 9.2.1 on the left, expected modulation delay and Figure 9.2.2 on the
right, current consumption vs. power output (With permission granted from
Linx Technologies)
86!
!
! !
! WiVal!Project!Documentation!
Figure 9.3 on the left and 9.4 on the right, show the turn on response time
from VCC to PDN (With permission granted by Linx Technologies)
87!
!
! !
! WiVal!Project!Documentation!
testing of general components such as the power usage, gain and range will be
done and analyzed in senior design 2.
Figure 9.5 on the left and 9.6 on the right are samples of expected results
RSSI response time and consumption Vs power correspondingly (With
permission granted by Linx Technologies)
9.3 Microcontroller
Initial testing of the Texas Instruments ez430-F2012s will ensure that they can
correctly differentiate between simple analog signals. The signals will then be
increased in complexity until they reach the complexity required for the WiVal
system. The next step will be to ensure that the Texas Instruments ez430-
F2012s can send the signals correctly. Both the Texas Instruments ez430-
F2012 for the main base and the Texas Instruments ez430-F2012 for the
portable receiver must be able to send analog signals, and both Texas
88!
!
! !
! WiVal!Project!Documentation!
After the initial testing, the system can be constructed, and the Texas
Instruments ez430-F2012s will be tested to ensure that the system works in an
ideal situation. An ideal situation being defined as one in which all signals are
guaranteed to come in one at a time, at full strength. After that case has been
verified, the Texas Instruments ez430-F2012s will be tested for less ideal cases.
Testing will need to be done for the following cases: two pager units being
activated at close to the same time, a pager unit being activated at the maximum
desired range, a portable receiver receiving a signal at the maximum desired
range, and the portable receiver or main base receives a signal at the same time
that a key is pressed.
9.4 Programming
For initial testing, each function in the program will be tested separately. First,
the basic purpose of the function will be tested. Then, additional purposes will be
added until the final function is verified working.
The CheckSignal function will first be tested merely to ensure that it can
recognize a signal coming in on the analog input line. After it has been verified
that the CheckSignal function can recognize a signal, the function will be updated
to include capturing the signal in its role. If the CheckSignal function can
recognize the signal and capture the signal, it will be considered to be fully
functional and complete. The DecodeSignal function will first be tested to ensure
that it can take in a simple signal captured by the CheckSignal function, and pull
the useful data from it. Once the CheckSignal function has been verified to be
working properly, if the DecodeSignal function can accurately decode a signal
passed from the CheckSignal function, then it will be considered to be fully
functional and complete. The AddCar function will first be tested to ensure that it
can take in an integer and add it to the list of cars in the correct slot. It will then
be tested with a ring which already contains the car that has been sent to it, to
ensure that it does not add the existing car to the ring multiple times. Finally, the
AddCar function will be tested to make sure that it can accurately update the
pointer to the most recent car added to the double linked list ring. If the AddCar
function can accurately verify that a car is not in the ring already, add the car to
the ring, and then update the pointer to the ring, then it will be considered to be
fully functional and complete.
The AlertUser function will be tested to ensure that it can send an analog signal
capable of driving the speaker to make a sound to alert the user that a new car
has been added to the ring. If the AlertUser function can manage to get the
speaker to play a useable sound, then it will be considered to be fully functional
and complete. The ClearLED function will be tested to ensure that it can send a
digital signal to the decoder to activate the “clear” line. If, when the ClearLED
89!
!
! !
! WiVal!Project!Documentation!
function is called, the “clear” line becomes the only active line, then the ClearLED
function will be considered to be fully functional and complete. The ToLED
function will first be tested to ensure that it can take in an integer number and
correctly break it down into a ten’s place and a one’s place. It will then be tested
to ensure that it calls the correct sub functions for any given integer input. If the
ToLED function can accurately break down an integer and call the corresponding
functions, then it will be considered to be fully functional and complete. The
OneOut, TwoOut, etc. functions will first be tested to ensure that when they are
called, they produce the required outputs on the digital lines to the decoder, in
the correct order, with no additional signals being sent. The Texas Instruments
ez430-F2012 and the decoder will then be connected to the LEDs to ensure that
the OneOut, TwoOut, etc. functions actually cause the correct number to be
displayed. If the correct number is displayed when the OneOut, TwoOut, etc.
functions are called, then they will be considered to be fully functional and
complete.
The CheckKeys function will first be tested to ensure that when it is called and no
key is pressed, that it returns a value of zero to the main program. Next, it will be
tested to ensure that when it is called and the forward key is pressed that it
returns a value of one to the main program. Then, it will be tested to ensure that
when it is called and the back key is pressed that it returns a value of two to the
main program. Then, it will be tested to ensure that when it is called and the
“latest” button is pressed that it returns a value of three to the main program.
Finally, the CheckKeys function will be tested to ensure that when it is called and
more than one button is pressed, that it returns a value of negative one to the
main program. If the CheckKeys function returns the correct integer value under
all stated conditions, then it will be considered to be fully functional and complete.
The EncodeSignal function, on the main base, will be tested to ensure that it can
translate an integer value to the correct signal. If the EncodeSignal function can
reliably produce the correct signal, then it will be considered to be fully functional
and complete. The SendSignal function, on the main base, will be tested to
ensure that it can take a signal and properly transmit it through the analog output
line. If the SendSignal function can reliably send the signals, then it will be
considered to be fully functional and complete.
90!
!
! !
! WiVal!Project!Documentation!
10.1 Introduction
The WiVal project will call on the formal training of the group’s engineers in the
fields of circuit design, computer system design, programming, system
architectures, wireless systems, hardware and software interfacing. The project
will also demand other skills, these additional skills are not formally taught in the
EE or CE courses; however, they are skills vital to the success of graduating
engineers entering the workforce. Some of these skills include:
WiVal’s group will also be faced with challenging questions related to self-
management, ethics, and professionalism.
The challenges and experiences in several areas should provide WiVal’s group
with valuable insight to their futures in engineering. This project is the culmination
of the group’s education in that the WiVal project will draw upon the skills,
resources, and knowledge of each group member in such a way as to build
confidence in the other members. This confidence will allow the members to
move forward in their lives knowing that they are well trained engineers, capable
of injecting their own form of value into the society in which technology is
everywhere.
WiVal is currently being self-financed. WiVal is hoping to keep the final budget
under $630. For the final design our hopes are to create one - two receivers and
three-four pagers and one main transmitter. Our original budget in the beginning
of the semester was similar to the one in table 10.1a.
91!
!
! !
! WiVal!Project!Documentation!
This first budget was a great guideline for maximizing the amount of money
compiled for designing and building WiVal. As a group, WiVal allocated plenty of
money to purchase everything that is required. This budget also gave WiVal the
ability to do the research with the proper amount of information needed for
choosing parts. The extra amount of money was dedicated to the project so that
the group could choose components with confidence instead of worrying too
much about cost. Each group member was allocated enough money to focus on
the parts that were needed, and the parts that could maximize the potential of
WiVal and its success. This original budget layout is what aimed WiVal towards
its milestones.
WiVal hopes to design and create a prototype of a wireless valet system that
competes with existing products on the market. WiVal will aim itself towards
finishing the design portion of this product by December 5th, 2008 as to be turned
in by December 8th, 2008. WiVal’s milestone of designing this project by the
respective due date appeared to be far from near when starting in the beginning
of the semester. After lots of dedicated planning and hard work, WiVal
committed themselves to success and worked towards a final product that could
be built with the proposed design by the completion of the next semester. All of
92!
!
! !
! WiVal!Project!Documentation!
this would not have been possible without the necessary planning that comes
with such a daunting project. The group worked until completion as to confirm
that the proposed WiVal will succeed. The basic overview WiVal followed for
maintaining a goal and an end date is shown in Figure 10.1b.
Since each team member has a different class, work, and personal schedule,
management is maintained through the use of meetings and constant
communication through email. Each member has been assigned to overlook
certain phases in WiVal’s design progress, but mainly there is a joint effort to
research and complete WiVal’s project. No Team leader has been assigned
since WiVal feels that there is great teamwork thus far and each individual is a
leader in their respective phase.
The team worked independently to gain the information we needed to provide the
content of this document. A majority of the information enclosed was generated
from prior knowledge gained during our education or from other sources. The
other sources that we used were mostly available true the internet. We searched,
sent emails, and browsed to find the information we needed. WiVal’s group
interaction will be the key for our success in the course of this project. Various
meeting times were set up to discuss the project and come up with ideas and
solutions. Like research, much of WiVal’s design was done independently. We
did have meetings to address WiVal’s specifications and have interactions, but
for the most part, time was saved by making the designs on personal time.
WiVal’s group agreed to meet twice a week to finalize a document so that the
paper would be fluent and any bad and useless information would be replaced
with relevant topics.
The time needed to research the project was distributed evenly between all the
members of the team. The team had weekly meetings on Tuesdays and
Thursdays and additional planned discussion days. The discussions days where
set up so that all the team members could talk about the progress relevant to
their research, share ideas, and update the other members about new ideas and
additions to the project. Each member was responsible for both ordering parts
and several meetings where set up to edit the paper and provide everyone with
updates on its progress.
93!
!
! !
! WiVal!Project!Documentation!
EEL!4914!Milestone!Overview
Design!and! Obtain!
research! knowledge!of!
wireless!devices
Software!design!and! Hardware!fabrication
testing!
Integration!and!
testing*!
Review!documentation!
and!report
!
Figure 10.1b shows an Overview of WiVal’s Milestones
10.2 Finances
As the semester came to a close, WiVal was able to capitalize on all the time
allocated due to the careful planning in the beginning. The finances of the
project were gathered early on. WiVal chose its parts early as to move forward in
the design process as soon as was possible. Our final Budget is displayed in
table 10.2 with exact part numbers, quantity and price.
94!
!
! !
! WiVal!Project!Documentation!
10.3 Milestones
WiVal hopes to accomplish everything that was planned from the beginning. As
of this writing everything has gone as scheduled and the WiVal Project
Documentation is complete,
95!
!
! !
! WiVal!Project!Documentation!
WiVal can become a successful project if the group continues to accomplish all
the milestones that lay ahead. The first portion of Senior Design is complete
which next moves WiVal towards the final semester. The first half of Senior
Design consists of mostly design and research. The final half takes the design
96!
!
! !
! WiVal!Project!Documentation!
and research phase and utilizes that to build and test a prototype. WiVal’s
continued milestone for the next half of Senior Design are detailed next in Table
10.4.
97!
!
! !
! WiVal!Project!Documentation!
Final Comments
When WiVal had set out and started researching this project, our goal was to
create a low cost, portable and easy to use wireless system which can benefit
the valet and restaurant industry. As more research was done, decisions were
made on the functions and devices for our original design to fit our requirements
and budget. We faced some difficulties during the design such as choosing &
purchasing electrical components. At times we couldn’t find the parts that we
needed from the websites; we then called the companies or factories for parts
and information. This experience allowed us to gain knowledge in the area of
preparing for an Engineering Design project.
Working within a profession allows one to see the negatives in the job that occur
in everyday processes. As mentioned earlier, valet as a service has been around
in some form for many years. For the last several decades, valet has employed
the “pen and paper” method. The “pen and paper” method is one in which the
valet employee gives the incoming person or customer a piece of paper that can
later be collected and matched with the identifying ticket on the key chain. This
method still works and is still used in most places that employ a valet service.
This method is just another service that people who use that method are just
waiting to improve.
98!
!
! !
! WiVal!Project!Documentation!
The companies that use this product will be moving their customer service into
the next millennium.
The goal behind WiVal is to have three basic units. WiVal will be optimal for all
levels of valet service. The equipment is inexpensive and beneficial to the
industry. The WiVal will accommodate to the employee who does not have a lot
of technical knowledge. All of this will come together to create a strong product
known as WiVal. WiVal’s group has high expectations about the prototype that is
being built. The group expects results that satisfy the requirements mentioned
earlier. The WiVal relies on simple electrical and analog signal fundamentals.
The WiVal has several technical desired results. With all that needs to work, the
WiVal should be able to benefit the company employing the technology. The
WiVal has a strong idea aimed towards resolving prior problems with older
methods and to reach goals that Valet Companies couldn’t reach before.
The members of WiVal have several core goals for the WiVal Project. WiVal
wants to design and build a project that challenges their abilities in engineering.
This project has challenged WiVal’s group in ways that ultimately have become
the educational “light at the end of the tunnel” in the pursuit of their engineering
degrees. WiVal’s group has been determined to design and build a project that
will enhance themselves in their respective areas for future occupations.
99!
!
! !
! WiVal!Project!Documentation!
Appendix I
100!
!
! !
! WiVal!Project!Documentation!
Appendix II
Figure 6.2 the LR series receiver Pin Assignment (With permission granted
by Linx Technologies)
101!
!
! !
! WiVal!Project!Documentation!
Appendix III
!
Component (Unit Price) Location Quantity Price
RXM-418-LR ($10.00 each) Linx Technologies 3 $30.00
TXM-418-LR ($6.00 each) Linx Technologies 2 $12.00
CMD-KEY2-418 ($15.00 each) Linx Technologies 3 $45.00
Wires RadioShack n/a $20.00
P/W Series Antenna ($7.00) Linx Technologies 2 $14.00
CR2032 Battery Pack of 2 RadioShack 1 $3.00
($3.00)
PCB Board Pressing ($7.00) 2 $14.00
7-Segment LED #276-075 RadioShack 4 $8.00
($1.99)
Microcontroller TI ez430- Texas Instruments 2 $6.66
F2012T ($3.33)
Bantam Clip ($7.00) TheClip.com 3 $21.00
PVC Plastic Sheets 2’ x 2’ 2 $14.00
($7.00)
Unknown Costs $40.00
Total $227.66
!
Table 10.2
102!
!
! !
! WiVal!Project!Documentation!
Appendix IV
Works Cited
FCC, Part 15: Radio frequency devices, [Online Document], [cited 10 November
2008], Available
http://www.fcc.gov/Bureaus/Engineering_Technology/Documents/cfr/1999/,
retrieved October 16th, 2008
Isaacs Tech, “Isaacs TECH Two Button Pager” [Online Document], [cited 03
November 2008], Available
http://www.isaacstech.com/radio_products/sheets_manuals/pdf/612T_specs.PDF
, Retrieved October 19, 2008
!
! !
! WiVal!Project!Documentation!
104!
!
! !
! WiVal!Project!Documentation!
Appendix V
Permission Granted
Subject: RE: RF Modules
Date: Mon, 24 Nov 2008 12:04:24 -0800
From: craigge@linxtechnologies.com
To: marteip@knights.ucf.edu
Henry
You have our permission to use schematic diagrams and other related data from our
website in your Senior Design paper. We do require that items used in your report
indicate that they are used with permission of Linx Technologies.
Tech Support
Linx Technologies
techsupport@linxtechnologies.com
Phone:1-541-471-6256
Fax:1-541-471-6251
http://www.linxtechnologies.com
http://www.antennafactor.com
http://www.connectorcity.com
105!
!
! !
! WiVal!Project!Documentation!
Permission Pending
Subject: : Innovonics Picture
Date: Wed, 26 Nov 2008 11:09:24 -0800
From: bucsfan5691@hotmail.com
To: Innovonics@contactus.com
James
James
106!
!
! !
! WiVal!Project!Documentation!
James
107!