求教:W806的ADC輸入引腳電壓不穩

發布於 2024-04-05 13:40:21

我的項目使用到W806的兩路ADC通道:ADC3,ADC4。原理圖如下電路圖.jpg
ADC輸入引腳ADC_3的電壓波形不穩定,如下圖所示
ADC輸入引腳波形.jpg
這種現象是什麼原因引起的?
ADC相關代碼如下:
代碼.jpg

查看更多

關注者
0
被浏覽
547
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.

撰寫答案

請登錄後再發布答案,點擊登錄

發布
問題

分享
好友

手機
浏覽

掃碼手機浏覽