Tip:
Highlight text to annotate it
X
Hey! Today we're building a Bluetooth adapter that
converts any PS2 controller into a bluetooth controller.
That was my favorite game growing up. Being able to play it again on a Playstation
controller is just....
Let's get to it! Pew pew! Pew pew!
This is an old PS1 controller to USB adapter. It's impossible to find drivers for it anymore.
So we're going to tear it apart see what we can salvage.
We have a USB microcontroller here. Let's pop it out so that we don't burn it.
Here's a nice broken out USB cable.
And we'll also take out these controller ports.
Let's also grab that LED while we're at it.
So here's what's left of the board, and we'll save them for another project.
And we've got a sweet box to put our new parts in.
Now, our adapter is going to be using an Arduino Nano and an HC05 Bluetooth module flashed
with HID firmware. If you don't know how to do that, then you'll
want to check out this video.
We'll need to use the Arduino to configure the HC05.
So hook up the two chips just like this.
Then download the RN42Config code from the description box below.
Load it to the Arduino, then open up Serial Monitor.
Enter command mode with this command. Then do a factory reset.
Then set bluetooth mode to HID. Then set the name to anything you'd like.
Then set the device to a gamepad. Set the baud rate to 9600.
Reboot, and we're done configuring the bluetooth chip.
Now go and download the BluetoothPS2Controller code in the description box below.
Upload that code to the Arduino. Then we're going to wire up the controller
port just like this.
Here's my HC05 bluetooth module. We'll break out the following pins with a
few wires. Then tape together the wires to give it some
support.
Afterwards, it's pretty straight forward to wire up the rest of the components.
Here's a trick. The reason why I put the controller's data
line on pin 11, is because the 3.3V pin is right across from it.
So we can put the pull up resistor directly across the back like this.
This is what it all looks like when we're done wiring.
Now it's just a matter of fitting everything back into the box.
I also filled the hole of the other controller port and exposed the power port.
And to do that, we simply cut a card out to the shape of the port, then cut out a slot
for the USB port. We'll just krazy glue that in place, then
hot glue the USB power port in place too.
Don't forget our NFC tag, and we'll just tape that to the back of the box.
Then close up the box and we're almost done!
Power up the adapter with our power cube. If you haven't seen the video on the power
cube, you'll want to check that out over here.
We'll need to write our NFC tag to enable tap to connect.
With a smartphone, pair up with adapter in the Bluetooth settings.
Now using an NFC writer app like TagWriter, create a new Bluetooth dataset.
Then select the our bluetooth adapter, then swipe the tag to write the dataset.
When that's all done we'll be able to tap to connect and tap again to disconnect with
any device we like.
Now we watch me get PWN'd in street fighter.
I'd like to give thanks to Bill Porter and his Arduino PS2 controller library.
So go check out his stuff. Links are in the description box below.
I post videos every Thursday. You can subscribe to get notified when the
next video comes up. Or follow me on Facebook!
That's all I got for you today! I'll see you next week!
Goodday mate!
POOSH