Connecting PlayStation Controller to EV3 (EV3DEV or LEGO MicroPython) - hugbug/ev3 GitHub Wiki

This article explains how to connect PlayStation (Sixaxis, DualShock) Controller to LEGO EV3 running EV3DEV firmware image. This applies to LEGO Micropython firmware image as well since it is based on EV3DEV. In fact I did this on LEGO MicroPython firmware but assume it works on native EV3DEV just as good.

Credits

The following instructions for PS3 controller are from the article Bluetooth PS3 gamepad in Python by Anton Vanhoucke.

Connect PS3 controller to the EV3 brick

The PS3 pairing process in Brickman is a little strange, but works fine. Stick exactly to these steps:

  • On the EV3 brick go to ‘Wireless and Networks’ > ‘Bluetooth’
  • Make sure Bluetooth is Powered and the brick is Visible.
  • Connect the gamepad via a mini USB cable to the EV3. I used the large USB port next to the microSD slot.
  • Under Devices a ‘PLAYSTATION(R) 3 controller’ should show up. But don’t pair!
  • Remove the USB cable again.
  • Press the PS3 button on the gamepad.
  • The brick now asks “Authorize service HID?” Press “Accept”
  • You’re done! Whenever you press the PS3 button on the gamepad now, it will try to connect to the EV3 brick. Nice!

Connect PS4 controller to the EV3 brick

I don't have a PS4 controller to try but I know from other blog posts that the controller works with EV3DEV. No step by step instructions were provided. I assume the controller can be connected directly via BrickMan software on the EV3 brick. Please let me know via issue tracker if there are any specifics to mention here.