30percent
Published © GPL3+

Video Game Task Automation Device

I'm fighting back against lame tasks in video games. This project is the beginning to automate a console remote.

BeginnerFull instructions provided5,797
Video Game Task Automation Device

Things used in this project

Hardware components

SG90 Micro-servo motor
SG90 Micro-servo motor
×1
Arduino UNO
Arduino UNO
×1

Hand tools and fabrication machines

Xbox Controller

Story

Read more

Schematics

Servo to Uno

Code

Press O Button

Arduino
Operate a servo every x seconds to press a button on a remote.
#include <Servo.h> //From Library
Servo servoMain; // Define Servo
void setup()
{
servoMain.attach(9); // servo on digital pin 9
}
void loop()
{
   servoMain.write(45);  // Turn Servo Left to 45 degrees
   delay(1500);          // Wait 1.5 second
   servoMain.write(0);   // Turn Servo Left to 0 degrees
   delay(750);          // Wait .75 second
}

Credits

30percent

30percent

1 project • 16 followers

Comments