# Read data from RS232 Scale weight port

**URL:** https://discourse.nodered.org/t/read-data-from-rs232-scale-weight-port/18175
**Category:** Hardware
**Created:** [20 November 2019 02:11 UTC](https://discourse.nodered.org/t/read-data-from-rs232-scale-weight-port/18175 "2019-11-20T02:11:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jaquesvoleur](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@jaquesvoleur](https://discourse.nodered.org/u/jaquesvoleur)
#### Post date: [20 November 2019 02:11 UTC](https://discourse.nodered.org/t/read-data-from-rs232-scale-weight-port/18175/1 "2019-11-20T02:11:36Z")

</div>

Hi, I have been triying to read data from a digital scale weight, it uses a RS232 port, I am using my laptop with Linux Mint, I have been triying a lot of software for SCADA just for read the data but I got no luck, now I've found Node Red, my scale weight indicator transmit in ASCII, I have to send the 'p' character (ASCII 80) In order to recive the ASCII data from the device.

I just have used the Serial nodes and the inject and debug nodes, I have the felling I have to program something in the Function nodes but I don't have any clue by now.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [20 November 2019 07:15 UTC](https://discourse.nodered.org/t/read-data-from-rs232-scale-weight-port/18175/2 "2019-11-20T07:15:18Z")

</div>

Are you getting a reply from the device? If so then the first thing is to feed that into a debug node to see what you have. Next you have to work out what you need to do with the reply. Only then do you need to worry about _how_ to do that.

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [20 November 2019 10:21 UTC](https://discourse.nodered.org/t/read-data-from-rs232-scale-weight-port/18175/3 "2019-11-20T10:21:28Z")

</div>

Hi,  
set inject to send a string p to the serial out node - you may need to set the serialport node to add a \r or \n to everything sent (like hitting the enter key) - you will have to try both to see which for your device - and then add a debug to the serial in node - to see what comes back. This all assumes you have set the correct serial baud rate etc for your device.
