当前位置:网站首页>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
边栏推荐
- 体验碎周报第 102 期(2022.7.4)
- C language - Blue Bridge Cup - Snake filling
- 安装 Pytorch geometric
- R statistical mapping - random forest classification analysis and species abundance difference test combination diagram
- 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?
- SQL injection SQL lab 11~22
- Native Cloud - SSH articles must be read on Cloud (used for Remote Login to Cloud Server)
- Lightroom import picture gray / Black rectangular multi display
- C realize Snake games
- A little understanding of GSLB (global server load balance) technology
猜你喜欢
随机推荐
27-31. Dependency transitivity, principle
Yiwen unlocks Huawei's new cloud skills - the whole process of aiot development [device access - ESP end-to-side data collection [mqtt]- real time data analysis] (step-by-step screenshot is more detai
注释与注解
Compound nonlinear feedback control (2)
Which water in the environment needs water quality monitoring
实用的小工具指令
云原生——上云必读之SSH篇(常用于远程登录云服务器)
Invalid revision: 3.18.1-g262b901-dirty
Sort list tool class, which can sort strings
Detectron: train your own data set -- convert your own data format to coco format
C language exercises (recursion)
2022.7.2-----leetcode. eight hundred and seventy-one
Install pytoch geometric
The solution of win11 taskbar right click without Task Manager - add win11 taskbar right click function
QT releases multilingual International Translation
Review | categories and mechanisms of action of covid-19 neutralizing antibodies and small molecule drugs
Experience weekly report no. 102 (July 4, 2022)
509. 斐波那契数、爬楼梯所有路径、爬楼梯最小花费
Qt发布多语言国际化翻译
LayoutManager布局管理器:FlowLayout、BorderLayout、GridLayout、GridBagLayout、CardLayout、BoxLayout