Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: Hello all....

2006-05-16 by brendanmurphy37

You might want to do some basic sums before you start. Light goes at 
approximately 300 million metres/second. To measure to an accuracy 
of a meter would thus require an accuracy of clock the inverse of 
this (3ns or so). On any micro this is a major challange....

I'd suggest you use a different technique!

Brendan

--- In lpc2000@yahoogroups.com, "not gonna tell ya....." 
<vidio1@...> wrote:
>
> --- Thanks for the reply.
> Yes i could do the "sums" myself. I guess in retrospect i should 
have 
> asked if anyone had a favorite board for the 2000 series that 
might 
> meet my wants.
>  One of the problems with using light is it's speed. A detector 
> should work something like: pulse a laser, wait on laser to return 
to 
> detector, divide the time required between pulse and detection by 
> speed of light, look-up time as feet or inches, display on lcd to 
> make user friendly.
>  All these processing cycles happen more quickly than a 
> typical "hobby" micro can process. If i were better at coding i 
could 
> probably figure out how to ignore the first few "returns" after 
> sending several pings of light, giving the micro more time to 
react 
> and averaging the return in time to display on a lcd.
> 
> 
> 
> 
> 
> In lpc2000@yahoogroups.com, "leon_heller" <leon.heller@> wrote:
> >
> > --- In lpc2000@yahoogroups.com, "not gonna tell ya....." 
<vidio1@> 
> > wrote:
> > >
> > >  Newbie here, I just joined to look around for 
links,files,advice 
> > in 
> > > choosing a new micro. I recently got a little spare time on my 
> > hands 
> > > and decided to break out a few odds and ends i had played with 
a 
> > couple 
> > > of years ago.
> > >  I currently have an OOPic micro if anyone is familiar with 
> these. 
> > I've 
> > > used it mostly for small mobile robotics. But after working 
with 
> it 
> > for 
> > > the past few days i quickly decided i wanted something a 
little 
> > faster. 
> > > I've still got a ton to learn about programming, mechanical 
> > interfaces 
> > > are my strong suit.
> > >  I believe at this point i would like to have speed,USB 
instead 
> of 
> > > serial or bluetooth would be even better, larger memory until 
i 
> can 
> > > learn to clean up messy code,I2C mostly for lcd, PWM for motor 
> > control, 
> > > and as many I/O lines as practical.
> > >  One of the projects i have in mind is a laser range finder. 
Any 
> > > suggestions toward a micro that might meet my wants and is 
fast 
> > enough 
> > > to process a laser ping would be helpful.
> > >  Thanks.......
> > >
> > 
> > If you know the distance you want to measure, and the speed of 
> light, 
> > you should be able to do the sums for yourself.
> > 
> > Leon
> >
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.