Difference between revisions of "IR communication between PICs"

From Mech
Jump to navigationJump to search
Line 22: Line 22:


[[Image:Example.jpg|thumb|right|descript0r]]
[[Image:Example.jpg|thumb|right|descript0r]]

In my younger and more vulnerable years my father gave me some advice that I've been turning over in my mind ever since. "Whenever you feel like criticizing any one," he told me, "just remember that all the people in this world haven't had the advantages that you've had." He didn't say any more but we've always been unusually communicative in a reserved way, and I understood that he meant a great deal more than that. In consequence I'm inclined to reserve all judgments, a habit that has opened up many curious natures to me and also made me the victim of not a few veteran bores.


Once upon a midnight dreary, while I pondered, weak and weary,

Over many a quaint and curious volume of forgotten lore —

While I nodded, nearly napping, suddenly there came a tapping,

As of some one gently rapping, rapping at my chamber door.

"'Tis some visiter," I muttered, "tapping at my chamber door —

Only this and nothing more."


*PIC interfaces serially with EnDec
*PIC interfaces serially with EnDec
*EnDec connected to transceiver through a transmit pin and a receive pin
*EnDec connected to transceiver through a transmit pin and a receive pin
*Transceiver manufactured by Vishay Semiconductors
**Part # TFDU4300
*EnDec manufactured by Microchip
**Part # MCP2122


== Code ==
== Code ==

Revision as of 04:05, 5 February 2008

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)

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

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).
a character space starts code formatting
 two character spaces starts code formatting as well
  THREE character spaces
              FIFTEEN CHARACTER SPACES
  1. numbered list

External Links and Further Reading

  • Infrared
  • Serial communication incl. stop bits, etc.
  • ASCII
  • UART
  • Surface Mount Technology (SMT)
  • Bullet pt?
    • dubble bubble subble bullet

Template

Template:Like whoa