Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Phidgets & V2.0 with multiple servos & Encoders

For general discussion related FlowStone

Phidgets & V2.0 with multiple servos & Encoders

Postby dmccommon » Thu Dec 29, 2011 8:28 pm

I am running Flowstone 2.0.0 Pro version on subscription.

I am working on a project and I am using Phidgets 1019 8/8/8 + 1047 (4) encoder board + 1061 (8) Advanced servo controller. I can build a schematic passing joystick control through the 8/8/8 to the servo control and read back position from my encoder for one setup.

My problem is I have a 4 axis device to operate. I need to be able to run 4 versions of the 1061 servo contol module and 4 versions of the encoder module to cover all of the elements I am using. I have tried bringing them in and setting their ID# etc. but only the first setup works. The others are dead and if I mess with it too much the sysytem becomes unstable and Flowstone 2 crashs.

I may be missing something but I think I am doing it right? Any assistance would be greatly appreciated.
dmccommon
 
Posts: 5
Joined: Mon Oct 31, 2011 8:30 pm

Re: Phidgets & V2.0 with multiple servos & Encoders

Postby DSP » Fri Dec 30, 2011 1:15 am

Yes you are missing something:

You can control all 8 servos using just one FS PhServo module, you just have to dynamically change the Servo Input address, FlowStone is way faster then the Phidgets board so it can appear that you are controlling all 8 in real time.

The ID input is only if you have multiple 1061 boards.

The servos are addressed through the 'Servo' input (0-7), so if you set the servo input at 3 you will be controlling servo 4 etc.

Here is an example:
Attachments
Phidgets Servo Test8.fsm
(286.6 KiB) Downloaded 1224 times
DSP
 
Posts: 150
Joined: Fri May 14, 2010 10:55 pm

Re: Phidgets & V2.0 with multiple servos & Encoders

Postby dmccommon » Fri Dec 30, 2011 1:37 am

I'm still not sure I see this .. I am running a camera crane with 4 axis up/down on boom .. rotate on boom right /left on camera head ... up/down on camera head ...Running this with two joysticks .. everything moving at the same time .

I understand the indexing assignments for each servo selections .. I can get that one by one.

Are you talking about setting up an "on demand index control" to jump between the different servo loads and is it the same situation with reading the encoders back.

I thought you would be able to pull in 4 sevro modules and 4 encoder modules then set the different indexs 0-3 for each then they would run as separate units. That sounds much easier to me .. ?
dmccommon
 
Posts: 5
Joined: Mon Oct 31, 2011 8:30 pm

Re: Phidgets & V2.0 with multiple servos & Encoders

Postby DSP » Fri Dec 30, 2011 1:40 pm

I see what you are saying but it's just the way the Phidgets boards work. The good news is that it's not a big deal using the FlowStone trigger system.

Here are a couple of examples that should help you:
Attachments
Phidgets Encoder Reader 4.fsm
(1.13 KiB) Downloaded 1225 times
Phidgets Servo Test4 RT.fsm
(10.63 KiB) Downloaded 1204 times
DSP
 
Posts: 150
Joined: Fri May 14, 2010 10:55 pm

Re: Phidgets & V2.0 with multiple servos & Encoders

Postby dmccommon » Fri Dec 30, 2011 4:43 pm

Ok ... Thanks!

I'll use these and see how it goes ..
dmccommon
 
Posts: 5
Joined: Mon Oct 31, 2011 8:30 pm

Re: Phidgets & V2.0 with multiple servos & Encoders

Postby dmccommon » Mon Jan 02, 2012 7:58 pm

Ok .. the encoder trigger module works great .. but I having stabilty issues with the servo trigger setup.

Because the joystick inputs are analog to the PH 8/8/8 the integer input at idle isn't stable .. it oscillates between two numbers making the trigger jump all over ... then the triggers making the motors run jerky and out of time.

Do you have any suggestions to stablize this issue.

Thanks in advance ...
dmccommon
 
Posts: 5
Joined: Mon Oct 31, 2011 8:30 pm


Return to General

Who is online

Users browsing this forum: No registered users and 100 guests