Tinyserir-RC5
What is it?
With thanks to Joop Van Schaik from the Netherlands for the pictures Also thanks to Octavio Bru from Spain
 
Datasheet: tinyeng.pdf

 

Tinyserir-RC5 is a tiny microcontroller, it's a pic12f629 microcontroller who has the firmware on board
for decoding RC5 infraredsignals and send them serial to a device with a RS232 communication port,
mostly a PC.
You can ask yourself, what can I realise with this chip, oh they're plenty of applications where you can
use the tinyserirchip, like controlling winamp with your infrared remote control while you are reading a book
There is chosen for the RS232 protocol because with the USB port today, the RS232 port is free and
have no futher function.
Like the name says the tinyserir-RC5 chip can decode infrared signals coming from an infraredreceiver.
The RC5 code is common used protocol originally developped by Philips (C) and still used by plenty of
brands for controlling there devices wireless.
When you don't have a RC5 remote controller you can use a universal remote controller which can be
100% sure programmed to send RC5 codes.
Tinyserir decodes signals coming from an infrared receiver module wich is tuned for 36kHz.
An example of a compatible receiver is a TSOP1836 from Vishay.
The RS232 output pin is a pin who can be wired directly to a Basic stamp or via TTL-RS232
level converter to a free serial port of the PC, and sends messages with a baudrate of 9600bps.
Tinyserir-RC5 sends exists of the following parts: A header wich indicates if it is a reset message or
an infrared message.
If it is a reset message, a header, the name and version number aretransmitted. If it is a message for
a received infrared code a header, the toggle bit, the address of the RC5 code and the command of the
RC5 code are transmitted.
The toggle bit indicates if a button on the remote control is being pressed or released during two
received codes. The address indicates if it is a TV or a satelite receiver or something else, and the
command indicates wich button is pressed on the remote control.
All the data which are transmitted via the rs232 pin are ASCII characters, so it is possible

to view the codes in hyperterminal wich is standard included in Windows.

The transmitted messages are clear and every part is easy to recognize for make it simple to decode the
messages with Delphi or visual basic. Many systems are decoding directly the output of the infrared receiver
but with these method your PC slower and less accurate because your system needs to poll the input in realtime what becomes a great problem for windows. But with the tinyserirchip your program only needs.
to read the ASCII characters in the serial input buffer of the RS232 port.
So you don't need to take care about the timing of the relative fast pulses (+-889 µS) or other processes who
are running on your system who can disturb the measuring of the infrared pulses.
Tinyserir sends only messages when a valid RC5 signal isreceived, this means when the timing of the
bitlengths are between the specifications and the bitphases are inverted, if not simply no message is
transmitted.
Following examples are the messages how they appear in hyperterminal or the input buffer as ascii
characters.
A reset messages looks like :R;Tinyserir-RC5;1.00;
The first character of the message is always the double point. The second is the header R when it's a
reset message. After this a seperator ";" the name of the chip and the version number of the firmware.
All the messages ends with a cariage return and a linefeed.
The header and the separate characters makes it easy to recognize the different parts of the messages.
The reset message is always transmitted as first after a reset of the chip.

A message is also transmitted when a valid RC5 code is decoded.

The chip sends a messages like this: :C;1;000;006;
First the double point followed by the second character C to indicate it's a received RC5 code.
After this a separator and the toggle bit is transmitted. The toggle bit indicates if a button on the
remote control is being pressed or released between two received codes.
After this again a separator follows and 3 numbers to indicate the address of the rc5 code. This is 000 for a
TV remote control or a VCR is 005. After this a separator to end this part of the message followed by
3 numbers which indicates the pressed button on the remote control.If we press for example on the
button 6 the tinyserir will transmit 006 followed by a separator and to end the message a carriage return
+ a linefeed. (ASCII 13 + 10)
 
There are also two ledoutputs who can drive directly led's for some indication: like 1 led that blinks
with a fixed frequentie when the firmware is running and another led flashes when receiving infrared pulses.
 
How to order?
Order now one or more pieces by clicking on the buy now button.

For the payment you need a Paypal account.

Customers from Belgium and Netherlands can order via the dutch page.
The chips are shipped in the next 3 workdays.
 
What's the price?
 
1 piece : 9 Euro + shipment
Shipment: 5 Euro
 
Is there testsoftware available?
 
The first steps to see if your hardware works, can be done with hyperterminal or with the
following testprogram for windows 95/98/ME/XP.
 
Click here to download the testprogram
 
Back to homepage