This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
lircd problems on tinypilot 0.24
#10
Hi,

I have followed your directions, and apparently I could configure the IR/remote connected to the raspberry.
But, checking in pypilot "lcd and remote control setup" I press the button on my remote, but I dont get any action. the key pad works fine.
I dont know what could be wrong.

Here is what I got configuring in tinycore (i think it is ok):

# This config file was automatically generated
# using lirc-0.10.0(devinput) on Sat Mar 14 11:52:29 2020
# Command line used: -d /dev/lirc0 test.conf
# Kernel version (uname -r): 4.9.22-piCore
#
# Remote name (as of config file): ramon
# Brand of remote device, the thing you hold in your hand:
# Remote device model nr:
# Remote device info url:
# Does remote device has a bundled capture device e. g., a
# Please take the time to finish this file as described in
# https://sourceforge.net/p/lirc-remotes/wiki/Checklist/
# and make it available to others by sending it to
# <lirc@bartelmus.de>
#
# This config file was automatically generated
# using lirc-0.10.0(devinput) on Sat Mar 14 11:52:29 2020
# Command line used: -d /dev/lirc0 test.conf
# Kernel version (uname -r): 4.9.22-piCore
#
# Remote name (as of config file): ramon
# Brand of remote device, the thing you hold in your hand:
# Remote device model nr:
# Remote device info url:
# Does remote device has a bundled capture device e. g., a
# usb dongle? :
# For bundled USB devices: usb vendor id, product id
# and device string (use dmesg or lsusb):
# Type of device controlled
# (TV, VCR, Audio, DVD, Satellite, Cable, HTPC, ...) :
# Device(s) controlled by this remote:

begin remote

name ramon
driver devinput
bits 56
eps 30
aeps 100

one 0 0
zero 0 0
pre_data_bits 8
pre_data 0x11
gap 497
toggle_bit_mask 0x0
frequency 38000

begin codes
KEY_LEFT 0x8100000100023E
KEY_RIGHT 0x8400000100023B
KEY_UP 0x9B000001000223
KEY_DOWN 0x67000001000254
KEY_POWER 0x99000001000227
KEY_SELECT 0x9B000001000209
KEY_MUTE 0x98000001000243
end codes

end remote
Log file:
tc@box:~$ cat ramon.lircd.conf /etc/lircd.conf > lircd.conf
tc@box:~$ sudo cp lircd.conf /etc/lircd.conf
tc@box:~$ sudo sv up lircd
tc@box:~$ sudo sv restart pypilot_hat
ok: run: pypilot_hat: (pid 4230) 0s, normally down
tc@box:~$ filetool.sh -b
Backing up files to /mnt/mmcblk0p2/tce/mydata.tgz\
Done.

I have tryed aswell connecting the IR to the arduino nano, to +3,3v/GND/ D3. Arduino to Raspberry by USB wire. But when connecting the IR data to the D3 in the arduino, I get the red LED "ON" all the time. Not just flashing when pressing a botton on the remote. IAm I doing anything wrong?? Should I connect the arduino to the raspberry by TX to RX and viceversa instead of usb port?

thanks
Reply


Messages In This Thread
lircd problems on tinypilot 0.24 - by kinefou - 2021-01-09, 08:04 PM
RE: lircd problems on tinypilot 0.24 - by kinefou - 2021-01-10, 08:02 PM
RE: lircd problems on tinypilot 0.24 - by kinefou - 2021-01-13, 04:21 PM
RE: lircd problems on tinypilot 0.24 - by hreuver - 2021-01-13, 09:13 PM
RE: lircd problems on tinypilot 0.24 - by Huevo - 2021-04-16, 09:05 PM
RE: lircd problems on tinypilot 0.24 - by Huevo - 2021-04-20, 05:04 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)