-
1Print Everything
Depending on how precise your printer is you might want to consider printing every piece singularly. I'm lazy so I decided to do everything at once.
This project only uses friction and tight tolerances to fit together!!!
If everything is too tight consider scaling this model by 1% or 2% in your slicer, I didn't need to do this.
I used 20% cubic infill and black PETG for that shiny glossy finish but realistically speaking you can use whatever rocks your boat. You'll need support material for the top part of the case.
-
2Assembly
This part is critical so listen carefully, ok?
- Solder the wires to the switches BEFORE putting them into the top part. You do not want to melt the plastic by assembling everything and then trying to solder things together. Do not be silly, aight?
- Put the switches in the slots, cut the wires accordingly to how short you think they should be.
- Now BEFORE putting the board in the bottom part solder the wires to pin 22 and 15, they are safe since they don't do anything other than being standard IO pins, I discovered the hard way what happens when you use an ADC pin by accident... Use any ground pin you want, that really doesn't matter.
- Put the board in the bottom part, be careful though, it's gonna be tight and you might want to file it down a bit with sandpaper if you're not confident in the amount of pressure you're putting on the board.
- (Optional) Add a little bit of tape between the top and the bottom to prevent any short circuit.
And that's it, the assembly is D-O-N-E! This will probably take you no longer than 1 hour but take your time.
-
3Flash the Board
Use any kind of software you see fit to do this. You'll find the code at my GitHub repo for this project, here's the link -> https://github.com/Lupix111/Play-RePlay-Button
I always use the Arduino IDE, the configs in the Tools section that I use are in the screenshot. You need to flash the Play_RePlay.ino file, DO NOT FORGET to put the flash size to 16mb, the "Sketch 1MB; FS 15MB". It's very important.
-
4Get the Python Script
The same as before, go to my GitHub repo and get the script, everything is explained also over there in a more nerdy and complicated way if you feelin' fancy like that. The python script runs in the background so it does not interfere with games and other apps. You can get it from the Releases section. To make things simpler I compiled the python script into an .exe file but you can also compile it on your own if you don't trust me.
-
5Start Playing!
That's it, you're done. Now you can make this thing do your boring and repetitive game tasks to farm XP or anything else. Remember, this is very important: the mouse is relative so to make a good loop you need to find a place where to point the mouse at the beginning and at the end!!
I'll post a video in the future to show a little example of what you can do with this, so keep an eye out on my channel if you're interested in a demo: https://www.youtube.com/@crackd-engie
If you liked this project leave me a dollar on my Ko-Fi, pretty please? :')
Emanuele Carlino
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.