Page 372 - ARM Based Microcontroller Projects Using MBED
P. 372

358                             14. ADVANCED PROJECTS

                 install this apps on your Android mobile phone so that you can send commands to the
                 development board.
                   The steps to test the application are as follows:
                 • Construct the project.
                 • Compile and download the program to your Nucleo-F411 development board.
                 • Activate the Bluetooth Controller apps on your mobile phone.
                 • The apps will look for nearby Bluetooth devices. Click on HC-06 when displayed on the
                   mobile phone screen.
                 • You will now be asked to enter the password to pair the mobile phone with the
                   development board. Enter the default password of 1234. You should see a green color dot
                   at the top right-hand side of the screen when a connection is made to the development
                   board. Also, HC-06 with its address (e.g., HC-06 [98:D3:31:FB:5E:B6]) should be displayed
                   at the top left side of the screen.
                 • To turn ON LEDA enter command ONA and click Send ASCII. You should see LEDA
                   turning ON. Enter command OFFA to turn OFF LEDA. Fig. 14.29 shows an example screen.






































                 FIG. 14.29  Example command to turn ON LEDA.
   367   368   369   370   371   372   373   374   375   376   377