Search the Community

Showing results for tags 'pmodad5'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments and the WaveForms software
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 6 results

  1. Akshay Bhat

    Pmod AD5

    Hello, I am also using the PMOD AD5 to get the values of two sensor one is voltage and another is temperature , but the problem is i wanted to get the value of the only voltage first then only temperature, what i did is i just added a function of the temperature to it with the same voltage code that is given in the example of the AD5 driver, i change the configuration register values to byte[1]=0x04 byte[2]=0x03 byte[3]=0x18 so that i can have the enable the 2 single channels and the value be in uni polar by doing this i am getting the values voltage is: 2.5v (which what i set in the POT) temperature is : 99.99 (which id taking the data of channel one and giving me the value) in next cycle voltage is taking the value from the channel 2 and giving me the value , here the temperature what i am getting is almost correct but i need it accurate . So can u please provide me with the code that will help me getting the values from the two different channel one after the other Thanks & Regards Akshay
  2. Hello , I am using the Pmod AD5 and Pmod MTDS on the Zedboard I am connecting the pmod AD5 with a simple POT and giving different values it. From the demo example in the mtds ip I got to know that display images are store in the file with .bmp in SD card then invoked when needed My problem is i have nearly 500 values in to be displayed so , my question Is there any way to dynamically generate the .bmp file to the MTDS and display it when we give the different values from the AD5 ? Regards Akshay
  3. hello ! i am using pmodAD5 connected with arduino uno . i am looking to use the onboard AD7193 in continuous conversion mode to measure the data , but i am unable to get the correct and desirable conversion results. Can anyone help me with this . i hereby attach the respective code and library i am using for my task. AD7193.h AD7193_Voltage_measure_final.ino AD7193.cpp
  4. I am using the PMODAD5, and was trying to get bipolar results out. My settings are config = 0x840150 for bipolar, and 0x840158 for unipolar, and mode = 0x080402. I assumed the U/B* bit in the config register would control the data format, linear or "unipolar" vs 2s compliment or "bipolar". I expected that with a 2.5 volt reference, and about 2.5 volt input signal, that unipolar would result in numbers close to the unsigned mid-scale, like a lot of numbers around 7FFFFF and 800000, and that the bipolar setting would yield 2s complement versions of the same values, so I would get a lot of numbers around 000001 (+1) and FFFFFF (-1). Instead I found bipolar mode gives me unipolar numbers around zero like 800000 and 7FFFFF and unipolar mode gives me half zeros, and half small numbers like 000001. The data sheet is very vague on this topic and does not describe the encoding at all, so I have had to make some assumptions on what this does. I am hoping that others can confirm similar results or provide a better explanation of the control bit than is provided in the data sheet. Note: I am seeing numbers much greater than +- 1, but simplified this for the explanation. The numbers I am getting are +- 2^16, probably because the ADC is run off of my computer's USB power supply.
  5. Hi, I'm trying to make PmodAD5 work with a Zedboard by using Vivado 2016.2 (can also use earlier versions if needed). Digilent has a nice wiki pages to use Pmods with Zedboard, especially for using Pmod IPs: https://reference.digilentinc.com/learn/programmable-logic/tutorials/pmod-ips/start In this tutorial, however, there is no PmodAD5, and there reference design linked from Digilent product page to AD also has the implementation example for Xilinx ISE 14.4: https://wiki.analog.com/resources/fpga/xilinx/pmod/ad7193 Nevertheless I tried to combine the information I could find to start with a ZYNQ7 Processing System with AXI Quad SPI IP. (I managed to work with that way with a MAXIM Pmod temperature sensor). But I got stuck at some point as to communicating with PmodAD5 device. After HW and SW implementation I am getting the following output on the UART: Status Register: 0x0 Mode Register: 0x0 (The second one should be different than 0x0 according to documentation) Is there someone out there tried PmodAD5 with Zedboard who could help me? Since this is my first post I tried to explain the overall status. If there are questions specific to the project I am more than happy give additional info. Thanks.
  6. Hello Is there any example on hoe to use the MX3kck with Pmod Ad5 and saving data to Pmod SD? I got them both working individually but having trouble getting them to work together. I pretty sure its something to do with the SPI or DSPI setups or calls. After I run this command which makes the SD selected " SD.begin(chipSelect_SD) " I can no longer get PmodAD5 data. How would I turn the Pmodad5 back on make it the active one? Whats an good way to get data from PmodAd5 and save it to Pmod SD at fast rates. Thanks for all the help Code below if you want to look at it PmodAD5 on JE connector Pmod SD on JC connector Using Mx3ck board. #include <AD7193.h> #include <DSPI.h> #include <SD.h> /******************************************************************************/ /************************ Variables Definitions *******************************/ /******************************************************************************/ AD7193 myAD7193; //char tempString [10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; unsigned long data = 0; double voltage = 0; File myFile; const int chipSelect_SD=16; //CS is at logical port 16 const int LD4=42; //LD4 is at logical port 42 const int LD5=43; //LD4 is at logical port 43 void setup() { Serial.begin(115200); if(myAD7193.Init()) { Serial.println("AD7193 OK"); } else { Serial.println("AD7193 Error"); } /*! Resets the device. */ myAD7193.Reset(); /*! Select Channel 0 */ myAD7193.ChannelSelect(AD7193_CH_0); /*! Calibrates channel 0. */ myAD7193.Calibrate(AD7193_MODE_CAL_INT_ZERO, AD7193_CH_0); /*! Selects unipolar operation and ADC's input range to +-2.5V. */ myAD7193.RangeSetup(0, AD7193_CONF_GAIN_1); //myAD7193.SetRegisterValue(1,0x010008,3,1); pinMode(LD4,OUTPUT); //set LD4 as output pinMode(LD5,OUTPUT); //set LD5 as output digitalWrite(LD4,LOW); //turn OFF LD4 to start with digitalWrite(LD5,LOW); // turn OFF LD5 to start with pinMode(chipSelect_SD,OUTPUT); digitalWrite(chipSelect_SD,HIGH); if(!SD.begin(chipSelect_SD)) //************************************** <<<<After I run this command I can no longer get A/D data*************************************************** { digitalWrite(LD4,HIGH); //was digitalWrite(LD4,HIGH); return; } } void loop() { data = myAD7193.SingleConversion(); voltage = myAD7193.BinaryToVoltage(data); myFile.println(voltage); Serial.println(voltage); }