Newbie with 16f627 problem (Getting the A/D working!!!)


Closed Thread
Results 1 to 3 of 3
  1. #1
    paul webb's Avatar
    paul webb Guest

    Smile Newbie with 16f627 problem (Getting the A/D working!!!)

    Hi All
    I hope someone can help me, i have played witht he 16c84 sometime ago and have just started playing again, now i have the 16f627 chip and want to use one of its portA inputs as Analogue and the other portA inputs as digital, and to simply out put the digital value on portB ,it sounds easy but i have no real idea where to start, just coding in assembly at the moment till i understand whats going on. anyone help with example code that would be great, i have looked on the web but no luck for such a simple thing.
    cheers
    Paul

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Datasheet! Dowload the Datasheet and read it... last I checked, the 16F627 didn't have A/D (which is a pretty good reason why you can't get them to work)... it has Analogue Comparators... the Datasheet does a pretty good job in explaining how to configure and use them.

  3. #3
    paul webb's Avatar
    paul webb Guest


    Did you find this post helpful? Yes | No

    Wink Im Stupid But many thanks!

    Hi Thanks for the quick reply, im off to download the datasheet!
    I will read it cover to cover before i say another word!
    Thanks again
    Paul

Similar Threads

  1. Blink.Bas on 18f45k20 Newbie seeks working example.
    By DiscoEd in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 29th December 2009, 03:36
  2. Newbie? Problem with LCD
    By lew247 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 7th December 2009, 19:48
  3. A/D converter problem
    By netstranger.nz in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 13th September 2009, 07:56
  4. A/D conversion problem in 18F2520, 2523, 2550 etc.
    By selimkara in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 10th March 2008, 16:26
  5. A/D conversion problem on 18F4431
    By ttease in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 10th April 2007, 23:03

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