Garage door control by PT226x , FP527 And HCSXXX Remote control



2 month ago i get a project for decode HCSxxx and PTxxx enoder to control door garage or shop controling.
My remote control was a remote by EV1527 chip. This chip is same as PT2240 and FP527, discord of EV1527 and FP527 is in status key,fp527 status key is invert of EV1527, and discord of PT2240 is map of pins!!! All chip protocol data send are same as PT2262 (pt2260).It encodes data and address pins into a serial coded waveform suitable for RF or IR modulation. PT2262 has a maximum of 12 bits of tri-state address pins providing up to 531,441 (or 312) address codes; thereby, drastically reducing any code collision and unauthorized code scanning possibilities.
An AD Bit can be designated as Bit “0”, “1” or “f” if it is in low,high or floating state respectively. One bit waveform consists of 2 pulse cycles. Each pulse cycle has 16 oscillating time periods. For
further details, please refer to the diagram below:


The Synchronous Bit Waveform is 4 bits long with 1/8 bit width pulse. Please refer to the diagram below:

A group of Code Bits is called a Code Word. A Code Word consists of 12 AD bits followed by one Sync Bit. The 12 AD bits are determined by the corresponding states of A0 ~ A5 and A6/D5 ~ A11/D0 pins at the time of transmission. When Data Type of PT2262 is used, the address bits will decrease accordingly.
For example: In the 3 Data Type where the address has nine (9) bits, the
transmitting format is:

PT2262 / PT2272 has a maximum of twelve (12) Address Bits including
the six (6) Address/Data bits. The following diagram shows the code bits
with their corresponding pins.

0 Data A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 Sync.Bit
1 Data A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 D0 Sync.Bit
2 Data A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 D1 D0 Sync.Bit
3 Data A0 A1 A2 A3 A4 A5 A6 A7 A8 D2 D1 D0 Sync.Bit
4 Data A0 A1 A2 A3 A4 A5 A6 A7 D3 D2 D1 D0 Sync.Bit
5 Data A0 A1 A2 A3 A4 A5 A6 D4 D3 D2 D1 D0 Sync.Bit
6 Data A0 A1 A2 A3 A4 A5 D5 D4 D3 D2 D1 D0 Sync.Bit
The Code Bits A0 ~ A5 and A6/D5 ~ A11/D0 are determined by the states
of A0 ~ A5 and A6/D5 ~ A11/D0 pins. For example, when the A0 (Pin
No. 1) is set to “1” (Vcc), the Code Bit A0 is synthesized as “1” bit. In the
same manner, when it (A0 Pin) is set to “0” (Vss) or left floating, the Code
Bit A0 is synthesized as a “0” or “f” bit respectively.

This application note was get of PT2262 Datasheet of princeton company of taiwan.
in pt2240 , ev1527 and pt2240 floating bit is not used. In pt2260 and pt2262 is send data always used data repeatly at even period. But is other chip data is fixed.
Data bit control is :
i used of a Attiny2313 for decode and 2 button key for learn and Ereas. This application lerarning up to 20 Remote and can be detect Start and End of way of veil. This project is replaced by PUJOL board.

My product:
the remote control for my product is pujol (by hcs301 encoder).

you can download my project by pt2240 decoder HERE.
you can download my project by hcs301 decoder HERE.