Search found 9 matches

by ejunkins
Tue Jun 18, 2019 8:37 am
Forum: General Discussion
Topic: Home switch State
Replies: 6
Views: 279

Re: Home switch State

Great, all working now, thanks!
by ejunkins
Fri Jun 14, 2019 11:30 am
Forum: General Discussion
Topic: Home switch State
Replies: 6
Views: 279

Re: Home switch State

The function I'm using is: def _get_Errors(self): ' '' Gets the error status of the motor controllers return: list [2] (int): Error code per motor controller ' '' errors = [0] * 2 for i in range(2): errors = self.rc.ReadError(self.address )[1] return errors self.address = [0x80, 0x81] The element [1...
by ejunkins
Thu Jun 13, 2019 5:06 pm
Forum: General Discussion
Topic: Home switch State
Replies: 6
Views: 279

Re: Home switch State

I am using Basicmicro Motion Stuido, using firmware version 4.1.33. The python library was downloaded on Tuesday 6/11/2019.
by ejunkins
Wed Jun 12, 2019 5:56 pm
Forum: General Discussion
Topic: Home switch State
Replies: 6
Views: 279

Home switch State

Hi, I am having issues with being able to query the state of my home switch using the python software given in roboclaw.py . Reading the user manual on page 74 it says that the error code for the home switches is 0x4000 and 0x8000. When I use the function Read Status (from the python library ReadErr...
by ejunkins
Tue Apr 09, 2019 2:49 pm
Forum: General Discussion
Topic: Problem with Serial communication
Replies: 10
Views: 1041

Re: Problem with Serial communication

The Hub is not attached to a PC when the system powers on. I think my plan is going to be to add a switch on the power of the USB hub that will only turn on when I need to debug the system, so I won't have to worry about this during normal operation
by ejunkins
Mon Apr 01, 2019 2:46 pm
Forum: General Discussion
Topic: Problem with Serial communication
Replies: 10
Views: 1041

Re: Problem with Serial communication

Yes the problem seems to be when I have Rooboclaws attached to the USB hub. It is a powered USB hub, that I use to connect to 5 seperate RoboClaws. Testing I just did yielded the following result: On Boot of robot: - When USB hub is powered and connected to RoboClaws - Unable to establish serial con...
by ejunkins
Mon Mar 25, 2019 11:51 am
Forum: General Discussion
Topic: Problem with Serial communication
Replies: 10
Views: 1041

Re: Problem with Serial communication

The pullup resistor value i'm using is 4.7K. The issue with trying to take one of the boards off is that the entire PCB system is embedded into a robot and requires a non-trivial amount of taking things apart to reach them at this point. I had tested everything previous to adding a USB hub for commu...
by ejunkins
Fri Mar 22, 2019 4:34 pm
Forum: General Discussion
Topic: Problem with Serial communication
Replies: 10
Views: 1041

Re: Problem with Serial communication

Sorry for the late response on this.. Multi unit mode is enabled, and it uses 115200 Baud rate. I didn't test one singular Roboclaw to the Pi yet, they are all plugged into a custom PCB that ties all their serial lines together and isn't particularly easy to remove this to test one single roboclaw c...
by ejunkins
Mon Mar 18, 2019 8:36 am
Forum: General Discussion
Topic: Problem with Serial communication
Replies: 10
Views: 1041

Problem with Serial communication

I'm running into a strange issue trying to connect to a set of 5 RoboClaw 2x7a, wired up in parallel being controlled from a Raspberry Pi. The issue is that when I boot up the robot and try to communicate to the RoboClaws it hits the timeout on each one of them. Because of the placement of the Roboc...