Electronic Circuits Schematics Projects




Serial IR transmitter using PIC16F628

Rating: 1.00/10 (59Votes cast)

Category: Computer Circuits / Computer Interface
This circuit is also crossed to: RF Transmitters , PIC Microcontroller , Power Control , Infrared
Views: 4371
Rank: 0

This is a programmable infrared (remote control) transmitter, which can be controlled from a PC serial port. It is capable of sending many remote control formats, including the Philips RC-5 standard. The controller will accept commands on the serial port. Settings are: 19200 bps, 8 bits, no parity, 1 stopbit, no flow control (XON/XOFF or RTS/CTS). Commands consist of hex coded bytes and must be written on the port as ASCII characters separated by space, terminated by ENTER (ASCII char 0d). You can use a terminal emulator program to test out the circuit (for example minicom on linux, NC terminal on DOS, or hyperterminal on windows), but the settings usually won't work at first, so it is recommended that you write a small program to set the parameters and send commands by pressing keys on the keyboard.To program the controller to send a "channel +" command to an ITT 3520 video recorder, you need to send: 55 38 10 8 1 1 1 3 1 1 This command will set these parameters: T=560 usec, header pulse=16T, header gap=8T. bit0 pulse=1T, bit0 gap=1T, bit1 pulse=1T, bit1 gap=3T, tail pulse=1T 56 31 ce 01 fe This command will send the required command bytes to the video recorder. You can see that this format contains some type of ID and a command code. Each byte is transmitted normally then with all bits reversed. You can repeat this second command more times to ensure reception. The easiest is if you find the specification of your remote. Good pages to start are: the SIRCS page and the HP48 remote control program page. If you have no success, you need to measure the signal timings yourself. If you don't have a storage oscilloscope, here is a cheap trick: connect an IR receiver module to your soundcard line input and digitize the modulation waveform of all the buttons on your remote with a sound recorder and editor program. Here is a waveform example for the ITT 3520 video recorder remote. visit page.
Serial IR transmitter using PIC16F628


Serial IR transmitter using PIC16F628


To program the controller to send a `channel +` command to an ITT 3520 video recorder, you need to send: 55 38 10 8 1 1 1 3 1 1 This command will set these parameters: T=560 usec, header pulse=16T, header gap=8T. bit0 pulse=1T, bit0 gap=1T, bit1 pulse=1T, bit1 gap=3T, tail pulse=1T 56 31 ce 01 fe This command will send the required command bytes to the video recorder. You can see that this format contains some type of ID and a command code. Each byte is transmitted normally then with all bits reversed. You can repeat this second command more times to ensure reception. The easiest is if you find the specification of your remote. Good pages to start are: the SIRCS page and the HP48 remote control program page. If you have no success, you need to measure the signal timings yourself. If you don't have a storage oscilloscope, here is a cheap trick: connect an IR receiver module to your soundcard line input and digitize the modulation waveform of all the buttons on your remote with a sound recorder and editor program. Here is a waveform example for the ITT 3520 video recorder remote. http://jap.hu/electronic/irtx_pic.html

Related circuits

PC based lighting control

This is a short pointer to some of the available PC based lighting console systems. Most of the software products have a trial available, so I recommend you download several, and spend some time trying to do the sorts of things that you want to do with them. A word of warning: you will find that...



Bar-code-scanner

The circuit illustrates a method of interfacing a HEDS-1000 emitter-detector pair with a HA-5144 for use as a bar-code scanner circuit. The HA-5144 is used as an amplifier system which converts the bar and space widths of the printed bar code into a pulse-width modulated digital signal....



AVR microcontroller makes improved motor controller

The circuit in Figure 1 provides a novel method of reading the pulse train using an Atmel (www.atmel.com) AVR processor, from a typical radio-controlled receiver, and to determine the velocity of a motor. To capture the pulse train from a typical receiver, you need an external interrupt that...



PC securely controls relay

When a PC-driven solid-state or electromechanical relay controls external equipment, take care to design an interface that avoids false triggering. The interface circuit in Figure 1a switches the relay on and off only after a specific sequence of outputs. Thus, this design protects the relay...



LCD Interface using the PIC16C84 microcontroller

Alphanumeric LCD displays have become very popular for microcontroller applications because they can add a lot to a project in a variety of different ways. A text message giving the user instructions as well as feedback can make the application seem much more "professional" and easy to use. I...



PC RS232 Frequency Counter

This circuit is a stable frequency counter accurate to 5 significant digits. The range is 0 - 30MHz with an input sensitivity of greater then 100mV. The probe connects to the PC serial port. So by using the crystal oscillator already present on your PC serial card and software calibration, the...



PC RS485 Interface

This interface circuit provides electrically isolated RS485 communication inteface to the PC serial port the isolation circuit protect the PC from direct connection to hazardous voltages.



Simple Parallel (Printer) Port Interface

This is the basic interface I used as part of my Computerized Room project. This is the parallel interface only. The 8 bit input card can be found, along with the rest of the project, at Computerize Your Room/House. This interface, as well as the other two interfaces, came from the book "The...



434mhz transmitter and receiver

Using the IR Receiver


Comments




 characters left

Captcha

captchaPlease input letters you see on the image.
Click on image to redraw.



Facebook Comments

Most searched
 
Accounts area
Username:
Password:
Forgot password? Register
Circuits