Search found 32 matches

by SouthernAtHeart
Mon Nov 28, 2016 9:29 am
Forum: General Discussion
Topic: BEC 5 volt power
Replies: 2
Views: 4247

Re: BEC 5 volt power

That'll be great. I won't have to add a 5 volt regulator to my board then.
Cheers,
by SouthernAtHeart
Mon Nov 28, 2016 9:27 am
Forum: Velocity and Position Control
Topic: using S3 & S4 as home switches
Replies: 7
Views: 10182

Re: using S3 & S4 as home switches

That sounds great. It should be easy to use that feature then. So this arduino code would send the motor to the home position: boolean returnM1Home() { //returns true if successful roboclaw.SpeedAccelDeccelPositionM1(address, accel, maxSpeed, deccel, -3000000, 0); //2500000 pulses is the max table l...
by SouthernAtHeart
Fri Nov 18, 2016 3:56 pm
Forum: Velocity and Position Control
Topic: using S3 & S4 as home switches
Replies: 7
Views: 10182

using S3 & S4 as home switches

Can you explain a little more about how this works? If I have them tied to my home microswitches, what command would I issue (packet serial) to tell it to go home. Does it have accel/decel? Thanks.
by SouthernAtHeart
Fri Nov 18, 2016 3:52 pm
Forum: General Discussion
Topic: BEC 5 volt power
Replies: 2
Views: 4247

BEC 5 volt power

I have made a custom PCB that mounts on top of the Roboclaw 2x15. It has an Atmega328 (Arduino chip) on it, and also an SD card BOB, and headers for encoders, and other things. The total power needed on my board is probably only 500 mA. I see the 2x15 can supply 3 A. So I assume it is ok to draw hal...
by SouthernAtHeart
Thu Aug 18, 2016 6:51 am
Forum: Velocity and Position Control
Topic: Waiting for buffer/motors to arrive at destination
Replies: 2
Views: 5593

Re: Waiting for buffer/motors to arrive at destination

Thanks. I think my code will work then. I'll set up a test environment and check it out.
by SouthernAtHeart
Wed Aug 17, 2016 11:04 am
Forum: Velocity and Position Control
Topic: Waiting for buffer/motors to arrive at destination
Replies: 2
Views: 5593

Waiting for buffer/motors to arrive at destination

Hi, When I tell the roboclaw to move the 2 motors to a position, what's the best way to find out when they arrive there. To read the encoder values and see if they match up to what I sent them to, or to read the buffer? If I read the buffer and it's empty, does that mean they have successfully compl...
by SouthernAtHeart
Tue Jul 05, 2016 1:48 pm
Forum: General Discussion
Topic: Controlling a roboclaw with a computer and having I/O signals also
Replies: 3
Views: 5048

Re: Controlling a roboclaw with a computer and having I/O signals also

Thanks. I'll experiment a little with the python examples, but I think you may be right about getting the I/O thru an Arduino. And therefore I can just control the roboclaw with it too. We've been doing that successfully now for awhile.
Thanks.
by SouthernAtHeart
Mon Jul 04, 2016 6:18 pm
Forum: General Discussion
Topic: Controlling a roboclaw with a computer and having I/O signals also
Replies: 3
Views: 5048

Controlling a roboclaw with a computer and having I/O signals also

I'm looking for a good solution to moving a drill head around on an X/Y table with a RoboClaw. I'm thinking of using Python, as it looks like an easy way to control the roboclaw with a computer. Basically, I'll have a list of coordinates that I'll want to move the drill head around to. I can send th...
by SouthernAtHeart
Mon Jul 04, 2016 6:01 pm
Forum: General Discussion
Topic: Controlling a roboclaw with a computer and having I/O signals also
Replies: 3
Views: 5048

Controlling a roboclaw with Python

I'm wanting to control my roboclaw via python, but am new to python. I downloaded the python examples, and I have my motor tuned, using the ion motion software. I'm using a Macbook, so for the example roboclaw_speed.py, is the only thing I have to do is delete the line for windows, and uncomment the...
by SouthernAtHeart
Sat May 28, 2016 3:20 pm
Forum: General Discussion
Topic: Suggestion
Replies: 1
Views: 3673

Suggestion

With the encoders I've been using, http://www.ebay.com/itm/New-Encoder-600-P-R-5V-24V-Incremental-Rotary-AB-2-Phase-6mm-Shaft-Coupling-/121670730569?hash=item1c54240349:g:GUsAAOSwrklVRuc9 I've had to add pull-ups to the A/B lines. It would be nice if there were SMD pads ready to do this on the roboc...