Capturing square wave count (OT?)
Archiver
Posts: 46,084
Hi,
I am looking for a chip that can capture a square wave - that is count and store the rising or falling side - and store the count until polled(sp?) by a stamp (serial?) at which time it resets to zero and begins the counting process again until polled without losing any data. I need to combine and modify the counts of two square wave inputs and create a square wave output using a stamp for the computation and output generation.
Can anyone recommend a chip/process to do this?
Roger
Roger Edberg
roger@industrialartist.com
http://www.industrialartist.com
I am looking for a chip that can capture a square wave - that is count and store the rising or falling side - and store the count until polled(sp?) by a stamp (serial?) at which time it resets to zero and begins the counting process again until polled without losing any data. I need to combine and modify the counts of two square wave inputs and create a square wave output using a stamp for the computation and output generation.
Can anyone recommend a chip/process to do this?
Roger
Roger Edberg
roger@industrialartist.com
http://www.industrialartist.com
Comments
It stores the last high duration and the last low duration. It also stores
the total count of edges it sees. Reads 8 channels at the same time with 5uS
resolution. Have a look at http://www.al-williams.com/awce/pak7.htm
Regards,
Al Williams
AWC
*New: 8 channels of pulse output for servos, PWM, etc.
http://www.al-williams.com/awce/pak8.htm
Original Message
From: Roger Edberg [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Msogy5FfRRoApUZeKISQFZlTg6j_w91XPcPHM_ec-x51NOKGDuMIxHmdJGQok2iSmWq8s6-qMFu_axily_yq3_OPXvdG]postmaster@i...[/url
Sent: Friday, May 26, 2000 7:41 PM
To: basicstamps@egroups.com
Subject: [noparse][[/noparse]basicstamps] Capturing square wave count (OT?)
Hi,
I am looking for a chip that can capture a square wave - that is count and
store the rising or falling side - and store the count until polled(sp?) by
a stamp (serial?) at which time it resets to zero and begins the counting
process again until polled without losing any data. I need to combine and
modify the counts of two square wave inputs and create a square wave output
using a stamp for the computation and output generation.
Can anyone recommend a chip/process to do this?
Roger
Roger Edberg
roger@i...
http://www.industrialartist.com
Roger
At 07:51 PM 5/26/00 -0500, you wrote:
>The PAK-VII does this (if I understand you). It does not totalize, however.
>It stores the last high duration and the last low duration. It also stores
>the total count of edges it sees. Reads 8 channels at the same time with 5uS
>resolution. Have a look at http://www.al-williams.com/awce/pak7.htm
>
>Regards,
>
>Al Williams
>AWC
>*New: 8 channels of pulse output for servos, PWM, etc.
>http://www.al-williams.com/awce/pak8.htm
>
>
>
>
Original Message
>From: Roger Edberg [noparse][[/noparse]mailto[noparse]:p[/noparse]ostmaster@industrialartist.com]
>Sent: Friday, May 26, 2000 7:41 PM
>To: basicstamps@egroups.com
>Subject: [noparse][[/noparse]basicstamps] Capturing square wave count (OT?)
>
>
>Hi,
>I am looking for a chip that can capture a square wave - that is count and
>store the rising or falling side - and store the count until polled(sp?) by
>a stamp (serial?) at which time it resets to zero and begins the counting
>process again until polled without losing any data. I need to combine and
>modify the counts of two square wave inputs and create a square wave output
>using a stamp for the computation and output generation.
>Can anyone recommend a chip/process to do this?
>Roger
>
>
>Roger Edberg
>roger@industrialartist.com
>http://www.industrialartist.com
>
>
>
>
>
>
Roger Edberg
roger@industrialartist.com
http://www.industrialartist.com
>Hi,
>I am looking for a chip that can capture a square wave - that is count and
>store the rising or falling side - and store the count until polled(sp?) by
>a stamp (serial?) at which time it resets to zero and begins the counting
>process again until polled without losing any data. I need to combine and
>modify the counts of two square wave inputs and create a square wave output
>using a stamp for the computation and output generation.
>Can anyone recommend a chip/process to do this?
This sounds like the perfect job for Steve Parkiss' Pulse Machine. Steve
has generously made the code (for Scenix chips) available, along with great
documentation at:
http://home.earthlink.net/~parkiss/
If you don't have a Scenix programmer I'm sure myself (or someone else on
the list) would be happy to do it for you. Actually, Steve may offer
programmed chips himself, I'm not sure.
Best, Duncan