Mike Loptien Kirk Spowart Mike Gauthiere Chris Reid Vincent Wu
<ul><li>Read an RFID tag from 10 feet </li></ul><ul><li>Implement WIFI capabilities </li></ul><ul><li>GPS integration </li...
<ul><li>Current technology cannot read a passive tag from more than 5 inches </li></ul><ul><li>Active tags are generally e...
<ul><li>Read a passive tag from 3-4 inches </li></ul><ul><li>Implement a touch screen and high-resolution display </li></u...
<ul><li>Grocery store: embed a passive tag in the price tags of items and store data about that item in the reader </li></...
<ul><li>ID-12 </li></ul><ul><li>Passive tag reader </li></ul><ul><li>Max read range: 4” </li></ul><ul><li>Simple Circuit a...
 
 
 
 
<ul><li>Collision detection is handled by the ID-12 </li></ul><ul><li>It only outputs data when it correctly reads and dec...
<ul><li>Output on D1, pin 8 </li></ul><ul><li>LED Control on LED, pin 10 </li></ul><ul><li>Format Select on +/-, pin 7 </l...
<ul><li>Output is inverted </li></ul><ul><li>176 bits at 9600 baud </li></ul><ul><li>16 serial packets, 1 start bit, 8 dat...
 
 
 
 
 
 
<ul><li>Checksum </li></ul><ul><li>XOR of all output packets </li></ul>
<ul><li>The Cyclone II </li></ul>
<ul><li>Up to 50MHz </li></ul><ul><li>Will contain the NIOS II, SPI bus, Graphics controller, and RFID translation logic <...
<ul><li>Implemented on the Cyclone II FPGA </li></ul><ul><li>Fully customizable processor </li></ul><ul><li>Customizable o...
<ul><li>Used to control data input and output </li></ul><ul><li>Video controller </li></ul><ul><li>RFID input analyzer </l...
 
 
<ul><li>COM : Common - Connects to the housing  </li></ul><ul><li>WP : Write Protect Detect Switch  </li></ul><ul><li>CD :...
<ul><li>Standard Capacity SD Memory Card: Up to and including 2 GB </li></ul><ul><li>High Voltage SD Memory Card – Operati...
<ul><li>Learn to communicate with SD/MMC on Altera Board </li></ul><ul><li>Connect our own SD/MMC breakout board and commu...
<ul><li>Six-wire communication channel </li></ul><ul><li>(clock, command, 4 data lines) </li></ul><ul><li>Error-protected ...
<ul><li>When reading and writing to the SD card, the key problem is timing. The program must adhere to strict read/write t...
<ul><li>Command from host to card is fixed 6 bytes packet </li></ul><ul><li>NCR-Command Time Response 0-8 bytes for SD </l...
 
<ul><li>One or more data blocks will be sent/received after command response  </li></ul><ul><li>Data block is transferred ...
Single Block Read                                                                                                         ...
Single Block Write                                                                                                        ...
<ul><li>Sharp PSP Screen: </li></ul><ul><ul><li>480x272 Resolution </li></ul></ul><ul><ul><li>24 bit color (8 for each R, ...
<ul><li>Goal: Accept commands from NIOS processor to create image and control output to the LCD screen </li></ul><ul><li>S...
<ul><ul><li>Rasterizer </li></ul></ul><ul><ul><ul><li>Convert characters into bitmaps & write to layer </li></ul></ul></ul...
 
<ul><li>Texas Instruments TSC2102 PDA Controller Chip </li></ul><ul><ul><li>Configuration & communication via SPI </li></u...
 
 
<ul><li>Two ways to design battery power system for RFID reader </li></ul><ul><li>Main option is to use a flyback regulato...
 
 
 
 
<ul><li>Pros: </li></ul><ul><ul><li>May use less power, parts may be less expensive, we would gain practical knowledge and...
<ul><li>Pros:  </li></ul><ul><ul><li>Much simpler to implement battery system, can handle the amount of juice we’ll need t...
Example of Planned Battery Pack
<ul><li>6 V, 1400 mAH nickel metal hydride battery pack </li></ul><ul><li>Two ways to build our battery pack </li></ul><ul...
 
 
<ul><li>CDR: Order components, PCB design, board & processor familiarization, begin hardware modules </li></ul><ul><li>Mil...
<ul><li>Embedded systems & microprocessors:  Mike L  Mike G </li></ul><ul><li>Power & batteries: Vince / Chris </li></ul><...
 
Upcoming SlideShare
Loading in …5
×

(8.8 MB PowerPoint)

366 views
293 views

Published on

Published in: Business, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
366
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Example of the command format of the microprocessor and SD card
  • command frame from host to card is a fixed length (six bytes) packet The command response time (NCR) is 0 to 8 bytes for SDC, 1 to 8 bytes for MMC The DI signal must be kept high during read transfer
  • (8.8 MB PowerPoint)

    1. 1. Mike Loptien Kirk Spowart Mike Gauthiere Chris Reid Vincent Wu
    2. 2. <ul><li>Read an RFID tag from 10 feet </li></ul><ul><li>Implement WIFI capabilities </li></ul><ul><li>GPS integration </li></ul><ul><li>Use microcontroller </li></ul>
    3. 3. <ul><li>Current technology cannot read a passive tag from more than 5 inches </li></ul><ul><li>Active tags are generally encrypted and very hard to use </li></ul><ul><li>Active tags would require construction of our own antenna and reader hardware </li></ul><ul><li>Wifi too difficult for this semester alone </li></ul><ul><li>GPS too costly and not necessary for our project </li></ul>
    4. 4. <ul><li>Read a passive tag from 3-4 inches </li></ul><ul><li>Implement a touch screen and high-resolution display </li></ul><ul><li>Store data on an SD card </li></ul><ul><li>Audio output </li></ul><ul><li>NIOS II on Cyclone II FPGA </li></ul>
    5. 5. <ul><li>Grocery store: embed a passive tag in the price tags of items and store data about that item in the reader </li></ul><ul><li>Retail stores: similar idea </li></ul><ul><li>Museum: scan a tag near an exhibit to get info about it </li></ul><ul><li>Basically a good way to tie information to a physical object </li></ul>
    6. 6. <ul><li>ID-12 </li></ul><ul><li>Passive tag reader </li></ul><ul><li>Max read range: 4” </li></ul><ul><li>Simple Circuit and data reading </li></ul>
    7. 11. <ul><li>Collision detection is handled by the ID-12 </li></ul><ul><li>It only outputs data when it correctly reads and decodes a tag </li></ul>
    8. 12. <ul><li>Output on D1, pin 8 </li></ul><ul><li>LED Control on LED, pin 10 </li></ul><ul><li>Format Select on +/-, pin 7 </li></ul><ul><li>176 bits of output </li></ul>
    9. 13. <ul><li>Output is inverted </li></ul><ul><li>176 bits at 9600 baud </li></ul><ul><li>16 serial packets, 1 start bit, 8 data bit, 2 stop bits and 0 parity bits </li></ul><ul><li>Least significant bit first </li></ul><ul><li>Transmits ASCII characters </li></ul>
    10. 20. <ul><li>Checksum </li></ul><ul><li>XOR of all output packets </li></ul>
    11. 21. <ul><li>The Cyclone II </li></ul>
    12. 22. <ul><li>Up to 50MHz </li></ul><ul><li>Will contain the NIOS II, SPI bus, Graphics controller, and RFID translation logic </li></ul><ul><li>Cyclone II has good documentation, good supporting software, good expandability </li></ul>
    13. 23. <ul><li>Implemented on the Cyclone II FPGA </li></ul><ul><li>Fully customizable processor </li></ul><ul><li>Customizable onboard RAM </li></ul><ul><li>C compatible through the Altera IDE </li></ul>
    14. 24. <ul><li>Used to control data input and output </li></ul><ul><li>Video controller </li></ul><ul><li>RFID input analyzer </li></ul><ul><li>SD interface </li></ul><ul><li>Programmed through USB blaster </li></ul><ul><li>SPI bus, UARTs, Ram, Interrupt Priority, Custom Pin selection </li></ul>
    15. 27. <ul><li>COM : Common - Connects to the housing </li></ul><ul><li>WP : Write Protect Detect Switch </li></ul><ul><li>CD : Card Detect Switch </li></ul><ul><li>P9 : Not used in SPI mode (Pin 9 on SD Card) </li></ul><ul><li>IRQ : Not used in SPI mode (Pin 8 on SD Card) </li></ul><ul><li>DO : Serial Data Out </li></ul><ul><li>GND : Ground - Connect this to </li></ul><ul><li>COM to ground the housing </li></ul><ul><li>CLK : Serial Clock </li></ul><ul><li>VCC : 3.3V Power </li></ul><ul><li>DI : Serial Data In </li></ul><ul><li>CS : Chip Select </li></ul>
    16. 28. <ul><li>Standard Capacity SD Memory Card: Up to and including 2 GB </li></ul><ul><li>High Voltage SD Memory Card – Operating voltage range: 2.7-3.6 V </li></ul><ul><li>Default mode: Variable clock rate 0 - 25 MHz, up to 12.5 MB/sec interface speed (using 4 parallel data lines) </li></ul><ul><li>Card removal during read operation will never harm the content </li></ul><ul><li>Built-in write protection features (permanent and temporary) </li></ul><ul><li>Card Detection (Insertion/Removal) </li></ul>
    17. 29. <ul><li>Learn to communicate with SD/MMC on Altera Board </li></ul><ul><li>Connect our own SD/MMC breakout board and communicate </li></ul>
    18. 30. <ul><li>Six-wire communication channel </li></ul><ul><li>(clock, command, 4 data lines) </li></ul><ul><li>Error-protected data transfer </li></ul><ul><li>Single or Multiple block oriented data transfer </li></ul>
    19. 31. <ul><li>When reading and writing to the SD card, the key problem is timing. The program must adhere to strict read/write timing to read and write data to/from the SD card. </li></ul><ul><li> Read Timing </li></ul><ul><li> Write Timing </li></ul>Code Description S Start bit (= 0) T Transmitter bit (Host = 1; Card = 0) P One-cycle pull-up (= 1) E End bit (= 1) Z High impedance state (-> = 1) Code Description D Data bits X Don’t care data bits (from SD card) * Repetition CRC Cyclic redundancy code bits (7 bits) Gray / White Card Active / Host Active
    20. 32. <ul><li>Command from host to card is fixed 6 bytes packet </li></ul><ul><li>NCR-Command Time Response 0-8 bytes for SD </li></ul><ul><li>DI signal must be kept high during read transfer </li></ul><ul><li>When a command frame is transmitted to the card, a response to the command will be sent back to the host </li></ul>
    21. 34. <ul><li>One or more data blocks will be sent/received after command response </li></ul><ul><li>Data block is transferred as a data packet that consist of Token, Data Block and CRC </li></ul><ul><li>Stop Tran token means the end of multiple block write, it is used in single byte without data block and CRC </li></ul>
    22. 35. Single Block Read                                                                                                                                               Multiple Block Read                                                                                                                                                                                                                                                                                          
    23. 36. Single Block Write                                                                                                                                                   Multiple Block Write                                                                                                                                                                                                                                                                                          
    24. 37. <ul><li>Sharp PSP Screen: </li></ul><ul><ul><li>480x272 Resolution </li></ul></ul><ul><ul><li>24 bit color (8 for each R, G, B) </li></ul></ul><ul><ul><li>CLK, Hsync, Vsync, DISP Control pins </li></ul></ul><ul><ul><li>CLK = 9MHz </li></ul></ul><ul><ul><li>Vsync = 17.1 KHz </li></ul></ul><ul><ul><li>Hsync = 60 Hz </li></ul></ul><ul><li>Hantouch Touch Panel </li></ul><ul><ul><li>4 wire analog resistive </li></ul></ul><ul><ul><li>Requires A to D converter to determine location of touch </li></ul></ul>
    25. 38. <ul><li>Goal: Accept commands from NIOS processor to create image and control output to the LCD screen </li></ul><ul><li>Solution: Create a “Soft Graphics Controller” on the Cyclone II FPGA </li></ul><ul><ul><li>Command set </li></ul></ul><ul><ul><ul><li>Write text </li></ul></ul></ul><ul><ul><ul><li>Write vector shapes </li></ul></ul></ul><ul><ul><ul><li>Write bitmaps </li></ul></ul></ul><ul><ul><ul><li>Manage image ‘layers’ </li></ul></ul></ul>
    26. 39. <ul><ul><li>Rasterizer </li></ul></ul><ul><ul><ul><li>Convert characters into bitmaps & write to layer </li></ul></ul></ul><ul><ul><ul><li>Convert vector shapes into bitmaps & write to layer </li></ul></ul></ul><ul><ul><ul><li>Write bitmaps to layer </li></ul></ul></ul><ul><ul><li>Layer Parser </li></ul></ul><ul><ul><ul><li>Determine layer order, size & position </li></ul></ul></ul><ul><ul><ul><li>Write parsed layers to frame buffer </li></ul></ul></ul><ul><ul><li>Screen Control Logic </li></ul></ul><ul><ul><ul><li>Manage LCD control pins </li></ul></ul></ul><ul><ul><ul><li>Clock dividers, etc. </li></ul></ul></ul>Layer Example
    27. 41. <ul><li>Texas Instruments TSC2102 PDA Controller Chip </li></ul><ul><ul><li>Configuration & communication via SPI </li></ul></ul><ul><ul><li>A to D converter for touch panel </li></ul></ul><ul><ul><li>A to D converter for battery voltage level measurement </li></ul></ul><ul><ul><li>Stereo audio DAC & headphone amp </li></ul></ul><ul><ul><ul><li>Multiple audio codecs </li></ul></ul></ul>
    28. 44. <ul><li>Two ways to design battery power system for RFID reader </li></ul><ul><li>Main option is to use a flyback regulator and transformer with three secondary windings </li></ul><ul><li>Alternate option is to use three linear voltage regulators </li></ul>
    29. 49. <ul><li>Pros: </li></ul><ul><ul><li>May use less power, parts may be less expensive, we would gain practical knowledge and experience </li></ul></ul><ul><li>Cons: </li></ul><ul><ul><li>More time would be required, voltage regulators still needed so flyback regulator and transformer may be superfluous, not a very big part of project so may not be worth several weeks of effort that can be spent on other parts of the project </li></ul></ul>
    30. 50. <ul><li>Pros: </li></ul><ul><ul><li>Much simpler to implement battery system, can handle the amount of juice we’ll need to power devices </li></ul></ul><ul><li>Cons: </li></ul><ul><ul><li>May consume more power </li></ul></ul>
    31. 51. Example of Planned Battery Pack
    32. 52. <ul><li>6 V, 1400 mAH nickel metal hydride battery pack </li></ul><ul><li>Two ways to build our battery pack </li></ul><ul><ul><li>Solder end to end </li></ul></ul><ul><ul><li>Connect with the battery bars </li></ul></ul>
    33. 55. <ul><li>CDR: Order components, PCB design, board & processor familiarization, begin hardware modules </li></ul><ul><li>Milestone 1: Finish RFID transceiver, memory, tag ID database </li></ul><ul><li>Milestone 2: Finish touch screen interface, finish graphics controller, finalize control software </li></ul><ul><li>Expo: Finish and test the final software, audio output, construct casing </li></ul>
    34. 56. <ul><li>Embedded systems & microprocessors: Mike L Mike G </li></ul><ul><li>Power & batteries: Vince / Chris </li></ul><ul><li>SD Card: Kirk </li></ul><ul><li>Circuit construction: Chris / Vince </li></ul><ul><li>Low level software: Kirk / Mike L </li></ul><ul><li>High level software: Vince / Mike G / Chris </li></ul>

    ×