I'm putting together a project using an Arduino Nano to control a small lake aeration system running a couple of oil-free compressors, some cooling fans for the after-coolers, indicator lights, pressure sensors, and solenoid valves to distribute air to 5 different locations throughout the water. I've used a 74hc595 to control an 8 relay module but I am still a bit short on pins. I will need to monitor temperature for the control enclosure and found your video while researching the DS3231 temperature sensor usage since I will be data-logging the system. Thanks for the video!
Quote from datasheet "The resolution of the temperature sensor is user-configurable to 9, 10, 11, or 12 bits, corresponding to increments of 0.5°C, 0.25°C, 0.125°C, and 0.0625°C". The datasheets are written for a reason everyone!
Something I have noticed is that the DS18B20 sensor is not super accurate at room temperature. It seems to report values a few degrees higher than it should. It becomes more accurate the farther away it is from room temp, but my sensor was report 80 degrees instead of 73-ish degrees for the ambient temperature
for the DS18B20. I am trying to figure out why the temperature doesn't update. if I apply heat or let it cool down the new temperature doesn't reflect unless I restart/reset the Arduino board. Any idea what could be causing this?
Hey, I’m just starting to look into arduino stuff now, and might be over my head on this one. 😂. What I would like to do is control a stepper motor based on the temperature inside a box. The stepper will open and close the lid as required to maintain temp. Any chance you could help!??
Yes. I have videos on stepper motors, fan speed control based on temperature, and videos on linear actuators. Check out the videos on my channel. Not exactly what you are looking for, but if you pieced it all together you could get it working. Good luck!
I'm putting together a project using an Arduino Nano to control a small lake aeration system running a couple of oil-free compressors, some cooling fans for the after-coolers, indicator lights, pressure sensors, and solenoid valves to distribute air to 5 different locations throughout the water. I've used a 74hc595 to control an 8 relay module but I am still a bit short on pins. I will need to monitor temperature for the control enclosure and found your video while researching the DS3231 temperature sensor usage since I will be data-logging the system. Thanks for the video!
Glad it was helpful!
i have had trouble and have spent like 8 hours on fixing my ds 18b20 sensor,thank you ,this code fixed it
Glad it could help!
THANK YOU THANK YOU THANK YOU SO MUCH FOR MAKING THIS VIDEO! It is really helpful for my project and I wish you all the best!!!
You're very welcome!
I want to connect ds18b20 sensor to my 3d printer because the other one was that with the end in glass and it broke. It is possible?
Depends on your 3D printer, they may have been using a different type sensor.
Quote from datasheet "The resolution of the temperature sensor is user-configurable to 9, 10, 11, or 12 bits,
corresponding to increments of 0.5°C, 0.25°C, 0.125°C,
and 0.0625°C". The datasheets are written for a reason everyone!
Good to know. 12 bit is much better, wonder why they just don't set it there all the time...
Something I have noticed is that the DS18B20 sensor is not super accurate at room temperature. It seems to report values a few degrees higher than it should. It becomes more accurate the farther away it is from room temp, but my sensor was report 80 degrees instead of 73-ish degrees for the ambient temperature
That is pretty far off. Mine have seemed better than that, but not super accurate.
Also, for the DS3231, which DS3231 library did you use, and how to install it (do you install it from the Arduino IDE or from github?)
That was so long ago... I probably got it from the Arduino IDE.
for the DS18B20. I am trying to figure out why the temperature doesn't update. if I apply heat or let it cool down the new temperature doesn't reflect unless I restart/reset the Arduino board. Any idea what could be causing this?
Weird. Sounds like it is not looping. Or maybe a dud sensor?
I used in my projet ds18b20 with ds3232 but ds3232 does not work successfully can you help me please
I just added the code I used to my Facebook page @ScienceFun4u
Was there a specific problem that you are experiencing?
@@ScienceFunInnovations thank you very much .I solved the problem after I changed the code
Can i use THIS project for My School does IT help me ?
Go for it!
hey when I connect my DS18B20 exactly the same way you did it says 0 sensors found
Weird. Maybe a bad sensor? I just had one stop working for me.
Hey, I’m just starting to look into arduino stuff now, and might be over my head on this one. 😂. What I would like to do is control a stepper motor based on the temperature inside a box. The stepper will open and close the lid as required to maintain temp. Any chance you could help!??
Yes. I have videos on stepper motors, fan speed control based on temperature, and videos on linear actuators. Check out the videos on my channel. Not exactly what you are looking for, but if you pieced it all together you could get it working. Good luck!
How to rename the sensor on the display ??
What exactly are you trying to do?
thank you for that very loud gun shot sound which woke up my kid and almost made me a heart attack
LOL. That is actually a lightning bolt. Have to make sure that my viewers are paying attention. :-)
Kitna ka hai
How much is what?
#include
#include
#define ONE_WIRE_BUS 2
OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature sensors(&oneWire);
int numberSensors=0;
float Celsius;
void setup(void) {
sensors.begin();
Serial.begin(9600);
numberSensors= sensors.getDeviceCount();
Serial.print(numberSensors);
Serial.println("sensors found");
Serial.println(Celsius);
}
void loop(void) {
sensors.requestTemperatures();
for (int i=0 ; i
Thanks!
Hey sir please give one Arduino mega board 🙏🙏
accurasy is lower
Yes. But to control something like an greenhouse fan, it is close enough. Thanks for watching.