Instructables

Raspberry Pi Universal Remote

Picture of Raspberry Pi Universal Remote
fF76Gei3-lirc_logo.png
In this tutorial I hope to convince you that this is the ultimate universal remote built using a raspberry pi.

LIRC is the perfect for this job. It simplifies many of the more difficult tasks that we need to accomplish.
 
Remove these adsRemove these ads by Signing Up

Step 1: Parts

Picture of Parts

Step 2: Setting up the Software

Picture of Setting up the Software
There are a lot of steps in this that I will try to explain.

(Most of this step is from: http://alexba.in/blog/2013/01/06/setting-up-lirc-on-the-raspberrypi/ )

For the sake of this tutorial i'm assuming this is on a clean Raspbian image.

     sudo apt-get upgrade
     sudo apt-get update

Install LAMP

     sudo apt-get install apache2 php5 mysql-client mysql-server tomcat6 vsftpd

Install LIRC

     sudo apt-get install lirc

Set up the GPIO pins (remember this for later if you want to use other pins)

     sudo nano /etc/modules

Add these 2 lines to the bottom of the file

     lirc_dev
     lirc_rpi gpio_in_pin=23 gpio_out_pin=22

(CONTROL + C will save and exit)

Configure the hardware file.

     sudo nano /etc/lirc/hardware.conf

Erase the contents and paste this file

 
########################################################
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS="--uinput"

# Don't start lircmd even if there seems to be a good config file
# START_LIRCMD=false

# Don't start irexec, even if a good config file seems to exist.
# START_IREXEC=false

# Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="default"

# usually /dev/lirc0 is the correct setting for systems using udev
DEVICE="/dev/lirc0"
MODULES="lirc_rpi"

# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""
########################################################


Reboot the Pi

     sudo reboot
 
dnicol113 days ago
Hey i am also in Toronto. Very cool projects you have. Would you be i nterested In a paid project? Need something done right away.
TheGreenToaster (author) 3 months ago

Alright. They work now

akinich3 months ago
it's good but please share your files for the web server ( sql and php along with the html )
TheGreenToaster (author)  akinich3 months ago

I just posted them on the last step

Hey it say error 403 , please fix it
Thank you
pumo3 months ago

May be you should change attachments to txt file.

now those doesnt work:

403 Forbidden
Request forbidden by administrative rules.

Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!