Android Oscilloscope
OBD2 Engine Rev Counter
OBD2 Diagnostic app
TFT Clock and Thermometer
WiFi, Ethernet
WiFi Thermometer
WiFi ESP8266
Doorbell with SD / EEPROM
SD FAT16/32 for .bmp
PETIT FAT bmp Display
TFT Timer, Thermometer
TFT Oscilloscope
SD Talking Clock
Android Talking Clock
SD Sound Recorder
SD FAT32 wav Player
SD Arduino Recorder
LED Thermometer
LED Timer
LCD Timer
TFT 10MHz Counter
100KHz Counter For PC
1MHz Counter For PC
8 Digits LED Counter
Scope Screen Counter
LCD Module Counter
LCD Arduino Counter
6MHz Android Counter
NIXIE Android Counter
Bluetooth Counters
USB Counter
USB TFT display BMP
USB DS18B20 Sensor
USB Thermometer
USB Meter
USB Oscilloscope
USB Input-Output
USB Input-Output Android
USB 16x2 LCD
Serial TFT Text
Serial Inputs Outputs
Serial Port LCD
MCP3201 on Serial Port
Serial Thermometer
Analogue Signal to Serial
Serial Thermostat
MCP3201 on LPT
Analogue Signal to LPT
LCD Display on LPT
Water Softener
HP Stream 7 docking
3.7V to 5V
Solar Charger
Infrared Decoder
PIC Music
Code Lock
Code Lock with LCD
HOME   Technical Tips

INFRARED TV REMOTE DECODER

This device converts the code of TV remote control into RS232 code. There are many infrared code systems in use, they vary in number of bits in a word and the number of words. The encoder works well when used with a TV remotes that transmit 16 bits, i.e. JVC remote, when used with TV remotes that transmit more than 16 bits several keys will give the same output from the encoder. The output of the converter connects to the serial port. Included a Visual Basic code for reading the numeric value of the converted infrared.
The common waveform to most IR systems is the start of a low pulse of 9.6mS followed by a positive pulse of 4.5mS and then the bits. A bit pulse of 1.2mS represents binary 0 and pulse of 1.8 mS represents binary 1. This encoder measures the duration of the pulses and constructs 2 words of 8 bits and send them to the UART in the PIC16F628A.

You can read more about IR in here, and about serial interface in here
Software includes PIC code and VB6 code (10KB). You are free to use the circuit diagram and the software with no limitations.


ir-vb

The VB6 interface

ir

Circuit Description
See also Technical Tips

Pin 4 at the serial port is turned to +12V by the software enabling RTS. It is regulated to 5V by 78L05. The 5V is the supply to the microcontroller.
Pin 3 is at -12V and pin 7 at +12V constantly and they are used to drive RX input between -9V (input HIGH) and +8v (input LOW) . These levels are sufficient to drive the RS232 input.
Transistors BC237 and BC327 are level shift from 0 to 5V of the PIC output to about +/- 5V needed for the serial port.

PIC16F628A contains a UART for serial comm port. Pin 8 is the UART output, it transmits the 16 bit in RS232 format.
IR detector is a receivers for infrared remote control systems, PIN diode and preamplifier. It can be TSOP1138, TSOP1238, SFH 506-38 or equivalent.






08.03.2016 - 15:18
Name: Moty
Comment: You can download it from here. http://www.ocxdump.com/download-ocx-files_new.php/ocxfiles/M/MSCOMM32.OCX/6.00.81694/download.html

08.03.2016 - 13:19
Name: Devid
Comment: Upload hex file

08.03.2016 - 12:55
Name: B B
Comment: Software is not open n showing MSCOMM.OCX file mising

20.02.2016 - 09:06
Name: boniz
Comment: GREAT JOB!

04.06.2015 - 20:35
Name: ranger64
Comment: thanks

26.09.2014 - 01:45
Name: sfsdfsdf
Comment: sdfsdfsdf

24.07.2014 - 00:14
Name: kanishka
Comment: thanks. great job !!!!!!!!!!!!!!!!!!!!!!!

05.06.2014 - 15:21
Name: Tom C
Comment: cheers for all the hard work you have put into this project. I look forward to reading your next project. Thanks.

04.03.2014 - 03:43
Name: CARLOS
Comment: Thankyou!

29.10.2013 - 16:40
Name: good
Comment:

28.02.2013 - 21:05
Name: Jerry
Comment: Thanks.

13.11.2012 - 22:31
Name: Angel
Comment: Excellent project. I'm adding a memory to give more options.

02.11.2010 - 14:57
Name: John
Comment: Nice circuit thanks. See collection of PIC circuits at: www.artic-instruments.webs.com

moty22.co.uk  2008-2020