11 Replies Latest reply on Oct 22, 2017 8:37 PM by anbreen

    Bluetooth basic problem with the micro:bit

    neilk

      I've recently received my micro:bit and worked through most of the projects in jlucas 's blog - great start.

       

      I'm keen to code on my Android tablet and smartphone and then use bluetooth to flash the .hex file to the micro:bit, but I'm not having any success.

       

      I've downloaded the SAMSUNG app to both my phone and my tablet and after a lot of fiddling around, I can pair both devices to the micro:bit. I'm sure youngsters will get very very frustrated with this process!! I failed so many times to even start the pairing process that I found and downloaded a ble checker to both my phone and tablet - yes they both support ble - but not all phones/tablets do & that could be a problem for some users.

       

      However, before I can flash the .hex file across, I have to connect to the micro:bit. Both the phone and the tablet repeatedly refuse to connect to the micro:bit, so I am stymied.

        • Re: Bluetooth basic problem with the micro:bit
          neilk

          Apparently, there is no need to connect, before attempting to flash a .hex file.............

           

          So I tried simply flashing, to a paired micro:bit and after 30 seconds or so got the error:

           

          "Flashing unsuccessful  GATT ERROR". I tried several times with different .hex files. All produce the same result.

           

          Can anyone help, please?

          • Re: Bluetooth basic problem with the micro:bit
            neilk

            And I have resolved it!

             

            I was using the PXT editor which is more sophisticated than the simple Blocks Editor. At the time of making the original post, the default configuration of the PXT editor did not support Bluetooth connection, although the micro:bit would still pair, unless you explicitly loaded the Bluetooth package.

             

            I have now been advised of a "workround" which ensures that you can ALWAYS pair and connect, irrespective of the contents of the current program installed on the micro:bit.

             

            Please contact if you would like details.

             

            This post edited 3 March 2017

            1 of 1 people found this helpful
              • Re: Bluetooth basic problem with the micro:bit
                ksilver

                Hi Neil,

                 

                I am trying to pair my microbit to my Samsung, but I'm not getting the pairing message on the microbit. I hold down the A and B buttons , then press the reset on the back for a second and let go. Absolutely nothing happens... could you send me details of the workaround you mentioned?

                I just have the microbit connected to a Windows 10 machine, and I flash code successfully to it from Mu.

                 

                P.S. Is this what you meant by contact?

                 

                Thanks!

                Melissa

                  • Re: Bluetooth basic problem with the micro:bit
                    neilk

                    Hi ksilver.

                     

                    Melissa - the problem you describe is one step further back from the problem I reported - you can't even put your micro:bit into pairing mode!

                     

                    I have found the following to be the most reliable method of putting the micro:bit into pairing mode:

                     

                    press and hold down the A and B buttons. Then press AND HOLD DOWN the reset button. Keep the reset button held down until the pairing message appears.

                     

                    If this still doesn't work and you are powering the micro:bit connected from USB, try swapping to battery power, or vice-versa. In theory you can have both USB and battery connected at the same time, but I never do - just in case!

                     

                    If you still can't get the pairing message it's possible that your micro:bit is faulty. Do you have access to anyone local to you who has a micro:bit? They might be able to help.

                     

                    By the way, unless I am actually flashing the micro:bit, I  run it on battery power - it seems to run cooler that way and I have already had 2 micro:bits fail because of overheating.

                     

                    Hope this helps!

                     

                    if you still need the workaround to achieve a connection, then contact again through this post thread - and yes this is what I meant by contact.

                     

                    Good luck

                     

                    Neil

                    1 of 1 people found this helpful
                • Re: Bluetooth basic problem with the micro:bit
                  henrikbirkholm

                  Hi.

                   

                  We would love to hear about your work around. How you get it to sync everytime.

                   

                  After we transfered our first Python, the bluetooth sync functionality is gone. The pairing functionality was also gone until we made a block editor program and transfered it by cable. Even though the pairing now works again, we can't transfere programs by Bluetooth.

                   

                  It seems like the block editor always includes the Bluetooth functionality, where as the python editor doesn't. Is it enough to import the radio module in a python program to the sync functionality back?

                   

                  Please tell us your work around :-)

                   

                  /Henrik