Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    T113 tina GPADC怎么用来电压测量呀?

    MR Series
    4
    7
    2751
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jr_online LV 7 last edited by

      我看手册上都是通过input进行按键检测的例程。
      如果用来检测电量该怎么入手,有大佬指点一下吗?

      M C J 3 Replies Last reply Reply Quote Share 0
      • M
        msh410278586 LV 5 @jr_online last edited by

        @jr_online 你好,这个问题解决了吗?

        J 1 Reply Last reply Reply Quote Share 0
        • C
          chengwei_peng LV 6 @jr_online last edited by

          @jr_online 可能需要自己修改一下驱动了,根据用户手册修改寄存器,将其配置为连续采样模式,然后读取data寄存器。

          1 Reply Last reply Reply Quote Share 0
          • J
            jr_online LV 7 @msh410278586 last edited by

            @msh410278586
            没有,不过你看看这个:
            https://bbs.aw-ol.com/topic/1774/v853开发板开发进阶-gpadc/4?_=1670374437086

            M 1 Reply Last reply Reply Quote Share 0
            • J
              jr_online LV 7 last edited by

              @chengwei_peng
              好滴,感谢大佬回复,我现在暂时不搞这个电压测量的,通过命令行测试出来的结果和万用表测出来的不一样,没搞懂adc的原理😵 ,所以不懂那些adc采样设置的作用,之前不知道测试的时候是不是用的连续采样模式,后面再根据你的建议去捣鼓学习下[抱拳]。

              1 Reply Last reply Reply Quote Share 0
              • M
                msh410278586 LV 5 @jr_online last edited by

                @jr_online 好的,谢谢😊

                1 Reply Last reply Reply Quote Share 0
                • J
                  jekeytang LV 2 @jr_online last edited by

                  @jr_online 电压采集做了没?怎么做的?

                  1 Reply Last reply Reply Quote Share 0
                  • 1 / 1
                  • First post
                    Last post

                  Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                  行为准则 | 用户协议 | 隐私权政策