app zone ADC read

8 thoughts on “app zone ADC read

  1. 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"

     

    So if the ADC is 12bit, why the native resolution is only 10mV. Is it possible to increase this resolution?

     

    1. 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.

       

  2. 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.

    1. 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. 

    1. 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. 

        1. 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.