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 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. For example, a measured analog DC level of 1.75 Volts will be presented as 175 by the MADCM command"
So ifthe ADC is12bit,whythe native resolutionisonly10mV.Is it possible toincrease thisresolution?
Hi Tomek,
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."
Ifyou’re right,itis amistakein 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.
Hi Tomek,
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.
regards
tomek
Hi Tomek,
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?
thank you.
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.
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
Hi
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 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.
For example, a measured analog DC level of 1.75 Volts will be presented as 175 by the
MADCM command"
Hi Tomek,
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:
http://www.telit.com/en/products.php?p_id=3&p_ac=show&p=98
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.
Hi Tomek,
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.
regards
tomek
Hi Tomek,
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?
thank you.
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.