RobotGeek TeamWade Filewich
Published © CC0

Making your own Infrared Controller with Arduino

In this project, we will be making our own Infrared Controller with two joysticks, two face buttons, and two trigger buttons.

BeginnerFull instructions provided1 hour7,546
Making your own Infrared Controller with Arduino

Things used in this project

Hardware components

RobotGeek Geekduino
RobotGeek Geekduino
×1
RobotGeek Sensor Shield
RobotGeek Sensor Shield
×1
RobotGeek Joystick
RobotGeek Joystick
×2
RobotGeek Pushbutton
RobotGeek Pushbutton
×4
RobotGeek IR Transmitter
RobotGeek IR Transmitter
×1
RobotGeek Duino Mount
×1
RobotGeek Small Workbench
×1
RobotGeek 4xAA Battery Pack
×1
RobotGeek Experimenter's Nut and Bolt Pack
×1
Arduino UNO
Arduino UNO
OPTION: Can be used in place of Geekduino
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Code

Code snippet #2

Plain text
const int Set_Protocol = NEC;
//Left Joystick
  const unsigned long  L_JOY_RIGHT_ARROW = 0xFFC23D; 
  const unsigned long  L_JOY_LEFT_ARROW = 0xFF22DD; 
  const unsigned long  L_JOY_UP_ARROW = 0xFF629D; 
  const unsigned long  L_JOY_DOWN_ARROW = 0xFFA857; 
//Right Joystick
  const unsigned long  R_JOY_RIGHT_ARROW = 0xFD50AF; 
  const unsigned long  R_JOY_LEFT_ARROW = 0xFD10EF; 
  const unsigned long  R_JOY_UP_ARROW = 0xFDA05F; 
  const unsigned long  R_JOY_DOWN_ARROW = 0xFDB04F; 
//Buttons
  const unsigned long  L_FACE_BUTTON = 0xFF02FD; 
  const unsigned long  R_FACE_BUTTON = 0xFF6897; 
  const unsigned long  L_TRIGGER_BUTTON = 0xFFB04F;
  const unsigned long  R_TRIGGER_BUTTON = 0xFF52AD;

Github file

https://github.com/robotgeek/robotGeekLibrariesAndtools/archive/master.zip

Credits

RobotGeek Team

RobotGeek Team

35 projects • 208 followers
The RobotGeek team is a 6-man operation that wants to make it even easier to use Arduino to make electronics and robots.
Wade Filewich

Wade Filewich

35 projects • 102 followers
I make technology that makes plants grow

Comments