Analog port newbie questions


Results 1 to 10 of 10

Threaded View

  1. #1
    Join Date
    Feb 2008
    Posts
    13

    Default Analog port newbie questions

    Hi guys,

    Im having trouble using the analog port. Regarding the analog port A, is it supposed to output high (approx 4.8V) when its not connected to anything ? I have set trisa=%111111.

    Ive programmed everything else correctly (I think), after reading some good guides on programming for port A.

    The problem is I have a photodiode which has open circuit voltage of 0.25V but when I connect it to channel 0 it jumps to 0.40V for some reason. The Vref+ is set to 2.5V.

    Thanks all.

    edit: I suspect that something is wrong with my port A. How do i check ? Anyone have a working test code ? Im also testing it now ..
    Last edited by rngd; - 8th March 2008 at 12:15.

Similar Threads

  1. pic18f analog comparator problem
    By david.silaghi in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 6th May 2009, 09:38
  2. Pic getting part power from Analog Port
    By ShaneMichael in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 22nd April 2009, 10:34
  3. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  4. Hi Everyone! Some newbie questions :-)
    By guest_05 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 28th October 2006, 22:24
  5. NEWBIE: Some basic questions using interrupts
    By JackPollack in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th March 2006, 02:59

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