Range Finder with Laser pointers


Results 1 to 5 of 5

Threaded View

  1. #3
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: Range Finder with Laser pointers

    First of all you need to convert the pot resistance into degree (your angle theta). To do that use, you can use few points as:

    90 degrees position = Ohms
    60 degrees position = Ohms
    45 degrees position = Ohms
    30 degrees position = Ohms
    0 degree position = Ohms

    Use the above value to find the regression curve (use excel) . If the regression is acceptable then you have the formula for converting your Ohms value into degree, if not you will need a lookup table.

    Once you have the degree value of the angle of your laser pointer #1 (theta), extract the tangent and do this simple math: Segment B = Segment A/tan (theta)

    If you will suceed in getting the hypotenuse (as suggested by scalerobotics) then

    Segment B = SQR(( hypotenuse * hypotenuse) - (Segment A * Segment A))

    Cheers

    Al.
    Last edited by aratti; - 12th February 2011 at 16:17.
    All progress began with an idea

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts