GUIDE - How to play using a DVD remote!
1 day agoHi there, I'm Christer, one of the devs 👋I like to tinker with electronics in my spare time, so for this game I thought it would be fun to try to play the game with an actual old DVD remote.If you want to try to play this way too then this guide will help guide you through the process of doing so. If all goes well this is what it should look like in the end:Okay, on with the tutorial! First a list of requirements:🧠 Skills you need: Basic Arduino knowledge🏗️ Physical things you will need: An old DVD player remoteArduino board with an 32u4 processor, such as the Arduino Micro or Arduino Leonardo (what I'll be using) USB cable to connect the board to your PCSome kind of breadboardBreadboard jumper wires38 KHz IR receiver module for Arduino (like the IR 1838M, but most will do as long as they are the right frequency)💽 Software you will need:Arduino IDEOnce you are sure you have everything you need, it is time to build the circuit and program the Arduino.🛠️ Build guide:The actual building is fairly simple, see the diagram below for how to wire up everything (Though be careful to wire the power the right way in, your specific reviving module might have different wiring).🖥️ Programming:Once everything is wired up it is time to program the Arduino to receive signals, and then, hopefully, output keyboard commands!First step is reading your specific remote's commands. Every brand and manufacturer might have slightly different output signals so we will have to do a bit of research ourselves, but hopefully this shouldn't be too hard. Step one is uploading the code below to your Arduino and opening the Serial Monitor tool in the Arduino IDE. Once we have established a connection we press the appropriate buttons on the remote (left, right, up, down, enter/select, return) to learn all their HEX codes and write them down.#include #include #define IR_RECEIVE_PIN 7void setup(){ //Serial.begin(115200); // // Establish serial communication IrReceiver.begin(IR_RECEIVE_PIN, ENABLE_LED_FE...