In my earlier blog i had demonstrated Wireless UART using two KW41Z board for demonstrating wireless uart using BLE.
Here in part-2 we will execute with one KW41Z board + the other with Smart phone with Kinetis BLE Toolbox android app.
Required:
1. KW41Z Freedom board (Program one board with wireless uart demo project)
2. Android smart phone with Kinetis BLE Tool box app installed from play store
Steps involved:
- Cloning a Wireless UART application, Building the Binaries and execute the project using generated binaries.
Please refer to my earlier blog on how to clone and execute the wireless UART application
Running Wireless UART application using Bluetooth Low Energy with FRDM-KW41Z
- Open a serial port terminal and connect the board as shown below:
The start screen is blank after the board is reset
- Press the SW4 button. After 5 seconds, the board enters GAP General Discoverable Mode and the Kinetis BLE Toolbox app can connect.
- Open the kinetis BLE toolbox from your smart phone
Touch on Wireless console/uart
Your smart phone should detect the KW41Z NXP BLE board as shown below:
Touch on the NXP_WU to get connected, after getting connected your screen looks like:
- Now we can test the setup by typing the messages from smart phone or terminal window.
Typing the message on smartphone (press enter) the message gets displayed on KW41’s terminal window as shown here:
And the message typing from terminal window gets displayed on the smart phone screen as shown below:
The Video output execution is shown in below video: