Page 2 of 2

Re: Temp sensor DS18B20 on STM32 sometimes read 85

Posted: Thu Jan 14, 2021 4:28 am
by fredbox
Assuming the schematic is for a carrier board that holds the blue pill board, I would first power the blue pill separately and just hook up the sensor. If that works, I would hook up the other used pins one at a time until the problem reappears.

I read somewhere that the pins going to the crystals needed to be removed before plugging into another circuit.

Re: Temp sensor DS18B20 on STM32 sometimes read 85

Posted: Thu Jan 14, 2021 1:34 pm
by mrburnette
Are you "really" supplying +5V from DC-DC to the 3.3V uC as shown in the schematic?

Re: Temp sensor DS18B20 on STM32 sometimes read 85

Posted: Fri Jan 15, 2021 4:44 am
by dinihuygens
mrburnette wrote: Thu Jan 14, 2021 1:34 pm Are you "really" supplying +5V from DC-DC to the 3.3V uC as shown in the schematic?
yeaaa :shock:

Re: [SOLVED] Temp sensor DS18B20 on STM32 sometimes read 85

Posted: Fri Jan 15, 2021 6:16 am
by dinihuygens
thanks all, finally I can overcome this issue by changing the wire cable of my sensor :D
I just cut it off and replace it with the new one