Discussion forum for the BasicX family of microcontroller chips.
|
I would be interested in this as well as code for the GP2DO2 and GP2DO5. Thanks, Brice ----- Original Message ----- From: Ron A. Nucci To: Cc: Sent: Thursday, March 15, 2001 3:45 PM Subject: [BasicX] GP2D12 and BX24 I am using the Sharp GP2D12 with a BX24 on my robot. Before I reinvent the wheel - is anyone using this combination ? If so do you have a software routine to normalize the output from the BX24's 10 bit A/D to make the GP2D12's output linear ? I don't care if its calibrated in inches or centimeters. Thank you Ron A. Nucci [Non-text portions of this message have been removed] Yahoo! Groups Sponsor Click here for Classmates.com Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. [Non-text portions of this message have been removed] |
|
I am using the Sharp GP2D12 with a BX24 on my robot. Before I reinvent the wheel - is anyone using this combination ? If so do you have a software routine to normalize the output from the BX24's 10 bit A/D to make the GP2D12's output linear ? I don't care if its calibrated in inches or centimeters. Thank you Ron A. Nucci [Non-text portions of this message have been removed] |
|
|
|
there was one for this. I made a printout of it. and of course it is at home. I'll sent you the formula after work today. (after 6:30) --- "Ron A. Nucci" <> wrote: > I am using the Sharp GP2D12 with a BX24 on my robot. > > Before I reinvent the wheel - is anyone using this combination ? > > If so do you have a software routine to normalize the output from the > BX24's 10 bit A/D to make the GP2D12's output linear ? > > I don't care if its calibrated in inches or centimeters. > > Thank you > > Ron A. Nucci > [Non-text portions of this message have been removed] > ------------------------ Yahoo! Groups Sponsor > > ===== Tony Brenke North Tacoma, WA __________________________________________________ |
|
|
|
after searching through all the papers on my desk I have finaly found the posting that I had saved. from Alex Brown distance = k / voltage where k, of cource, depends on the output of your paticular A/D converter. for my 68HC912 the equation is: distance (in inches)= 686/(atd output)+.5 where .5 is a minor fudge factor to account for a small offset in the data. --- Tony Brenke <> wrote: > there was one for this. > I made a printout of it. > > and of course it is at home. > I'll sent you the formula after work today. (after 6:30) > --- "Ron A. Nucci" <> wrote: > > I am using the Sharp GP2D12 with a BX24 on my robot. > > > > Before I reinvent the wheel - is anyone using this combination ? > > > > If so do you have a software routine to normalize the output from > the > > BX24's 10 bit A/D to make the GP2D12's output linear ? > > > > I don't care if its calibrated in inches or centimeters. > > > > Thank you > > > > Ron A. Nucci > > > > > > [Non-text portions of this message have been removed] > > > > > > ------------------------ Yahoo! Groups Sponsor > > > > > > > > > > > > ===== > Tony Brenke > North Tacoma, WA > > __________________________________________________ > > ------------------------ Yahoo! Groups Sponsor > > ===== Tony Brenke North Tacoma, WA __________________________________________________ |