当前位置:网站首页>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
边栏推荐
- The difference between PX EM rem
- 体验碎周报第 102 期(2022.7.4)
- C實現貪吃蛇小遊戲
- 复合非线性反馈控制(二)
- SQL join, left join, right join usage
- ORICO ORICO outdoor power experience, lightweight and portable, the most convenient office charging station
- Experience weekly report no. 102 (July 4, 2022)
- How to implement lazy loading in El select (with search function)
- QT QTableWidget 表格列置顶需求的思路和代码
- Detectron: train your own data set -- convert your own data format to coco format
猜你喜欢

Win10 clear quick access - leave no trace

Leetcode question brushing record | 206_ Reverse linked list

Detailed explanation of common APIs for component and container containers: frame, panel, scrollpane

Reading notes of Clickhouse principle analysis and Application Practice (4)

体验碎周报第 102 期(2022.7.4)

198. House raiding

HMS v1.0 appointment. PHP editid parameter SQL injection vulnerability (cve-2022-25491)

Overview of convolutional neural network structure optimization

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

Distributed cap theory
随机推荐
C實現貪吃蛇小遊戲
R统计绘图-随机森林分类分析及物种丰度差异检验组合图
How to expand all collapse panels
Manually page the list (parameter list, current page, page size)
MySQL的information_schema数据库
C实现贪吃蛇小游戏
[Chongqing Guangdong education] electronic circuit homework question bank of RTVU secondary school
Nexus 6p从8.0降级6.0+root
Inputstream/outputstream (input and output of file)
How to help others effectively
Component、Container容器常用API详解:Frame、Panel、ScrollPane
Invalid revision: 3.18.1-g262b901-dirty
2022.7.3-----leetcode.556
Dimension and format of data
安装 Pytorch geometric
JS flattened array of number shape structure
198. House raiding
Abap:ooalv realizes the function of adding, deleting, modifying and checking
Fast power (template)
2022.7.2-----leetcode. eight hundred and seventy-one