ElectricShock 2016. 6. 21. 12:48

http://shyyampatel.blogspot.kr/?


Wireless Infrared Communication Link System


Introduction

This article explains how to create a wireless infrared transmitter using an IR LED and a wireless IR receiver using a phototransistor to make a communication system. Asynchronous serial is transmitted over this link at 9600 BPS. 

Two PIC 18F452's are used to transmit and receive the data.

One of the earliest methods of wireless transmission used was with infrared light. 

Using wireless IR links has many advantages with the primary two being low cost and low part count to implement. 

The simplest of on/off switches using wireless IR would take no more than 10 parts, 

but this tutorial will be going to send asynchronous serial data over a wireless IR link.

This tutorial will create a wireless infrared transmitter using an IR LED and a wireless IR receiver using a phototransistor. 

Asynchronous serial will be transmit over this link at 9600 BPS. The PIC 18F452 will be used to transmit and receiver this data.



wireless_serial_tx.c

wireless_serial_rx.c