View: 11629|Reply: 27

Replacing IR Reciver with IR Transmitter

[Copy link]

2

threads

16

posts

203

credits

Intermediate member

Rank: 3Rank: 3

credits
203
Published in 2016-3-19 00:01:29 | Show all floors |Read mode
Quick question - can ir reciver (LBST0038A) be easily replaced by any ir transmitter? I'd like to make my OPI 2 a remote conroller for AC.

9

threads

634

posts

4431

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4431
Published in 2016-3-19 00:58:24 | Show all floors
You can drive IR transmitter via GPIO. You need a driver, which is not a part of the kernel. Next problem is encrypted protocol ... Check this website for all about IR hacks: https://www.analysir.com/blog/

12

threads

99

posts

375

credits

Intermediate member

Rank: 3Rank: 3

credits
375
Published in 2016-3-21 15:07:23 | Show all floors
In Arduino world it is much easier. There are very good IR libraries and example programs where you can read IR remote codes and than use them in your program sending them via IR LED to the device. Probably you could adapt it here without pure Linux way via kernel module, just using bitbanging of GPIO pin.

2

threads

16

posts

203

credits

Intermediate member

Rank: 3Rank: 3

credits
203
 Author| Published in 2016-3-21 18:29:11 | Show all floors
@cbm80 Thanks for info. I'll will take a look into arduino also.

0

threads

2

posts

66

credits

Registered member

Rank: 2

credits
66
Published in 2016-3-24 05:50:52 | Show all floors
Hi, I'm also interested in this question.

I've installed bunch of stuff to enable gpio and lirc, mostly followed
http://www.instructables.com/id/ ... ng-up-the-Software/

And finally stuck on enabling module lirc_rpi, original command is
  1. lirc_rpi gpio_in_pin=23 gpio_out_pin=22
Copy code

but what can We use in orange pi, is there any thing ?

There seems to be a fork of  lirc_rpi called lirc-gpioblaster
https://wiki.openwrt.org/doc/howto/lirc-gpioblaster
but it's for OpenWRT

2

threads

16

posts

203

credits

Intermediate member

Rank: 3Rank: 3

credits
203
 Author| Published in 2016-3-24 18:22:17 | Show all floors
AFAIK ir reciver is connected to PL11 pin, according to fex file:
  1. [s_cir0]
  2. ir_used = 1
  3. ir_rx = port:PL11<2><1><default><default>
  4. ir_power_key_code0 = 87
  5. ir_addr_code0 = 40704
  6. ir_power_key_code1 = 26
  7. ir_addr_code1 = 64260
  8. ir_power_key_code2 = 20
  9. ir_addr_code2 = 32640
  10. ir_power_key_code3 = 21
  11. ir_addr_code3 = 32640
  12. ir_power_key_code4 = 11
  13. ir_addr_code4 = 63240
  14. ir_power_key_code5 = 3
  15. ir_addr_code5 = 239
  16. ir_power_key_code6 = 159
  17. ir_addr_code6 = 19635
  18. ir_power_key_code7 = 10
  19. ir_addr_code7 = 30536
  20. ir_power_key_code8 = 69
  21. ir_addr_code8 = 48386
  22. ir_power_key_code9 = 77
  23. ir_addr_code9 = 56865
  24. ir_power_key_code10 = 24
  25. ir_addr_code10 = 65025
  26. ir_power_key_code11 = 87
  27. ir_addr_code11 = 65280
  28. ir_power_key_code12 = 77
  29. ir_addr_code12 = 65344
Copy code
Published in 2024-5-28 15:10:23 | Show all floors
You created some decent points there. I looked on the internet for any issue and found most people should go as well as with the internet site.        Mẹo chơi thể thao ảo VIN777
Published in 2024-6-1 20:03:43 | Show all floors
An intriguing discussion might be priced at comment. I do believe you should write much more about this topic, it will not be considered a taboo subject but usually people are there are not enough to talk on such topics. To the next. Cheers        Packers and Movers Gurgaon to Port Blair
Published in 2024-6-5 18:52:53 | Show all floors
I quite like the many written content, I've got to declare my spouse and i loved, My spouse and i would really like more details relating to this specific, mainly because it is quite wonderful., Thanks a lot with regards to disclosing.        mig8
Published in 2024-6-22 21:42:53 | Show all floors
An intriguing discussion will probably be worth comment. I do believe that you can write regarding this topic, may possibly not often be a taboo subject but generally individuals are inadequate to communicate on such topics. Yet another. Cheers        https://bk8v3.com/
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list