- PIC12F1840\r
- ___ __\r
- 10k -|___|-+ Vdd -o| o|o- Vss\r
- ___ +-RS232in / GP5 -o| |o- GP0 / ICSPDAT\r
- 1k -|___|-- RS232out/ GP4 -o| |o- GP1 / ICSPCLK \r
- Vpp / GP3 -o|__|o- GP2 / TS TSOP1736\r
-Example output, using a bunch of different remote controls\r
-IRMP PIC 12F1840 1.1 ws\r
-P 7 a=0x0011 c=0x000c f=0x00 (RC5)\r
-P 6 a=0x0001 c=0x0018 f=0x00 (RECS80)\r
-P 2 a=0xbf00 c=0x0019 f=0x00 (NEC)\r
-P 2 a=0xeb14 c=0x0001 f=0x00 (NEC)\r
-P 7 a=0x001c c=0x0005 f=0x00 (RC5)\r
-P 7 a=0x000a c=0x0057 f=0x00 (RC5)\r
-P 7 a=0x000a c=0x0057 f=0x01 (RC5)\r
-P 2 a=0xfb04 c=0x0008 f=0x00 (NEC)\r
+\r
+Hauptprogramm fuer den nachfolgenden Testaufbau, bestehend aus zwei mal \r
+\r
+\r
+ TSOP1736+ PIC12F1840\r
+ | __\r
+ 1k | Vdd--o| o|o--Vss\r
+ ___ +--GP5--o| |o--GP0 / ICSPDAT\r
+RS232 out -|___|-------GP4--o| |o--GP1 / ICSPCLK ___ LED\r
+RS232 in -|___|---Vpp/GP3--o|__|o--GP2-----------|___|- ->|---Vss\r
+ 10k\r
+ \r
+auf einem Steckbrett. (Genauer gesagt, dies ist die aktuelle Beschaltung\r
+fuer V1.8, V1.0 ist aber bzgl. IRMP-Empfang funktional identisch. Nicht eingezeichnet\r
+ist ein Abblockkondensator von 100nF ueber Vss und Vdd.\r
+\r
+Uebersetzt mit Microchip MPLAB XC8 C Compiler (Free Mode) V1.31 \r
+im stark gecrippelten "Free Mode".\r
+\r
+Memory Summary: (V 1.8)\r
+ Program space used C6Fh ( 3183) of 1000h words ( 77.7%)\r
+ Data space used 9Bh ( 155) of 100h bytes ( 60.5%)\r
+ EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)\r
+ Data stack space used 0h ( 0) of 5Eh bytes ( 0.0%)\r
+ Configuration bits used 2h ( 2) of 2h words (100.0%)\r
+ ID Location space used 0h ( 0) of 4h bytes ( 0.0%)\r
+\r
+\r
+Testaufbau: \r
+\r
+Zwei Steckbretter,\r
+urspruengliche Version des Programms als Empfaenger, \r
+aktuelle Version als Sender, Aufzeichnung mit putty,\r
+angeschlossen jeweils per USB2RS232-Kabel von Conrad\r
+(972543, basierend auf Prolific PL2303). Soft-UART \r
+fuer Input, da 12F1820 keine Kontrolle ueber Input-\r
+Polaritaet erlaubt und ich fuer Testaufbauten eine\r
+Minimalbeschaltung bevorzuge.\r
+\r
+Kurze Distanz\r
+(~30 cm) zwischen Sender und Empfaenger), keine genaue Ausrichtung.\r
+Stromversorgung wahlwweise mit 5V via PICkit 2 oder 3x1.2V NiMH-AA.\r
+\r
+Zunaechst \r
+CD TAPE TUNER AUX OFF mit Philips FB, \r
+OFF mit VAOVA TV-2900HDD FB\r
+dann Eingabe . und n beim Sender.\r
+\r
+Sender:\r
+\r
+IRMP PIC 12F1840 1.8 ws\r
+P 7 a=0x0014 c=0x003f f=0x00 (RC5)\r
+P 7 a=0x0014 c=0x003f f=0x01 (RC5)\r
+P 7 a=0x0012 c=0x003f f=0x00 (RC5)\r
+P 7 a=0x0011 c=0x003f f=0x00 (RC5)\r
+P 7 a=0x0015 c=0x003f f=0x00 (RC5)\r
+P 7 a=0x0015 c=0x000c f=0x00 (RC5)\r
+P 2 a=0xbf00 c=0x0059 f=0x00 (NEC)\r
+P 2 a=0xbf00 c=0x0059 f=0x01 (NEC)\r
+. MX115OFF PR2 221\r
+n NEC PR2 209\r
+\r
+Empfaenger:\r
+\r
+IRMP PIC 12F1840 1.0 ws\r
+P 7 a=0x0014 c=0x003f f=0x00 (RC5)\r
+P 7 a=0x0014 c=0x003f f=0x01 (RC5)\r
+P 7 a=0x0012 c=0x003f f=0x00 (RC5)\r
+P 7 a=0x0011 c=0x003f f=0x00 (RC5)\r
+P 7 a=0x0015 c=0x000c f=0x00 (RC5)\r
+P 2 a=0xbf00 c=0x0059 f=0x00 (NEC)\r
+P 2 a=0xbf00 c=0x0059 f=0x01 (NEC)\r
+P 7 a=0x0015 c=0x000c f=0x00 (RC5)\r
+P 7 a=0x0015 c=0x000c f=0x01 (RC5)\r
+P 7 a=0x0015 c=0x000c f=0x01 (RC5)\r
+P 2 a=0x0055 c=0x00aa f=0x00 (NEC)\r
+\r
+Die via DSO an der LED gemessenen Frequenzen sind 36.0 resp. 38.0 kHz\r