Yahoo Groups archive

Lpc2000

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

Thread

Hello all....

Hello all....

2006-05-16 by not gonna tell ya.....

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.......

Re: Hello all....

2006-05-16 by leon_heller

--- 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

Re: [lpc2000] Hello all....

2006-05-16 by jk jlkj

Hi there,
   
  It was good to here from a person who is involved in building mobile robots. I hope u dont mind me asking questions, as I am myself interested in building one. 
   
  Where are you located and do u build the robots as a hobby or as a profession? 
  What do the mobile robots do? 
  How much would it cost to build a mobile robot?
  Do you use pwm to control the motor speed, direction or both and how?
   
  Regards.
  Jerome
  

"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.......




    
---------------------------------
  YAHOO! GROUPS LINKS 

    
    Visit your group "lpc2000" on the web.
    
    To unsubscribe from this group, send an email to:
 lpc2000-unsubscribe@yahoogroups.com
    
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 

    
---------------------------------
  



				
---------------------------------
 Why was V. Sehwag warned by the BCCI? Share your knowledge on Yahoo! Answers India
 Send instant messages to your online friends - NOW

[Non-text portions of this message have been removed]

Re: Hello all....

2006-05-16 by not gonna tell ya.....

--- 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, 
Show quoted textHide quoted text
> you should be able to do the sums for yourself.
> 
> Leon
>

Re: [lpc2000] Re: Hello all....

2006-05-16 by Mukund Deshmukh

> 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.

Use Ultrasonic emmiter and detector, the speed of sound is much lower than
light.


Best Regards,

Mukund Deshmukh.
Beta Computronics Pvt Ltd
10/1, IT Park, Parsodi,
Nagpur-440022
Cell - 9422113746

Re: Hello all....

2006-05-16 by not gonna tell ya.....

--- Thanks for the reply,
 I'm currently in Iraq serving our Great Country.
As for mobile robotics most of the time it was something relatively 
simple. I built a platform using 2 hobby servos as drive motors
(modified for continous rotation) with a swivel wheel in the back. 
PWM to control each motor for skid-steer like steering.
 Bumper switches in the front for close object detection, sonar for 
distances up to around 5 or 6 meters, I2C interface for a small LCD. 
Nothing very fancy, just a mobile "test bed" to practice coding and 
interfaces.
 As far as prices if you want to use off the shelf parts and boards 
something small like i described (around a foot square)could be built 
for around $200. If you want to build your own boards and interfaces 
you could get going for less than 1/2 that.


 In lpc2000@yahoogroups.com, jk jlkj <njad2002@...> wrote:
>
> Hi there,
>    
>   It was good to here from a person who is involved in building 
mobile robots. I hope u dont mind me asking questions, as I am myself 
interested in building one. 
>    
>   Where are you located and do u build the robots as a hobby or as 
a profession? 
>   What do the mobile robots do? 
>   How much would it cost to build a mobile robot?
>   Do you use pwm to control the motor speed, direction or both and 
how?
>    
>   Regards.
>   Jerome
>   
> 
> "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.......
> 
> 
> 
> 
>     
> ---------------------------------
>   YAHOO! GROUPS LINKS 
> 
>     
>     Visit your group "lpc2000" on the web.
>     
>     To unsubscribe from this group, send an email to:
>  lpc2000-unsubscribe@yahoogroups.com
>     
>     Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service. 
> 
>     
> ---------------------------------
>   
> 
> 
> 
> 				
> ---------------------------------
>  Why was V. Sehwag warned by the BCCI? Share your knowledge on 
Yahoo! Answers India
Show quoted textHide quoted text
>  Send instant messages to your online friends - NOW
> 
> [Non-text portions of this message have been removed]
>

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 
Show quoted textHide quoted text
> > 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
> >
>

Re: [lpc2000] Re: Hello all....

2006-05-16 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "brendanmurphy37" <brendanmurphy37@...>
To: <lpc2000@yahoogroups.com>
Sent: Tuesday, May 16, 2006 2:35 PM
Subject: [lpc2000] Re: Hello all....



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!

I'd use a CPLD or FPGA to do the timing. The commercial systems probably do 
it that way.

Leon 

---
[This E-mail has been scanned for viruses but it is your responsibility 
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]

Re: [lpc2000] Re: Hello all....

2006-05-16 by Onestone

I thought the commercial systems used phase shift to determine distance?

Al

Leon Heller wrote:
Show quoted textHide quoted text
>----- Original Message ----- 
>From: "brendanmurphy37" <brendanmurphy37@...>
>To: <lpc2000@yahoogroups.com>
>Sent: Tuesday, May 16, 2006 2:35 PM
>Subject: [lpc2000] Re: Hello all....
>
>
>
>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!
>
>I'd use a CPLD or FPGA to do the timing. The commercial systems probably do 
>it that way.
>
>Leon 
>
>---
>[This E-mail has been scanned for viruses but it is your responsibility 
>to maintain up to date anti virus software on the device that you are
>currently using to read this email. ]
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>
>
>  
>

Re: Hello all....

2006-05-16 by rtstofer

--- In lpc2000@yahoogroups.com, Onestone <onestone@...> wrote:
>
> I thought the commercial systems used phase shift to determine distance?
> 
> Al

I believe the phase shift approach is used to measure distance moved,
not absolute position.  Laser interferometry (counting interference
fringes or counting wave nulls) has been around for many years.  We
used it to calibrate the optical encoders on numerical control
equipment way back in the late '60s.

Richard

Re: [lpc2000] Re: Hello all....

2006-05-16 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "Onestone" <onestone@...>
To: <lpc2000@yahoogroups.com>
Sent: Tuesday, May 16, 2006 3:15 PM
Subject: Re: [lpc2000] Re: Hello all....


>I thought the commercial systems used phase shift to determine distance?
> 

Some measure the time for the pulse to return:

http://www.acuityresearch.com/products/ar4000/index.shtml

http://near.jhuapl.edu/fact_sheets/NLR.pdf

Leon
---
[This E-mail has been scanned for viruses but it is your responsibility 
to maintain up to date anti virus software on the device that you are
currently using to read this email. ]

Re: Hello all....

2006-05-16 by brendanmurphy37

They're measuring distances of kms, to an acuracy of 6m (still in 
the 20ns range in terms of time, though).

As I said, a tough enough job using a standard micro. I think if 
you're going to use this technique, you'd need some piece of 
hardware on the front-end with a fast clock driving it to get the 
kind of acuracy to make it useful. In which case, the speed of the 
micro isn't too relevant.

There are other better approaches, I'm sure.

Brendan

--- In lpc2000@yahoogroups.com, "Leon Heller" <leon.heller@...> 
wrote:
>
> ----- Original Message ----- 
> From: "Onestone" <onestone@...>
> To: <lpc2000@yahoogroups.com>
> Sent: Tuesday, May 16, 2006 3:15 PM
> Subject: Re: [lpc2000] Re: Hello all....
> 
> 
> >I thought the commercial systems used phase shift to determine 
distance?
> > 
> 
> Some measure the time for the pulse to return:
> 
> http://www.acuityresearch.com/products/ar4000/index.shtml
> 
> http://near.jhuapl.edu/fact_sheets/NLR.pdf
> 
> Leon
> ---
> [This E-mail has been scanned for viruses but it is your 
responsibility 
> to maintain up to date anti virus software on the device that you 
are
> currently using to read this email. ]
>

Re: [lpc2000] Re: Hello all....

2006-05-17 by Onestone

I'm going back in time here to a reflectometer system I was involved 
with from '85 to '89. It used both reflected signal strength and phase 
shift to measure the thickness of deposition layers down to Angstroms. 
Absloute distance is measured in a similar fashion using CW radar, by 
modulation of the transmitted frequency, but I'm not into lasers enough 
to know if that is a comon technique.

Al

rtstofer wrote:
Show quoted textHide quoted text
>--- In lpc2000@yahoogroups.com, Onestone <onestone@...> wrote:
>  
>
>>I thought the commercial systems used phase shift to determine distance?
>>
>>Al
>>    
>>
>
>I believe the phase shift approach is used to measure distance moved,
>not absolute position.  Laser interferometry (counting interference
>fringes or counting wave nulls) has been around for many years.  We
>used it to calibrate the optical encoders on numerical control
>equipment way back in the late '60s.
>
>Richard
>
>
>
>
>
>
>
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>  
>

Re: Hello all....

2006-05-17 by not gonna tell ya.....

--- The approach i had conceived was to count the time required for a 
pulse to send and return, something i'm somewhat familiar with in 
using hobby ultrasonic transducers. Affordable Ultrasonic equipment 
is usually limited to ~10 meters, too short to be practical for my 
wants.
 I'll google CPLD and FPGA to see what info i can find, thanks for 
that.
 Actually the laser range finder was just an idea of something i 
wanted to build, i've never seen a homebrew version(might be a reason 
for that)and thought it would be interesting.
 One of the reasons i joined this group was to get input from other 
users......Thank you all who replyed.
 Just one more piece of info to anyone who might want to share. Which 
flavor of 2000 might be the most practical for the needs/wants in my 
original post?
 Thanks again...





In lpc2000@yahoogroups.com, "brendanmurphy37" <brendanmurphy37@...> 
wrote:
Show quoted textHide quoted text
>
> 
> They're measuring distances of kms, to an acuracy of 6m (still in 
> the 20ns range in terms of time, though).
> 
> As I said, a tough enough job using a standard micro. I think if 
> you're going to use this technique, you'd need some piece of 
> hardware on the front-end with a fast clock driving it to get the 
> kind of acuracy to make it useful. In which case, the speed of the 
> micro isn't too relevant.
> 
> There are other better approaches, I'm sure.
> 
> Brendan
> 
> --- In lpc2000@yahoogroups.com, "Leon Heller" <leon.heller@> 
> wrote:
> >
> > ----- Original Message ----- 
> > From: "Onestone" <onestone@>
> > To: <lpc2000@yahoogroups.com>
> > Sent: Tuesday, May 16, 2006 3:15 PM
> > Subject: Re: [lpc2000] Re: Hello all....
> > 
> > 
> > >I thought the commercial systems used phase shift to determine 
> distance?
> > > 
> > 
> > Some measure the time for the pulse to return:
> > 
> > http://www.acuityresearch.com/products/ar4000/index.shtml
> > 
> > http://near.jhuapl.edu/fact_sheets/NLR.pdf
> > 
> > Leon
> > ---
> > [This E-mail has been scanned for viruses but it is your 
> responsibility 
> > to maintain up to date anti virus software on the device that you 
> are
> > currently using to read this email. ]
> >
>

Re: Hello all....

2006-05-17 by rtstofer

Which 
> flavor of 2000 might be the most practical for the needs/wants in my 
> original post?
>  Thanks again...
> 

Wander over to Sparkfun and see what they have:
http://www.sparkfun.com/commerce/categories.php?cPath=2_25

So much depends on what you want to do.  Personally, I have the
LPC2106 header board and the Prototyping Board for LPC2106.  My next
board will be the Prototyping Board for the LPC2148 because it has the
MMC/SD socket already mounted.

I have been doing a lot of stuff with compact flash on the 2106 but it
takes too many pins.  I don't have enough left to use JTAG.  The 2148
will solve that in two ways: first, the MMC/SD is serial versus
parallel for the CF and second, the device has more pins.

It's pretty hard to go wrong with the LPC2106 Prototyping Board and
James Lynch's Tutorial (search the archives here or download version 3
here http://tinyurl.com/camje  11MB).

No matter which board you start with, you will eventually settle in on
something different.

Richard

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.