-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calibration Phase #19
Comments
Can you describe the situation more? This program assumes people do some wiring manually. Thus, someone should change the wire before the pressing 'p' and enter. At the first time, the user should put the calibration resistor between Vin and Vout, and press 'p' in the terminal (on Arduino) and press enter. After the calibration, press 'p' and enter after you place the actual resistor to measure. If you can read source code, I recommend to analyze the code. Thanks. |
I have a 10K resistor located across Rcal and am running Z_logger. However I notice it is breaking in the function bool AD5933_Class::isValueReady() on the function getStatusReg() returning false every time. I have it set up exactly as per your diagram, supplied with 3v3 v from arduino diecimila. What does isvalueready do and how does it relate to ADC conversion as per the comment in the code? |
The internal (private) function isValueReady returns the signal whether the measurement and ADC conversion is completed. If isValueReady() is false, the measurement process is not completed. I am not sure your problem. If you provide your circuit diagram, it would be helpful. |
Thank you for helping. The above is my circuit diagram exactly and isvalueready is always false and never returns true. |
@JeanRintoul What is the ratio between Rcal and Rfb? Might not change much, but I can't guess why else. Also I notice you're using pull-up resistors for your I2C wiring. Most Arduino boards have internal pull-up resistors, so I don't think that's necessary either. We don't use ours with pull-up resistors, that may be the problem. I'm not sure, but I suggest trying it without. |
Sorry, I am late little. I am back from my vacation, and compared yours with mine.
|
Hello Jean. Did you ever get this working? |
Did you test I2C communication between the chip? |
Hi there,
When I run Z logger I can get temperature but then it will stall. Is there something that you are supposed to do apart from press p to do calibration?
The text was updated successfully, but these errors were encountered: