当前位置:网站首页>ADC voltage calculation of STM32 single chip microcomputer
ADC voltage calculation of STM32 single chip microcomputer
2022-07-04 06:23:00 【Tears like eating hot pot】
Abstract :
Because of the MCU ADC More development and use , Then we need to pay attention ADC The reference voltage of , The final voltage value obtained by different reference voltages is different , alike , The number of bits of resolution will also affect the final value of voltage ;
If the reference voltage is 5V, And use ADC The sampling resolution of is 12 position , Then we are initializing GPIO After a mouth , You need to :
for example : What is collected is the pressure of the battery , Then the original voltage collected is Volss, Final voltage :Vol
Vol = (Volss * 5.0)/2*12
= (Volss * 5.0)/4096
边栏推荐
- Internet of things protocol ZigBee ZigBee module uses the concept of protocol stack
- Dimension and format of data
- 如何实现视频平台会员多账号登录
- Webrtc quickly set up video call and video conference
- Learn about the Internet of things protocol WiFi ZigBee Bluetooth, etc. --- WiFi and WiFi protocols start from WiFi. What do we need to know about WiFi protocol itself?
- Average two numbers
- Fast power (template)
- Tree DP
- How to implement cross domain requests
- JS flattened array of number shape structure
猜你喜欢

24 magicaccessorimpl can access the debugging of all methods

Functions in C language (detailed explanation)

Sword finger offer II 038 Daily temperature

Overview of convolutional neural network structure optimization

Gridview出现滚动条,组件冲突,如何解决

How to use multithreading to export excel under massive data? Source code attached!

How to choose the middle-aged crisis of the testing post? Stick to it or find another way out? See below

Configure cross compilation tool chain and environment variables

SQL injection SQL lab 11~22

Practical gadget instructions
随机推荐
7. Agency mode
Arcpy 利用updatelayer函数改变图层的符号系统
17-18. Dependency scope and life cycle plug-ins
Install pytoch geometric
Detectron: train your own data set -- convert your own data format to coco format
C语言练习题(递归)
每周小结(*63):关于正能量
【微服务】Nacos集群搭建以及加载文件配置
Review | categories and mechanisms of action of covid-19 neutralizing antibodies and small molecule drugs
Tf/pytorch/cafe-cv/nlp/ audio - practical demonstration of full ecosystem CPU deployment - Intel openvino tool suite course summary (Part 2)
2022.7.3-----leetcode. five hundred and fifty-six
24 magicaccessorimpl can access the debugging of all methods
AWT introduction
746. Climb stairs with minimum cost
Invalid bound statement (not found): com. example. mapper. TblUserRecordMapper. login
Nexus 6p downgraded from 8.0 to 6.0+root
运算符<< >>傻瓜式测试用例
C语言中的函数(详解)
webrtc 快速搭建 视频通话 视频会议
Internet of things protocol ZigBee ZigBee module uses the concept of protocol stack