Searching \ for '[SX] Servo Control using SX/B' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ubicom/lib/io/index.htm?key=servo%2Finde+servo
Search entire site for: 'Servo Control using SX/B'.

Exact match. Not showing close matches.
PICList Thread
'[SX] Servo Control using SX/B'
2007\02\20@143212 by Lmiller1708n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Lmiller1708 wrote:

What is the best way to control servos?

I'm also using IR sensors.


Thanks,
Lance
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=173464
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\02\20@165337 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

Use the PULSOUT command.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=173464#m173480
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\02\20@182020 by JonnyMacn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote:

Bean's right, PULSOUT is easiest.  If you happen to need "background" servo control, you can do it with an interrupt-driven virtual serial controller.  See this thread:

http://forums.parallax.com/forums/default.aspx?f=7&m=170452
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=173464#m173495
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\02\20@202008 by Lmiller1708n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Lmiller1708 wrote:

Thanks Guys,
Like I said before, I will be using IR sensors also.
Right now I'm using the Interrupt to run them.
So I ask another question, Which way is going to be better for my purpose?
Which is to make a robot follow a black line with some line sensors from parallax and have a couple of aux outputs.
I'm really new at this, and would like the code to be as simple as possible.
Thanks again,
Lance
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=173464#m173537
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\02\20@215239 by JonnyMacn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote:

"Simple" is a very subjective word.  I think the ISR code is simple but then, I wrote it and have a bit of practice.  The "problem" with servos is that they require refreshing and this can be bothersome for a straight-line program -- like we're forced to do with the BASIC Stamp.  
I updated my servo program to modulate an IR LED in the ISR and work with just two servos; this should get you going.  Your control program can focus on setting servo speed and looking at sensors; the ISR will handle the LED modulation and servo refreshing.  If you decide to add another servo you can without expanding the code -- simple adjustments are all that's required to let it handle up to eight servos.

Good luck.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=173464#m173552
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\02\21@112810 by Lmiller1708n/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Lmiller1708 wrote:

Thanks JonnyMac!!

Lance
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=173464#m173666
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\02\23@001540 by Capt. Quirkn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Capt. Quirk wrote:


"bothersome" is right, I find it amazing that you can handle up to 8 servos on 1 SX chip or 4 triggers, 8 outs, 4 servos. The SX-Creeper is another amazing project too. It blows my mind that you can do all that and I can't control  a single Futaba servo and take in inputs from 0831 ADC, an RC Circuit, a Count routine that keeps track of 230 pulses/sec and a master contol routine on a single SX, without using up all my variable space or blowing timming of 1 or all the componets I am trying to use together.

Your Code example has several routines that look like they prevent routines from running over the top of each other. Could you post (if possible) a flow chart of how that "Prop484-EZ.SXB" works.

Thanks


---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=173464#m174008
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

2007\02\23@054742 by JonnyMacn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote:

Between Halloween industry trade show travels and trying to finish "Practical SX/B" I really don't have time to provide an elaborate explanation here.  That code will be fully detailed in the book, however.  And... I think if you spend a little time with the code you'll see that it's actually quite easy.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=173464#m174027
Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com
The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)

More... (looser matching)
- Last day of these posts
- In 2007 , 2008 only
- Today
- New search...