9. Arduino Analog Inputs

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 พ.ย. 2024

ความคิดเห็น • 12

  • @raymunyaka5409
    @raymunyaka5409 3 ปีที่แล้ว

    Subscribed fan of your Arduino MCU tutorials, Kenyan Bio instrumentation engineer, thankyou

  • @HL65536
    @HL65536 3 ปีที่แล้ว

    Choosing 1.1v as input can make sense if you want to measure supply voltage. Select vcc as ref and you can calculate vcc=1.1v/adcResult

  • @maxim25o2
    @maxim25o2 5 ปีที่แล้ว

    25:43 I think can be make conversion according to ground, when we measure negative voltage on input.

  • @maxim25o2
    @maxim25o2 5 ปีที่แล้ว

    At 24:34 now I know how to stabilise readings on analog read. Normally I have big error between readings and I could not figure out how stabilise voltage to get clean readings. Now You show me this card, and I come up with Idea how I can try correct bad readings. Or make lower error .

  • @danielomalley2641
    @danielomalley2641 9 ปีที่แล้ว

    in successive approximation (around the 9:00 mark), shouldn't the second most significant bit be a zero? If the reference voltage is 3.39 volts, that is 67.8% of 5.. So should correspond to 694 (67.8% of 1023, the largest decimal representation of a ten bit number), which is 1010110110 in binary..
    Thanks in advance, and awesome videos!!

    • @DrZAP42
      @DrZAP42  9 ปีที่แล้ว

      Wow! Thanks for pointing that out. The plot shown is correct and the procedure is correct, but it looking at this more carefully, I realize that I had the bits in the WRONG ORDER! The LSB is the first one obtained, not the MSB, etc.

  • @MrYura999
    @MrYura999 5 ปีที่แล้ว

    Hi, Robert! Could you please clarify one thing. When I use timer at free running mode, it works well until I add Serial.println(value) into the loop. It always prints me "0". I can't understand why it's happening. I've tried to disassemble the program and figure out what is the problem , but I can't find what breaks the ADC. Thank you in advance.

    • @MrYura999
      @MrYura999 5 ปีที่แล้ว +2

      It seems that you are wrong at 42:43. ADCL must be read first and then ADCH. Documentation says: "Once ADCL is read, ADC access to Data Registers is blocked. [...] When ADCH is read, ADC access to the ADCH and ADCL Registers is re-enabled". Read order does not depend to ADLAR value. I've changed the order and now it works even with Serial.print(). It took me three days to find that out. I hope it helps someone.

  • @shyamthillainathan8611
    @shyamthillainathan8611 7 ปีที่แล้ว

    Hi Robert Paz: I was not able to access the lecture slides at: "drive.google.com/openid=0B5jlwlXJI8pJVGgwOEg5TFNBTGs". It shows a 404 ERROR. Will it be possible to share the lecture slides for all the videos including your videos on "Arduino Assembly", "Arduino Basics" & "Hands-on Arduino". This would help a lot of people as it would be good reference material. Thanks a ton in advance.

  • @maxim25o2
    @maxim25o2 5 ปีที่แล้ว +1

    I dint know that i can use capacitor to aref... :/

  • @takedowntheccp.5167
    @takedowntheccp.5167 4 ปีที่แล้ว

    can you display the Chinese of this Video . Thank you!

  • @hoshi9934
    @hoshi9934 8 ปีที่แล้ว

    Around 8:20 he's mistaken between VR and Vx.