• Content Count

  • Joined

  • Last visited

About virk_ps

  • Rank

Recent Profile Visitors

569 profile views
  1. hello @JColvin sir! can you please provide some assistance regarding this ! I am still unable to get my device working in continuous conversion mode. and if possible please tell me what is the difference between single conversion and continuous conversion mode, in terms of application point of view. when one should consider continuous conversion or single conversion mode.? will it affect the throughput if i use single conversion mode and set FS[0:9] = 1 PLEASE find the code and library attached in the previous posts thanks
  2. Hi thanks for the reply , i have tried this too but i think i am not able to get it working. can you please tell me the exact code i need to write(or changes i need to make in the library) in order for ad7193 to work in continuous mode. the reason i am looking for it to get working in continuous conversion mode is that in single conversion mode although when i set the FS[0:9] = 1 and removes all the unnecessary delays in the library i am still getting the throughput equal to 470 (it should be 1200 as per datasheet) and i feel that if i get my pmod ad5 working in continuous conversion
  3. hi @JColvin hello sir! have you looked into the code ? can you please suggest me what changes should i make to it in order for it to work properly in continuous conversion mode. thanks!
  4. thanks for the reply , i hereby attach the code , please check the AD7193.cpp , AD7193::ReadADCChannel(int channel), AD7193::ReadADCData(void) AD7193.h AD7193_Voltage_measure_final.ino AD7193.cpp
  5. HI thanks for your response. i have already tried setting the value but i am not able to get the correct flow of control for the continuous conversion mode to work correct , as i have single conversion mode in the library attached. can you please give me the flow of control in which i must send the values to those registers to read the data from ADC continuously. please provide a solution as per the reference of attached library and code. thanks
  6. 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
  7. Hello @JColvin thanks for your timely reply Sir! i just went through the new library you just provided me , but i found it to be exactly the same as previous one and still i am unable to solve my problem. even after changing the value of mode register to the value you have suggested me , i still get 7-8 samples/sec . i have an another option of using raspberry pi instead of arduino but i have no idea how can i interface pmodAD5 with it ? and get my samples running out on terminal. it would be helpful for me if you can help me and guide me about how can i go forward with ru
  8. hi @JColvin thanks for the quick response , but i still have a confusion . i hereby add two images , and i have a confusion in void AD7193::SetAveraging(int filterRate) what is the meaning of this- registerMap[1] &= 0xFFFC00; //keep all bit values except filter setting bits registerMap[1] |= filterRate; and after this we call - SetRegisterValue(1, registerMap[1], registerSize[1], 1); isn't it the same as you told me , to set the data rate to max ~4.8KHz?? (please find the attached images for registerMap[1], registerSize[1] ) Thanks
  9. hi @JColvin Thanks for your valuable and to the point solution to my problem , Sir! but the value of register address should be 0x80060 as according to datasheet? why do we need to give 0x80001? And also can you please elaborate on " as i can give the int filter rate , the values upto 1023 . so what does all these values suggest? what will be the significance of this int filter rate. in my application i want to capture the real time signals from the geophone which are very small in amplitude (1mV) and frequency (under 500 hz) , so can you please tell me the significance
  10. hi @JColvin i have tried different input signals from 1Hz to 60Hz (sine waves , triangular , ramp etc.) as input to the pmodAD5 , i was able to get correct samples at lower frequencies 1-3Hz but at higher frequency the samples when plotted didn't replicate the input signal , maybe because i was not able to set the correct sampling rate. from the data sheet i got to know that sample reate can be changed by mode register value , and by default it is set as 6 samples/sec. So , can you please tell me how can i make changes to value of mode register in the library of AD7193 as attached . and p
  11. hello sir @JColvin, i am using arduino uno connected with pmodAD5 and using the same library and same voltage measure code as discussed here. but instead of a constant voltage input , i am providing a signal from signal generator as an input to my channel 1 on header J2 , BUT Unfortunately when i plot the digital output generated corresponding to different signals (sine waves with varying frequency) i don't get the same result as the applied input signal. so what can be the issue?? is this voltage measure code capable of measuring an alternating signal from signal generator with cor