+ Reply to Thread
Results 1 to 5 of 5

Thread: 12 Bit A/D converter

  1. #1

    Default 12 Bit A/D converter

    Hi,
    I'm trying to operate the 12 bit A/D converter that can be purchased via Parallax.ˇ I have the program that is provided via the link and am wondering if it is possible to read only 1 of the two channels and use the result in an IF....THEN situatiion to signal an I/O pin to sound an alarm.ˇ Also, if this is possible, I am wondering how this is so.ˇˇAttached is the program that is found on the link and what I've used.ˇ Thank you very much as I greatly appreciate any help and have a great safe day!

    Attached Files Attached Files
    Last edited by ForumTools; 10-01-2010 at 11:06 AM. Reason: Forum Migration

  2. #2

    Default

    Hello J.M.

    I am currently using the same ADC for a project.ˇ You can select just ch0 or ch1 on your ADC.ˇ Take the | statement out of your code that ORs config.ˇ Then you can make the 3rd bit of config a constant for channel 0 or 1.ˇ Hope that helps.
    Last edited by ForumTools; 10-01-2010 at 11:06 AM. Reason: Forum Migration

  3. #3
    sam_sam_sam's Avatar
    Location
    Propeller Proto Board........> Sunny Jacksonville FL
    Posts
    2,149
    Blog Entries
    2

    Default

    JJ
    Can you post the link where you got that code from

    Many Thanks if you could do this

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ˇˇThanks for anyˇˇthat you may have and all of your time finding them

    ˇ
    ˇ
    ˇ
    ˇ
    Sam
    Last edited by ForumTools; 10-01-2010 at 11:06 AM. Reason: Forum Migration

  4. #4

    Default

    http://www.parallax.com/Portals/0/Do...it/ltc1298.pdf

    The code can be found on pages 7 & 8.

    Thank you!
    Last edited by ForumTools; 10-01-2010 at 11:06 AM. Reason: Forum Migration

  5. #5
    sam_sam_sam's Avatar
    Location
    Propeller Proto Board........> Sunny Jacksonville FL
    Posts
    2,149
    Blog Entries
    2

    Default

    j.m.krell

    Thanks for the link to these pages

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ˇˇThanks for anyˇˇthat you may have and all of your time finding them

    ˇ
    ˇ
    ˇ
    ˇ
    Sam
    Last edited by ForumTools; 10-01-2010 at 11:06 AM. Reason: Forum Migration

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts