ADC's maximum sample rate is 50kSPS. ODROID-C2 has 10bit resolution (0~1023). ODROID-C4/N2 has 12bit resolution (0~4095). But the actual sample rate is 8kSPS if you access it via sysfs due to the limited file IO speed.
# cat /etc/lirc/lirc_options.conf # These are the default options to lircd, if installed as # /etc/lirc/lirc_options.conf. See the lircd(8) and lircmd(8) # manpages for info on the different options. # # Some tools including mode2 and irw uses values such as # driver, device, plugindir and loglevel as fallback values # in not defined elsewhere.
# 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(default) on Fri Sep 17 12:28:52 2021 # Command line used: -d /dev/lirc0 # Kernel version (uname -r): 3.16.72-46 # # Remote name (as of config file): monex # 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 monex bits 32 flags SPACE_ENC|CONST_LENGTH eps 30 aeps 100
header 8970 4517 one 561 1692 zero 561 569 ptrail 563 repeat 8970 2289 gap 107503 toggle_bit_mask 0x0 frequency 38000
ubuntu-18.04.3-3.16-minimal-odroid-c2-20190814.img.xz 파일을 받아서 시도하니 된다.
2020년 중반 이후로 먼가 안된다는 글이 보이던데.. 구버전으로 가니 단번에 되네 -_-
아래의 명령어로
$ irrecord -d /dev/lirc0
monex 43인치 UHD 모니터 리모컨 읽은 내용
$ cat monex.lircd.conf
# 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(default) on Fri Sep 17 12:28:52 2021 # Command line used: -d /dev/lirc0 # Kernel version (uname -r): 3.16.72-46 # # Remote name (as of config file): monex # 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 monex bits 32 flags SPACE_ENC|CONST_LENGTH eps 30 aeps 100
header 8970 4517 one 561 1692 zero 561 569 ptrail 563 repeat 8970 2289 gap 107503 toggle_bit_mask 0x0 frequency 38000
# 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(default) on Fri Sep 17 12:39:22 2021 # Command line used: -d /dev/lirc0 -f # Kernel version (uname -r): 3.16.72-46 # # Remote name (as of config file): mo_raw # 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 mo_raw flags RAW_CODES|CONST_LENGTH eps 30 aeps 100