Welcome to Hackster!
Hackster is a community dedicated to learning hardware, from beginner to pro. Join us, it's free!
RobotGeek TeamWade Filewich
Published © CC0

Controlling an Arduino Turret with IR Remote

Using a TV Remote and an IR Receiver, we can remotely operate a turret! Let's get started!

BeginnerFull instructions provided1.5 hours9,170
Controlling an Arduino Turret with IR Remote

Things used in this project

Hardware components

RobotGeek Desktop Roboturret
RobotGeek Desktop Roboturret
×1
RobotGeek IR Receiver
RobotGeek IR Receiver
×1
RobotGeek Foam Dart Gun K
×1
RobotGeek Mini IR Remote
×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 #4

Plain text
IR Code Block: 
 
 
 
 
const unsigned long MY_PROTOCOL = SONY;
const unsigned long RIGHT_BUTTON = 0x9EB92;
const unsigned long LEFT_BUTTON = 0xDEB92;
const unsigned long UP_BUTTON = 0x9EB92;
const unsigned long DOWN_BUTTON = 0x5EB92;
const unsigned long SELECT_BUTTON = 0xD0B92;
const unsigned long ONE_BUTTON = 0xB92;
const unsigned long TWO_BUTTON = 0x80B92;
const unsigned long THREE_BUTTON = 0x40B92;
const unsigned long FOUR_BUTTON = 0xC0B92;
const unsigned long FIVE_BUTTON = 0x20B92;
const unsigned long SIX_BUTTON = 0xA0B92;
const unsigned long SEVEN_BUTTON = 0x60B92;
const unsigned long EIGHT_BUTTON = 0xE0B92;
const unsigned long NINE_BUTTON = 0x10B92;
const unsigned long ZERO_BUTTON = 0x90B92;
const unsigned long SPECIAL_1_BUTTON = 0x481;
const unsigned long SPECIAL_2_BUTTON = 0xC81;

Github file

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

Credits

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.
Contact
Wade Filewich
35 projects • 103 followers
I make technology that makes plants grow
Contact

Comments

Please log in or sign up to comment.