18F4520 A/D working weird


Closed Thread
Results 1 to 18 of 18

Hybrid View

  1. #1
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    TurboLS,

    give us an idea what you "analog signal" looks like and where it is comming from.
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  2. #2
    TurboLS's Avatar
    TurboLS Guest


    Did you find this post helpful? Yes | No

    Default

    The analog signal is coming from a sample and hold op amp that is sampling an analog video signal coming from a CCD chip. Please click on the following link and look at the Vout signal on page 13 of the PDF. That is the signal we are getting before we attach the PIC chip.

    http://www.kodak.com/global/plugins/...2ELongSpec.pdf

    Then when we attach it, the signal gets loaded down and all we get is noise in the A/D. thanks again for takin a look.

  3. #3
    TurboLS's Avatar
    TurboLS Guest


    Did you find this post helpful? Yes | No

    Question

    I also tried putting the signal through a buffering op amp and that doesn't seem to help. For some reason, the A/D input of the PIC does not like the signal coming from output of the buffer, nor does it like the input of our sample and hold circuitry, nor the signal coming directly from the CCD. So we tried to amplify the signal before buffering it and the output just becomes noisy as hell with or without the PIC connected.

    HELP!

  4. #4
    TurboLS's Avatar
    TurboLS Guest


    Did you find this post helpful? Yes | No

    Question

    Is there any way to set PORTA.0 as a low impedance input???

  5. #5
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    we tried to amplify the signal before buffering it and the output just becomes noisy as hell with or without the PIC connected.
    So it's not a PIC problem, it's more a problem with the output of your sensor.

    Is there any way to set PORTA.0 as a low impedance input???
    With external hardware.


    It's still not really clear to me what you are trying to achieve.

    What does the timing of the analog signal look like?
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  6. #6
    TurboLS's Avatar
    TurboLS Guest


    Did you find this post helpful? Yes | No

    Default

    I would post the picture from that PDF file if I could. But the signal I get before the PIC is just like the one on page 13 labeled "Vout" and it is in phase with the horizontal clocks and the reset clock in that same corner of the page. I figured that putting the signal through a buffer would take care of the low impedance issue, but it doesn't. What external hardware would you recommend for lowering the impedance??

  7. #7
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    opamp, transistors, mosfet, fet.... usually opamp
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. 12f675 A/d Miseries
    By MARAD75 in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 16th December 2008, 03:16
  2. 12F675 A/D and GPIO sleep interrupt
    By macinug in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 8th September 2008, 15:39
  3. Need advice on A/D
    By james in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 24th August 2007, 20:30
  4. A/D converter fails?
    By egberttheone in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 13th February 2006, 19:57
  5. Replies: 2
    Last Post: - 13th September 2005, 19:23

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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