Skip to content
  • Categories
  • Recent
  • Popular
  • Support
  • MyRoute-app
Collapse
Brand Logo

MRA Community Forum

  1. Home
  2. The MyRoute-app
  3. [App] Suggestions and Discussion
  4. MotoButtons Lite DIY project!

MotoButtons Lite DIY project!

Scheduled Pinned Locked Moved [App] Suggestions and Discussion
52 Posts 10 Posters 7.8k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined Offline
    undefined Offline
    Jörgen
    Instructor
    wrote on 22 Oct 2023, 21:40 last edited by
    #1

    For the DIY freaks

    MotoButtons Lite
    A low cost, waterproof, Bluetooth (BLE) controller for Drivemode Dashboard motorcycle navigation with joystick and mouse mode for only $28 in parts.

    https://github.com/joncox123/MotoButtons?

    I am not sure, I have to read all information, and maybe it will work with MRA as well.
    I let you know.

    Hardware
    iPhone 12 pro (iOS 17.0.2)
    Oukitel RT3 (Andr. 12)
    Samsung Galaxy XCover 4 (Andr. 9 Pie)
    Wireless CarPlay mit (Elebest C650)
    Wired CarPlay (SEAT Arona - 2021)
    For more information, click here

    1 Reply Last reply
    3
    • undefined Offline
      undefined Offline
      Leo Klein
      wrote on 23 Oct 2023, 08:37 last edited by
      #2

      i want to make one if it works

      KTM 1290 Super Adventure S, Samsung Galaxy Tab Active3, Carpe Iter Controller

      1 Reply Last reply
      0
      • undefined Offline
        undefined Offline
        richtea999
        wrote on 23 Oct 2023, 16:06 last edited by richtea999
        #3

        Good spot Jörgen!

        His attention to detail in the Construction guide page is second to none, and a comprehensive parts list too.

        I see he has the same issue as Joost at BarButtons (and no doubt others), i.e. the price of the 5-way joystick/thumbstick - waterproof ones are very expensive.
        However, he offers excellent alternative for waterproofing it yourself.

        Oh, but only a KTM rider would fit it on the throttle side, right?

        undefined undefined 2 Replies Last reply 23 Oct 2023, 16:30
        0
        • undefined richtea999
          23 Oct 2023, 16:06

          Good spot Jörgen!

          His attention to detail in the Construction guide page is second to none, and a comprehensive parts list too.

          I see he has the same issue as Joost at BarButtons (and no doubt others), i.e. the price of the 5-way joystick/thumbstick - waterproof ones are very expensive.
          However, he offers excellent alternative for waterproofing it yourself.

          Oh, but only a KTM rider would fit it on the throttle side, right?

          undefined Offline
          undefined Offline
          Jörgen
          Instructor
          wrote on 23 Oct 2023, 16:30 last edited by
          #4

          @richtea999 said in MotoButtons Lite DIY project!:

          Oh, but only a KTM rider would fit it on the throttle side, right? 😂

          Hardware
          iPhone 12 pro (iOS 17.0.2)
          Oukitel RT3 (Andr. 12)
          Samsung Galaxy XCover 4 (Andr. 9 Pie)
          Wireless CarPlay mit (Elebest C650)
          Wired CarPlay (SEAT Arona - 2021)
          For more information, click here

          1 Reply Last reply
          0
          • undefined richtea999
            23 Oct 2023, 16:06

            Good spot Jörgen!

            His attention to detail in the Construction guide page is second to none, and a comprehensive parts list too.

            I see he has the same issue as Joost at BarButtons (and no doubt others), i.e. the price of the 5-way joystick/thumbstick - waterproof ones are very expensive.
            However, he offers excellent alternative for waterproofing it yourself.

            Oh, but only a KTM rider would fit it on the throttle side, right?

            undefined Offline
            undefined Offline
            Con Hennekens
            wrote on 24 Oct 2023, 06:57 last edited by
            #5

            @richtea999 said in MotoButtons Lite DIY project!:

            Oh, but only a KTM rider would fit it on the throttle side, right?

            I guess that depends on whether you drive left or right? 😉

            I am just an enthusiastic MRA user, and hope you will be one too!

            Most motorcycle problems are caused by the nut that connects the handlebar to the saddle.

            Streetpilot 2610 / Zumo 660 / Zumo 395 / CAT S52 + MRA app

            1 Reply Last reply
            0
            • undefined Offline
              undefined Offline
              joncox
              wrote on 25 Oct 2023, 03:38 last edited by
              #6

              Hello, I'm the author/creator of MotoButtons. I added support for cycling through multiple modes of operation, including a new one for MyRoute App.

              I tested it out on the Android app, and it seems to work OK. It supports the same functionality as BarButtons, but the 8th button is a "virtual" button activated by long pressing the center joystick button.

              Briefly, the key mapping is up/down/left/right arrows, 'c', '-', '+' and 'n' (vitual). The virtual button pulls up the menu.

              undefined undefined 2 Replies Last reply 25 Oct 2023, 07:04
              0
              • undefined joncox
                25 Oct 2023, 03:38

                Hello, I'm the author/creator of MotoButtons. I added support for cycling through multiple modes of operation, including a new one for MyRoute App.

                I tested it out on the Android app, and it seems to work OK. It supports the same functionality as BarButtons, but the 8th button is a "virtual" button activated by long pressing the center joystick button.

                Briefly, the key mapping is up/down/left/right arrows, 'c', '-', '+' and 'n' (vitual). The virtual button pulls up the menu.

                undefined Offline
                undefined Offline
                Jörgen
                Instructor
                wrote on 25 Oct 2023, 07:04 last edited by
                #7

                @joncox Hi, you read my suggestion, and you have it already implemented.

                That is great, thank you very much. 👍

                My parts will arrive tomorrow and I hope I can finish the MotoButtons over the weekend. I will let you know the result.

                Hardware
                iPhone 12 pro (iOS 17.0.2)
                Oukitel RT3 (Andr. 12)
                Samsung Galaxy XCover 4 (Andr. 9 Pie)
                Wireless CarPlay mit (Elebest C650)
                Wired CarPlay (SEAT Arona - 2021)
                For more information, click here

                1 Reply Last reply
                0
                • undefined joncox
                  25 Oct 2023, 03:38

                  Hello, I'm the author/creator of MotoButtons. I added support for cycling through multiple modes of operation, including a new one for MyRoute App.

                  I tested it out on the Android app, and it seems to work OK. It supports the same functionality as BarButtons, but the 8th button is a "virtual" button activated by long pressing the center joystick button.

                  Briefly, the key mapping is up/down/left/right arrows, 'c', '-', '+' and 'n' (vitual). The virtual button pulls up the menu.

                  undefined Offline
                  undefined Offline
                  Con Hennekens
                  wrote on 25 Oct 2023, 07:10 last edited by
                  #8

                  @joncox, great that you are here! 😉 As I understand it, you open the menu using a press-down on the joystick. Does that same method also activate the menu option you select? That would probably explain why two buttons are enough.

                  Another suggestion would be to make a longpress on one of the buttons switch from zooming +/- to volume +/-

                  I am interested, I will look into your project for sure!

                  I am just an enthusiastic MRA user, and hope you will be one too!

                  Most motorcycle problems are caused by the nut that connects the handlebar to the saddle.

                  Streetpilot 2610 / Zumo 660 / Zumo 395 / CAT S52 + MRA app

                  1 Reply Last reply
                  0
                  • undefined Jörgen referenced this topic on 25 Oct 2023, 09:48
                  • undefined Offline
                    undefined Offline
                    Jörgen
                    Instructor
                    wrote on 30 Oct 2023, 16:50 last edited by
                    #9

                    So MotoButtons is ready and with some little changes working with MRA.
                    Zooming in/out, open menu etc. works fine.
                    I am not sure which mode I like more (mouse or BarButtons), I need to have praxis test.

                    Anyway thanks to Jon for this great project, I like it. 👍

                    Hardware
                    iPhone 12 pro (iOS 17.0.2)
                    Oukitel RT3 (Andr. 12)
                    Samsung Galaxy XCover 4 (Andr. 9 Pie)
                    Wireless CarPlay mit (Elebest C650)
                    Wired CarPlay (SEAT Arona - 2021)
                    For more information, click here

                    Martin Wilckeundefined 1 Reply Last reply 30 Oct 2023, 20:43
                    0
                    • undefined Jörgen
                      30 Oct 2023, 16:50

                      So MotoButtons is ready and with some little changes working with MRA.
                      Zooming in/out, open menu etc. works fine.
                      I am not sure which mode I like more (mouse or BarButtons), I need to have praxis test.

                      Anyway thanks to Jon for this great project, I like it. 👍

                      Martin Wilckeundefined Offline
                      Martin Wilckeundefined Offline
                      Martin Wilcke
                      wrote on 30 Oct 2023, 20:43 last edited by
                      #10

                      @Jörgen Can we have some pics, please! 👏

                      1 Reply Last reply
                      0
                      • undefined Offline
                        undefined Offline
                        Jörgen
                        Instructor
                        wrote on 30 Oct 2023, 21:26 last edited by
                        #11

                        @Martin-Wilcke Looks like this one.

                        https://github.com/joncox123/MotoButtons?

                        Hardware
                        iPhone 12 pro (iOS 17.0.2)
                        Oukitel RT3 (Andr. 12)
                        Samsung Galaxy XCover 4 (Andr. 9 Pie)
                        Wireless CarPlay mit (Elebest C650)
                        Wired CarPlay (SEAT Arona - 2021)
                        For more information, click here

                        1 Reply Last reply
                        0
                        • undefined Offline
                          undefined Offline
                          Jörgen
                          Instructor
                          wrote on 1 Nov 2023, 20:25 last edited by
                          #12

                          @Corjan-Meijerink I build the MotoButtons and they work fine so far. The author made some changes already to improve the function.
                          But they are not perfect, or may be I did something wrong.
                          The MotoButtons are in BarButton mode as well as MRA. Moving map, zoom in out are ok, long press on the joystick Center open menu or Center map. If I am in the menu, I can move up down, but how to get out of the menu? What command is needed, or how does the BarButton do this? With another button? And how is the skip waypoint working, also with another button?
                          May be a BarButton owner can help.

                          Hardware
                          iPhone 12 pro (iOS 17.0.2)
                          Oukitel RT3 (Andr. 12)
                          Samsung Galaxy XCover 4 (Andr. 9 Pie)
                          Wireless CarPlay mit (Elebest C650)
                          Wired CarPlay (SEAT Arona - 2021)
                          For more information, click here

                          undefined 1 Reply Last reply 2 Nov 2023, 21:07
                          0
                          • undefined Jörgen
                            1 Nov 2023, 20:25

                            @Corjan-Meijerink I build the MotoButtons and they work fine so far. The author made some changes already to improve the function.
                            But they are not perfect, or may be I did something wrong.
                            The MotoButtons are in BarButton mode as well as MRA. Moving map, zoom in out are ok, long press on the joystick Center open menu or Center map. If I am in the menu, I can move up down, but how to get out of the menu? What command is needed, or how does the BarButton do this? With another button? And how is the skip waypoint working, also with another button?
                            May be a BarButton owner can help.

                            undefined Offline
                            undefined Offline
                            richtea999
                            wrote on 2 Nov 2023, 21:07 last edited by richtea999 11 Feb 2023, 21:09
                            #13

                            @Jörgen The BarButtons codes are here:
                            https://jaxeadv.com/barbuttons/using-the-barbuttons/barbuttons-user-guide-v4/

                            The default keymap for MRA is Keymap 1:

                            And here's the specific info on what Keymap 1 does in MRA:
                            https://jaxeadv.com/barbuttons/compatible-applications/#htoc-m

                            So, combining those two together, to leave the menu you need to generate an 'N' = close drawer. Which on BarButtons is button 3.

                            Let us know how you get on!

                            1 Reply Last reply
                            0
                            • undefined Offline
                              undefined Offline
                              Jörgen
                              Instructor
                              wrote on 4 Nov 2023, 12:36 last edited by
                              #14

                              Here a video that explains the problem:

                              https://youtu.be/UYnIyIdnH_o?si=aScruJCCABUo3m7Q

                              Hardware
                              iPhone 12 pro (iOS 17.0.2)
                              Oukitel RT3 (Andr. 12)
                              Samsung Galaxy XCover 4 (Andr. 9 Pie)
                              Wireless CarPlay mit (Elebest C650)
                              Wired CarPlay (SEAT Arona - 2021)
                              For more information, click here

                              undefined 1 Reply Last reply 4 Nov 2023, 17:41
                              0
                              • undefined Jörgen
                                4 Nov 2023, 12:36

                                Here a video that explains the problem:

                                https://youtu.be/UYnIyIdnH_o?si=aScruJCCABUo3m7Q

                                undefined Offline
                                undefined Offline
                                joncox
                                wrote on 4 Nov 2023, 17:41 last edited by joncox 11 Apr 2023, 17:51
                                #15

                                @Jörgen I think the problem is due to keyboard layout locale in Android and iOS. I changed the "keyboard layout" from US English to German in Android 10, and I reproduced the problem you said you had on iPhone (minus key becomes "/" key).

                                Your problem is different on Android, however, I am almost certain it is still a keyboard layout problem. You have to also set the "keyboard layout" for the MotoButtons to US English. This will only effect the MotoButtons controller, not the rest of your system.

                                https://www.mobilefun.co.uk/blog/2015/04/how-to-fix-bluetooth-keyboard-language-settings/

                                https://support.apple.com/guide/iphone/add-or-change-keyboards-iph73b71eb/ios

                                In hindsight, I think MRA should use keys that do not change with different keyboard layouts. In other words, using n, c, +, - is probably a bad idea. However, on a US full sized keyboard, there are two minus keys. Maybe if I send the other one, it will work correctly on US and German layouts. I wasn't sure originally which one to send.

                                Lastly, in KeyEventDisplay, I noticed that holding down the center button does not release the key until the button is released. This is the proper behavior in DMD2, but it triggers the internal key repeat in Android. Again, the latest firmware is working correctly for me on iPhone and Android with US layout, but maybe this is also causing an issue on your Android tablet. I could try disabling the repeat for center button long press.

                                By the way, I am not studying the BarButtons code because I don't think he has released it as open source. So I am not looking at it to avoid any potential copyright questions.

                                1 Reply Last reply
                                0
                                • undefined Offline
                                  undefined Offline
                                  Jörgen
                                  Instructor
                                  wrote on 4 Nov 2023, 22:39 last edited by Jörgen 11 May 2023, 22:24
                                  #16

                                  HI, I changed the keyboard layout as you said, but get still the black screen like in the video.
                                  But I noticed something, when I do a long press (1-2sec.) on the center button, the first white LED is flashing. If I release the pressure then, the menu opens normal, if I press longer then LED flashing I get the black screen.

                                  Hardware
                                  iPhone 12 pro (iOS 17.0.2)
                                  Oukitel RT3 (Andr. 12)
                                  Samsung Galaxy XCover 4 (Andr. 9 Pie)
                                  Wireless CarPlay mit (Elebest C650)
                                  Wired CarPlay (SEAT Arona - 2021)
                                  For more information, click here

                                  1 Reply Last reply
                                  0
                                  • undefined Offline
                                    undefined Offline
                                    Jörgen
                                    Instructor
                                    wrote on 5 Nov 2023, 22:22 last edited by Jörgen 11 May 2023, 22:25
                                    #17

                                    Hi, I think we got a little further and were able to pinpoint the problem a little more precisely. It has nothing to do with the keyboard layout.
                                    The MotoButtons send key signals to MRA (n, c, +, -, left, right, up, down).
                                    During testing, I had Google open and cold see what keys were sent to my tablet. You could see +, -, for the zoom buttons, you could see c for the center button, and you could see n for long press center and on longer press nnnnnnnnnn.
                                    But as shown in the video, if you press n too long in MRA, MRA crashes.
                                    The first Idea was that is an issue of the MotoButtons, then I had the idea to use a Bluetooth keyboard in MRA (in BarButton Mode).
                                    Everything worked as expected, except when I press n longer, MRA crashes.
                                    So I can get the same problem, like in the above video with a BT keyboard.

                                    @Corjan-Meijerink can you take a look into this?

                                    Hardware
                                    iPhone 12 pro (iOS 17.0.2)
                                    Oukitel RT3 (Andr. 12)
                                    Samsung Galaxy XCover 4 (Andr. 9 Pie)
                                    Wireless CarPlay mit (Elebest C650)
                                    Wired CarPlay (SEAT Arona - 2021)
                                    For more information, click here

                                    Corjan Meijerinkundefined 1 Reply Last reply 13 Nov 2023, 11:25
                                    0
                                    • undefined Jörgen
                                      5 Nov 2023, 22:22

                                      Hi, I think we got a little further and were able to pinpoint the problem a little more precisely. It has nothing to do with the keyboard layout.
                                      The MotoButtons send key signals to MRA (n, c, +, -, left, right, up, down).
                                      During testing, I had Google open and cold see what keys were sent to my tablet. You could see +, -, for the zoom buttons, you could see c for the center button, and you could see n for long press center and on longer press nnnnnnnnnn.
                                      But as shown in the video, if you press n too long in MRA, MRA crashes.
                                      The first Idea was that is an issue of the MotoButtons, then I had the idea to use a Bluetooth keyboard in MRA (in BarButton Mode).
                                      Everything worked as expected, except when I press n longer, MRA crashes.
                                      So I can get the same problem, like in the above video with a BT keyboard.

                                      @Corjan-Meijerink can you take a look into this?

                                      Corjan Meijerinkundefined Offline
                                      Corjan Meijerinkundefined Offline
                                      Corjan Meijerink
                                      administrator
                                      wrote on 13 Nov 2023, 11:25 last edited by
                                      #18

                                      @Jörgen I've replied to the email thread.
                                      The issue regarding long pressing that character has been fixed for the next (beta) update.

                                      undefined 1 Reply Last reply 13 Nov 2023, 15:14
                                      2
                                      • Corjan Meijerinkundefined Corjan Meijerink
                                        13 Nov 2023, 11:25

                                        @Jörgen I've replied to the email thread.
                                        The issue regarding long pressing that character has been fixed for the next (beta) update.

                                        undefined Offline
                                        undefined Offline
                                        Jörgen
                                        Instructor
                                        wrote on 13 Nov 2023, 15:14 last edited by
                                        #19

                                        @Corjan-Meijerink Ok, thank you, saw the mail.

                                        So you think that this and the other issue with BT connection have the same cause?
                                        I will report after next update. 👍

                                        Hardware
                                        iPhone 12 pro (iOS 17.0.2)
                                        Oukitel RT3 (Andr. 12)
                                        Samsung Galaxy XCover 4 (Andr. 9 Pie)
                                        Wireless CarPlay mit (Elebest C650)
                                        Wired CarPlay (SEAT Arona - 2021)
                                        For more information, click here

                                        Corjan Meijerinkundefined 1 Reply Last reply 13 Nov 2023, 18:00
                                        0
                                        • undefined Jörgen
                                          13 Nov 2023, 15:14

                                          @Corjan-Meijerink Ok, thank you, saw the mail.

                                          So you think that this and the other issue with BT connection have the same cause?
                                          I will report after next update. 👍

                                          Corjan Meijerinkundefined Offline
                                          Corjan Meijerinkundefined Offline
                                          Corjan Meijerink
                                          administrator
                                          wrote on 13 Nov 2023, 18:00 last edited by
                                          #20

                                          @Jörgen the connection crash seems very weird and not reproducible on any of our Androids / iPhones 🙂 Could be your device, could be the tablet or something else 🤷

                                          Hubert Thoringundefined undefined 2 Replies Last reply 13 Nov 2023, 19:28
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • 1
                                          • 2
                                          • 3
                                          ACTIVE USERS
                                          Corjan Meijerinkundefined
                                          Corjan Meijerink
                                          about 20 hours ago
                                          Hubert Thoringundefined
                                          Hubert Thoring
                                          a day ago
                                          undefined
                                          Jörgen
                                          2 days ago
                                          undefined
                                          Con Hennekens
                                          3 days ago
                                          undefined
                                          richtea999
                                          16 days ago
                                          Martin Wilckeundefined
                                          Martin Wilcke
                                          16 days ago
                                          undefined
                                          joncox
                                          29 Sept 2024, 16:46
                                          undefined
                                          Leo Klein
                                          4 Jun 2024, 13:07
                                          undefined
                                          harupipapaZZZ
                                          29 Mar 2024, 16:28
                                          undefined
                                          Robert Jeffries
                                          27 Mar 2024, 13:25
                                          POPULAR TOPICS
                                          • Knipperend scherm tijdens navigeren
                                            undefined
                                            Paul e9
                                            about 8 hours ago
                                            0
                                            5
                                            62

                                          • MRA MyRoute app version 4.3.9 - 395 - only shows a very much zoomed in route.
                                            undefined
                                            andre sips
                                            about 16 hours ago
                                            0
                                            16
                                            285

                                          • Silverfox H1
                                            Kenny Thierensundefined
                                            Kenny Thierens
                                            about 14 hours ago
                                            0
                                            9
                                            381

                                          • Automatically skipping shaping points Part 2
                                            Steve Jarrellundefined
                                            Steve Jarrell
                                            about 16 hours ago
                                            1
                                            38
                                            1.2k

                                          • Sharing a Google Maps location
                                            Marinus van Deudekomundefined
                                            Marinus van Deudekom
                                            about 17 hours ago
                                            2
                                            7
                                            237

                                          • SilverFox Controller C 1
                                            Peter Zehentreiterundefined
                                            Peter Zehentreiter
                                            about 20 hours ago
                                            0
                                            62
                                            5.8k

                                          • “Camper Contact” database
                                            Robinekeundefined
                                            Robineke
                                            about 15 hours ago
                                            1
                                            7
                                            930

                                          • Route recording on CarPlay.
                                            Corjan Meijerinkundefined
                                            Corjan Meijerink
                                            about 20 hours ago
                                            0
                                            8
                                            539
                                          MY GROUPS
                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Popular
                                          • Support
                                          • MyRoute-app