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