How to use ADC in PLUTO X

Home Forums Drona Aviation – Drone for Education How to use ADC in PLUTO X

Viewing 1 reply thread
  • Author
    Posts
    • #4268
      mohdali
      Participant

        I am unable to get the Concept and the required header files for using ADC (Analog to Digital Conversion) for pluto X . Any working API is needed. I am using Cygnus 2.1.0

      • #4275
        Keval Ajmeri
        Participant

          Hi, let me first try to explain about ADC port.

          The ADC port on X-breakout board contains four pins:
          1. SIGNAL
          2. 3.3V
          3. GND
          4. 5V

          The SIGNAL or the ADC pin is connected to Pin13 of the UniBus. Thus, the sensor can be read through Pin13 of the UniBus. In order to use the ADC sensor, you will have to initialize the UniBus pins to be used (Pin13 in this case) while coding.

          This brings us to the software part.

          You will have to include the header ‘Peripheral.h’ and use the APIs to initialize and read the sensor. For details, please refer to the API documentation available in the ‘SUPPORT’ page of our website.

          Hope this helps you. Please let us know in case you require any assistance from our side.

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.