Forum >URM07-UART always getting 0cm
ArduinoGeneral

URM07-UART always getting 0cm

userHead ultima_x15 2018-07-16 15:56:37 2052 Views2 Replies
I can't read the distance with the URM07-UART. I'm using a NodeMCU ESP8266 connected as follows :

NodeMCU RX PIN -> URM07 TX Pin
NodeMCU TX PIN -> URM07 RX Pin

I am using the exact code sampled here under "Read Temperature Value via Arduino (Single)" : https://www.dfrobot.com/wiki/index.php/ ... U:_SEN0153

Here is a picture :
Image

The code uploads fine but the console output always writes 0cm.

Thank you
2018-07-19 23:31:42 You can connect a LCD screen on it, then display the distance instead of using serial monitor. userHeadPic robert.chen
2018-07-16 16:19:16 There is no secondary Serial available on ESP8266, (Serial1), this is why it's not working. userHeadPic ultima_x15