求教:W806的ADC输入引脚电压不稳

发布于 2024-04-05 13:40:21

我的项目使用到W806的两路ADC通道:ADC3,ADC4。原理图如下电路图.jpg
ADC输入引脚ADC_3的电压波形不稳定,如下图所示
ADC输入引脚波形.jpg
这种现象是什么原因引起的?
ADC相关代码如下:
代码.jpg

查看更多

关注者
0
被浏览
1.3k
1 个回答
AnatolSher
AnatolSher 认证专家 2024-04-06
Lover of the ocean, yachts and Arduino

Very strange and incomprehensible circuitry.
Okay, at the ADC3 input you want to monitor the battery voltage. Maybe Li-Ion 3.7 (4.2 max) volts. Then the maximum battery voltage needs to be scaled to 2.4 volts. Then the lower arm (R17) of the divider is about 270 kOhm.
What is VCC voltage? If 3.3 volts, then the ADC4 input will have a voltage of about 2 volts if the sensor is not connected.The common connection point R18/C12/R14 is the summing point

Disconnect ADC3/ADC4 from your circuit and look at the ripple separately from the MCU inputs. There may be a problem with the controlled voltages. What is the frequency and amplitude of the pulsations?

I don't speak Chinese and may have misunderstood your question.

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览