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 | GP2D12 and BX24

Discussion forum for the BasicX family of microcontroller chips.

Re: GP2D12 and BX24 - Brice D. Hornback - Mar 15 15:41:00 2001

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]




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


GP2D12 and BX24 - Ron A. Nucci - Mar 15 15:45:00 2001

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]





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

Re: GP2D12 and BX24 - Tony Brenke - Mar 15 17:38:00 2001

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

__________________________________________________






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

Re: GP2D12 and BX24-answer - Tony Brenke - Mar 16 0:51:00 2001

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 )