RS 232 Serial connections with Gateway Serial Slave and/or Node Red

Topics about the Hardware of Revolution Pi
Post Reply
HYPERH2
Posts: 10
Joined: 14 May 2019, 18:59

RS 232 Serial connections with Gateway Serial Slave and/or Node Red

Post by HYPERH2 »

We are currently using a Revolution Pi Connect and a Gateway Serial Slave in order to connect to a Lakeshore model 218 temperature controller through a RS232 connection through the serial slave. We think we have to create a script to extract the data from the temperature controller since the command piTest -1 -r 0,512 only yields a matrix full of 0's. We have looked into the Scripter user manual for help, but it stills seems a little too complex for our computer skill level. Is there any advice or scripting you could help us with? We are also considering the idea of using a USB - 232 converter to connect to the Connect module instead of writing a script, but would like to know how to get the temperature information from the USB slot in the Connect if we were to go that route.
Additionally, once this information is sent through the pi and/or its serial slave, our goal is to read and use this temperature via Node Red. Node Red has a serial node but we are not sure if we should use it or not for our application.
Any help is much appreciated!
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: RS 232 Serial connections with Gateway Serial Slave and/or Node Red

Post by dirk »

Hi there is an example script here, https://revolution.kunbus.de/forum/view ... 5210#p5210 it is from a weather station. The idea of better using a USB-Serial converter seams for me like a good solution as you dont have to deal with the scripting. Did you know that we have such devices in our shop? https://revolution.kunbus.de/shop/en/us ... 85-adapter
HYPERH2
Posts: 10
Joined: 14 May 2019, 18:59

Re: RS 232 Serial connections with Gateway Serial Slave and/or Node Red

Post by HYPERH2 »

How does the weather station work? What kind of queries are used and what kind of data is received?
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: RS 232 Serial connections with Gateway Serial Slave and/or Node Red

Post by dirk »

Hi, here is the data sheet of the weatherstation and the product page of the manufacturer.
Post Reply