Thanks @user2684 for your reply,
I was using the wrong package, downloaded the latest version and now it works!
Thanks again for your help and for the development of NodeManager!
Error compiling DHT22 sensor
I'm trying to make a simple DHT22 sensor Nodemanagersketch
But when I try to compile I get a warning in the NodeManager.cpp file:
and in the bottom field 'class DHT' has no member named 'setup'
Does anyone know what I'm doing wrong?
@user2684 Thanks! I understand it will not be in v1.6, I'm waiting for that release!
I'm using NM for all my projects and I really like it!
Will NodeManager support APDS-9960 RGB and Gesture Sensor in the future?
Hi @user2684 thanks a lot for your reply! I started to put in different values first for the Beta-c, nothing happened. Then I tried to change the value of the resistance of the probe, noting happened but when changing the reference resistance then I got a change. I started to measure and I found that the 2,5mm female connection (bought from China) for the probe was extremely high resistance so I soldered the probe connections directly to the board and now it works!!! Sorry for taking your time but I must say that nodemanager is amazing! I have no kompetente or skills in electronics or programming and still I got this to work (with a little help from you)! Now I just have to solder everyiting togheter and put in a box and start using it! I will follow the development and for sure do more projects using Node Manager!
Thanks again for for taking your time!
What I understand from the Nodemanager documentation the standard values are:
""// resistance at 25 degrees C (default: 10000)
void setNominalResistor(long value);
// temperature for nominal resistance (default: 25)
void setNominalTemperature(int value);
// The beta coefficient of the thermistor (default: 3950)
void setBCoefficient(int value);
// the value of the resistor in series with the thermistor (default: 10000)
void setSeriesResistor(long value);
// set a temperature offset
void setOffset(float value);""
But since i use a different thermistor I want to change them to values I'm using
I just want to say that I'm totally new on this so my question might be stupid. However I have looked for a z-wave thermometer for my smoker, barbecue but I haven't found one, then I discovered this "mysensors" and "nodemanager" and start reading about it. I have several meat probes at home, the probes are actually simple thermistors and I thought maybe this could be a solution. I bought some stuff from China and start a little project. As I don't know anything about coding or programming I was glad to find nodemanager. I measured the reference resistance on the probe at 25 degrees (100k) and also measured the resistance at some other temperatures to get the B-coffistence (4169).
I hooked up a simple test project on my board and put in the following code:
int temp = nodeManager.registerSensor(SENSOR_THERMISTOR,A2);
SensorThermistor* tempSensor = ((SensorThermistor*)nodeManager.getSensor(temp));
The sketch uploads to the ardruino and delivers a temperature but I don't think it considers the changes I try to implement, whatever values I put in I get the same result. Can anyone help me with this?
Thanks in advance!
Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.