I am trying to use 2 arduino UNO boards on a Raspberry Pi.
Each of them are working well when connected independently via USB port, accessible via /dev/ttyACM0
The problem comes when I connect both via a small usb hub, only one of them is accessible via /dev/ttyACM0 and the system is pretty much unstable.
I tried to modify udev rules with the serial attribute of each one but unsuccessfull... They do are recognize each as Arduino Uno with the same and proper idvendor and idproduct...
Just for kicks, power each Arduino separately with external power. It may be you are overloading the capacity of the USB hub. The second Arduino should be on /dev/ttyACM1. I would suggest doing a tail -f /var/log/messages on a separate console, just to see what error messages the kernel is encountering.
Hey guys, thanks for the fast answers !
I indeed replaced the hhub and worked perfectly with the new one.... Those usb hubs sometimes are real bad...
Anyway FYI it it a self powered bus so nothing to do with power, especially that arduinos are self powered.
Thks.
BTW, you can grab a working image of RPi + arduino on my website...
Because I was unaware of it because you never mentioned it.
At least, I am trying.
If you were trying you would have read the how to use this forum sticky which tells you not to hijack threads and to post in the correct section. In what way is the description of this section:-
For problems with Arduino itself, NOT your project
Applicable to your problem?
You do not have a problem with the Arduino itself, you have a problem with your project.
So post in the right section and do not hijack threads.
Show some manners and you will get respect, show non and you get this.