Need hardware recommendations for a videogame controller/software project.

  • Thread starter Thread starter Robbert
  • Start date Start date
  • Tags Tags
    Hardware Project
AI Thread Summary
The discussion centers on creating a video game bot for rhythm games using a modified controller that requires hardware adjustments. The project involves reading rhythm data and sending 8-bit binary codes to emulate button presses through a USB connection. The user is exploring the use of an 8-bit PIC processor to interface with the controller's circuit boards and manage button signals, including a strum function. There are questions about whether the PIC can handle the strum command efficiently and if it can process bits in any order. Overall, the project aims to combine software and hardware modifications for an engaging gaming experience.
Robbert
Messages
15
Reaction score
0
Hi, I'm really stupid when it comes to hardware and the terminology used. I'll try to explain my project as good as I can.

In short, I want to create a video game bot that can play certain parts (or entire songs) of rhythm games for me. No, not for cheating. :P Just for fun and learning. I have a controller which can be taken apart and tinkered with. This controller must be used, because the console refuses to accept other input devices.
However, to support the bot, some hardware modifications are required.

The general setup I envision is this:
First, there's some software which reads the rhythm data and buffers it. When prompted, it will loop over the note data. I've ran some test runs and even on the more 'note heavy' songs it stayed in sync pretty well, even in speedier parts.
There are six buttons to press in any given combination, with one always being pressed, so using an 8-bit binary code is sufficient to mimic everything that the controller must be capable of doing.

Hooked up to the PC that runs the software is the controller. It'll be connected via a USB port on the PC to an extra USB port that will be placed in the controller. The controller in question is connected to the console through its normal wiring.

Inside the controller are two circuit boards. Hooked up to the circuit boards is the wiring of the buttons which must be pressed. If I'm correct, transistors can be used to emulate that a button is pressed: e.g.: if the 1st and 8th wire, which leave from the first button and are soldered to the circuit board at the other end, represent the first button, then placing the ends of a transistor on those places on the circuit board means that you can send a signal through it that emulates said button being pressed. Please correct me if I'm wrong and indulge on the correct terminology.

My question: what kind of hardware can read the 8-bit binary code I'll be sending it over USB and transform it into the corresponding electrical signals?
Or, in other words: how do I interface with the two circuit boards?

Note: it will not necessarily be USB on the end of the controller. RS232 is a possibility too, or whatever else you suggest. It's all open, but the USB on the PC is not.

Sorry if this is in the wrong forum: I wasn't sure on where it did belong. Any help will be appreciated!
 
Engineering news on Phys.org
Probably an 8-bit PIC processor. And don't forget you have to strum too.
 
Wetmelon said:
Probably an 8-bit PIC processor.

Interesting! It seems to support USB as peripheral, which is handy since my laptop only has USB.
How would it work in practice? You just solder the PIC on the relevant circuit board and program it to do your bidding, with no extra hardware required? Or would you still need to use the transistor on the button wiring's ends to send the signals there?

Wetmelon said:
And don't forget you have to strum too.

Of course. Just to be sure, I made 'strum' a part of the 8-bit binary code. But the downside of it is that, in theory, I'll need to double the amount of bytes I'll need to send depending on whether the strum 'deactivates' itself after being set to high: if not, I'll have to turn it off with a second byte so it can accept the strum command in the next byte.

Or can that be programmed in the PIC, so that a single byte is still sufficient, e.g., you process the byte and send one last command to 'deactivate' the strum?
In fact, could I use the PIC to go over the bits in any order I want? It'd give me some freedom. ;p
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...
Back
Top