# Open Port RS485

**URL:** https://discourse.nodered.org/t/open-port-rs485/63429
**Category:** General
**Created:** [3 June 2022 16:26 UTC](https://discourse.nodered.org/t/open-port-rs485/63429 "2022-06-03T16:26:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Michell\_Iron\_Man](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@Michell\_Iron\_Man](https://discourse.nodered.org/u/Michell_Iron_Man)
#### Post date: [3 June 2022 16:26 UTC](https://discourse.nodered.org/t/open-port-rs485/63429/1 "2022-06-03T16:26:52Z")

</div>

I have a CM4-IO-POE-4G-box gateway based on raspberry, I want to know how to activate the RS485 port to be able to carry out serial communication in Node-RED

---

<div class="post-metadata">

### Author: ![SP-Mushrooms](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sp-mushrooms/32/61710_2.png) [@SP-Mushrooms](https://discourse.nodered.org/u/SP-Mushrooms)
#### Post date: [7 June 2022 01:53 UTC](https://discourse.nodered.org/t/open-port-rs485/63429/3 "2022-06-07T01:53:14Z")

</div>

> [@How do I use serialport node to write to a RS485](https://discourse.nodered.org/t/how-do-i-use-serialport-node-to-write-to-a-rs485/63484/4):
>
> If you want to send 68 03 01 00 22 aa 04 9e to the serial port then use either a SERIAL Request or SERIAL Out node. Use an INJECT to send a buffer with 68 03 01 00 22 aa 04 9e As i said before... inject (set some data in the payload) point_right serial request (setup the correct com settings) point_right debug node (see if you get a reply) They have buffers (which are byte arays) There is no JavaScript required for this - it is a "no code" example... [image] ↑ Not a bit of JavaScri…

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [6 August 2022 01:53 UTC](https://discourse.nodered.org/t/open-port-rs485/63429/4 "2022-08-06T01:53:36Z")

</div>

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