Again ADC with 12F675 ...


Results 1 to 30 of 30

Threaded View

  1. #10
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default Re: Again ADC with 12F675 ...

    In your very first post, I couldn't find any clear description of your problem or goal....

    Quote Originally Posted by fratello View Post
    Quote Originally Posted by fratello View Post
    Resistor coupling is apparently not the same in those two posts - is this okay?



    Try this:
    Name:  resistor.jpg
Views: 1430
Size:  49.2 KB
    Button 1 = 0 Volt => ADC 8 bits = +/-0 , ADC 10 bits = +/-0
    Button 2 = 1,25 Volts => ADC 8 bits = +/-64 , ADC 10 bits = +/-320
    Button 3 = 2,5 Volts => ADC 8 bits = +/-128 , ADC 10 bits = +/-640
    Button 4 = 3,75 Volts => ADC 8 bits = +/-192 , ADC 10 bits = +/-960

    I didn't built the circuit above; if ADC values are not stable, try with all R values ( :10) => 10k becomes 1k, 3k3 becomes 300Ohms and so on.



    As an alternative, you may want to have a look here "Compiled Tips ‘N Tricks Guide".Name:  RC ramp.jpg
Views: 1497
Size:  143.0 KB
    Last edited by flotulopex; - 17th April 2015 at 22:28.
    Roger

Similar Threads

  1. ADC values above 4095 for 12 bit ADC
    By longpole001 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 1st February 2015, 22:24
  2. ADC problem on 18F46K22 device using all 28 ADC pins
    By JimAvanti in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 23rd February 2012, 20:22
  3. 12f675
    By mystified in forum mel PIC BASIC
    Replies: 6
    Last Post: - 10th September 2007, 02:47
  4. 12F675 ADC 'Issues'
    By harrisondp in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 31st March 2005, 01:55
  5. ADC on 12f675?
    By peu in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 16th March 2005, 17:44

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