Discussion forum for the BasicX family of microcontroller chips.
|
Tony Thanks so much for going through the trouble to find this for me. Thank you Ron A. Nucci -----Original Message----- From: Tony Brenke <> To: <> Date: Thursday, March 15, 2001 9:51 PM Subject: Re: [BasicX] GP2D12 and BX24-answer >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 > >__________________________________________________ |