Description: This unit provides 2-way IR communications using a numeric keypad and an LCD display. Data is sent and received in ASCII with no regard to what the data means to any particular device. The ASCII data still needs some form of encoding. For this, 10-pulse coding of 38kHz IR is used with a 99 cent receiver chip, TSOP4838. The transmitting is done with a straight IR LED with both carrier and coding done in software. As you can see from the diagram below, the membrane switch and LCD display use up quite a few I/O lines even with some sharing of signals. This required the use of a larger (28-pin) PIC for this controller. However, it means that the target device it controls needs only 2 I/O lines for sending and receiving the IR data. Although functional at this time, some features and niceties need to be added later.
The described unit implements a two-way infrared (IR) communication system, utilizing a numeric keypad and an LCD display for user interaction. The communication protocol is based on ASCII data, which allows for flexibility in the types of information exchanged between devices. However, since ASCII data does not inherently include any encoding, a specific encoding method is required to facilitate effective transmission.
The encoding method chosen is 10-pulse coding at a frequency of 38 kHz, which is a common standard for IR communication. This frequency is suitable for consumer electronics and is compatible with the TSOP4838 IR receiver chip, which is designed to demodulate signals at this frequency. The IR LED used for transmission operates in conjunction with a microcontroller to generate the necessary modulated signal, with both the carrier frequency and the encoding scheme implemented in software. This allows for a more streamlined and cost-effective design, as the use of a single IR LED suffices for the transmission of encoded data.
The system architecture includes a membrane switch interface, which serves as the input method, and an LCD display, which provides visual feedback to the user. The design necessitates a microcontroller with a sufficient number of input/output (I/O) pins to accommodate the various components. A 28-pin PIC microcontroller has been selected for this purpose, offering enough I/O lines to manage the keypad and LCD while still allowing for the two I/O lines required for IR data transmission and reception.
The system's architecture is designed for efficiency, allowing the target device to communicate using only two I/O lines, thus minimizing complexity and potential resource conflicts. While the current implementation is functional, there are plans for future enhancements to improve the user experience and expand the system's capabilities. This may include additional features such as improved error handling, more advanced encoding schemes, or enhanced user interface elements.This unit provide 2 way IR communications using a numeric keypad and an LCD display. Data is sent and recieved in ASCII with no regard to what the data means to any particular device. The ASCII data still needs some form of encoding. For this I chose 10-pulse coding of 38Khz IR using a nifty 99 cent receiver chip , TSOP4838 The transmitting is done with a straight IR LED with both carrier and coding done in software. As you can see from the diagram below, the membrane switch and LCD display use up quite a few I/O lines even with some sharing of signals. This required the use of a larger (28pin) PIC for this controller. However, it means that the target device it controls needs only 2 I/O lines for sending and receiving the IR data.
Although functional at this time, some features and nicities need to be added later.
The wireless light switch circuit described here requires no physical contact for operating the appliance. You just need to move your hand between the infrared LED (IR LED1) and the phototransistor (T1). The infrared rays transmitted by IR LED1 are...
The 4049 section serves as a fundamental voltage doubler circuit, enhancing a 9 V supply to approximately 15 V. This elevated voltage subsequently acts as the supply voltage for the following 555 pulse modulator section. A key characteristic of this...
This document outlines the connection of a 16x2 LCD display to a microcontroller, specifically the PIC 16F877A. The circuit diagram is provided, although power supply and oscillator connections for both the PIC and LCD are not depicted. The LCD typically...
Large LCD devices with one or more displays exhibit significant driving capacitance to the driver circuits. To address this issue, the drive circuit incorporates a buffer amplifier for each of the three common lines. Each amplifier can be programmed independently...
This schematic effectively doubles the range of an infrared (IR) LED, with the circuit now drawing 37mA of power. In contrast, the previous circuit, which did not utilize an NPN transistor, drew 20mA, which is the maximum current per digital...
This circuit illustrates an 8-digit digital tube display driver, utilizing two ICM7211A integrated circuits. A BCD (Binary-Coded Decimal) to binary data signal is transmitted to the BO-B3 pins of the ICM7211A. The digital signals are divided into two groups and...
There are two methods to construct a proximity detector. The first method involves mounting the infrared (IR) LED and the phototransistor so that they face each other. In this configuration, the infrared light emitted by the IR LED is detected...
The speed of light has been measured using various methods. This note describes a method that is conceptually easy to understand and relatively simple to implement. The technique utilizes the time-of-flight optical pulse delay method, employing a short (20 nanosecond)...
The schematic is illustrated in figure 10. The circuit can be hardwired onto a breadboard, or a printed circuit board (PCB) can be purchased, as shown in figure 11. The LCD display utilized is a 2-line by 16-character display. An...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more