IR control guide: Difference between revisions

No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 18: Line 18:
  ''sudo apt-get install lirc''
  ''sudo apt-get install lirc''


[[File:DAC1.jpg|800px]]
[[File:35inch-hd-tft3.jpg|800px]]


[[File:35inch-hd-tft4.jpg|800px]]
[[File:35inch-hd-tft4.jpg|800px]]
Line 32: Line 32:
''dtoverlay=lirc-rpi,gpio_in_pin=26''
''dtoverlay=lirc-rpi,gpio_in_pin=26''


[[File:DAC3.png|400px]]
[[File:DAC3.png|800px]]


<font color="#FF0000">'''Notice: The volumio version under 1.55 please refer to the below step 2 !!!''' </font>
<font color="#FF0000">'''Notice: The volumio version under 1.55 please refer to the below step 2 !!!''' </font>
Line 47: Line 47:
  ''lirc_rpi gpio_in_pin=18''
  ''lirc_rpi gpio_in_pin=18''


[[File:DAC4.jpg|400px]]
[[File:DAC4.jpg|800px]]


3. Edit the LRIC configuration file to realize the NoIR function
3. Edit the LRIC configuration file to realize the NoIR function
Line 78: Line 78:
Record the remote controller according to the tips. Record separately"pause", “nextsong”,“prevsong”,“stop”,“volumeup”,“volumedown”\
Record the remote controller according to the tips. Record separately"pause", “nextsong”,“prevsong”,“stop”,“volumeup”,“volumedown”\


[[File:DAC5_(2).jpg|800px]]
[[File:35inch-hd-tft8.jpg|800px]]


Cover the relative files about lirc software with recorded ~/lircd.conf file
Cover the relative files about lirc software with recorded ~/lircd.conf file
Line 88: Line 88:
''sudo /etc/init.d/lirc start''
''sudo /etc/init.d/lirc start''


[[File:DAC6.jpg|400px]]
[[File:35inch-hd-tft9.jpg|800px]]


7. Review recording and perform the command
7. Review recording and perform the command
Line 96: Line 96:
Then press the separate recording button
Then press the separate recording button


[[File:DAC7.jpg|400px]]
[[File:DAC7.jpg|800px]]


8. Edit “.lircrc”,and perform the command  
8. Edit “.lircrc”,and perform the command  
Line 102: Line 102:
''sudo pico ~/.lircrc''
''sudo pico ~/.lircrc''


[[File:DAC7.jpg|400px]]
[[File:DAC7.jpg|800px]]




Line 138: Line 138:
end
end


[[File:DAC9.jpg|400px]]
[[File:DAC9.jpg]]


<font color="#FF0000">'''Note: You could refer to the mpc command, add the button and function you need.'''(http://linux.die.net/man/1/mpc)</font>
<font color="#FF0000">'''Note: You could refer to the mpc command, add the button and function you need.'''(http://linux.die.net/man/1/mpc)</font>
Line 156: Line 156:
)&''
)&''


[[File:DAC10.png|400px]]
[[File:DAC10.png]]


Exit and save, then reboot to realize the NoIR function.
Exit and save, then reboot to realize the NoIR function.