Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IR coding problem
#1
Hi,

I have wired a device with a 3x4 matrix numeric keyboard. (0-9 and *,#) Tested, works fine. (RPi 3, Python 3.5)
I also have included an IR led to a GPIO pin. Tested, works fine.
I also installed Lirc. Did some mods to various config file as instructed in various posts.

Now i want to press ONE key and send that value to a "FLIRC" connected to my laptop, waiting for input.

I have found numerous posts from people trying to emulate so or so remote device in Python.
But i cannot find the one example where you just send the pressed key with hopefully one command.
Nothing fancy, but what is the right syntax?

thx,
Paul
Reply
#2
A schematic would help
Your code attempt as well
Any error messages, and finally
where you think the problem lies.
Reply
#3
Perhaps check the python-lirc module on pypi.
Reply
#4
Hello,

I have no coding to show, as got no further than "import lirc".
Just looking for somebody who has built a remote from scratch, not trying to emulate an existing one.
I start to suspect that i have to build an IR-key code config-scheme from scratch but how ? (only for 12 keys)

I'll look into this pypi....

thx,
Paul
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Armachat coding problem gad969 4 1,272 Mar-12-2023, 03:12 PM
Last Post: gad969
  Coding problem portfolio grade max70990 1 699 Dec-11-2022, 12:30 PM
Last Post: Larz60+
  coding problem from older book teddfirth 3 2,095 Mar-06-2021, 03:51 PM
Last Post: teddfirth
  Begginer coding problem wiktor 2 3,193 Jan-26-2018, 06:24 PM
Last Post: wiktor
  new user coding problem mattkrebs 1 2,998 Mar-21-2017, 12:45 PM
Last Post: buran
  Coding problem VISHU 3 4,784 Mar-16-2017, 06:54 AM
Last Post: Larz60+
  Incredibly basic coding problem AndyF 12 8,417 Feb-11-2017, 03:52 PM
Last Post: AndyF

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020