Live data from Hacker News

Your DS18B20 temperature sensor is likely a fake, counterfeit, clone

github.com

31–40 of 239 posts

Re: Your DS18B20 temperature sensor is likely a fake, counterfeit, clone

#31
post #23

Earlier quoted context omitted.

May I ask what you bought? I've been looking for something like this but everything I've found has been pricey.

Ecowitt everything. They whitebox for Ambientweather and others, there's a whole rundown on wxforum: https://www.wxforum.net/index.php?board=111.0

I never knew about wxforum. Awesome. Thank you!

Re: Your DS18B20 temperature sensor is likely a fake, counterfeit, clone

#32
post #6

This affects temperature sensors/parts bought from un-official distributors like ebay or AliExpress, not digikey, farnel, etc. Perhaps I've been too lucky in my career and practiced EE for work, but who would you ever go to ebay instead of digikey?? Digikey certainly has a premium, but their speciality is small numbers/cut tape/etc and they have a small order size which makes them ok for hobby work, and I've used the…

I'd never expect to find these in official products from trusted brands, but off-brand crap? Oh yeah. DIY kits? Absolutely. The parts drawer at the makerspace? One hundred percent. So much stuff on eBay is free shipping, that's huge when you only need a few dollars worth of stuff. If I could convince Digi-Key to lick a 55-cent stamp when I need ten of something, instead of charging me $7 for shipping, I'd have a lot…

This. I buy a decent amount of hobby electronics from eBay and AliExpress because yes it is cheaper. When I need quality, Mouser, DigiKey, and McMaster-Carr are there for me. But the minimum $7-9 shipping is the main reason is forego them. I’d gladly pay 2x for small electronic components (vs directly from China options) if shipping wasn’t a problem.

Re: Your DS18B20 temperature sensor is likely a fake, counterfeit, clone

#33
post #6

This affects temperature sensors/parts bought from un-official distributors like ebay or AliExpress, not digikey, farnel, etc. Perhaps I've been too lucky in my career and practiced EE for work, but who would you ever go to ebay instead of digikey?? Digikey certainly has a premium, but their speciality is small numbers/cut tape/etc and they have a small order size which makes them ok for hobby work, and I've used the…

How else can you get anything from Maxim besides samples? (joke may be a decade out of date)

Re: Your DS18B20 temperature sensor is likely a fake, counterfeit, clone

#34
post #6

This affects temperature sensors/parts bought from un-official distributors like ebay or AliExpress, not digikey, farnel, etc. Perhaps I've been too lucky in my career and practiced EE for work, but who would you ever go to ebay instead of digikey?? Digikey certainly has a premium, but their speciality is small numbers/cut tape/etc and they have a small order size which makes them ok for hobby work, and I've used the…

It does seem like the headline is misleading, as surely the unit-weighted average authenticity of these parts leans towards 1.0. Surely nobody would buy these by the 1000's from unofficial channels?

Re: Your DS18B20 temperature sensor is likely a fake, counterfeit, clone

#35
post #6

This affects temperature sensors/parts bought from un-official distributors like ebay or AliExpress, not digikey, farnel, etc. Perhaps I've been too lucky in my career and practiced EE for work, but who would you ever go to ebay instead of digikey?? Digikey certainly has a premium, but their speciality is small numbers/cut tape/etc and they have a small order size which makes them ok for hobby work, and I've used the…

I'd never expect to find these in official products from trusted brands, but off-brand crap? Oh yeah. DIY kits? Absolutely. The parts drawer at the makerspace? One hundred percent. So much stuff on eBay is free shipping, that's huge when you only need a few dollars worth of stuff. If I could convince Digi-Key to lick a 55-cent stamp when I need ten of something, instead of charging me $7 for shipping, I'd have a lot…

These show up in "trusted" Chinese brands too. Whenever you see a teardown where the markings are ground off a chip with obvious, non-trade secret function (USB serial converter for instance), its most likely a counterfeit that needs to have its fake markings removed to get past first world customs inspectors.

Re: Your DS18B20 temperature sensor is likely a fake, counterfeit, clone

#36
Trust in hardware supply chains when manufactring a PCB for a product can be quite fragile: when one component operates outside of spec, the entire device could be rendered useless. In the case of the DS18B20, the author states in the 'Warning' section that the primary way of determining counterfeit sensors is to check the ROM output compared to a known format. When counterfeit parts like this are added, it creates vulnerabilities in the entire system due to the ability for a bad actor to leverage this vulnerability and cause one part in an entire system to fail.

For example, the company FTDI snuck in code that was in a series of Windows updates that was able to detect counterfeit FTDI and brick them via software to send back all 0's.[0][1] This anti-consumer behavior on behalf of comapnies can a be a headache for end-users and programmers alike.

[0] https://hackaday.com/2014/10/22/watch-that-windows-update-ft...

[1] https://hackaday.com/2016/02/01/ftdi-drivers-break-fake-chip...

Re: Your DS18B20 temperature sensor is likely a fake, counterfeit, clone

#37

Anyone have an idea what these are used in? I originally thought they might be used for 3D printing, but that doesn’t seem to be the case - except, perhaps for chamber temperature.

I have several for homebrewing - monitoring mash, sparge, and fermentation temps.

I have a bunch for a related process. I don’t need them to be super accurate but they should be consistent and repeatable and the ones i have definitely are that.

Re: Your DS18B20 temperature sensor is likely a fake, counterfeit, clone

#39
post #38

Off topic but... how do you do IO on a chip that only has 3 pins? I assume you need one pin for V+ and one pin for Ground and then there's only one pin left for both I and O?

Dallas/Maxim usually likes their 1-Wire bus for that: https://en.wikipedia.org/wiki/1-Wire

The DS18B20 is, indeed, a 1-Wire device.

Re: Your DS18B20 temperature sensor is likely a fake, counterfeit, clone

#40

Earlier quoted context omitted.

I've bought hundreds of electronic parts on eBay and rarely had issues. I discovered LED strips were a thing by shopping on eBay, years ago, much before they were trendy, I was buying them at one fifth the cost American retailers were charging. Bought Arduino clones for a quarter the price of the "real" thing when I was a broke student. ATMega MCUs for a dollar a piece, free shipping. They worked perfectly fine. Coul…

99%+ of my hobbyist electronics bits n' bobs are ali express/banggood specials, and they have all worked fine, from arduino clones to sensors and ESP8266's. If I were working on something more important that dinking around for fun, sure, I might care a bit more about what's actually on the board. But as it is, the clones are more than adequate for my needs, particularly at their price point.

In the case of the ESP8266, the parts were available through channels like eBay and AliExpress long before they showed up through any of the typical electronics distributors. Same thing goes for other first-in-China parts like the GD32 series (STM32 clone) and WCH340 series (USB/serial).
Post reply on HN