# Failed to connect to OpenMV’s serial port

**URL:** https://discourse.nodered.org/t/failed-to-connect-to-openmv-s-serial-port/96619
**Category:** General
**Created:** [17 April 2025 13:27 UTC](https://discourse.nodered.org/t/failed-to-connect-to-openmv-s-serial-port/96619 "2025-04-17T13:27:39Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Triman5](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@Triman5](https://discourse.nodered.org/u/Triman5)
#### Post date: [17 April 2025 13:27 UTC](https://discourse.nodered.org/t/failed-to-connect-to-openmv-s-serial-port/96619/1 "2025-04-17T13:27:39Z")

</div>

Hello,  
Has anyone used Node-Red to connect to an OpenMV board?  
I could use some help connecting to an OpenMV board.  
I’m running Node-Red on windows 10, and using a Python script to connect to the OpenMV board. When Node-Red starts up the serial connection works, but then disconnects over time. When I try to reconnect to the open TCP port I get an error “Failed to connect”. However, when Node-Red is restarted the connection is made and the sensor starts sending data.

What should I look for that may cause the connections to disconnect? Or, is it possible to add something that will reload the udev rules?

Sorry, i forgot to mention in Node-Red the connection is TCP in on port 2113.

Failed to connect to OpenMV’s serial port.  
Please install OpenMV’s udev rules first:  
sudo cp openmv/udev/50-openmv.rules /etc/udev/rules.d/  
sudo udevadm control --reload-rules

Thank you for your help!

---

<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: [16 July 2025 13:28 UTC](https://discourse.nodered.org/t/failed-to-connect-to-openmv-s-serial-port/96619/2 "2025-07-16T13:28:43Z")

</div>

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