5 years, 8 months ago.

mbed HRM1017 do not work

I have used mbed HRM1017r3 for developing BLE app. First, I tried sample BLE program and it run, ok. Then, I connected force sensor (variable resistant value by force) with putting 1kΩ as below. 3.3V (mbed) 1kΩ| p0_2 (mbed) --| force sensor| GND_| I tried to read the value of variance of voltage through serial communication on PC. It also worked.

But after sometimes running program, Serial communication got not to work. I deleted BLE program as below. ------------

  1. include "mbed.h"

Serial pc(USBTX, USBRX); int main(void) { pc.baud(9600); while(1) { pc.printf("test\n"); wait_ms(1000); } } ------------ It also do not work. As I typed some key on PC, mbed's led blinked. Thus, RX function is living but TX is not. BLE also do not work.

Anyone help me??

sorry, the mbed I used was not mbed HRM1017r3 but mbed HRM1017.

posted by wataru torii 28 Mar 2019
Be the first to answer this question.