-
Notifications
You must be signed in to change notification settings - Fork 3
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
TMP36 output voltage steady in the presence of reference voltage sags.... #306
Comments
While I assume you are using the R3 Arduino you should state so. Then, the first think I am going to do is look at the voltage on the reference to be set for 1.1V.
This will require a gain change for calculating the temperature. |
By the way I see no firmware in the folder where I think it is supposed to be: |
My new R3 work is (and will be) here: https://github.com/PubInv/moonrat/tree/main/moonratII/firmware_moonratII/production/moonratIIR3Rob Being uncertain of myself, I put my latest R4 code here: However, I am now focuing on the R3, as it gives me some hope of building a system that I can take to Tanzania. |
This issue is irrelevant since we are using the R4, correct? @RobertLRead |
When the MoonratII is power by a USB cable but connected to a 12V battery with a switch, switching the battery on and OFF does NOT change the output of the TMP36 voltage as measured by an oscilloscope on an Arduino R3.
However, using both a voltmeter and an oscilloscope, the 5V pin of the Arduino R3 voltage changes from 4.66 V to 4.99 volts. This has an immediate effect on the digitally measured temperatre, as evidenced by the screen shot below, which shows the voltage being switch off.
Note the ratios 4.99/4.66 and 166/156 are the same (1.070) to the third decimal place, confirming @ForrestErickson 's statement that the ADC converted measures a ratio.
We may futhermore conclude that this is only correct if the 5V voltage does not sag due to a load; however, when the system is powered at 12V, this is approximately correct.
Although this fragility is distressing, it may not matter if we power the incubator with a 12V power supply.
The text was updated successfully, but these errors were encountered: