Shop OBEX P1 Docs P2 Docs Learn Events
low cost ADC — Parallax Forums

low cost ADC

ArchiverArchiver Posts: 46,084
edited 2000-08-11 16:11 in General Discussion
Hi All!

I am looking for an inexpensive ADC for use with the BS2. I need to
sample at least 5 inputs simultaneously (or nearly so). The inputs
would ideally receive a pulse from a flexible piezoelectric transducer.
I was hoping to be able to do this without further signal conditioning.
The transducers already provide a 0-5 V pulse. I am a total novice
with ADC's and know that many of you use the MAX186 ADC ($30-40 on
website - can this be right??). I know I can get free samples but would
like to find one that will be cost effective for mass production
($1-10). Is this realistic? I know many PICS have onboard ADCs. Would
this be a more sensible choice? Any specific models you can recommend?
Thanks in advance!

Randy Myers

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-08-11 08:28
    A cheap solution would be a pic16f877 (8 ADC's, 33I/O's, 8Kb program
    memory,...).
    If you buy the pbp compiler from melabs you get the same instruction set as
    the stamp but compiled and with some extra instructions (like a real if ...
    then ... else). You can buy this chip for $7 from Crownhill. Of course you
    have to buy the compiler and a programmer but if you want to make a couple
    of these you will have your money back fast! (and there are other solutions
    from Microchip that are cheaper than the 16f877)


    > Hi All!
    >
    > I am looking for an inexpensive ADC for use with the BS2. I need to
    > sample at least 5 inputs simultaneously (or nearly so). The inputs
    > would ideally receive a pulse from a flexible piezoelectric transducer.
    > I was hoping to be able to do this without further signal conditioning.
    > The transducers already provide a 0-5 V pulse. I am a total novice
    > with ADC's and know that many of you use the MAX186 ADC ($30-40 on
    > website - can this be right??). I know I can get free samples but would
    > like to find one that will be cost effective for mass production
    > ($1-10). Is this realistic? I know many PICS have onboard ADCs. Would
    > this be a more sensible choice? Any specific models you can recommend?
    > Thanks in advance!
    >
    > Randy Myers
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-08-11 09:02
    Thanks Thierry!

    Do you happen to know if there are any PICs that "track and hold" as do some
    ADCs? I would like to sample multiple simultaneous peak readings of the
    piezoelectric transducers.
  • ArchiverArchiver Posts: 46,084
    edited 2000-08-11 16:11
    You may also want to take a look at our web site. We have
    the 8-pin PIC12C671 programmed as an 8-bit, "Serial" AD
    converter.

    This PIC is programmed to sample 4 individual analog channels
    and send the value of each reading out "Serially". The format is:

    N9600 baud
    Channel #, AD reading. For all four -- channels.

    These make adding 4-channel, 8-bit, serial AD to any
    BASIC Stamp application simple & affordable. You only need
    to commit a "single I/O-pin" to use them, and they sample
    continously. You just read - in the serial data when you need
    the sample.

    If you already have PicBasic, or PicBasic Pro, you can have
    the source-code for FREE to make your own 4-channel, serial
    ADC ICs. If you don't own PicBasic, we sell the pre-programmed
    PIC12C671s also, and they work excellent with Stamp-based
    applications.

    Here's where to find them:
    http://www.rentron.com/four-channel-ad.htm

    Regards,

    Bruce Reynolds
    webmaster@r...

    Original Message
    From: "Thierry Vanmarcke" <tvm@p...>
    To: <basicstamps@egroups.com>
    Sent: Friday, August 11, 2000 1:28 AM
    Subject: Re: [noparse][[/noparse]basicstamps] low cost ADC


    | A cheap solution would be a pic16f877 (8 ADC's, 33I/O's, 8Kb program
    | memory,...).
    | If you buy the pbp compiler from melabs you get the same instruction set as
    | the stamp but compiled and with some extra instructions (like a real if ...
    | then ... else). You can buy this chip for $7 from Crownhill. Of course you
    | have to buy the compiler and a programmer but if you want to make a couple
    | of these you will have your money back fast! (and there are other solutions
    | from Microchip that are cheaper than the 16f877)
    |
    |
    | > Hi All!
    | >
    | > I am looking for an inexpensive ADC for use with the BS2. I need to
    | > sample at least 5 inputs simultaneously (or nearly so). The inputs
    | > would ideally receive a pulse from a flexible piezoelectric transducer.
    | > I was hoping to be able to do this without further signal conditioning.
    | > The transducers already provide a 0-5 V pulse. I am a total novice
    | > with ADC's and know that many of you use the MAX186 ADC ($30-40 on
    | > website - can this be right??). I know I can get free samples but would
    | > like to find one that will be cost effective for mass production
    | > ($1-10). Is this realistic? I know many PICS have onboard ADCs. Would
    | > this be a more sensible choice? Any specific models you can recommend?
    | > Thanks in advance!
    | >
    | > Randy Myers
    | >
    | >
    | >
    | >
    | >
    |
    |
    |
    |
    |
Sign In or Register to comment.