1 / 17

IR Communication

IR Communication. Performed by: Shahaf Yaron Ezra Ehud Vardi Instructor: Boaz Mizrachi. Overview. Project Goals Mechanical design Development stages- problems and solutions Communication protocol Demo Summery and conclusions. Project Goals. Mechanical design

nell
Download Presentation

IR 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. IRCommunication Performed by: ShahafYaron Ezra Ehud Vardi Instructor: Boaz Mizrachi

  2. Overview • Project Goals • Mechanical design • Development stages- problems and solutions • Communication protocol • Demo • Summery and conclusions

  3. Project Goals • Mechanical design • Learning PIC24F & MPLAB • IR Communication PIC-PC • PC Application on Windows platform

  4. Mechanical Design • Design with Google SkecthUp. • Design resolution: 1 mm. • Design by the component's datasheets. • Most of the design effort – Z axis. • PIC in the center of PCB. • Mockup generated from the design. Mockup

  5. Large enclosure – Z axis Small enclosure – Z axis

  6. Development StagesStage 1: PIC – PC via USB-IR dongle • Chosen Implementation: • IrCOMM 9-wired-cooked protocol • Microchip stack • PC with USB-IR dongle • Software based on MSDN libraries

  7. Stage 2: PC – PC via USB-IR dongle • Step of debugging: • Establish connection and sending file successfully • Analyze all the structs that being transferred • Compare the PC-PC structs to the PC-PICstructs

  8. Development StagesStage 3: PIC – PC via PDA with IrCOMM • Chosen Implementation: • IrCOMM 9-wired-cooked protocol at first 3-wire latter • Microchip stack • PDA as USB-IR dongle

  9. Development StagesStage 4: PIC – PC via PDA with UART-IrDA • Chosen Implementation: • UART –IrDA protocol • PDA as USB-IR dongle

  10. Protocol Properties • UART 8-N-1 IrDA • Stop&Wait , P2P • CRC-CCITT – hardware implementation • Fixed Packet Size :60 bytes • Effective BaudRate : ~8500 [bit/sec] • Exclude : CRC,ack/nck Packet structure

  11. Supported Commands

  12. Sequence Diagram: PDA (server)

  13. Sequence Diagram : PC (client)

  14. Presentation • GUI • API • Noises and disruptions • Results

  15. Summery & Conclusions • From idea to implementation • HW and SW integration • Alternative ways to solve problems • Good practice for the “Real World” • Never give up !

  16. Appendix

  17. Communication Packets

More Related