-
Notifications
You must be signed in to change notification settings - Fork 636
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
Thermistor attached to the ADC (analog pin) #1001
Comments
@nqdanyb if you enable ANALOG_SUPPORT in sensors.h you will get the raw ADC value. The temperature will depend on the thermistor you are using. |
@xoseperez Thank you for taking care of my problem. I have enable ANALOG_SUPPORT in sensors.h and i have get the raw ADC value. but I do not know how to display it in degrees C format on the web. In order to process these raw data, I need to use formulas to convert to degrees C. But I do not know where to put these formulas. (I'm a newbie).Here is my code used with arduino nano: // Pin that the thermistor is connected to int amostra[NUMAMOSTRAS]; void loop(void) { for (i=0; i< NUMAMOSTRAS; i++) { media = 0; //Calculate temperature using the Beta Factor equation //Serial.print("The sensor temperature is: "); delay(10); I'm looking to create a module that uses esp8266 to control and display the temperature in my water heater |
see in AnalogSensor.h function named "value". or you can create your own sensor... |
Latest version in |
@xoseperez. Thank you very much. I upgraded to the dev branch version and had the NTC sensor. I will test it for a while. Ask me a little more. Does ESPurna support I2c connectivity with arduino? (arduino nano, pro mini ...). If there is support for connecting to arduino it is great. The number of analog sensors and the number of control pins will be expanded. |
Default NTP server ( |
I have a heat resistor(Thermistor) attached to the ADC, How to display the temperature with the unit
Celsius on web interface and publish via mqtt to home-assistant? (sorry for my english) Thanks for all the help
The text was updated successfully, but these errors were encountered: