1 / 7

MAC Protocol Implementation on Atmel AVR for Underwater Communication

CSC 714 Real Time Computer Systems. MAC Protocol Implementation on Atmel AVR for Underwater Communication. by Shaolin Peng. Aloha Protocol. MACA Protocol. Atmega168. Small & Sparse Network Small Packet Size. Development Platform: STK500 AVR Studio. Problem List.

porter
Download Presentation

MAC Protocol Implementation on Atmel AVR for Underwater Communication

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSC 714 Real Time Computer Systems MAC Protocol Implementation on Atmel AVR for Underwater Communication by Shaolin Peng

  2. Aloha Protocol MACA Protocol Atmega168 Small & Sparse Network Small Packet Size Development Platform: STK500 AVR Studio

  3. Problem List • P1: Debugging Instrument • Set up UART communication with the HyperTerminal on PC • Connect two boards using wire as a start • P2: Starvation • Wait only after sending, not after receiving • P3: Flexible Length Packet Receiving • Receive the first two bytes, decode and decide • P4: CRC Consideration • 4 bits -> 8 bits (x^8 + x^2 + x + 1)

  4. Problem List 2 • P5: Random Number Generator • ADC or Timer Counter • P6: No response problem • Setmaximumretries number • P7: Hardware Limitation • Compile different files using different optimization levels • E.g. -O3 for Goertzel algorithm (critical path) -Os for the other files Text data bss total 14986 302 141 15429 (different optimization levels) 16380 338 109 16827 (same optimization level)

  5. Lake Raleigh Throughput= Successfully received packets Total packets sent out Experimental Setup

  6. Results • Indoors • Aloha: 27.2% • MACA: 23.8% • Outdoors • Aloha: 8.1% • MACA: 8.2% • Compare with MACA • During the testing time, Aloha received almost twice data than MACA

  7. Thanks! Questions?

More Related