precision timer and the bs2p
Archiver
Posts: 46,084
what is the best way to interface a 555 timer to the bs2p, to "timestamp"
data inputs recieved from a DAC? or is there a better IC to use? I need
timing accurate to the 100-1000th of a sec.
Thanks
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
data inputs recieved from a DAC? or is there a better IC to use? I need
timing accurate to the 100-1000th of a sec.
Thanks
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
Comments
3 volt coin cell, and a 32.768 kHz crystal, you
get times accurate to 1 second. This doesn't
address your .01 to .001 second resolution though.
2. The BS2 only does 2000 Instructions/Second.
That's 2 instructions for each .001 second.
This may not be a problem -- you can't take a
sample every .001 second -- but the time stamp
could be that accurate.
3. A 555 makes a TERRIBLE timer. Its oscillator
is only as accurate as the components you use,
and varies a lot based on temperature.
4. Reading a DAC can take some time. This too
may distort the accuracy of your time stamp.
5. If I HAD to do this with a stamp, I'd probably
use a crystal oscillator circuit, driving a
hardware counter circuit. I'd latch the
'current time' just before (or just after)
the DAC reading, then read the 'current time'
from the latched value while the counter
continues to 'free-run'. If I wanted this
tied to time-of-day, I'd use the 1302 to
know when to send a 'reset' to the hardware
counter circuit.
--- In basicstamps@yahoogroups.com, "Christian Wentz" <cwentz86@h...>
wrote:
> what is the best way to interface a 555 timer to the bs2p,
to "timestamp"
> data inputs recieved from a DAC? or is there a better IC to use? I
need
> timing accurate to the 100-1000th of a sec.
> Thanks
>
> _________________________________________________________________
> Tired of spam? Get advanced junk mail protection with MSN 8.
> http://join.msn.com/?page=features/junkmail
timestamp inputs, I would suggest using an I2C real-time-clock,
something like the DS1307 that using I2C communications.
-- Jon Williams
-- Parallax
Original Message
From: Christian Wentz [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=UFUm-SUNfpcNtr033QV3IHItjNTo4J--Zoi-F25-loZyURj7osar4lFbxISVxggAEmu7YprFYr7_ig]cwentz86@h...[/url
Sent: Wednesday, July 30, 2003 12:04 AM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] precision timer and the bs2p
what is the best way to interface a 555 timer to the bs2p, to
"timestamp"
data inputs recieved from a DAC? or is there a better IC to use? I need
timing accurate to the 100-1000th of a sec.
Thanks
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject
and Body of the message will be ignored.
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
This message has been scanned by WebShield. Please report SPAM to
abuse@p....
relatively fast ADC's (200,000sps), but i'm considering running a basicx-01
chip from netmedia at 60,000 instructions/sec. Given those constraints, is
there an IC that can give .01-.001 resolution?
>From: "Allan Lane" <allan.lane@h...>
>Reply-To: basicstamps@yahoogroups.com
>To: basicstamps@yahoogroups.com
>Subject: [noparse][[/noparse]basicstamps] Re: precision timer and the bs2p
>Date: Wed, 30 Jul 2003 13:10:50 -0000
>
>1. I like the DS1302 time chip. Along with a
> 3 volt coin cell, and a 32.768 kHz crystal, you
> get times accurate to 1 second. This doesn't
> address your .01 to .001 second resolution though.
>
>2. The BS2 only does 2000 Instructions/Second.
> That's 2 instructions for each .001 second.
> This may not be a problem -- you can't take a
> sample every .001 second -- but the time stamp
> could be that accurate.
>
>3. A 555 makes a TERRIBLE timer. Its oscillator
> is only as accurate as the components you use,
> and varies a lot based on temperature.
>
>4. Reading a DAC can take some time. This too
> may distort the accuracy of your time stamp.
>
>5. If I HAD to do this with a stamp, I'd probably
> use a crystal oscillator circuit, driving a
> hardware counter circuit. I'd latch the
> 'current time' just before (or just after)
> the DAC reading, then read the 'current time'
> from the latched value while the counter
> continues to 'free-run'. If I wanted this
> tied to time-of-day, I'd use the 1302 to
> know when to send a 'reset' to the hardware
> counter circuit.
>
>--- In basicstamps@yahoogroups.com, "Christian Wentz" <cwentz86@h...>
>wrote:
> > what is the best way to interface a 555 timer to the bs2p,
>to "timestamp"
> > data inputs recieved from a DAC? or is there a better IC to use? I
>need
> > timing accurate to the 100-1000th of a sec.
> > Thanks
> >
> > _________________________________________________________________
> > Tired of spam? Get advanced junk mail protection with MSN 8.
> > http://join.msn.com/?page=features/junkmail
>
>
>To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
>from the same email address that you subscribed. Text in the Subject and
>Body of the message will be ignored.
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
>my setup is running a BS2P (12,000 instructions/sec) with an array of
>relatively fast ADC's (200,000sps), but i'm considering running a basicx-01
>chip from netmedia at 60,000 instructions/sec. Given those constraints, is
>there an IC that can give .01-.001 resolution?
real-time clock in it -- but you should ask
on their Forum.
--- In basicstamps@yahoogroups.com, "Christian Wentz" <cwentz86@h...>
wrote:
> my setup is running a BS2P (12,000 instructions/sec) with an array
of
> relatively fast ADC's (200,000sps), but i'm considering running a
basicx-01
> chip from netmedia at 60,000 instructions/sec. Given those
constraints, is
> there an IC that can give .01-.001 resolution?
>
>
> >From: "Allan Lane" <allan.lane@h...>
> >Reply-To: basicstamps@yahoogroups.com
> >To: basicstamps@yahoogroups.com
> >Subject: [noparse][[/noparse]basicstamps] Re: precision timer and the bs2p
> >Date: Wed, 30 Jul 2003 13:10:50 -0000
> >
> >1. I like the DS1302 time chip. Along with a
> > 3 volt coin cell, and a 32.768 kHz crystal, you
> > get times accurate to 1 second. This doesn't
> > address your .01 to .001 second resolution though.
> >
> >2. The BS2 only does 2000 Instructions/Second.
> > That's 2 instructions for each .001 second.
> > This may not be a problem -- you can't take a
> > sample every .001 second -- but the time stamp
> > could be that accurate.
> >
> >3. A 555 makes a TERRIBLE timer. Its oscillator
> > is only as accurate as the components you use,
> > and varies a lot based on temperature.
> >
> >4. Reading a DAC can take some time. This too
> > may distort the accuracy of your time stamp.
> >
> >5. If I HAD to do this with a stamp, I'd probably
> > use a crystal oscillator circuit, driving a
> > hardware counter circuit. I'd latch the
> > 'current time' just before (or just after)
> > the DAC reading, then read the 'current time'
> > from the latched value while the counter
> > continues to 'free-run'. If I wanted this
> > tied to time-of-day, I'd use the 1302 to
> > know when to send a 'reset' to the hardware
> > counter circuit.
> >
> >--- In basicstamps@yahoogroups.com, "Christian Wentz"
<cwentz86@h...>
> >wrote:
> > > what is the best way to interface a 555 timer to the bs2p,
> >to "timestamp"
> > > data inputs recieved from a DAC? or is there a better IC to
use? I
> >need
> > > timing accurate to the 100-1000th of a sec.
> > > Thanks
> > >
> > >
_________________________________________________________________
> > > Tired of spam? Get advanced junk mail protection with MSN 8.
> > > http://join.msn.com/?page=features/junkmail
> >
> >
> >To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> >from the same email address that you subscribed. Text in the
Subject and
> >Body of the message will be ignored.
> >
> >
> >Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
>
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
This will give your Stamp 'ticks' at intervals ranging from 5mS up to 1+
secs in 5mS increments - use Stamp 'Shiftout' to setup the 8 pin device - it
also buffers 57k baud in parallel, and costs <$12.
http://www.rhombus-tek.com/co-processors.html
http://www.rhombus-tek.com/SMt.htm
If that does not meet your speed needs, this definitely will:
http://www.rhombus-tek.com/avr-starter.html
and without the complexities of a BasicX 'RTOS'.
David Lawrence
Rhombus
Original Message
From: Allan Lane <allan.lane@h...>
To: <basicstamps@yahoogroups.com>
Sent: Wednesday, July 30, 2003 2:41 PM
Subject: [noparse][[/noparse]basicstamps] Re: precision timer and the bs2p
> I believe the BasicX processor has its own
> real-time clock in it -- but you should ask
> on their Forum.
>
> --- In basicstamps@yahoogroups.com, "Christian Wentz" <cwentz86@h...>
> wrote:
> > my setup is running a BS2P (12,000 instructions/sec) with an array
> of
> > relatively fast ADC's (200,000sps), but i'm considering running a
> basicx-01
> > chip from netmedia at 60,000 instructions/sec. Given those
> constraints, is
> > there an IC that can give .01-.001 resolution?
A selectable, accurate 'tick' generator
in an 8-pin package, WITH a receive-only
UART, no MAX232 needed. With this,
a BS2 can time-stamp its own readings
just by waiting for the 'tick'.
However, I couldn't find the link for
ordering your AVR package.
--- In basicstamps@yahoogroups.com, "David Lawrence" <david@r...>
wrote:
> Yes!
>
> This will give your Stamp 'ticks' at intervals ranging from 5mS up
to 1+
> secs in 5mS increments - use Stamp 'Shiftout' to setup the 8 pin
device - it
> also buffers 57k baud in parallel, and costs <$12.
> http://www.rhombus-tek.com/co-processors.html
> http://www.rhombus-tek.com/SMt.htm
>
> If that does not meet your speed needs, this definitely will:
> http://www.rhombus-tek.com/avr-starter.html
> and without the complexities of a BasicX 'RTOS'.
>
> David Lawrence
> Rhombus
>
>
>
>
>
Original Message
> From: Allan Lane <allan.lane@h...>
> To: <basicstamps@yahoogroups.com>
> Sent: Wednesday, July 30, 2003 2:41 PM
> Subject: [noparse][[/noparse]basicstamps] Re: precision timer and the bs2p
>
>
> > I believe the BasicX processor has its own
> > real-time clock in it -- but you should ask
> > on their Forum.
> >
> > --- In basicstamps@yahoogroups.com, "Christian Wentz"
<cwentz86@h...>
> > wrote:
> > > my setup is running a BS2P (12,000 instructions/sec) with an
array
> > of
> > > relatively fast ADC's (200,000sps), but i'm considering running
a
> > basicx-01
> > > chip from netmedia at 60,000 instructions/sec. Given those
> > constraints, is
> > > there an IC that can give .01-.001 resolution?
Thanks, you are right - and it will be added over the weekend - it is
already complete and running just great - costs less than $20 - I will
contact you off-list.
Original Message
From: Allan Lane <allan.lane@h...>
To: <basicstamps@yahoogroups.com>
Sent: Thursday, July 31, 2003 9:21 AM
Subject: [noparse][[/noparse]basicstamps] Re: precision timer and the bs2p
> Wow, very impressive.
> A selectable, accurate 'tick' generator
> in an 8-pin package, WITH a receive-only
> UART, no MAX232 needed. With this,
> a BS2 can time-stamp its own readings
> just by waiting for the 'tick'.
>
> However, I couldn't find the link for
> ordering your AVR package.
>
> --- In basicstamps@yahoogroups.com, "David Lawrence" <david@r...>
> wrote:
> > Yes!
> >
> > This will give your Stamp 'ticks' at intervals ranging from 5mS up
> to 1+
> > secs in 5mS increments - use Stamp 'Shiftout' to setup the 8 pin
> device - it
> > also buffers 57k baud in parallel, and costs <$12.
> > http://www.rhombus-tek.com/co-processors.html
> > http://www.rhombus-tek.com/SMt.htm
> >
> > If that does not meet your speed needs, this definitely will:
> > http://www.rhombus-tek.com/avr-starter.html
> > and without the complexities of a BasicX 'RTOS'.
> >
> > David Lawrence
> > Rhombus
> >
> >
> >
> >
> >
Original Message
> > From: Allan Lane <allan.lane@h...>
> > To: <basicstamps@yahoogroups.com>
> > Sent: Wednesday, July 30, 2003 2:41 PM
> > Subject: [noparse][[/noparse]basicstamps] Re: precision timer and the bs2p
> >
> >
> > > I believe the BasicX processor has its own
> > > real-time clock in it -- but you should ask
> > > on their Forum.
> > >
> > > --- In basicstamps@yahoogroups.com, "Christian Wentz"
> <cwentz86@h...>
> > > wrote:
> > > > my setup is running a BS2P (12,000 instructions/sec) with an
> array
> > > of
> > > > relatively fast ADC's (200,000sps), but i'm considering running
> a
> > > basicx-01
> > > > chip from netmedia at 60,000 instructions/sec. Given those
> > > constraints, is
> > > > there an IC that can give .01-.001 resolution?
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
'Simple Real-Time' solution. I'm
currently evaluating these for use.
More later.
--- In basicstamps@yahoogroups.com, "Allan Lane" <allan.lane@h...>
wrote:
> Wow, very impressive.
> A selectable, accurate 'tick' generator
> in an 8-pin package, WITH a receive-only
> UART, no MAX232 needed. With this,
> a BS2 can time-stamp its own readings
> just by waiting for the 'tick'.
>
> However, I couldn't find the link for
> ordering your AVR package.
>
> --- In basicstamps@yahoogroups.com, "David Lawrence" <david@r...>
> wrote:
> > Yes!
> >
> > This will give your Stamp 'ticks' at intervals ranging from 5mS
up
> to 1+
> > secs in 5mS increments - use Stamp 'Shiftout' to setup the 8 pin
> device - it
> > also buffers 57k baud in parallel, and costs <$12.
> > http://www.rhombus-tek.com/co-processors.html
> > http://www.rhombus-tek.com/SMt.htm
> >
> > If that does not meet your speed needs, this definitely will:
> > http://www.rhombus-tek.com/avr-starter.html
> > and without the complexities of a BasicX 'RTOS'.
> >
> > David Lawrence
> > Rhombus
> >
> >
> >
> >
> >
Original Message
> > From: Allan Lane <allan.lane@h...>
> > To: <basicstamps@yahoogroups.com>
> > Sent: Wednesday, July 30, 2003 2:41 PM
> > Subject: [noparse][[/noparse]basicstamps] Re: precision timer and the bs2p
> >
> >
> > > I believe the BasicX processor has its own
> > > real-time clock in it -- but you should ask
> > > on their Forum.
> > >
> > > --- In basicstamps@yahoogroups.com, "Christian Wentz"
> <cwentz86@h...>
> > > wrote:
> > > > my setup is running a BS2P (12,000 instructions/sec) with an
> array
> > > of
> > > > relatively fast ADC's (200,000sps), but i'm considering
running
> a
> > > basicx-01
> > > > chip from netmedia at 60,000 instructions/sec. Given those
> > > constraints, is
> > > > there an IC that can give .01-.001 resolution?
--- In basicstamps@yahoogroups.com, "Allan Lane" <allan.lane@h...>
wrote:
> David has a very nice 8-pin 'SMt'
> 'Simple Real-Time' solution. I'm
> currently evaluating these for use.
>
> More later.
>
> --- In basicstamps@yahoogroups.com, "Allan Lane" <allan.lane@h...>
> wrote:
> > Wow, very impressive.
> > A selectable, accurate 'tick' generator
> > in an 8-pin package, WITH a receive-only
> > UART, no MAX232 needed. With this,
> > a BS2 can time-stamp its own readings
> > just by waiting for the 'tick'.
> >
> > However, I couldn't find the link for
> > ordering your AVR package.
> >
> > --- In basicstamps@yahoogroups.com, "David Lawrence" <david@r...>
> > wrote:
> > > Yes!
> > >
> > > This will give your Stamp 'ticks' at intervals ranging from 5mS
> up
> > to 1+
> > > secs in 5mS increments - use Stamp 'Shiftout' to setup the 8
pin
> > device - it
> > > also buffers 57k baud in parallel, and costs <$12.
> > > http://www.rhombus-tek.com/co-processors.html
> > > http://www.rhombus-tek.com/SMt.htm
> > >
> > > If that does not meet your speed needs, this definitely will:
> > > http://www.rhombus-tek.com/avr-starter.html
> > > and without the complexities of a BasicX 'RTOS'.
> > >
> > > David Lawrence
> > > Rhombus
> > >
> > >
> > >
> > >
> > >
Original Message
> > > From: Allan Lane <allan.lane@h...>
> > > To: <basicstamps@yahoogroups.com>
> > > Sent: Wednesday, July 30, 2003 2:41 PM
> > > Subject: [noparse][[/noparse]basicstamps] Re: precision timer and the bs2p
> > >
> > >
> > > > I believe the BasicX processor has its own
> > > > real-time clock in it -- but you should ask
> > > > on their Forum.
> > > >
> > > > --- In basicstamps@yahoogroups.com, "Christian Wentz"
> > <cwentz86@h...>
> > > > wrote:
> > > > > my setup is running a BS2P (12,000 instructions/sec) with
an
> > array
> > > > of
> > > > > relatively fast ADC's (200,000sps), but i'm considering
> running
> > a
> > > > basicx-01
> > > > > chip from netmedia at 60,000 instructions/sec. Given those
> > > > constraints, is
> > > > > there an IC that can give .01-.001 resolution?
one from Blue Bell Design Inc. (www.bluebelldesign.com)
The Blue Bell Design Co-Processor has 8 timers (all independent)
that can time from 20 ms to 5.1 seconds in 20 ms increments. One of
the timers can also be run in Auto-Retrigger mode for best accuracy
in clock type applications. All 8 timers output to a single Timer-
Complete line so the timers are easy to check for timeout. A byte is
read (serial) to see which timer(s) timed out since the last time
the status was checked.
Simple multitasking (i.e. walking and chewing gum) by using timers
is the basis of Blue Bell's recent ad campaign in Nuts & Volts.
The Co-Processor also 5 channels of 10-bit A/D, 8 channels of
ramping servo controllers (or G.P. outputs), IRPD, bumper inputs,
and, for wheeled robots like a BoE-Bot, a built-in Subsumption
Engine.
A kit is available with a PCB that goes directly under a BoE or
Toddler PCB for easy mounting.
A complete controller board with a 2p40 main processor or bare chips
are also available.
For example code etc, you can check the website
(www.bluebelldesign.com) or the appendix of the latest Toddler
manual.
For the record, I am employed by Blue Bell Design.
Harry
Stamp Robotics to the next level
www.bluebelldesign.com
--- In basicstamps@yahoogroups.com, "Allan Lane" <allan.lane@h...>
wrote:
> DOH, that's 'Simple Multi-task' (SMt) solution.
>
> --- In basicstamps@yahoogroups.com, "Allan Lane" <allan.lane@h...>
> wrote:
> > David has a very nice 8-pin 'SMt'
> > 'Simple Real-Time' solution. I'm
> > currently evaluating these for use.
> >
> > More later.
> >
> > --- In basicstamps@yahoogroups.com, "Allan Lane"
<allan.lane@h...>
> > wrote:
> > > Wow, very impressive.
> > > A selectable, accurate 'tick' generator
> > > in an 8-pin package, WITH a receive-only
> > > UART, no MAX232 needed. With this,
> > > a BS2 can time-stamp its own readings
> > > just by waiting for the 'tick'.
> > >
> > > However, I couldn't find the link for
> > > ordering your AVR package.
> > >
> > > --- In basicstamps@yahoogroups.com, "David Lawrence"
<david@r...>
> > > wrote:
> > > > Yes!
> > > >
> > > > This will give your Stamp 'ticks' at intervals ranging from
5mS
> > up
> > > to 1+
> > > > secs in 5mS increments - use Stamp 'Shiftout' to setup the 8
> pin
> > > device - it
> > > > also buffers 57k baud in parallel, and costs <$12.
> > > > http://www.rhombus-tek.com/co-processors.html
> > > > http://www.rhombus-tek.com/SMt.htm
> > > >
> > > > If that does not meet your speed needs, this definitely will:
> > > > http://www.rhombus-tek.com/avr-starter.html
> > > > and without the complexities of a BasicX 'RTOS'.
> > > >
> > > > David Lawrence
> > > > Rhombus
> > > >
> > > >
> > > >
> > > >
> > > >
Original Message
> > > > From: Allan Lane <allan.lane@h...>
> > > > To: <basicstamps@yahoogroups.com>
> > > > Sent: Wednesday, July 30, 2003 2:41 PM
> > > > Subject: [noparse][[/noparse]basicstamps] Re: precision timer and the bs2p
> > > >
> > > >
> > > > > I believe the BasicX processor has its own
> > > > > real-time clock in it -- but you should ask
> > > > > on their Forum.
> > > > >
> > > > > --- In basicstamps@yahoogroups.com, "Christian Wentz"
> > > <cwentz86@h...>
> > > > > wrote:
> > > > > > my setup is running a BS2P (12,000 instructions/sec)
with
> an
> > > array
> > > > > of
> > > > > > relatively fast ADC's (200,000sps), but i'm considering
> > running
> > > a
> > > > > basicx-01
> > > > > > chip from netmedia at 60,000 instructions/sec. Given
those
> > > > > constraints, is
> > > > > > there an IC that can give .01-.001 resolution?