Node-red Serial not showing data, but can see in putty or moserial

HI all,
found an interesting issue (possibly), my friend purchased some Atlas Scientific modules and i was setting up a datalogger for him, but i couldnt get any data from the units over serial, this was remote so had plenty of video chats with him wiring them up and me checking. They're are connected to ftdi boards for now just to check if they worked.
Anyway he dropped the units round and i tried his pi out, with serial and debug node. Check Baudrate parity etc. Nothing, it said connected but no data.
So i tried putty, no rewiring or any changes to kit and bang Data flow.
I then connected to my laptop with ubuntu 20.04 ran node red re did the serial and debug node. Nothing, so tried putty , data fine, tried mosserial data fine.
I have just finished doing some code with GPS and world maps, so i know the serial node works fine.
node red info:
6 Apr 12:33:57 - [info] Node-RED version: v1.2.9
6 Apr 12:33:57 - [info] Node.js version: v10.19.0
6 Apr 12:33:57 - [info] Linux 5.8.0-48-generic x64 LE

pc set up
Linux Hal9000 5.8.0-48-generic #54~20.04.1-Ubuntu SMP Sat Mar 20 13:40:25 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
result from moserial

00000000 31 37 2E 31 34 30 0D 31   37 2E 31 34 30 0D 31 37  17.140.17.140.17
00000010 2E 31 34 32 0D 31 37 2E   31 34 31 0D 31 37 2E 31  .142.17.141.17.1
00000020 34 33 0D 31 37 2E 31 34   33 0D 31 37 2E 31 34 35  43.17.143.17.145
00000030 0D 31 37 2E 31 34 37 0D   31 37 2E 31 34 38 0D 31  .17.147.17.148.1
00000040 37 2E 31 34 38 0D 31 37   2E 31 34 39 0D                  7.148.17.149.

/dev/ttyUSB0 9600 8 databits 1 stopbit no parity

Node-red
6 Apr 12:58:27 - [info] serial port /dev/ttyUSB0 opened at 9600 baud 8N1
any ideas please

How did you setup the rest of the Serial node?
I'm curious what you set for the input settings.

1 Like

DOH, my bad, i had the split input set to \n, which isnt sent by the unit. i thought it would have just sent a long string, but i suppose the buffer is waiting to find the char to release it.
Thanks for the question, made me look again.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.