Hello, I have an ultrasonic sensor MB7389 and I can't get the sensor values on node-red. But I can see them on the raspberry pi by minicom. However, I selected the right parameters in the serialport node.
Hi, welcome to the forum.
Did you close the minicom application to free up the com port?
Try closing that application and restart node-red.
Lastly, how have you configured the "serial in" node and what type of data does it send (i.e. is it a well known protocol? does it have well defined start and end marks (like STX, ETX, carriage returns? etc?)
It is unclear id that actually includes a newline character.
Have you tried setting the Split Input to something else - like "timed" - just so see if that is inhibiting the serial node (i.e. you data might have a \r or ETX instead of a \n)
also worth setting it to deliver a buffer so you can closely inspect the actual characters in the data.
Also are you seeing any errors. Is there a status shown under the serial node?
thanks, it works.
