le60head

[HELP] Control Mindstorms EV3 using Bluetooth gamepad

Recommended Posts

Hello everyone!

I was wondering if it is possible to use a wireless bluetooth gamepad to control a Mindstorms EV3 robot.

My goal is to drive a car-like robot with two motors: one for steering and one for fw/back movement via bluetooth using a gamepad like Sony PS3 Sixaxis controller or another wireless bluetooth controller. The thing is that i do not want to use a PC to receive the signal from the gamepad and send commands to the EV3. I want direct communication between the gamepad and the EV3 brick.

If anyone knows IF and HOW this might be done, i'd be really thankful if you shared your knowledge!

Share this post


Link to post
Share on other sites

I'm not sure whether this is possible without intervention of a proxy (pc). The pc usually has drivers to talk to the controller. On the EV3 this might be complicated, if not impossible. Maybe it's possible with custom Linux firmware.

I will try to find out whether it's possible or not.

Share this post


Link to post
Share on other sites
The pc usually has drivers to talk to the controller.

Thank you for your reply!

So a driver must be written for the EV3 in order for it to communicate with the Bluetooth gamepad?

If you tell me this would be impossible to do, it would still be a big help.

Share this post


Link to post
Share on other sites

Hi,

The proper solution is to install a custom firmware with full support for the Bluetooth HID profile. Linux already has the drivers but they are not enabled in the stock EV3 firmware, presumably to save space.

But here is a quick-and-dirty solution which proves that it is possible, even with the stock firmware:

http://www.pabr.org/bricks/brickhid/brickhid.en.html

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.