Xinyuan-LilyGO / LilyGO-T-A76XX

LilyGo A7670 A7608 SIM7672 series
MIT License
96 stars 42 forks source link

question about ADC 5V #69

Closed booroono closed 6 months ago

booroono commented 8 months ago

Can I use 5V ADC to external from A-T7670G?

HDC67 commented 8 months ago

Explain further. You could use a 5V based ADC if you have appropriate level shifting on the SPI/I2C/whatever interface lines.

boseonlee commented 8 months ago

What happens if I connect 5V ADC input directly to the ADC pin of A-T7670G?

HDC67 commented 8 months ago

What happens if I connect 5V ADC input directly to the ADC pin of A-T7670G?

You don't connect an ADC input to an ADC pin. What you're asking doesn't make sense.

If you're asking if you can put a 5V signal on an ADC input (or any input for the matter) of the ESP32 then no you should not do that.

Use a voltage divider e.g. 100k//100k to divide the 5V signal down to 2.5V.

You should not apply voltages greater than the IO voltage of any device unless it specifically says it is tolerant of higher voltages.

github-actions[bot] commented 7 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 6 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.