0% found this document useful (0 votes)
31 views5 pages

Need For Speed Document

Uploaded by

Rohit Iyer
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views5 pages

Need For Speed Document

Uploaded by

Rohit Iyer
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/271908953

NFS GAME DESIGN USING LABVIEW

Conference Paper · January 2013

CITATION READS
1 444

2 authors:

Pankaj Ramani P. RAMANI RANJAN SENAPATI

15 PUBLICATIONS 43 CITATIONS
SRM Institute of Science and Technology
8 PUBLICATIONS 11 CITATIONS
SEE PROFILE
SEE PROFILE

All content following this page was uploaded by P. RAMANI RANJAN SENAPATI on 07 February 2015.

The user has requested enhancement of the downloaded file.


International Journal of Recent Advances in Engineering & Technology (IJRAET)

NFS GAME DESIGN USING LABVIEW

P. Ramani Ranjan Senapati


National Institute of Science and Technology, Berhampur, Odisha
Email : [email protected]

Abstract- In this age all the things are developed II. USED HARDWARE
technically and scientifically. And the small children are Wireless Transmitter
very much interested to play with the technical toys.
After that they want to be realistic. Because the human The wireless transmitter is an electronics circuit which
beings are changed, they want to see the real. They are consists of a RF transmitter, HT12E encoder, and 7806
searching how much of truth is present behind an voltage regulator. The RF transmitter is of 434 kHz
imaginary thing. The age has been modified and after type and it has range of 300 meters. The transmitter is
that our mind has also been developed. With the
improvement of science and technology, all the fields
connected to NI-DAQ. LabVIEW transmits motor
related to science have also to be developed. signals to the car through wireless transmitter and
hence controls the car.
By taking the above considerations, here a racing car has
been developed using LabVIEW same as the NFS gaming Wireless Receiver
car, which can roam in our surrounding by PC keyboard
controlling. It will look like a real world NFS Game.
The wireless receiver is an electronics circuit that
consists of a RF receiver, HT12D decoder, and 7805
Index Terms—LabVIEW, NFS, Toys, Wireless voltage regulator. The RF receiver is 434 kHz type.
Communication The wireless receiver circuit is fixed on the car and its
I. INTRODUCTION output is connected to the motor controller circuit. The
receiver receives signals from the transmitter and
In this project we have constructed an autonomous transmits it to the motor controller. The motor
wireless car for the purpose of NFS gaming. The car controller accordingly controls the motor operation.
has to move around our surroundings providing a
constant video feed to the user. The video can also be Motor Driver Circuit
used for the purpose of monitoring the security of our The motor driver circuit consists of L293d motor
surroundings at night. We have used LabVIEW, a driver. It receives digital signals from the wireless
software product of National Instrument for receiver circuit and controls the motor accordingly.
programming the car to accomplish its objective. The circuit has a switch for emergency motor stop in
The project consists of a small car for roaming case we want to stop the car.
purpose. And it consists of a night vision camera along Motors
with a wireless transmitter, receiver and TV tuner.
Motors we have used are 12 V DC 100rpm. Motors are
By the help of the camera the car will take the picture controlled by motor driver as per signals from
and it will transmit the pictures to the user by the help LabVIEW via DAQ, wireless transmitter and wireless
of the wireless transmitter and receiver. Then it will receiver. LabVIEW sends motor signals for movement
take the necessary actions by the user’s command. of the car from one place to another place.
Here keyboard Up key is used for forward movement,
Down key is used for Backward movement, Left key is
used for Left turn and Right key is used for Right turn.

ISSN (online) 2347-2812 Volume-1, Issue-3, 2013


52
International Journal of Recent Advances in Engineering & Technology (IJRAET)

Car Base This software is far more easy to use and is more
efficient.
The car base is made up of wooden ply, motor clamps,
two wheels of 7 cm each and a castor wheel. Motors DAQmx
are attached to the base by fixing them to the motor
We are using palate objects from NI-DAQmx. We use
clamps. Two wheels are fastened to the motor shaft.
the DAQmx – Data Acquisition VIs with NI-DAQ to
The castor wheel is fastened to the front of the base. A
control output from system to wireless transmitter.
second wooden ply is attached to the base; it is used as
the camera base. DAQ is used to acquire data from external devices. We
can’t feed the analog data directly to the computer,
Power Source
because it is a digital system. So we use DAQ to
Both car and the wireless transmitter require power acquire this analog data and to feed it into the system
source. In case of wireless transmitter a fixed 12 V in digital format.
supply adapter is used. For the car we have used a 12
V, 2A rechargeable battery. IV. PROGRAM DESCRIPTION
Wireless camera with night vision There are 3 different ways to move the car.

We have used a wireless camera that has night vision. 1. Without knowing the path parameters
It transmits video continuously. The wireless camera 2. Knowing the path parameters (all the parameters
receiver receives the signal and transmits to the remote are different)
computer through a TV tuner connected to system.
LabVIEW on the remote computer processes the 3. Knowing only one parameter
images and displays it to the user. Here the parameter of path indicates distance the car
DAQ Card has to travel, the angle of rotation of the car, scale to
control the distance to travel, time delay to increase the
DAQ is used to acquire data from external devices. We motor operating time.
can’t feed the analog data directly to the computer,
because it is a digital system. So we use DAQ to Without knowing the path parameters
acquire this analog data and to feed it into the system In this case we have to navigate the car like computer
in digital format. NFS car racing.
Specification of the DAQ card is:
 16 analog inputs at up to 200 KS/s, 12 or 16-bit
resolution
 Up to 2 analog outputs at 10 KS/s, 12 or 16-bit
resolution.
 8 digital I/O lines (TTL/CMOS); two 24-bit
counter/timers.
 Digital triggering.
 4 analog input signal ranges.
TV Tuner
The camera receiver gives AV output. AV output
cannot be directly given to the system. So we have
used a TV tuner via which we obtain the video output
in our pc.
III. USED SOFTWARE
NI LabVIEW 2012
“Fig1. Block Diagram of keyboard controlling”
We are using LabVIEW version 2010 to program the
car. This software is a product of National Instrument. By the help of this VI we can control the car in four

ISSN (online) 2347-2812 Volume-1, Issue-3, 2013


53
International Journal of Recent Advances in Engineering & Technology (IJRAET)

different directions. delay to increase the motor operating time. This VI


receives input from other VI or from the user and
In this program the ASCII value of the key is taken as
converts them into durations for which the motors to
the input, when we press a switch and the
be energized. As from the block diagram, a flat
corresponding action is taken at the car side by using
structure with six frames is present. The 1st, 4th, 6th
DAQ.
frame consists of blocks that are used to stop the car.
Knowing the path parameters (all the parameters are The 2nd frame consists of calculations for converting
different) the distance to travel and angle to rotate in terms of
time for which the motor should be energized. The 3rd
Here the user knows all the path parameters like how block is the rotation block. It consists of case structure
much distance his car to travel, angle of the rotation of that consists of knowing path2 VI with either
the car, scale to control the distance to travel, time
instruction to rotate to left or to right and a wait block
delay to increase the motor operating time. All these
to ensure the time for which the car should rotate. The
parameter are the inputs to the car. After giving it the
5th block is for forward movement. It consists of
car starts to travel according to the user’s given
knowing path2 VI with forward instruction and a wait
parameter. block to ensure the car should move forward. The car
stops moving after 5th block because of stop option in
6th block.
Knowing only one parameter
Suppose the user knows only one parameter for some
limited distance then know another parameter for other
some limited distance, at that time also he can control
his car very smoothly.

“Fig2. Front Panel knowing path.vi”

“Fig4. Block Diagram of knowing path2.vi”


This VI takes input in terms of numbers for direction
and moves the car in the specified direction equivalent
to the number input. The numbers are
2 – Forward movement
1 – Reverse movement
“Fig3. Block Diagram of knowing path.vi” 0 – brake movement
The knowing path VI has four inputs or controls. They 4 – Right rotation
are distance the car has to travel, the angle of rotation
3 – Left rotation
of the car, scale to control the distance to travel, time

ISSN (online) 2347-2812 Volume-1, Issue-3, 2013


54
International Journal of Recent Advances in Engineering & Technology (IJRAET)

V. CONCLUSIONS [2] Jeffrey Travis, Jim Kring “LabVIEW for


Everyone: Graphical programmingMade easy
We have successfully developed a NFS game using and fun”
LabVIEW. It is controlled by any user. But it requires
wireless transmitters, receivers and also TV tuners. [3] Rick Bitter, Taqi Mohiuddin, Mathew, “Lab
And we can develop it by adding extra hardware VIEW Advanced Programming Techniques”,
which will make it distance independent. All the Prentice Hall Publication, New Delhi, March
keyboard keys which are used here, one will be 9,2007, 1st edition.
pressed at one time only. [4] Gary W.Johnson, Richard Jennings, Paperback,
VI. REFERENCES “Lab VIEW graphical programming”,
McGraw- Hill Publication, New Delhi, July
[1] Peter A.Blume, “The LabVIEW Style Book”, 19,2007, 3rd edition.
Prentice Hall Publication, New Delhi, February
27, 2007, 2nd edition. [5] Jovitha Jerome, “Virtual Instrumentation using
Lab VIEW”, PHI Publication, New Delhi,
January 2012, 3rd edition.



ISSN (online) 2347-2812 Volume-1, Issue-3, 2013


55

View publication stats

You might also like