This program demonstrates the use of MAX32630HSP3 board with the MAX30205 sensor which provides accurate clinical body temperature with an accuracy of 0.1°C (37°C to 39°C).
Dependencies: MAX30205 max32630hsp3
Run the Code
- Import it into the mbed online compiler.
- Compile the program.
- It will automatically download the .bin file.
- Drag-drop or copy-paste the .bin file to the programmer drive. (PICO DAPLINK).
- Open a serial terminal (Putty, Tera Term, etc.)
- Find the COM port that the device is connected to and set that COM port in the terminal. Adjust the baudrate to 9600.
- Press the reset button on the microcontroller board.
- You should now see the temperature values on the terminal with 0.5-second intervals.
Revision 3:73a73c9ba847, committed 2018-04-20
- Comitter:
- Emre.Eken
- Date:
- Fri Apr 20 10:42:43 2018 +0300
- Parent:
- 2:88d3b848b5a4
- Child:
- 4:02ef31913ba6
- Commit message:
- I2C i2cBus(P3_4,P3_5); is changed to I2C i2cBus(I2C1_SDA,I2C1_SCL); in the main.cpp
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Apr 20 10:38:41 2018 +0300 +++ b/main.cpp Fri Apr 20 10:42:43 2018 +0300 @@ -12,7 +12,7 @@ MAX32630HSP icarus(MAX32630HSP::VIO_3V3); //Get I2C instance -I2C i2cBus(P3_4, P3_5); +I2C i2cBus(I2C1_SDA, I2C1_SCL); //Get temp sensor instance MAX30205 bodyTempSensor(i2cBus, (0x90 >> 1));
Health Sensor Board Embedded Heart Rate Algorithm Sensor Hub + ECG, Wearables Ev Kit MAXREFDES101#