Customer Notice (New Bluetooth App):
We have recently produced a new Google Play Store app called Kitronik Bluetooth Control. This Android app allows you to control a Kitronik Kitronik :MOVE mini buggy over Bluetooth. The new Kitronik Bluetooth Control app replaces our previous Android app that features in this resource. We suggest that you switch to this new app for a better and more consistent experience. See the links below for more details.
Our :MOVE mini kit offers a great introduction to robotics. It can be used in a number of different ways. Most are mainly facilitated by the code that you place onto the microbit. In this resource, we’d like to show you how to add Bluetooth remote control to :MOVE mini. Adding Bluetooth functionality to :MOVE mini is as easy as putting some code onto the microbit. Then downloading the Kitronik :MOVE App for Android. You will find the download and links at the foot of this resource.
Writing The Bluetooth Remote Control Code:As we are going to control :MOVE mini over Bluetooth we need to code the microbit so that it responds in the right way when it receives Bluetooth commands. All of our remote control code is going to be placed within an ‘on event’ loop. As shown above. You can find the 'on event' loop by expanding the Advanced menu option, You can then find the loop in the Control menu. This will ensure that the microbit knows to expect commands from the DPad controller and what to once it receives them. We are going to use the A, B, C & D buttons in the App for driving, you can see how they are orientated on the App pads in the image below.
Our controls will be:
- A – Forwards.
- B – Backwards.
- C – Left.
- D – Right.
Downloads & Information:
- Get :MOVE mini here.
- The Kitronik :MOVE App for Android.
- How to pair a mobile device with a microbit.
©Kitronik Ltd – You may print this page & link to it, but must not copy the page or part thereof without Kitronik's prior written consent.