Attach 2 roboclaw to a raspberry pi

Questions about using encoders with the Roboclaw product line
Post Reply
GioCa
Posts: 7
Joined: Wed Dec 27, 2017 2:59 am
Attach 2 roboclaw to a raspberry pi

Post by GioCa »

Hi :)
i have some problems attaching two roboclaws to my raspberry pi.
With the first roboclaw everything works fine.

rc = Roboclaw("/dev/ttyACM0",115200)

But i'm not sure how i can implement the second one ?

sth like :

rc1 = Roboclaw("/dev/ttyACM(1),115200) ?

Can sb help me ?

Thanks in Advance !
User avatar
Basicmicro Support
Posts: 1594
Joined: Thu Feb 26, 2015 9:45 pm
Re: Attach 2 roboclaw to a raspberry pi

Post by Basicmicro Support »

the second Roboclaw should appear as ttyACM1. You can look in your /dev folder to see if it appears when you plug it in and what the name comes up as.

Post Reply