ST Americas mbed Team


Information on how to use the STM32 Nucleo board with mbed

Getting Started with BLE IDB04A1

Getting Started with BlueNRG Shield

This example demonstrates how to use the Nucleo BlueNRG shield with the STM32F401 Nucleo board to obtain heart rate information:

First, attach the BlueNRG shield to the Nucleo board as shown here: /media/uploads/sjallouli/bluenrg_shield.jpg

Next, connect the STM32F401 Nucleo board to your PC with a USB cable.

Now return to the Nucleo_BLE_HeartRate project homepage and import the project into your mbed compiler:

/media/uploads/sjallouli/import_step1.jpg

Click “Import” button on the pop up window shown below

/media/uploads/sjallouli/import_step2.jpg

Compile and load the image onto the F401 Nucleo board

Note

Refer to Getting Started with mbed and the STM32F401 Nucleo Board to learn how to compile and load a program onto the Nucleo board

Open a terminal window to display the status of your Bluetooth stack. For this example, set the terminal BAUD rate to 9600

Note

Refer to Creating Console Output for setting a terminal emulator

You should now see the various Bluetooth stack staus displayed on your console output. /media/uploads/sjallouli/concole_output.jpg

Test your application with iPhone

/media/uploads/johnbloomfield/hrm_1.jpg

  • Select Heart Rate

/media/uploads/johnbloomfield/hrm_2.jpg ...........

/media/uploads/johnbloomfield/hrm_3.jpg

/media/uploads/johnbloomfield/hrm_4.jpg

Other Applications using BLE IDB04A1 shield


All wikipages