In order for Pompie to work correct Pompie need to sense the temperature. The circuit on the left uses a 15k resistor to limit current, a 15k NTC for the temp. The reason for 15k is the graph of measurements shows an almost strait line, another reason is that the scale is perfect for the dot on the globe I live. Say you need a NTC to measure the temperature and your location it will never be lower than let's say 10C its advisable you use different values, start with 5k and make a similar graph. The third reason is that the program can detect a faulty wire. To make a graph:
- Melting water = 0C
- My freezer freezes at -18C
- My central heating is set to 20C
- My (and your) hands are about 32C
Code to test the NTC is the same as the tutorial for the potmeter.
http://www.arduino.cc/en/Tutorial/Potentiometer
Next will be switching 220VAC
1 comment:
do you linearize the NTC curve?
Post a Comment