Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: how fast is the analogRead on 3.5 and 3.6?

  1. #1
    Junior Member
    Join Date
    Jan 2018
    Posts
    14

    how fast is the analogRead on 3.5 and 3.6?

    I don't have an oscilloscope with me so can't do the experiment. Just wonder how long does this take. So I can have the right timing for the loop.

    Thanks.

  2. #2

  3. #3
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    10,597
    It can be timed in a loop as shown here: https://forum.pjrc.com/threads/39351...l=1#post122868

    Some results there ... that is post #5 that thread - be sure to see p#1 for averaging usage - also indicated on the PJRC.com usage page

  4. #4
    Senior Member
    Join Date
    Mar 2013
    Posts
    651
    Its dependent on what frequency your running and what settings your using...
    At 96Mhz with the default settings per ADC you can see anywhere from 4.08uS to 5.5uS depending on the resolution for the ADC you select.

Posting Permissions

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