Things used in this project

Hardware components:
Ardgen mega
Arduino Mega 2560 & Genuino Mega 2560
Any Arduino based card will work
398 09
Adafruit RGB Backlight LCD - 16x2
Any type of readable display device
Analog joystick (Generic)
The Joystick you select must have Infrared Capabilities, but you may also use almost any Infrared remote device.
Adafruit industries ada239 image 75px
Solderless Breadboard Full Size
11026 02
Jumper wires (generic)
Mfr 25frf52 10k sml
Resistor 10k ohm
IR receiver (generic)
Be sure to check if you need to install an inline resistor. Some have them built in.
Bourns 3362p 1 103lf image 160px
Single Turn Potentiometer- 10k ohms
For LCD brightness and contrast control
9V battery (generic)
Software apps and online services:
Ide web
Arduino IDE


IR receiver and decoder
Be sure to read the notes attached to the image
Mega bread ir control bb 91husechr4
Wiring Schematic
Please be sure to match your LCD module pinouts correctly to your display,
NOT mine. Just verify
Mega bread ir control schem xzassrf3e0


This code will receive an IR signal, decode it, send to serial monitor and LCD, then reset.Arduino
UPDATED, had the wrong code in.
This is used to gather the codes from infrared devices so you can save them into a sketch for later use.
// 5-4-2017

#include <IRremote.h>
#include <LiquidCrystal.h>

int RECV_PIN = 2;
int CONFIRM_PIN = 3;

IRrecv irrecv(RECV_PIN);
decode_results results;
LiquidCrystal lcd(22,23,27,26,25,24);

void setup()
  irrecv.enableIRIn(); // Start the receiver
  lcd.begin(16, 2);
  lcd.setCursor(0, 0);
  lcd.print(" IR Recieve and ");
  lcd.setCursor(0, 1);
  lcd.print("then output test");

void loop() {
  digitalWrite(CONFIRM_PIN, LOW);
  lcd.setCursor(0, 0);
  lcd.print("Ready to Recieve");
  lcd.setCursor(0, 1);
  lcd.print("Press any button");

  if (irrecv.decode(&results)) {
    Serial.println(results.value, HEX);
    Serial.println(results.value, DEC);
    digitalWrite(CONFIRM_PIN, HIGH);
    lcd.setCursor(0, 0);
    lcd.print(" HEX = ");
    lcd.print(results.value, HEX);
    lcd.setCursor(0, 1);
    lcd.print(" DEC = ");
    lcd.print(results.value, DEC);
    irrecv.resume(); // Receive the next value


Pigeon kicker
14 projects • 11 followers
Computer guru from the 80's, currently disabled veteran. Building this stuffs for my son to learn robotics.
Thanks to Mini Pigeon - My son.


Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback


Sign up / LoginProjectsPlatformsTopicsContestsLiveAppsBetaBlog