Remote Control Anything With A PS3 Controller

back

When looking for a remote control for your next project, you might want to look in your living room. Wii controllers are a hacker’s favorite, but wagging an electronic wand around isn’t the greatest for remote control planes, cars, tanks, and multicopters. What you need for this is dual analog controls, something every playstation since the 90s has included.

[Marcel] created a replacement electronics board for the Sony DualShock 3 controller for just this purpose. With this board, an XBee, and an old controller, it’s easy to add dual analog control and a whole lot of buttons to any project using an XBee receiver.

The replacement board is based on the ATMega328p uC, includes a Lipo charge circuit and power supply, and inputs for the analog sticks and all the button boards inside the DualShock controller.

Yes, we have seen an earlier version of [Marcel]’s project before, but this time he’s added a few new features – the rumble now works and thanks to multiple people unable or unwilling to spin a few boards, [Marcel] has put up an Indiegogo campaign.

Video below.
Continue reading “Remote Control Anything With A PS3 Controller”

USB Keyboard And Mouse For The PS4

If you’d like to play BattleCallSpaceMarine on the Playstation 4 with a keyboard and mouse – and have an unfair advantage over everyone else playing on a console – you’d normally be out of luck. Sony implemented a fair bit of software to make sure only officially licensed controllers are able to talk to the console. It took a while, but [Frank Zhao] has figured out why keyboard and mouse doesn’t work on PS4, and created a device to enable these superior input devices.

Sony engineers decided – or were told – that the PS4 shouldn’t be able to connect to any old USB device. To that end, they made the console issue challenges to a DualShock controller to make sure the official controller is always connected over Bluetooth.

[Frank]’s device solves this problem by taking the USB output from a keyboard and mouse, doing the CRC calculations, and sending them out over Bluetooth. Because the PS4 constantly issues challenges and responses of the authentication procedure, a real DualShock controller needs to be connected to the device at all times. Still, if you want a keyboard and mouse on the PS4, this is the way to do it.

All the sources and layouts are up on [Frank]’s github where you’re free to create your own. This isn’t a finished product quite yet; [Frank] still needs to do a redesign of the circuit. Judging from the response of his earlier attempt at keyboards and mice on the PS4, though, this may be a successful product in the works.

UsbXlater For PS4 Keyboard And Mouse Action

USB

[Frank Zhao]—an awesome guy, an inadvertent Hackaday contributor, and an Adafrut fellow—has come up with a device to use a keyboard and mouse with Playstation 4 games. He calls it the UsbXlater, and even if [Frank] can’t get it working with his PS4, it’s still going to be an awesome tool.

On the board are two USB ports and an STM32F2 microcontroller. The micro provides a USB host interface and a USB device interface, enabling it to translate mouse movements and keystrokes into something a PS4 can understand.  While this project was originally designed to use a keyboard and mouse on [Frank]’s shiny new PS4, it’s not quite working just yet. He’s looking for a few gamer/dev folks to help him suss out the communication between a keyboard/mouse, the UsbXlater, and a PS4.

Of course, even if this device is never used for what it’s designed for, it’s still a very, very interesting tool. With two USB ports, the UsbXlater could act as a signal generator for USB devices and hosts, analyze USB traffic, or provide other applications that haven’t even been thought of yet.

[Frank] is hitting his head against the wall trying to figure out the PS4 protocol, so if you have some USB skills, feel free to hit him up for a blank PCB, though preference falls to people who will game with it and to those with a USB traffic analyzer. If you lack the skills for USB development, [Frank] is still looking for a better name for his device.

Modifying A PS4 Dualshock4 Controller To Use A Mouse And Keyboard

[Mori] wanted to use his keyboard and mouse to play his favorite games on the PS4, so he decided to modify his Dualshock4 controller to feed it custom input signals.

In the heart of this build is an STM32F407 discovery board, which is connected to a USB hub. To perform this hack, [Mori] tore open the Dualshock4 controller to find the PCB traces coming from the sticks and buttons. He then used the STM32F407 and 2 Digital to Analog Converters (DACs) to create similar signals. Unfortunately for us, [Mori] only released the schematics but not the firmware. Our guess is that he had to configure the microcontroller as a USB host, enumerate the mouse/keyboard, parse the HID reports and feed the controller the corresponding inputs.

We embedded a video of the hack in action after the break. If you own a PS4, you may also want to see how to disable the Dualshock LEDs.

Continue reading “Modifying A PS4 Dualshock4 Controller To Use A Mouse And Keyboard”

Using XBox One And PS4 Controllers With Everything

The controllers from the last generation of consoles served their purpose well. They were there for us when we wanted to experiment with an I2C bus, and they stood by when we wanted to build a quadcopter out of parts just lying around. A new generation of consoles is now upon us, and with them come new controllers. Controllers for which Arduino libraries haven’t been written yet. The horror.

Until those libraries are developed, there’s ChronusMAX, a USB dongle that allows you to use XBox One controllers on a PS4, PS4 controllers on the XBox, mice and keyboards on both systems, and both types of controllers on your PC.

The folks behind ChronusMAX put up a video demoing the XBox One controller working on the 360, PS3, and PC, with another video showing the same for the PS4 controller. As far as what we can see from the PC demos, everything on these controllers can be read, right down to the accelerometer data on the DualShock 4.

Although this is a commercial product, we’re surprised we haven’t seen a more open version by now. From the looks of it, it’s a very small device with two USB ports and a firmware upload utility. Microcontrollers with two native USB ports are usually encased in large packages, so there might be some very clever engineering in this device. Let us know when someone does a teardown of one of these.

Thanks [Josh] for sending this one in.

PS4 Controller LEDs Suck (the Battery)

The new Playstation 4 Dualshock controllers are super high-tech. They have bright shiny lights on them to prove it.

But [xn0] from neograf.com had a suspicion about these new-fangled controllers. That LED light bar is awfully bright, how much power does it consume?

As it turns out, quite a bit. After dismantling one of his controllers he discovered the LEDs are connected to the main PCB with a ribbon cable — super easy to detach. He then performed some rather unscientific tests of leaving the controllers on over night. His empirical conclusion? If you leave the controller with lights on it will die within 24 hours, if you disable the lights, it will still be at approximately 66% battery capacity after the same amount of time.

Another user on the forums quickly pointed out that this test could have been as simple as using a multimeter — so he did that afterwards. The LEDs appear to draw around 40-50mA, which isn’t that much, but it is more than the controller uses while idle (30-40mA)!

We assume Sony will add a firmware option to turn these lights off in the future, but until then, if you’re really dying for an extra hour or so of gameplay, it’s a super easy modification.

[via ps3hax.net]

Video Game Automation Hacks

coupleofvideogamehacks

3rd party console game controllers sometimes sport a “rapid-fire” button to give gamers an unfair advantage. [Connor’s] project is along the same lines, but his hack had a different goal: automate the input of GTA5 cheat codes. [Connor] admits that this is his first Arduino hack, but aside from a small hiccup, he managed to pull it off. The build connects each button on a PS3 controller via some ribbon cable to its own digital out on an Arduino Uno . After plugging in some pretty straightforward code, [Connor] can simply press one button to automate a lengthy cheat code process.

[Matt’s] hack manages to save him even more user input in this second video game hack, which automates finger clicks in an Android game. [Matt] pieced together a couple of servos plugged into a PICAXE-18M2 microcontroller, which repeats one simple action in [Matt’s] Sims Freeplay game: continuously “freshening” (flushing?) a toilet. To mimic the same capacitive response of two fingers, [Matt] built the two contact surfaces out of some anti-static foam, then grounded them out with a wire to the ground on the board.

Check out a gallery of [Connor’s] controller and a video of [Matt’s] tablet hack after the break, then check out a rapid fire controller hack that attacks an XBox360 controller.

Continue reading “Video Game Automation Hacks”