CM3-Home

Infrared remote control

This article illustrates how to use the 38 kHz infrared receiver available on the CM3-Home full edition

config.txt setup

To enable the use of IR receiver add these lines to the /boot/config.txt file:

#Enable the IR Linux driver
dtoverlay=gpio-ir,gpio_pin=20

Read the IR code received

After boot install the ir-keytable package:

sudo apt-get update
sudo apt-get install ir-keytable

Set the IR remote control type you want to use (in this example RC-5):

sudo ir-keytable -p rc-5

then:

ir-keytable -t -v

Now point you remote control and read the code received.

Links

eShop

EUR 130.00


CM3-HOME-B - CM3-Home board basic edition

CM3-Home board basic edition

| Product description || CM3-Home catalog |

EUR 330.00


CM3-HOME-F - CM3-Home board full edition

CM3-Home board full edition

| Product description || CM3-Home catalog |

Author:
Sergio Tanzilli - tanzilli@acmesystems.it
http://www.tanzolab.it - http://www.tanzilli.com - https://github.com/tanzilli