TurnipBit development board is a MicroPython development board made by TurnipSmart, based on nrf51822 chip as main control chip, MKL26Z128VFM4 chip as side load auxiliary chip, onboard 5*5LED lights, onboard acceleration sensor, onboard magnetic sensor lights and other peripheral devices, and a high-intelligence chip development board that supports both graphic programming and MicroPython code programming control. Ensure that the majority of enthusiasts can learn microcontrollers from scratch.
Detailed explanation of TurnipBit's Bluetooth usage Specific requirements
TurnipBit's onboard Bluetooth is the basis for TurnipBit to perform wireless program burning. Use the onboard Bluetooth to connect the mobile phone and TurnipBit.
Required components
One TurnipBit development board
Bluetooth is the onboard component
1. Introduction to Bluetooth
Bluetooth technology is actually a short-range wireless communication technology. The use of Bluetooth technology can effectively simplify the communication between mobile communication terminal devices such as PDAs, laptops and mobile phones, and can also successfully simplify the communication between these devices and the Internet, thereby making the data transmission between these modern communication devices and the Internet faster and more efficient, paving the way for wireless communication. To put it simply, Bluetooth technology enables some modern portable mobile communication devices and computer devices to connect to the Internet without the need for cables, and to access the Internet wirelessly.
3.Tutorial on how to connect TurnipBit to a mobile phone using Bluetooth
1.First, download the APP used by TurnipBit on your mobile phone. The download link is as follows: The download link will be added here later. ;2. After downloading the APP, install the APP on your phone. The phone system version must be Android 5.0 or above with Bluetooth to install it (it is said that Android 6 is required for normal download);3. After installing the APP, open the APP, the interface is as shown:
4. Click "Connect", the interface is as shown. In the figure, if you have connected to TurnipBit before, the name of the last connected device will be retained. If you have not connected to TurnipBit, this red box 5. Click the yellow and buttons in the above picture to start TurnipBit's search connection, as shown in the figure: ; 6. Press "NEXT" and the Bluetooth pairing interface will appear, as shown in the following figure: 7. Now, while TurnipBit is powered, hold down button A and button B at the same time, press the "REST" button for about two seconds, and then release it;8. At this time, the strings "pairing" and "mode1" scroll on the TurnipBit's LED. After the scrolling is completed, a pattern will appear on the LED interface. This pattern is the Bluetooth pairing password. If the TurnipBit's LED does not show the above phenomenon, you can burn a firmware into the board and try again, as shown in the figure:[backcolor =transparent]9. Now draw the password pattern on the mobile phone APP. After the drawing is successful, a "NEXT" will appear in the lower right corner as shown in the figure:
10. Click "NEXT" to start pairing your phone with TurnipBit. If the pairing is successful, the following interface will appear: 11. All that's left is to click "OK"; The TurnipBit and phone are now paired and connected.