IR communication between PICs

From Mech
Jump to navigationJump to search

Original Assignment

Two PICs wired together can talk to each other using RS-232. Instead of wiring them together, we can use infrared transceivers so they communicate by IR. The goal of this project is to demonstrate bidirectional communication between two PICs using 38 kHz IR communication. Optional: show that these PICs can also receive data from a standard TV remote.

The Original Assignment indicates what you were assigned to do, and will eventually be erased from the final page.

Overview

The Overview is your rewritten version that clearly indicates what the page is about (to future students accessing the page) and 
should also include links to other good web sources of information on this topic
  • IR employed for short-range communication
  • Beam is modulated to encode data
  • Supports IrDA(?) speeds up to 115.2 kbits/s (SIR)
  • Transceiver module consists of:
    • PIN photodiode
    • Infrared emitter (IRED)
    • Low-power control IC
  • IR EnDec uses PDIP, SOIC pacakge

Circuit

The Circuit shows a professional-looking circuit diagram including part numbers and where they can be obtained (and, where helpful, a photo of a neatly wired implementation of the circuit)

Circut Diagram
  • PIC interfaces serially with EnDec
  • EnDec connected to transceiver through a transmit pin, a receive pin, and a Vlogic pin?
  • Transceiver manufactured by Vishay Semiconductors
    • Part # TFDU4300
  • EnDec manufactured by Microchip
    • Part # MCP2122

SMT Prototyping

  • Transceiver lead pitch = 1.2mm/0.95mm/0.50mm/0.45mm?
  • Multiple options for installation
    • Schmart board
    • Digikey board (need to find)
    • Copper-clad board etching
    • Funky pin adapter thing Prof. Peshkin gave us
    • Funky adapter thing #2 Prof. Peshkin gave us

Limitations

  • Transceiver cannot simultaneously transmit and receive

Code

Code gives a listing of the liberally commented code,
which should otherwise be as simple as possible
(do not have extraneous lines of code that don't relate
directly to the objective of the page).

External Links and Further Reading


Relevant Wikipedia Articles