View unanswered posts | View active topics It is currently Tue Feb 09, 2016 6:14 am

 Page 1 of 1 [ 12 posts ]
 Print view Previous topic | Next topic
Maximum number of servos
Author Message
Professor

Joined: Sat May 18, 2013 1:24 pm
Posts: 271
Location: Olympia, WA
Maximum number of servos
Stumbled upon this:
 Code:const int kNumbOfServos = 4 * 6 * 6;

(Line 1416, RobotCIntrinsics.c)

Just out of curiosity, what does that mean? 4 sensor ports * 6 servos per controller * ?

_________________
FTC Team 6424, the 'Oly Cow - Chief programmer.
FRC Team 4450, Olympia Robotics Federation (ORF).

Tue Aug 06, 2013 12:43 am
Senior Roboticist

Joined: Wed Sep 28, 2011 10:13 pm
Posts: 630
Location: If I told you, I'd have to kill you.
Re: Maximum number of servos
6 channels per controller * 4 controllers per port * 4 ports is the way I see it.

_________________
A.K.A. inxt-generation
Self-proclaimed genius, and future world dominator.
My Brickshelf Folder
"Don't they teach recreational mathematics anymore?" - The Tenth Doctor
Bow down to Nikola Tesla, King of the Geek Gods.

Tue Aug 06, 2013 12:53 am
Professor

Joined: Sat May 18, 2013 1:24 pm
Posts: 271
Location: Olympia, WA
Re: Maximum number of servos
But there are two 6's... Can we chain 6 controllers?

_________________
FTC Team 6424, the 'Oly Cow - Chief programmer.
FRC Team 4450, Olympia Robotics Federation (ORF).

Tue Aug 06, 2013 1:07 am
Expert

Joined: Fri Nov 02, 2012 12:07 am
Posts: 163
Location: California, USA
Re: Maximum number of servos
 NeXT-Generation wrote:6 channels per controller * 4 controllers per port * 4 ports is the way I see it.

On a Hitechnic servo controller?

_________________
string Robored = "Awesome"
~~Neil Balch~~

Tue Aug 06, 2013 9:03 pm
Senior Roboticist

Joined: Wed Sep 28, 2011 10:13 pm
Posts: 630
Location: If I told you, I'd have to kill you.
Re: Maximum number of servos
roboRed wrote:
 NeXT-Generation wrote:6 channels per controller * 4 controllers per port * 4 ports is the way I see it.

On a Hitechnic servo controller?

You can daisy-chain up to four Hi-Technic servo/DC motor controllers on one port.

_________________
A.K.A. inxt-generation
Self-proclaimed genius, and future world dominator.
My Brickshelf Folder
"Don't they teach recreational mathematics anymore?" - The Tenth Doctor
Bow down to Nikola Tesla, King of the Geek Gods.

Tue Aug 06, 2013 9:26 pm
Professor

Joined: Sat May 18, 2013 1:24 pm
Posts: 271
Location: Olympia, WA
Re: Maximum number of servos
Yes, but there are two 6's and only one 4... Not the other way around

_________________
FTC Team 6424, the 'Oly Cow - Chief programmer.
FRC Team 4450, Olympia Robotics Federation (ORF).

Tue Aug 06, 2013 9:32 pm
Expert

Joined: Fri Nov 02, 2012 12:07 am
Posts: 163
Location: California, USA
Re: Maximum number of servos
NeXT-Generation wrote:
roboRed wrote:
 NeXT-Generation wrote:6 channels per controller * 4 controllers per port * 4 ports is the way I see it.

On a Hitechnic servo controller?

You can daisy-chain up to four Hi-Technic servo/DC motor controllers on one port.

Using a Mux?

_________________
string Robored = "Awesome"
~~Neil Balch~~

Tue Aug 06, 2013 9:38 pm
Professor

Joined: Sat May 18, 2013 1:24 pm
Posts: 271
Location: Olympia, WA
Re: Maximum number of servos
No, see amazing ASCII diagram below:
 Code://///////     ////////    ////////    ////////    //////////     //     //    //    //    //    //    //    //    //// NXT //  ___// #1 //____// #2 //____// #3 //____// #4 ////     //  |  //    //    //    //    //    //    //    ///////////  |  ////////    ////////    ////////    ////////    \_____/

_________________
FTC Team 6424, the 'Oly Cow - Chief programmer.
FRC Team 4450, Olympia Robotics Federation (ORF).

Tue Aug 06, 2013 9:49 pm
Expert

Joined: Fri Nov 02, 2012 12:07 am
Posts: 163
Location: California, USA
Re: Maximum number of servos
On what part of the controller is a daisy chain port?

_________________
string Robored = "Awesome"
~~Neil Balch~~

Tue Aug 06, 2013 10:20 pm
Senior Roboticist

Joined: Wed Sep 28, 2011 10:13 pm
Posts: 630
Location: If I told you, I'd have to kill you.
Re: Maximum number of servos
 roboRed wrote:On what part of the controller is a daisy chain port?

http://www.tetrixrobotics.com/Building_ ... .aspx?ap=2

_________________
A.K.A. inxt-generation
Self-proclaimed genius, and future world dominator.
My Brickshelf Folder
"Don't they teach recreational mathematics anymore?" - The Tenth Doctor
Bow down to Nikola Tesla, King of the Geek Gods.

Tue Aug 06, 2013 10:25 pm
Expert

Joined: Fri Nov 02, 2012 12:07 am
Posts: 163
Location: California, USA
Re: Maximum number of servos
NeXT-Generation wrote:
 roboRed wrote:On what part of the controller is a daisy chain port?

http://www.tetrixrobotics.com/Building_ ... .aspx?ap=2

Thanks!

Ernest3.14, Nice ASCII!

_________________
string Robored = "Awesome"
~~Neil Balch~~

Tue Aug 06, 2013 10:26 pm
Expert

Joined: Fri Nov 02, 2012 12:07 am
Posts: 163
Location: California, USA
Re: Maximum number of servos
<--------100

_________________
string Robored = "Awesome"
~~Neil Balch~~

Tue Aug 06, 2013 10:28 pm
Display posts from previous:  Sort by
 Page 1 of 1 [ 12 posts ]

#### Who is online

Users browsing this forum: No registered users and 1 guest

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum

Search for:
 Jump to:  Select a forum ------------------ ROBOTC Applications    ROBOTC for LEGO MINDSTORMS       Third-party sensors    ROBOTC for CORTEX & PIC    ROBOTC for VEX IQ    ROBOTC for Arduino    Robot Virtual Worlds    Multi-Robot Communications    Issues and Bugs Competitions & Partners    Mini Urban Challenge    2014 Robotics Academy Summer of Learning    CS2N Robot Virtual Worlds Competitions       VEX Skyrise Competition 2014-2015       VEX Toss Up 2013-2014       FTC Block Party! 2013-2014    Competitions using VEX - BEST, TSA, VEX, and RoboFest!    FTC Programming    RoboCup Junior and Other ROBOT Competitions Virtual Brick Robotics Discussions    General Discussions    Project Discussions Off-Topic ROBOTC Forum & ROBOTC.net Suggestions/Feedback    ROBOTC Forums Suggestions/Comments    ROBOTC.net Suggestions/Comments       NXT Programming: Tips for Beginning with ROBOTC       VEX Programming: Tips for Beginning with ROBOTC    2013 Robotics Summer Of Learning       VEX Toss Up Programming Challenge       FTC Ring It Up! Programming Challenge    International Forums       Spanish Forums          ROBOTC for MINDSTORMS          ROBOTC for VEX       French Forums          ROBOTC pour Mindstorms          ROBOTC pour IFI VEX       Japanese Forums （日本語のフォーラム）       German Forums    2015 Spring Carnival Event    PLTW (Project Lead The Way)    Robotics Merit Badge