PAH8011 HeartRate on STM NUCLEO-L476RG

Dependencies:   mbed pixart_heart_rate_demo pixart_heart_rate_lib_keil_m4

Fork of PixArt_PAH8011_HeartRate_NUCLEO-L476RG by PixArt Imaging

You are viewing an older revision! See the latest version

Homepage

This section highlights the setup and operating guide to integrating PAH8011 with the Nucleo L476RG.

Setup

Hardware:

  • 1. PC with Windows Operating System
  • 2. Nucleo L476RG Dev Kit Board from ST
  • 3. PAH8011 Arduino Enabled Board
  • 4. USB Cable

Connection:

Please connect the board as show below.

/media/uploads/pixus_mbed/connection_without_power_st_nucleo.jpg

Supplying Power

Connect the one end of the USB to the PC USB and the other to the Nordic micro USB as shown in the figure below.

/media/uploads/pixus_mbed/connection_with_power_st_nucleo_unprogrammed.jpg

I am assuming that you already know and are able to download the code at this point.

Do remember to reset the Nordic Board after downloading the code on the Nordic device by pushing on the button illustrated below.

/media/uploads/pixus_mbed/connection_with_power_st_nucleo_programmed.jpg

Next, we will test to see if the sensor is indeed functional and deriving the Heart Rate.

Functional Test

1. Open up Tera Term. If you do not have Tera Term, you can download here.

https://en.osdn.jp/projects/ttssh2/releases/

2. Once you have your Tera Term open, go to File > New Connection or use the Hot Key "Alt + N".

3. Select "Serial".

4. On the Port selection, click on the drop down menu and select the port that describes "COM4: USB SERIAL DEVICE(COM4)".

/media/uploads/pixus_mbed/tera_terminal_screenshot_serial.png

5. Click on "OK"

6. Go to "Setup" on your top menu, and select "Serial".

7. Set the BAUD Rate to 115200.

/media/uploads/pixus_mbed/tera_terminal_screenshot_baud.png

8. Select "OK".

9. Place finger gently on the PAH8011 as illustrated below. Remember that finger does NOT need to press hard onto the sensor package in order to derive a heart rate.

/media/uploads/pixus_mbed/finger_on_8011.jpg

7. Going back to the Tera Term window, you should see the printouts on the TeraTerm Window that includes

/media/uploads/pixus_mbed/measuring_heart_rate.jpg

Have fun with this and let us know if you have any further questions!


All wikipages