BSIISX - Connecting Servo''s Correctly
Archiver
Posts: 46,084
Al,
I tried this program and it has ruined two of my servos. It runs
them all the way to lock in one direction and keeps trying to go on.
I even tried the modifications suggested for the BS2SX.
To no avail.
Can't afford to lose any more servos.
What now?
Thanks.
Doug
> To: <basicstamps@egroups.com>
> From: "Al Williams" <alw@a...>
> Date: Sat, 21 Oct 2000 14:32:47 -0500
> Reply-to: basicstamps@egroups.com
> Subject: RE: [noparse][[/noparse]basicstamps] BSIISX - Connecting Servo's Correctly
> Take out the B2 after NEXT. Also the DIRS line is not strictly necessary so
> I removed it. Finally, you need to change B2 to reflect the faster times.
> BS1 uses 10uS interval. BS2 uses 2uS. The SX is faster still (.8uS).
>
> So the code below uses 100 to 200 step 2. On the BS1 that is 1000uS (1mS) to
> 2000uS (2mS) step by 20uS.
>
> For the BS2 you'd want 500 to 1000 step 10. For the SX, you'd use 1250 to
> 2500 step 25.
>
> Hope that helps.
>
> Al Williams
> AWC
> * Control 8 servos at once! http://www.al-williams.com/awce/pak8.htm
>
>
> > > > > > >'PROGRAM "SRVOTST1.BAS" 10/4/00
> > > > > > >'TO TEST RC SERVOS
> > > > > > >LOW 0
> > > > > > >AGAIN:
> > > > > > >FOR B2=100 TO 200 STEP 2
> > > > > > > PULSOUT 0,B2
> > > > > > > PAUSE 15
> > > > > > >NEXT
> > > > > > >FOR B2=200 TO 100 STEP -2
> > > > > > > PULSOUT 0,B2
> > > > > > > PAUSE 15
> > > > > > > NEXT
> > > > > > >'DEBUG "AGAIN"
> > > > > > >PAUSE 1000
> > > > > > >GOTO AGAIN
> > > >
Original Message
> > > > From: Ray McArthur <rjmca@u...>
> > > > To: <basicstamps@egroups.com>
> > > > Sent: Saturday, October 21, 2000 1:38 AM
> > > > Subject: Re: [noparse][[/noparse]basicstamps] BSIISX - Connecting Servo's Correctly
> > > >
> > > >
> >
>
>
>
>
>
I tried this program and it has ruined two of my servos. It runs
them all the way to lock in one direction and keeps trying to go on.
I even tried the modifications suggested for the BS2SX.
To no avail.
Can't afford to lose any more servos.
What now?
Thanks.
Doug
> To: <basicstamps@egroups.com>
> From: "Al Williams" <alw@a...>
> Date: Sat, 21 Oct 2000 14:32:47 -0500
> Reply-to: basicstamps@egroups.com
> Subject: RE: [noparse][[/noparse]basicstamps] BSIISX - Connecting Servo's Correctly
> Take out the B2 after NEXT. Also the DIRS line is not strictly necessary so
> I removed it. Finally, you need to change B2 to reflect the faster times.
> BS1 uses 10uS interval. BS2 uses 2uS. The SX is faster still (.8uS).
>
> So the code below uses 100 to 200 step 2. On the BS1 that is 1000uS (1mS) to
> 2000uS (2mS) step by 20uS.
>
> For the BS2 you'd want 500 to 1000 step 10. For the SX, you'd use 1250 to
> 2500 step 25.
>
> Hope that helps.
>
> Al Williams
> AWC
> * Control 8 servos at once! http://www.al-williams.com/awce/pak8.htm
>
>
> > > > > > >'PROGRAM "SRVOTST1.BAS" 10/4/00
> > > > > > >'TO TEST RC SERVOS
> > > > > > >LOW 0
> > > > > > >AGAIN:
> > > > > > >FOR B2=100 TO 200 STEP 2
> > > > > > > PULSOUT 0,B2
> > > > > > > PAUSE 15
> > > > > > >NEXT
> > > > > > >FOR B2=200 TO 100 STEP -2
> > > > > > > PULSOUT 0,B2
> > > > > > > PAUSE 15
> > > > > > > NEXT
> > > > > > >'DEBUG "AGAIN"
> > > > > > >PAUSE 1000
> > > > > > >GOTO AGAIN
> > > >
Original Message
> > > > From: Ray McArthur <rjmca@u...>
> > > > To: <basicstamps@egroups.com>
> > > > Sent: Saturday, October 21, 2000 1:38 AM
> > > > Subject: Re: [noparse][[/noparse]basicstamps] BSIISX - Connecting Servo's Correctly
> > > >
> > > >
> >
>
>
>
>
>