PAK-IV and Pulse Encoders
Archiver
Posts: 46,084
Does anyone have any examples for using a BS2 or BS2SX (preferred)
and a PAK-IV to COUNT pulses? I'm trying to use a BS2SX/PAK-IV to
count pulses from the optical encoders on the wheels of my robot and
would really appreciate some help. I know the PAK-VII is
specifically made for counting pulses, but can't the PAK-IV do it as
well? How is everyone else doing it? If I just use the Stamp, it
can't do other things AND count pulses...can it? Is there a better
way? Will this work? What's the BEST way to use the pulse encoders
on my wheels?
Thanks,
Brice
--
Pop3Now Personal, Manage 5 Email Accounts From 1 Secure Window
Sign Up Today! Visit http://www.pop3now.com/personal
and a PAK-IV to COUNT pulses? I'm trying to use a BS2SX/PAK-IV to
count pulses from the optical encoders on the wheels of my robot and
would really appreciate some help. I know the PAK-VII is
specifically made for counting pulses, but can't the PAK-IV do it as
well? How is everyone else doing it? If I just use the Stamp, it
can't do other things AND count pulses...can it? Is there a better
way? Will this work? What's the BEST way to use the pulse encoders
on my wheels?
Thanks,
Brice
--
Pop3Now Personal, Manage 5 Email Accounts From 1 Secure Window
Sign Up Today! Visit http://www.pop3now.com/personal
Comments
The PAK-IV can count one channel of pulses at a time. The Stamp can do
something else while the PAK is counting. However, the PAK-IV will then stop
counting pulses and wait for the Stamp to ask for the data. Then the Stamp
can -- if it wishes -- issue another COUNT command. You can almost think of
the PAK-IV as a "slave" Stamp.
The PAK-VII on the other hand counts on 8 channels all the time (it also
measures pulse widths, but you don't care about that). The Stamp can read
and reset each count any time it wishes, but the PAK never stops counting
and measuring.
So the PAK-IV is good when you want to count a single channel for a certain
duration and then process it. For continuous counting you really want a
PAK-VII.
Regards,
Al Williams
AWC
* Basic Stamp FAQ: http://www.al-williams.com/wd5gnr/stampfaq.htm
>
Original Message
> From: bdh@c... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=ozbI6cpQVFHsoT4o6ZnCWY2XTO3PH8Oq1486Q1j5CwkGOtioycx2MaM-w5z5ADBKDqzhR5MF-cpzew]bdh@c...[/url
> Sent: Tuesday, February 20, 2001 2:26 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] PAK-IV and Pulse Encoders
>
>
> Does anyone have any examples for using a BS2 or BS2SX (preferred)
> and a PAK-IV to COUNT pulses? I'm trying to use a BS2SX/PAK-IV to
> count pulses from the optical encoders on the wheels of my robot and
> would really appreciate some help. I know the PAK-VII is
> specifically made for counting pulses, but can't the PAK-IV do it as
> well? How is everyone else doing it? If I just use the Stamp, it
> can't do other things AND count pulses...can it? Is there a better
> way? Will this work? What's the BEST way to use the pulse encoders
> on my wheels?
>
> Thanks,
> Brice
>
>
>
>
> --
> Pop3Now Personal, Manage 5 Email Accounts From 1 Secure Window
> Sign Up Today! Visit http://www.pop3now.com/personal
>
>
>