leharlgdc
Posts: 1
Joined: Fri May 12, 2017 6:11 am

COM port number woes....

Fri May 12, 2017 6:15 am

Hi ,

I am connecting 4 arduino boards on the raspberry pi , and reading serially the data coming from the arduinos , now each time i turn off my rpi and then on , the COM port number exchanges , how can i make the port numbers constant ?

texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

COM port number woes....

Fri May 12, 2017 11:06 am

I've split this to a new thread, as it was added to a (mostly) unrelated one.
Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

scotty101
Posts: 3958
Joined: Fri Jun 08, 2012 6:03 pm

Re: COM port number woes....

Fri May 12, 2017 11:16 am

This stack exchange topic explains a few methods.
https://arduino.stackexchange.com/quest ... d-over-usb

The basic concept is to use udev rules to assign the port aliases.
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

Return to “General discussion”