Things used in this project

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

Schematics

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

Code

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.
// MEGA_BREAD_IR_CONTROLS
// 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()
{
  pinMode(CONFIRM_PIN, OUTPUT);
  Serial.begin(9600);
  irrecv.enableIRIn(); // Start the receiver
  lcd.begin(16, 2);
  lcd.clear();
  lcd.setCursor(0, 0);
  lcd.print(" IR Recieve and ");
  lcd.setCursor(0, 1);
  lcd.print("then output test");
  delay(2000);
  lcd.clear();
}

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.clear();
    lcd.setCursor(0, 0);
    lcd.print(" HEX = ");
    lcd.print(results.value, HEX);
    lcd.setCursor(0, 1);
    lcd.print(" DEC = ");
    lcd.print(results.value, DEC);
    delay(3000);
    irrecv.resume(); // Receive the next value
  }
  }

Credits

Pigeon kicker
Pigeon-Kicker

Computer guru from the 80's, currently disabled veteran. Building this stuffs for my son to learn robotics.

Contact
Thanks to Mini Pigeon - My son.

Replications

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

Comments

Similar projects you might like

Blynk GPS Tracker
Intermediate
  • 233
  • 5

Full instructions

Simple GPS tracker using a Particle Photon (or Electron) and an EM406 GPS module with location visible on Blynk app map.

Smartphone Controlled Arduino 4WD Robot Car
Intermediate
  • 70
  • 1

Work in progress

This is my next project, a smartphone-controlled Arduino 4WD robot car or Bluetooth Arduino robot.

Pool Buddy
Intermediate
  • 1,877
  • 11

Work in progress

Monitor and log water quality (pH & ORP) and temperature from everywhere.

Arduino101 Bluetooth Interfacing
Intermediate
  • 250
  • 4

Full instructions

Use the Arduino101 Bluetooth wireless interface with the Blynk GUI Library for control of things directly from your phone or tablet !

DIY Vintage Spotify Radio Using A Raspberry Pi
Intermediate
  • 3,736
  • 17

Full instructions

Make your own vintage radio that streams Spotify, Google Play Music, SoundCloud and your own local music!

Smart Garden
Intermediate
  • 2,636
  • 20

Smart Garden is a plant environmental monitoring system.

ProjectsCommunitiesTopicsContestsLiveAppsBetaFree StoreBlogAdd projectSign up / Login
Feedback