UnifiedEngineering / T-962-improvements

Improvements made to the cheap T-962 reflow oven utilizing the _existing_ controller HW
GNU General Public License v3.0
783 stars 192 forks source link

"COLD JUNCTION NOT PRESENT" DS18S20 not available from DigiKey; DS18S20+PAR substituted #231

Open CurtUSA opened 2 years ago

CurtUSA commented 2 years ago

Is the DS18S20+PAR a direct replacement for DS18S20?

BACKGROUND Others have noted and I too appreciate the excellent documentation available to upgrade this oven. I have a time-critical antenna project and need to get a volume of SMD's soldered to PCB's.

SYMPTOM I closely followed VoltLog's video (replaced painter's tape; grounding improvement; firmware upgrade) and am now installing a cold junction reference. I've purchased six each DS18S20+PAR for this purpose from DigiKey, carefully installed three -- and for all three installs the message "COLDJUNCTION NOT PRESENT" is present.

TROUBLESHOOTING NOTES (1) Pull up resistor measured as 4.7k ohms (2) Voltage on both sides of the resistor measured at 3.3 volts (makes sense to me, as the device pulls very little current) (3) I carefully held device leads with pliers prior to bending two of them, to ensure there are no continuity breaks inside the device (4) I have a scope and fluent in using it, but not sure what signal I would be investigating -- happy to use it on someone's advice.

QUESTION As the DS18S20 now appears unavailable from a reputable supplier (see attached screenshots from DigiKey), is the DS18S20+PAR a direct substitute, or is there a firmware modification needed? (Apologies -- I compared the data sheets as best I can, but don't understand enough about firmware communications to determine if the two devices are direct substitutes.)

Data Sheet DS18S20-PAR.pdf Data Sheet DS18S20.pdf

Overview Close Up of Device Close Up of Resistor Delete Delete1

GitLang commented 2 years ago

As far as I can see from the datasheet they are identical except the use of 1 wire only for the -PAR. I think your problem is your wiring to the actual device. It looks like you have wired to pins 1 & 3 (the two outside pins). In the -PAR flavour pin 3 is not connected. You should be connecting to pins 1&2. With the pins downward and the flat facing you, pin 1 is the left end pin and is GND. Pin 2 is data+parasitic power supply.

Beware of the 18B20, it has different command protocol and is not compatible.

CurtUSA commented 2 years ago

Thank you for the feedback!

I apologize, for I forgot to mention in my original report that in one of the previous configurations I had clipped Pin 3; the same error message "COLD JUNCTION NOT PRESENT" occurred. This morning I reproduced the configuration with no connection to Pin 3 (see attached photo), unfortunately with the same result.

Also attached is a close-up photo of one of the DS18S20-PAR devices, from the same shipment from DigiKey.

-Curt

NC to Pin 3 DS18S20-PAR a DS18S20-PAR close up

borland1 commented 2 years ago

I purchased a few Dallas 18B20 from AliExpress. I haven't installed one in my T-962 oven yet, as I'm still waiting for the 4.7K SMD resistor, but did test 5 of them with a 3.3V Arduino and a One-Wire Library. Tested good with both pin 3 (VDD) grounded or unconnected. Couldn't see any difference in performance between pin 3 grounded and unconnected. Datasheets I looked at say to ground pin 3 for Parasitic Power Mode, but does not seem necessary with the devices I bought.

Seems like a more ideal place to mount the 18B20, is next to the Red LED, in the two unused plated thru-holes. One hole is tied to ground, the other hole is not connected to any traces, so just a short wire from data line to the 4.7K resistor.

Update: Got the 4.7K ohm resistor (1206 SMD ) and installed it as planned. Here are my photos taken pre-install and after...

T962_1 T962_2 T962_3 T962_4

wulfmans commented 1 year ago

programming appears to be the same so its hardware related

it requires a STRONG pullup not only the resistor

On 7/21/2022 6:36 AM, CurtUSA wrote:

Thank you for the feedback! I apologize, for I forgot to mention in my original report that in one of the previous configurations I had clipped Pin 3; the same error message "COLD JUNCTION NOT PRESENT" occurred. I repeated this configuration this morning (see attached photo), unfortunately with the same result. -Curt

NC to Pin 3 DS18S20-PAR a https://user-images.githubusercontent.com/109673156/180226732-210157d4-9f91-4bee-9efe-54277164d701.jpg

— Reply to this email directly, view it on GitHub https://github.com/UnifiedEngineering/T-962-improvements/issues/231#issuecomment-1191494933, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWNV3OK5EELDXYYH5ISQ23VVFG47ANCNFSM54DY6UJA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

drmhtd commented 1 year ago

Your resistor is marked 4R7. That is a 4.7 ohm resistor. You will always see 3.3V on the signal because the device will not be able to drive it to a logic 0.