Manual

LynxmotionSSC32UServoControllerBoard
ElectronicsGuide
Thisexamplewilloutputthevalue123(decimal)tobank3.123(dec)=01111011(bin),and
bank3isassociatedwithpins2431.Sothiscommandwilloutputa"0"topins26and31,and
willoutputa"1"toallotherpins.
QueryMovementStatus
Q<cr>
Thiswillreturna"."ifthepreviousmoveiscomplete,ora"+"ifitisstillinprogress.
Therewillbeadelayof50uSto5mSbeforetheresponseissent.
QueryPulseWidth
QP<arg><cr>
Thiswillreturnasinglebyte(inbinaryformat)indicatingthepulsewidthoftheselectedservo
witharesolutionof10uS.Forexample,ifthepulsewidthis1500uS,thereturnedbytewouldbe
150(binary).
Multipleservosmaybequeriedinthesamecommand.Thereturnvaluewillbeonebyteper
servo.Therewillbeadelayofatleast50uSto5mSbeforetheresponseissentTypicallythe
responsewillbestartedwithin100uS.
DigitalInput
ABCDEFALBLCLDLELFL<cr>
A,B,C,D,E,Farenormalinputreads.Theyreadthevalueontheinputasabinaryvalue.It
returnsASCII"0"iftheinputisalow(0V)oranASCII"1"iftheinputisahigh(+5V).Asyoucan
see,pinsGandHarenotincluded(theyareonlyanalog).
AL,BL,CL,DL,EL,FLarelatchinginputreads.TheyreturnthevalueontheinputasanASCII
"0"iftheinputisalow(0v)orifithasbeenlowsincethelast*Lcommand.Itreturnsahigh
(+5v)iftheinputishighandneverwentlowsincethelast*Lcommand.Simplystated,itwill
returnalowiftheinputevergoeslow.Readingthestatussimplyresetsthelatch.
Theseinputshaveaweakpullup(~50k)thatisenabledwhenusedasinputs.Theyarechecked
approximatelyevery1mS,andaredebouncedforapproximately15mS.Thelogicvalueforthe
readcommandswillnotbechangeduntiltheinputhasbeenatthenewlogiclevelcontinuously
for15mS.TheReadDigitalInputCommandscanbegroupedinasingleread,upto8values
perread.Theywillreturnastringwithonecharacterperinputwithnospaces.
Example:ABEDL<cr>
33