The code does AnalogRead() on TEMP_0_PIN at 2 second intervals and filters the result with an exponential filter using the library Ewma.h. The value of R1 = 4700 Ohm is set by the bias resistor on the RAMPS board (you might want to check this on your board). You may have to adjust these for your particular thermistor. The thermistor is modeled using three adjustable parameters in thermistor.h: Ro = 100000.īasically we are saying that the thermistor has a resistance of 100kOhm at 25 deg C (298 deg Kelvin) and changes with temperature according to a beta parameter of 3950. (I made a simple 3D printed dial that you can see in the above video.)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |