A/D converter with pic16f84, i need a help


Closed Thread
Results 1 to 1 of 1
  1. #1
    micro's Avatar
    micro Guest

    Default A/D converter with pic16f84, i need a help

    look at these codes to do A/D conversion


    INCLUDE "modedefs.bas"
    trisb =%00000100
    b0 var byte
    low 1

    start:
    gosub serial_in
    serout portb.3,2,[254,1]
    pause 1
    serout portb.3,2,[#b0]
    pause 100
    goto start
    serial_in:
    low 0

    shiftin portb.2, portb.1, MSBPOST, [b0\9]

    high 0
    return




    i attached the circuit diagram with
    the A/D IC is ADC08031 and pic16f84

    i used the same codes and circuit with A/D ADC0831 and that
    is working well but with the ADC08031 does not work


    any hints please ??
    Attached Images Attached Images  

Similar Threads

  1. Replies: 9
    Last Post: - 31st July 2008, 08:56
  2. A/D converter fails?
    By egberttheone in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 13th February 2006, 18:57
  3. Please Help!! A/D Converter for 16f876 pic
    By chino20 in forum mel PIC BASIC
    Replies: 1
    Last Post: - 24th September 2005, 12:42
  4. external A/d converter
    By Knightlord in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 24th September 2004, 23:53
  5. Re Cs5532 A/d Converter
    By massquip in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 29th April 2004, 16:31

Members who have read this thread : 1

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