# How to connect scanner using serial port?

**URL:** https://discourse.nodered.org/t/how-to-connect-scanner-using-serial-port/58729
**Category:** General
**Created:** [21 February 2022 06:08 UTC](https://discourse.nodered.org/t/how-to-connect-scanner-using-serial-port/58729 "2022-02-21T06:08:06Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![UnknownForever](https://avatars.discourse-cdn.com/v4/letter/u/6f9a4e/32.png) [@UnknownForever](https://discourse.nodered.org/u/UnknownForever)
#### Post date: [21 February 2022 06:08 UTC](https://discourse.nodered.org/t/how-to-connect-scanner-using-serial-port/58729/1 "2022-02-21T06:08:06Z")

</div>

Hi, I'm new to node red. I try to connect my barcode scanner to node red using serial node. But I'm Not sure how to connect it.

---

<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: [21 February 2022 07:32 UTC](https://discourse.nodered.org/t/how-to-connect-scanner-using-serial-port/58729/2 "2022-02-21T07:32:21Z")

</div>

Does com3 exist? Are you able to access the scanner via com3 with another application?

---

<div class="post-metadata">

### Author: ![UnknownForever](https://avatars.discourse-cdn.com/v4/letter/u/6f9a4e/32.png) [@UnknownForever](https://discourse.nodered.org/u/UnknownForever)
#### Post date: [21 February 2022 07:42 UTC](https://discourse.nodered.org/t/how-to-connect-scanner-using-serial-port/58729/3 "2022-02-21T07:42:40Z")

</div>

ohh sorry. I was just try to use some method to connect the serial node. Actually I'm trying to find the a way to connect the scanner to serial node and I don't really know how to do it?

---

<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: [21 February 2022 08:06 UTC](https://discourse.nodered.org/t/how-to-connect-scanner-using-serial-port/58729/4 "2022-02-21T08:06:14Z")

</div>

Are you able to access the scanner from another application?

---

<div class="post-metadata">

### Author: ![UnknownForever](https://avatars.discourse-cdn.com/v4/letter/u/6f9a4e/32.png) [@UnknownForever](https://discourse.nodered.org/u/UnknownForever)
#### Post date: [21 February 2022 08:33 UTC](https://discourse.nodered.org/t/how-to-connect-scanner-using-serial-port/58729/5 "2022-02-21T08:33:53Z")

</div>

yes I can scan when it connect the to the usb port (to laptop) and ethernet port (to scanner).  
it can read the data but now I want to connect the scanner to node red so that I can scan the barcode code, to display the output information(decode) in node red dashboard.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [21 February 2022 09:30 UTC](https://discourse.nodered.org/t/how-to-connect-scanner-using-serial-port/58729/6 "2022-02-21T09:30:35Z")

</div>

> [@UnknownForever](#):
>
> ethernet port (to scanner).  
> it can read the data but now I want to connect the scanner to node red

Ethernet will probably be the better/easier solution.

You need to read the device manual to determine the Ethernet communication protocol then replicate that in node-red by sending the appropriate characters to Ethernet Port via a `TCP Request` Node - OR - listening on a `TCP In` Node (depends on how the device works as would be explained in its manual)

---

<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: [22 April 2022 09:30 UTC](https://discourse.nodered.org/t/how-to-connect-scanner-using-serial-port/58729/7 "2022-04-22T09:30:39Z")

</div>

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