/A2D_DAQ

Arduino Library for the 64 Channel Data Acquisition Unit from A2D Electronics with SCPI examples

Primary LanguageC++

A2D_DAQ

How to begin reading data from the A2D 64CH DAQ.
Hardware setup and documentation: https://a2delectronics.ca/2023/07/29/a2d-64ch-data-acquisition-daq-board/

Prerequisites

  1. Install the Arduino IDE: https://www.arduino.cc/en/software

    1. Download the .zip for the A2D_DAQ library: https://github.com/mbA2D/A2D_DAQ
    2. Download the .zip for the TCA9539 library: https://github.com/mbA2D/TCA9539
    3. Download the .zip for the MUX4067 library: https://github.com/mbA2D/MUX4067
    4. Add the .zip libraries (listed above) to the IDE: Sketch > Include Library > Add .ZIP library
    5. Add the Adafruit ADS1X15 library via the Library Manager: Sketch > Include Library > Library Manager
    6. Add the Adafruit BusIO library via the Library Manager: Sketch > Include Library > Library Manager
  2. Install the CP210x Driver for your Device: https://www.silabs.com/documents/public/software/CP210x_Universal_Windows_Driver.zip

  3. Download 'read_analog_one_ch.ino' from the A2D_DAQ library: \examples\read_analog_one_ch\read_analog_one_ch.ino

Example Setup

  1. Plug in the A2D 64CH DAQ into your PC via USB
  2. Press the 'Reset' button on the DAQ
  3. Open 'read_analog_one_ch.ino' in the Arduino IDE
  4. Select the Arduino Pro Mini board: Tools > Board > Boards Manager
  5. Select ATmega328p (3.3V, 8MHz) Processor: Tools > Processor
  6. Select COM Port: Tools > Port
  7. Verify
  8. Upload
  9. Check 'Serial Monitor' to verify if the board is working. Make sure your 'Baud' rate matches that defined for the following function: Serial.begin(115200)

Troubleshooting

  • If Arduino IDE cannot find the port then make sure you are using a USB capable of data-transfer & you have the CP210x Driver installed.