the local christopher perez justin pun jonathan varsanik
TRANSCRIPT
![Page 1: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/1.jpg)
The LocalThe LocalChristopher PerezChristopher Perez
Justin PunJustin Pun
Jonathan VarsanikJonathan Varsanik
![Page 2: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/2.jpg)
System StructureSystem Structure
GPS
Compass
Position/Orientation Decoder
IdentifierUI/Video Module
Video Monito
r
![Page 3: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/3.jpg)
Device FunctionsDevice Functions
LocatorLocator• Indicates current position on a local Indicates current position on a local
map.map. IdentifierIdentifier
• Provides information about desired Provides information about desired building.building.
Tour guideTour guide• Takes users on a “tour” by providing Takes users on a “tour” by providing
information about surroundings.information about surroundings.
![Page 4: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/4.jpg)
Locator PortionLocator Portion
![Page 5: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/5.jpg)
GPS and CompassGPS and Compass
Syn
chro
niz
er
GPS
Compass
RS232Decoder
MessageDecoder
CoordinateTransform
![Page 6: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/6.jpg)
RS232 InterfaceRS232 Interface Single ended serial communication Single ended serial communication
standardstandard 10 Bits10 Bits
• Start bitStart bit• 8 data bits8 data bits• Stop bitStop bit
AsynchronousAsynchronous To DecodeTo Decode
• Listen for start bitListen for start bit• Time form local clockTime form local clock• Store data bit at data rateStore data bit at data rate
Idle
Data
Start BitCount = 0
SamplingIf clock & odd, storeCount <= count + 1
Done
*
Count < 7
Count = 7
Data ready = 1
*
![Page 7: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/7.jpg)
Message DecoderMessage Decoder
GPS uses NMEA ProtocolGPS uses NMEA Protocol• Identifying headerIdentifying header• Comma separated fieldsComma separated fields
To DecodeTo Decode• Listen for $GPGGA headerListen for $GPGGA header• Parse messageParse message• Store CoordinatesStore Coordinates
![Page 8: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/8.jpg)
Coordinate TransformerCoordinate Transformer
Our map is flat, but Our map is flat, but the world is not.the world is not.• The globe isn’t a The globe isn’t a
sphere, eithersphere, either WGS ProtocolWGS Protocol
• Accurate way to convert Accurate way to convert Latitude/Longitude to Latitude/Longitude to flat local spaceflat local space
Output position in Output position in locally flat spacelocally flat space
![Page 9: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/9.jpg)
Identifier PortionIdentifier Portion
![Page 10: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/10.jpg)
Functional Block Diagram For Functional Block Diagram For IdentifierIdentifier
Synchronizer
IdentifierROM
t_modeinforesetclock
ROM ROM
ROM
....
(x,y,θ) (x0,y0,b_num)15 15
8
128
12
![Page 11: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/11.jpg)
Functionality of IdentifierFunctionality of Identifier
Controls the query of points (reading Controls the query of points (reading from object memory for each object)from object memory for each object)
Determines line of sight coordinates Determines line of sight coordinates Passes building number of interest (if Passes building number of interest (if
in tour mode or if info button in tour mode or if info button pressed) as well as device position to pressed) as well as device position to video modulevideo module
![Page 12: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/12.jpg)
Control FSM (Info Mode) Control FSM (Info Mode)
InitializeSample Check
Mode/Info
reset
bad response
!sample
Get pointWait for response
busy
sample
info
Format Outputgood
response
![Page 13: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/13.jpg)
Control FSM (Tour/Map Mode)Control FSM (Tour/Map Mode)
Initialize Sample
!sample
Get pointWait for response
busy
sample
Format Output
Check Mode/Info
t_mode
reset
!t_mode
![Page 14: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/14.jpg)
Reading ROMsReading ROMs
Initialize
reset!start
Wait Load Address
Read Contents/Check Point
Send Response
!point
point
start
![Page 15: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/15.jpg)
Video PortionVideo Portion
![Page 16: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/16.jpg)
Block DiagramBlock Diagram
Inputs:Inputs:
x-coordinate
y-coordinate
FPGA
building #
or null(0)
3
6
6
![Page 17: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/17.jpg)
Block DiagramBlock Diagram
Inside the FPGA:Inside the FPGA:
Pixel Clock
FSMPosition Reg
Building Reg
x-coordinate
y-coordinate
building #
40.000 MHz(800x600, 60Hz)
ROM
building info
map info
FPGA
![Page 18: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/18.jpg)
Block DiagramBlock Diagram
Output:Output:
ADV7125 Video DAC
Pixel Clock
FSMPosition Reg
Building Reg
x-coordinate
y-coordinate
building #
40.000 MHz(800x600, 60Hz)
ROM
building info
map info
FPGA
![Page 19: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/19.jpg)
ScalabilityScalability
Scrolling MapsScrolling Maps Rotating MapsRotating Maps ZoomingZooming Giving of DirectionsGiving of Directions Audio Playback of Building InformationAudio Playback of Building Information More Interactive User InterfaceMore Interactive User Interface Live UpdatingLive Updating Many more….Many more….
![Page 20: The Local Christopher Perez Justin Pun Jonathan Varsanik](https://reader035.vdocuments.us/reader035/viewer/2022072017/56649f005503460f94c16a6c/html5/thumbnails/20.jpg)
TimelineTimeline
Interface with GPS, completion of FSM coding, Interface with GPS, completion of FSM coding, load map onto ROM – April 29load map onto ROM – April 29thth
GPS/Identifier modules combined, memory GPS/Identifier modules combined, memory initialization complete, map drawing – May 4initialization complete, map drawing – May 4thth
Work in map mode – May 6Work in map mode – May 6thth
Work with info button press, “tour guide” mode – Work with info button press, “tour guide” mode – May 8May 8thth
Additional features – May 8Additional features – May 8thth thru May 10 thru May 10thth