Android app for Gamepad

294 views
Skip to first unread message

Lance Frohman

unread,
Jun 23, 2019, 6:00:47 PM6/23/19
to Vorpal Robotics Forum
I have created an Android app to replace the Vorpal Hexapod gamepad. It has all the functionality of the Gamepad.
You can get it from the Google Play store (still in beta), use the link below.


Let me know if you have any problems, suggestions, etc., thanks.


John Doe

unread,
Jun 30, 2019, 1:10:51 PM6/30/19
to Vorpal Robotics Forum
Please make the application compatibility with lower versions android.

понедельник, 24 июня 2019 г., 1:00:47 UTC+3 пользователь Lance Frohman написал:

Lance Frohman

unread,
Jul 5, 2019, 3:54:04 PM7/5/19
to John Doe, Vorpal Robotics Forum
The application should now work with Android KitKat and above. You can get it from the Google Play Store, look
for Vorpal_Gamepad. It is still in Beta.


--
You received this message because you are subscribed to the Google Groups "Vorpal Robotics Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vorpal-robotics-...@googlegroups.com.
To post to this group, send email to vorpal-rob...@googlegroups.com.
Visit this group at https://groups.google.com/group/vorpal-robotics-forum.
To view this discussion on the web visit https://groups.google.com/d/msgid/vorpal-robotics-forum/ce81d523-5a54-4441-b48a-08cadc2fca2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

John Doe

unread,
Sep 7, 2019, 2:05:55 PM9/7/19
to Vorpal Robotics Forum

Hello. My hexapod does not want to obey your program. The firmware version for the robot I used v2r1a. Didn’t change anything in it. The bluetooth module I have is HC-06, not HC-05, but I don’t think that is the problem. I am not a specialist in code, but it seems to me, that the hexapod is waiting for some kind of command to confirm the connection and does not receive it. Or receives, but cannot read correctly. I tried changing the port speed in the application to 9600, 38400, 115200, nothing helps.
https://www.youtube.com/watch?v=9_e4Xs4SY80

vorpalrobotics

unread,
Sep 8, 2019, 9:13:25 AM9/8/19
to Vorpal Robotics Forum
Hello,

The LOS messages from the robot means "Loss of Signal" meaning the robot is not seeing any packets coming from bluetooth.

Are you sure the HC06 module is paired with your android device? Look in settings/bluetooth and see if it's paired.  When paired, most HC06 modules will show a light pattern like this: 2 fast blinks then a pause, then two fast blinks again, repeating. (However, there are many different modules out there that all act a little differently, so this pattern is not certain.)

If it is paired properly, then another common error would be mixing up TX and RX wires.

The HC06 also has to be programmed for 38400 baud on its UART. That is not the default for most commercial modules. Do not change the port speed on the robot. Change the port speed on the HC06.

Hope this helps,
Steve P.

Lance Frohman

unread,
Sep 8, 2019, 2:08:51 PM9/8/19
to Vorpal Robotics Forum
Hi,
     thanks for the feedback. Yes, I don't think it matters if you use an HC06, but I have not tried that. As Steve P. said, the Bluetooth speed may be the problem.

- make sure you have the latest version of the app, "Beta 0.93" from the Google play store
- the app can transmit Bluetooth at different speeds, but the speed must match in:
    a) the app - in the preferences section, you must select the correct Bluetooth device (under "Bluetooth Devices" - must be paired already)
         and under "Bluetooth Speed", set the speed that you want to transmit (you know about this).
    b) the HC05/HC06 - you need to know the speed or program it to the speed that you want. There are several Youtube videos on how to do this. (note - the HC05 that I bought had a default speed of 9600)
    c) the Vorpal-Hexapod-Robot.ino program - in the source code, where it says "BlueTooth.begin(38400);" (line 1584 and 2564), 38400 is the Bluetooth speed (default)
         (Steve P. said not to change this).

note - there is a memory leak in the app that I have not fixed yet. Should not be a problem, unless you run the app for a long time.
           also, one of the fight modes is too slow, not fixed yet.

Let me know if you need any more info, and let me know if you get it to work, (you may be my only client).

thanks,
Lance

John Doe

unread,
Sep 11, 2019, 2:10:55 PM9/11/19
to Vorpal Robotics Forum
Thank you very much for the help. Indeed, the matter was at different speeds. At first I tried to adjust the robot firmware to the speed of bluetooth, but this did not work. Now I did as you said, changed the speed of the HC-06 module to 38400. And the connection appeared. It seems to me that this should be indicated in the description for the program, since many people (like me) buy cheap bluetooth modules from the chinese. And only chinese gods know what speeds are installed in these modules by default.

vorpalrobotics

unread,
Sep 11, 2019, 2:22:40 PM9/11/19
to Vorpal Robotics Forum
Hello,

Glad you got it working. This information has always been in the instructions right near the top in the notes for people who source their own parts:

2.1 Notes on Sourcing Parts[edit]

  • These instructions assume you have purchased a kit from us. If you are sourcing your own parts, please be aware of the following additional information:
...
    • If you are sourcing your own Bluetooth modules, please be aware that you will need to configure them to auto-pair and to have a UART speed of 38400 BAUD. Every module brand is a bit different so it's not possible for us to give you universal instructions on how to program them. We assume that if you source your own parts you are familiar with how to configure Bluetooth modules using AT-commands.
Yes, I know there are a ton of instructions and things like this are easy to miss.

-Steve P.

Lance Frohman

unread,
Sep 11, 2019, 6:00:38 PM9/11/19
to Vorpal Robotics Forum
Hi,
Glad you got it to work. I did get the app to work at 9600, but I think I will take the speed option out of the app, and leave it at 38400. As you suggested, I will add a note that the speed of the
HC05/HC06 must be set to 38400.

chr s

unread,
May 17, 2020, 4:22:38 PM5/17/20
to Vorpal Robotics Forum
Hi ! I´m getting an error with the link posted saying I need to be invited to the beta testers. Is this still available ?

Regards

Steve Pendergrast

unread,
May 17, 2020, 4:27:44 PM5/17/20
to Vorpal Robotics Forum
Oh I never pursued that, its not an active project.

Lance Frohman

unread,
May 17, 2020, 6:46:28 PM5/17/20
to chr s, Vorpal Robotics Forum
Hi, the app is public now, no more beta test. You can just go to the Google play store and get
"Vorpal Gamepad". Let me know if you still have problems.



--
You received this message because you are subscribed to the Google Groups "Vorpal Robotics Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vorpal-robotics-...@googlegroups.com.

Le Van

unread,
Aug 9, 2020, 12:04:50 PM8/9/20
to Vorpal Robotics Forum
Not working, I try change to 38400 but it not working

vorpalrobotics

unread,
Aug 9, 2020, 3:37:51 PM8/9/20
to Vorpal Robotics Forum
Does everything work properly using the gamepad? Are you using a kit with preprogrammed hc05 modules, or did you source the parts yourself?

Lance Frohman

unread,
Aug 10, 2020, 12:39:37 PM8/10/20
to Vorpal Robotics Forum
Hi,
Are you having trouble with the android app?
Reply all
Reply to author
Forward
0 new messages