LIRC using with directly wiring the endpoints.
Rajendra Panchal via LIRC-list <[email protected]>
| Newsgroups | gmane.comp.hardware.lirc |
|---|---|
| Message-ID | <[email protected]> |
Hello All: I am new to the LIRC list. After going through the LIRC community for solution and trying all the suggestions, I tried to go through source code. I am trying to replace the IR sensor and IR transmitter between RPI3 and an HDMI switch (lirc.conf generated using irrecord is attached).First I tested the codes over IR. works fine. Here is the list of IRSENDs from one RPI3 using the IR and the corresponding bit string received by the another RPI's IR sensor. irsend SEND_ONCE DOCKTALK PIP binaryString[67]: 100000000111111110011000011001111 irsend SEND_ONCE DOCKTALK PORT1 binaryString[67]: 100000000111111110000001011111101 irsend SEND_ONCE DOCKTALK PORT2 binaryString[67]: 100000000111111111110000000011111 irsend SEND_ONCE DOCKTALK PORT3 binaryString[67]: 100000000111111111001000001101111 irsend SEND_ONCE DOCKTALK PORT4 binaryString[67]: 100000000111111111001100001100111 irsend SEND_ONCE DOCKTALK PORT1 binaryString[67]: 100000000111111110000001011111101 irsend SEND_ONCE DOCKTALK OK binaryString[67]: 100000000111111111010100001010111 irsend SEND_ONCE DOCKTALK PORT1 binaryString[67]: 100000000111111110000001011111101 I tried to use the invert=1 and softcarrier=0 options after replacing the IR TX/RX between two RPI's GPIO pins with SIG and GND wires. No success. Then I thought to replace the toggle_bit_mask in the lirc.conf file: # toggle_bit_mask 0x0 toggle_bit_mask 0x0001FFFFFFFFFFFFFFFF irsend give an error. not recognizing DOCKTALK. Any guidance you may provide would be greatly appreciated. Thank you for your help. Regards,Raj ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lircd.conf
(application/octet-stream, 1.3 KB)
# Please make this file available to others # by sending it to <[email protected]> # # this config file was automatically generated # using lirc-0.9.0-pre1(default) on Sun Aug 10 19:56:40 2014 # # contributed by # # brand: /home/pi/lircd.conf # model no. of remote control: HDMI SWITCH # devices being controlled by this remote: # # KEY_ENTER (PIP SELECT) 0x7A85 # KEY_DOWN (PIP) 0x30CF # KEY_KP1 0x02FD # KEY_KP2 0xE01F # KEY_KP3 0x906F # KEY_KP4 0x9867 # KEY_SETUP (OK) 0xA857 begin remote name DOCKTALK bits 16 flags SPACE_ENC|CONST_LENGTH eps 30 aeps 100 header 9123 4487 one 620 1655 zero 620 517 ptrail 616 repeat 9122 2217 pre_data_bits 16 pre_data 0xFF gap 108499 toggle_bit_mask 0x0 # toggle_bit_mask 0x0001FFFFFFFFFFFFFFFF begin codes PIP_SELECT 0x7A85 PIP 0x30CF PORT1 0x02FD PORT2 0xE01F PORT3 0x906F PORT4 0x9867 OK 0xA857 end codes end remote