We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:c2_lirc_gpio_blaster [2016/11/22 11:21]
joy.cho [Building and Testing an IR LED Circuit]
en:c2_lirc_gpio_blaster [2017/06/20 16:09] (current)
joy.cho [Support GPIO based IR Blaster]
Line 2: Line 2:
 <WRAP center round important>​ <WRAP center round important>​
 This functionality is available on Ubuntu. This functionality is available on Ubuntu.
-  * ODROID-C2 : Version should be 3.14.79-94 (Nov 21 2016) or higher. +  * ODROID-C2 : Version should be 3.14.79-94 (Nov 212016) or higher. 
-  * ODROID-C1 : Version should be 3.10.104-175 (Nov 21 2016) or higher.+  * ODROID-C1 : Version should be 3.10.104-175 (Nov 212016) or higher. 
 +  * ODROID-XU3/​4 : Version should be 4.9.33-42 (Jun 20, 2017) (available on kernel 3.10 with 3.10.104-126 (Nov 29, 2016))
 </​WRAP>​ </​WRAP>​
  
Line 42: Line 43:
 http://​odroid.com/​dokuwiki/​doku.php?​id=en:​c1_hardware#​expansion_connectors http://​odroid.com/​dokuwiki/​doku.php?​id=en:​c1_hardware#​expansion_connectors
  
-===== Installing ​and Configuring the LIRC and the driver module ​ =====+== Example for ODROID-XU4 using 2x15 pins Expansion Connectors ​==  
 + 
 +For example, Pin #26 (GPIO #24) is used and following instructions will be described with the GPIO value. \\ 
 +^ LED side   ​^ ​ Connector ​  ^ 
 +|  VCC  | Pin #29 - 1.8V Power  | 
 +|  GND  | Pin #28 - Ground ​ | 
 +|  GPIO  | Pin #26 - GPIO #24   | 
 + 
 +**In case of XU4, voltage level of VDD_IO and GPIO output is 1.8V.\\ 
 +Supposing R2 is 10 Ohm, the actual forward current is around 40mA and voltage difference between P1 and P2 is around 400mV. \\ ** 
 + 
 +http://​odroid.com/​dokuwiki/​doku.php?​id=en:​xu4_hardware#​expansion_connectors 
 +===== Install LIRC Package ​ ===== 
 +<​code>​ 
 +$ sudo apt-get install lirc 
 +</​code>​ 
 + 
 +Install LIRC package. While installing lirc, you will be asked the device type of IR receiver ​and transmitter.\\ 
 +Since we will set up later by manual, you can select **None**.\\ 
 + 
 + 
 +And for further information,​ please refer to the following wiki page.\\ 
 +http://​odroid.com/​dokuwiki/​doku.php?​id=en:​c2_lirc 
 + 
 +===== Configuring the LIRC and the driver module ​ =====
 === LIRC Configuration === === LIRC Configuration ===
  
Line 130: Line 155:
  
 #Chosen IR Transmitter #Chosen IR Transmitter
-TRANSMITTER="​Home-brew (odroid ​gpio)"+TRANSMITTER="​odroid ​blaster"
 TRANSMITTER_MODULES="​lirc_odroid lirc_dev"​ TRANSMITTER_MODULES="​lirc_odroid lirc_dev"​
 TRANSMITTER_DRIVER=""​ TRANSMITTER_DRIVER=""​
Line 174: Line 199:
 flags SPACE_ENC|CONST_LENGTH flags SPACE_ENC|CONST_LENGTH
 eps  30 eps  30
-aeps100+aeps 100
  
 header 9000 4500 header 9000 4500
 one 563 1688 one 563 1688
-zero563 ​564+zero 563 564
 ptrail 563 ptrail 563
 pre_data_bits 16 pre_data_bits 16
 pre_data 0x4DB2 pre_data 0x4DB2
 repeat 9000 2250 repeat 9000 2250
-gap100000+gap 100000
 toggle_bit_mask 0x0 toggle_bit_mask 0x0
     begin codes     begin codes
-        KEY_LEFT 0x9966 +        KEY_LEFT ​ 0x9966 
-        ​KEY_RIGHT0x837C +        ​KEY_RIGHT ​ 0x837C 
-        ​KEY_UP0x53AC +        ​KEY_UP ​ 0x53AC 
-        ​KEY_DOWN0x4BB4 +        ​KEY_DOWN ​ 0x4BB4 
-        ​KEY_ENTER0x738C +        ​KEY_ENTER ​ 0x738C 
-        KEY_HOME 0x41BE +        KEY_HOME ​ 0x41BE 
-        KEY_MUTE 0x11EE +        KEY_MUTE ​ 0x11EE 
-        KEY_MENU 0xA35C +        KEY_MENU ​ 0xA35C 
-        KEY_BACK 0x59A6 +        KEY_BACK ​ 0x59A6 
-        KEY_VOLUMEDOWN 0x817E +        KEY_VOLUMEDOWN ​ 0x817E 
-        KEY_VOLUMEUP 0x01FE +        KEY_VOLUMEUP ​ 0x01FE 
-        ​KEY_POWER0x3BC4+        ​KEY_POWER ​ 0x3BC4
     end codes     end codes
 end remote end remote
en/c2_lirc_gpio_blaster.1479783069.txt.gz · Last modified: 2016/11/22 11:21 by joy.cho
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0