Post Go back to editing

AD5933 user interface

Category: Software
Product Number: ad5933
Software Version: -

Hello,

I would like to create my own UI to control the AD5933 Eval -Board, for many reasons ( I need to display the data differently, and I need the functions to be clearer etc..)

I started by what I know, and tried to control the AD5933 chip (not the eval board) directly via an arduino. I wrote an arduino program and a visual basic program to serve as a UI.

The UI part worked fine. However, I couldn't make out if the circuitry that is lacking ( all the additional circuitry in the eval board ) is damaging the results.

So from lack of knowing I decided to use the eval board itself, and just try to interface with mcu on board. 

I'm having difficulty in doing so, since I never worked with any controller which is not arduino, and I'm not sure where to start regarding the VB software. I browsed online for solution and got lots of different source codes for the VB to control the eval board, but they are all un clear and full of files that Im not familiar with.

I would really appreciate it if you could give me some guidance as to what is the simplest way to implement what I'd like to achieve. Should I go back to just using the chip and arduino and add circuitry?

Is there a simple API with clear guidance to control the eval board?

please assist

Ben

Parents
  • Hi Ben,

    I recommend you to connect your Arduino to the I2C lines. I attach a small diagram with the connections that you can make from your controller board to the evaluation board.

    To power the board you can do it through the USB or with an external power supply. If you are going to do it via USB, make sure that the links are in the default positions.

    On the other hand, you can use the No-OS driver as a starting point for your Arduino code. The No-OS driver only implements the configuration functions, the I2C access functions are empty, so you will have to complete them with the appropriate commands for the Arduino. I attach a link where you can see the code :https://github.com/analogdevicesinc/no-OS/tree/master/drivers/impedance-analyzer/ad5933PDF

    Regards,

    Juan

Reply
  • Hi Ben,

    I recommend you to connect your Arduino to the I2C lines. I attach a small diagram with the connections that you can make from your controller board to the evaluation board.

    To power the board you can do it through the USB or with an external power supply. If you are going to do it via USB, make sure that the links are in the default positions.

    On the other hand, you can use the No-OS driver as a starting point for your Arduino code. The No-OS driver only implements the configuration functions, the I2C access functions are empty, so you will have to complete them with the appropriate commands for the Arduino. I attach a link where you can see the code :https://github.com/analogdevicesinc/no-OS/tree/master/drivers/impedance-analyzer/ad5933PDF

    Regards,

    Juan

Children
  • Thanks Juan !

    Just for my understanding, by connecting to the i2c lines on board I get to utilizie the additional circuitry on the eval board yet still control it via the arduino? Is this a much better alternative then connecting to a single chip(only the ad5933, no eval board )? Because in terms of cleaness, overhead and enclosure I would rather the latter

    Also, could you explain a bit what is the NO Os  driver alternative? I just load the driver to the eval board's mcu and then I can interface with it ? Using the lobrary you attached ?

    Many thanks !

    Ben

  • Hi Ben,

    If what you want is not to use the MCU that is installed on the evaluation board (Cypress chip) and use your Arduino board to communicate with the AD5933 and also use the circuitry that is integrated on the board, yes, you are correct. Through the connection that I sent you previously you will be able to access the AD5933.

    On the other hand, if you don't want to use the other components that are on the evaluation board and you are only interested in using the AD5933, the second option you have mentioned would be more appropriate.

    The no-Os drivers are drivers that take control of configuring the device, capturing data from the converter, performing calibration, etc... So by integrating these files into the Arduino or PC, you can control the chip.

    Thanks!

    Juan