Xinyuan-LilyGO / LilyGo-T-PCIE

89 stars 35 forks source link

ADC reading problem #19

Open adfo0 opened 2 years ago

adfo0 commented 2 years ago

Hi, I'm having trouble reading the ADCs on the board, they always give me a zero reading. I am using a board with a modem SIM7600SA.

When I test only measuring the ADCs, without any other library or GSM function I have no problems.

Any examples or considerations I should take? Thanks

star297 commented 2 years ago

Usable adc1 pins 32 - 39

I use pin 32 and works fine on all our boards. The SIM7600 and other modules can draw high current when transmitting. We have a dedicated carrier PCB for ours and add extra solid aluminium decoupling capacitors (47uf/6.3v) on the 5v-IN pin and 3.3v pins for extra stability. Works fine both using combined WiFi and GSM.