Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | Re: GP2D12 and BX24-answer

Discussion forum for the BasicX family of microcontroller chips.

Re: GP2D12 and BX24-answer - Ron A. Nucci - Mar 16 1:07:00 2001

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





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )