I´ve been struggling with a problem on the DS18B20 temp probe when connected to pin D2 on my DRV8825+Nano IRBT version of myFocuserPro, I have done test with the test programs available on a Nano and an Uno boards and I have found that the temp probe works only un the Uno board.
But when I change on the Nano the DQ pin from 2 to anothe one i.e. 3 or 4 it works perfectly.
The problem here is that as with run out of pins on the Nano due to the DRV8825 connections, we can change the temp probe to another one.
I have done the same with pcb board probes and waterproof probes, the DS18b20 ones for pcb do not work neither.
This is a problem to me as the project myDewController uses the same pin 2 on the nano for the DS18b pcb board temp probe which controls the temperature on the board and activates the cooling fan.
Best Regards.
Mario.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Mario
There has been no previous reported issue of using DS18B20 probes on D2 of a nano. I have several dew controllers and focusers current working with that configuration.
Please send a link to the DS18B20 that you purchased.
Hi Bob, it is not a problem with the probe, I bought them on an Spanish shop and as I said they work , but not when assigned to pin 2. It is really weird I know. For the focuser itself is not a big issue as there is no temp compensation on the focuser. But I am worried about the dew controller.
I will let you know when I assemble the dewController.
Cheers.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You are using a 4.7K resistor between SIG and 5V? --> yes
What happens if you remove that resistor? Does it then work? No
Finally I have done some more tests, It seems to be that the pcd mounted DS probes did not work in any case, none of them were found by the test program.
However I have succeded with the waterproof ones, maybe the usb wire was not powerfull enough to supply the 5V, with a shorter usb wire it worked.
I have used a Nano clon for the tests, I am gonna try with the Nano "official" to see what happens.
Cheers.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear all, first of all Happy new year.
I´ve been struggling with a problem on the DS18B20 temp probe when connected to pin D2 on my DRV8825+Nano IRBT version of myFocuserPro, I have done test with the test programs available on a Nano and an Uno boards and I have found that the temp probe works only un the Uno board.
But when I change on the Nano the DQ pin from 2 to anothe one i.e. 3 or 4 it works perfectly.
The problem here is that as with run out of pins on the Nano due to the DRV8825 connections, we can change the temp probe to another one.
I have done the same with pcb board probes and waterproof probes, the DS18b20 ones for pcb do not work neither.
This is a problem to me as the project myDewController uses the same pin 2 on the nano for the DS18b pcb board temp probe which controls the temperature on the board and activates the cooling fan.
Best Regards.
Mario.
Hi Mario
There has been no previous reported issue of using DS18B20 probes on D2 of a nano. I have several dew controllers and focusers current working with that configuration.
Please send a link to the DS18B20 that you purchased.
Here is a link to the probe that is recommended
https://www.ebay.com/itm/Waterproof-Digital-Thermal-Probe-or-Sensor-DS18B20-Length-1M/201544352532
Hi Bob, it is not a problem with the probe, I bought them on an Spanish shop and as I said they work , but not when assigned to pin 2. It is really weird I know. For the focuser itself is not a big issue as there is no temp compensation on the focuser. But I am worried about the dew controller.
I will let you know when I assemble the dewController.
Cheers.
No, what I was trying to establish is if the probe came mounted on a PCB? Or if the probe was different to the one in the link I posted.
You are using a 4.7K resistor between SIG and 5V?
What happens if you remove that resistor? Does it then work?
Where did you purchase the Nano? You have a link?
You are using a 4.7K resistor between SIG and 5V? --> yes
What happens if you remove that resistor? Does it then work? No
Finally I have done some more tests, It seems to be that the pcd mounted DS probes did not work in any case, none of them were found by the test program.
However I have succeded with the waterproof ones, maybe the usb wire was not powerfull enough to supply the 5V, with a shorter usb wire it worked.
I have used a Nano clon for the tests, I am gonna try with the Nano "official" to see what happens.
Cheers.
Hi Mario
The PCB mounted DS18B20 are not recommended for any of the myxxxxxx projects.
Regards
Robert