1. It is posible read ADC input by app zone not by AT command?
2. In G30 hardwere user guide is "The GPAD signals measure a DC voltage level of 0 – 1.92 V, which is converted internally toa 12-bit digital value. The user application can monitor the A/D voltage level through theAT+MADCM command, which returns the measured DC level in Volts times 100.For example, a measured analog DC level of 1.75 Volts will be presented as 175 by theMADCM command"
1. to read the ADC value using AppZone, you will have to use to AT command.
There is no designated AppZone API to read the ADC value.
2. First, according to the latest HW manual, the DC level is read in volts times 1000 and not 100 (miliVolts).
You can download the latest G30 documents from the link below:
second, the resolution can only go up to 10mV. we don’t have an option to increase it.
thanks for info, but this document says the same.
page 62 :"The measured VCC level can be read and monitored by the user application through the AT+MADCM command, which returns the measured VCC level in Volts times 1000."
page 63: "The GPAD signals measure a DC voltage level of 0 – 1.92 V, which is converted internally to a 12-bit digital value. The user application can monitor the A/D voltage level through the AT+MADCM command, which returns the measured DC level in Volts times 100."
If you’re right, it is a mistake in the text
you plane add API to read ADC by appzone?
I checked, and it is Volts times 1000 in both case, and resolution is 1mV not 10mV.
You are right.
i was referring to the VCC level and not DC level.
there is no plan to add an API for ADC operations at the moment.
you can use the ‘at sending API’ for this operation.
Why when I put ADC1 or ADC2 to GND, i read random value, not 0? AGND and GND I connected together.
The ADC is used to check external voltage level.
means, only when connecting external power source, it will display the actual level.
when no external power source is connected, it will display a random value.
please inform whether you connected an external power source and what is the ‘random’ value that you see when connected to GND?
When I connected externl source is OK. When I connected to GND random value is about 300, 500, 700, 1000
Yes. the results are valid only when connecting an external power source.
when no external power source is connected, the read result doesn’t have a meaning.
Hit enter to search or ESC to close
Knowledge Base & Download Zone