# Fake DS18B20

**URL:** <https://forum.arduino.cc/t/fake-ds18b20/522908>\
**Category:** General Electronics\
**Created:** [April 27, 2018, 3:25pm UTC](https://forum.arduino.cc/t/fake-ds18b20/522908 "2018-04-27T15:25:41Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cathprotech](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@Cathprotech](https://forum.arduino.cc/u/Cathprotech)\
**Post date:** [April 27, 2018, 3:25pm UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/1 "2018-04-27T15:25:41Z")

</div>

Hi all,

Just thought I should mention this.

I purchased 10 x DS18B20 temperature sensors from an Ebay supplier at the end of March 2018.  
They came quite fast and in individual packages. Quite impressed as I had them in under 2 weeks.

Today, I came to use one of them, after connecting it to an Arduino Uno and running the oneWireSearch sketch, I could not get an address for it. I tried a few times, before I realised that this chip was getting very hot.

I immediately checked my wiring and confirmed that everything was ok, so tried again. This time I noticed that the 'ON' and 'L' LED's on the Arduino dimmed quite significantly.

I feared the worst that I had damaged the Arduino, but I inserted an old DS18B20 that I had some while and it worked fine.

I checked the physical difference between them and noticed number which has a '1541C4' marking on it, my older one having a '1523C4'.  
A search on the internet brought up very little but did come up with someone on the forum having the exact same problem over a year ago and the sensor had the same '1541C4' marking on his.

Putting into a component checker revealed that it is a standard NPN transistor, worse still, all 10 were tested the same.  
I have emailed the seller for a full refund before opening a dispute with Ebay and hope to get my money back.

So, has anyone else had a similar problem?

I have included here some images of the sensor, its packaging, the test and a real one.

Thanks

Martin

 ![Fake DS18B20 1541C4 Packaging.jpg](https://europe1.discourse-cdn.com/arduino/original/4X/7/0/4/704601320454840af8eb7aa077661bf323f27a7d.jpeg)

 ![Fake DS18B20 1541C4.jpg](https://europe1.discourse-cdn.com/arduino/original/4X/7/8/0/7801bab182af320f7c3c7fe3c1e5b3b84bfe94e7.jpeg)

 ![Fake Temperature Sensor.jpg](https://europe1.discourse-cdn.com/arduino/original/4X/7/e/3/7e34989d0750969c0d092683e66baa7efba3d251.jpeg)

 ![Real DS18B20 1523C4.jpg](https://europe1.discourse-cdn.com/arduino/original/4X/e/b/c/ebc4b8152bedd26325e3a356acf75fa2ec0e97fe.jpeg)

---

<div class="post-metadata">

**Author:** ![DrAzzy](https://avatars.discourse-cdn.com/v4/letter/d/eb9ed0/32.png) [@DrAzzy](https://forum.arduino.cc/u/DrAzzy)\
**Post date:** [April 27, 2018, 3:36pm UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/2 "2018-04-27T15:36:52Z")

</div>

You can't conclude from the component tester that it's actually an npn-transistor. Component testers can only give meaningful results for devices of types they are designed to identify; it doesn't surprise me that a digital IC would be mistaken for a transistor.

It does sound like there may have been either a bad batch (somehow? Surprising that they made it through QA), or a round of counterfeits (though with how cheap the real ones are, I question why anyone would bother faking them). The first part of that code is the date code, btw - 1541 = 41th week of 2015.

---

<div class="post-metadata">

**Author:** ![GolamMostafa](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/golammostafa/32/239011_2.png) [@GolamMostafa](https://forum.arduino.cc/u/GolamMostafa)\
**Post date:** [April 27, 2018, 3:53pm UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/3 "2018-04-27T15:53:52Z")

</div>

I bought few pieces of DS18B20 from local shop; these are marked as: 1619C4; they are working fine.

You have not posted your wiring diagram; so, we are not sure if you have made the right connection. Check the wiring as per following diagram and try again.

---

<div class="post-metadata">

**Author:** ![Southpark](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@Southpark](https://forum.arduino.cc/u/Southpark)\
**Post date:** [April 27, 2018, 4:25pm UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/4 "2018-04-27T16:25:06Z")

</div>

> Cathprotech:  
> I purchased 10 x DS18B20 temperature sensors from an Ebay supplier at the end of March 2018.  
> They came quite fast and in individual packages. Quite impressed as I had them in under 2 weeks.

Yep ..... I purchased 1 lot of 10 pieces from ebay (as in... from an ebay seller) once. I tested them, and my lot were indeed transistors in disguise. I tested them myself. This was only after some time of 'interesting' situations, before I was aware of these fakes ....... where the very first one was used with an arduino board. I heard some kind of faint 'pop' at power up. Extremely faint....and wasn't sure whether it was a faint 'pop' sound - or my imagination. I assumed ''imagination'. Ignoring that, it turned out that I wasn't getting temperature readings. So tried another .... faint 'pop' again. So figured that I better check my circuits etc. Checked, double-checked, triple-checked. Tried another one .... 'pop' and very faint white smoke..... not much at all....but enough to see something wasn't going well. Tried a fourth...... same. Then decided to test with known 'good' DS18B20. No problem. That's when I figured something was quite wrong with this batch. Did tests .... npn transistors for sure. Ordered a second batch from the same ebay seller. Exactly the same. Reported it to the seller (who has very high rating). They took the item offline sometime after that.

If you go to 'google', then you'll find other people that have encountered the same situation. They've also gone out of their way to document it all.

All of my DS18B20 that I've ever bought were from ebay. As long as we find a seller that consistently sells the 'real' DS18B20, then just stick with that particular seller.

---

<div class="post-metadata">

**Author:** ![Cathprotech](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@Cathprotech](https://forum.arduino.cc/u/Cathprotech)\
**Post date:** [April 27, 2018, 4:39pm UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/5 "2018-04-27T16:39:34Z")

</div>

> GolamMostafa:  
> You have not posted your wiring diagram; so, we are not sure if you have made the right connection. Check the wiring as per following diagram and try again.

As I mentioned, I tried a known good older one and it worked fine, hence wiring was good.

> DrAzzy:  
> You can't conclude from the component tester that it's actually an npn-transistor.

Yes, but a good, original one shows something completely different so shows they are not what they are supposed to be and it shows as an NPN transistor. If it wasn't a transistor or any other identifiable component, it would not identify it as a transistor.

Anyone have a details of a trustworthy seller of these. Can you PM me?  
Thanks

Hopefully the seller will refund.

---

<div class="post-metadata">

**Author:** ![DrAzzy](https://avatars.discourse-cdn.com/v4/letter/d/eb9ed0/32.png) [@DrAzzy](https://forum.arduino.cc/u/DrAzzy)\
**Post date:** [April 27, 2018, 5:12pm UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/6 "2018-04-27T17:12:12Z")

</div>

Why post the good vendor links via PM? Do we need to keep a secret where to buy the good ones?

These forums do not have a rule against linking to vendor pages.

---

<div class="post-metadata">

**Author:** ![Southpark](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@Southpark](https://forum.arduino.cc/u/Southpark)\
**Post date:** [April 27, 2018, 5:25pm UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/7 "2018-04-27T17:25:32Z")

</div>

> DrAzzy:  
> Why post the good vendor links via PM? Do we need to keep a secret where to buy the good ones?
> 
> These forums do not have a rule against linking to vendor pages.

Some seller called 'shieldsfans' or something along those lines has always sold decent items.

---

<div class="post-metadata">

**Author:** ![Cathprotech](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@Cathprotech](https://forum.arduino.cc/u/Cathprotech)\
**Post date:** [April 27, 2018, 6:06pm UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/8 "2018-04-27T18:06:57Z")

</div>

> DrAzzy:  
> Why post the good vendor links via PM? Do we need to keep a secret where to buy the good ones?
> 
> These forums do not have a rule against linking to vendor pages.

Oh, in which case, then please post good reliable vendors.  
I wrongly assumed there would be a rule against it.

Thanks

---

<div class="post-metadata">

**Author:** ![terryking228](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/terryking228/32/214478_2.png) [@terryking228](https://forum.arduino.cc/u/terryking228)\
**Post date:** [April 28, 2018, 5:16am UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/9 "2018-04-28T05:16:44Z")

</div>

Hi,

I buy thousands of DS18B20's every year, many in the Waterproof version. I have a very reliable factory in Shenzhen, China ,which my partner visits personally, make the waterproof ones, and get the plain chip versions from them also. They obviously have to have genuine sensors to keep their reputation with many industrial users.

DISCLAIMER: Mentioning stuff from my own shop...!

[See some here:](http://www.yourduino.com/sunshop/index.php?l=product_detail&p=151)

I guarantee these will be genuine and work...

---

<div class="post-metadata">

**Author:** ![PaulRB](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/paulrb/32/216330_2.png) [@PaulRB](https://forum.arduino.cc/u/PaulRB)\
**Post date:** [April 28, 2018, 8:52am UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/10 "2018-04-28T08:52:48Z")

</div>

I have purchased ds18b20 [here](https://www.ebay.co.uk/itm/DS18B20-18B20-1-WIRE-Digital-Thermometer-BRAND-NEW-UK-STOCK-/190784246404) and they have been fine.

---

<div class="post-metadata">

**Author:** ![Cathprotech](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@Cathprotech](https://forum.arduino.cc/u/Cathprotech)\
**Post date:** [April 29, 2018, 8:56am UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/11 "2018-04-29T08:56:23Z")

</div>

Thank you for the suggestions.

I have ordered some from a UK seller as I needed them pretty quick now. Cost 3x more, but should be here Monday.

The seller I used in China offered me 50p refund at first, not sure if it was an error so told him the cost was £4.99 and this morning he refunded me in full.  
So, maybe not a bad seller, just his supplier.

Thank you for the suggestions of where to buy from, I will keep them in mind next time I need them. Hopefully the ones I ordered on Friday from the UK seller will do for now.

Thanks  
Martin

---

<div class="post-metadata">

**Author:** ![bishaldutta](https://avatars.discourse-cdn.com/v4/letter/b/f17d59/32.png) [@bishaldutta](https://forum.arduino.cc/u/bishaldutta)\
**Post date:** [April 29, 2018, 4:36pm UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/12 "2018-04-29T16:36:36Z")

</div>

I have bought cheaply from Aliexpress from this [Seller](http://bit.ly/2r94Bn9) many times but never got any fakes. But the catch is that you have to use 4.7k between power and data line. Otherwise, it will not work!

---

<div class="post-metadata">

**Author:** ![Cathprotech](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@Cathprotech](https://forum.arduino.cc/u/Cathprotech)\
**Post date:** [April 29, 2018, 5:01pm UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/13 "2018-04-29T17:01:18Z")

</div>

Thanks, will check them out.

I think you are supposed to use a 4.7k resistor as a pull-up anyway.

---

<div class="post-metadata">

**Author:** ![bishaldutta](https://avatars.discourse-cdn.com/v4/letter/b/f17d59/32.png) [@bishaldutta](https://forum.arduino.cc/u/bishaldutta)\
**Post date:** [April 29, 2018, 8:31pm UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/14 "2018-04-29T20:31:23Z")

</div>

Some DS18B20 module has a builtin 4.7K resistor.

---

<div class="post-metadata">

**Author:** ![Cathprotech](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@Cathprotech](https://forum.arduino.cc/u/Cathprotech)\
**Post date:** [April 29, 2018, 9:16pm UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/15 "2018-04-29T21:16:40Z")

</div>

I wasn't aware of that.  
How do you know if it has a built in 4.7k resistor other than trying it without?

---

<div class="post-metadata">

**Author:** ![terryking228](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/terryking228/32/214478_2.png) [@terryking228](https://forum.arduino.cc/u/terryking228)\
**Post date:** [April 29, 2018, 10:40pm UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/16 "2018-04-29T22:40:42Z")

</div>

Hi,  
There are MODULES that have pullup resistors and connectors, like this:

But the actual CHIP in a TO-92 case looks like this:

![](https://europe1.discourse-cdn.com/arduino/original/4X/7/2/f/72fa5c2087deedeb5495ce3a6906d1e9be975413.jpeg)

If you have the bare chip YOU need to provide the pullup resistor..

4.7K is nominal, two 10K resistors in parallel (5K) is fine.

On long wires, 2.7 K may be better.

NOT a critical value..

See [THIS PAGE](http://arduino-info.wikispaces.com/Brick-Temperature-DS18B20)for lots of details and code...

---

<div class="post-metadata">

**Author:** ![Cathprotech](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@Cathprotech](https://forum.arduino.cc/u/Cathprotech)\
**Post date:** [April 30, 2018, 11:10am UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/17 "2018-04-30T11:10:47Z")

</div>

Ah yes, the modules could have built-in resisors, but I was talking about the chips.

I have received 5 this morning from a UK supplier that I ordered on Friday, tested them straight away this time.

Got them from [here](https://www.ebay.co.uk/itm/DS18B20-Digital-Temperature-Sensor-Chip-Dallas-TO92-Raspberry-Arduino-UK-Stock/161879382812?ssPageName=STRK%3AMEBIDX%3AIT&var=460846854491&_trksid=p2060353.m2749.l2649).

Results below:

//  
// Start oneWireSearch.ino  
//  
uint8\_t pin2[][8] = {  
{  
0x28, 0x61, 0x64, 0x11, 0x82, 0x77, 0xE0, 0x4F },  
0x28, 0x61, 0x64, 0x11, 0x8C, 0x6B, 0x65, 0xA9 },  
0x28, 0x61, 0x64, 0x11, 0x8C, 0x64, 0x2E, 0xD7 },  
0x28, 0x61, 0x64, 0x11, 0x95, 0x9C, 0xD8, 0x55 },  
0x28, 0x61, 0x64, 0x11, 0x82, 0x74, 0x1E, 0x71 },  
};  
// nr devices found: 5  
//  
// End oneWireSearch.ino  
//

---

<div class="post-metadata">

**Author:** ![terryking228](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/terryking228/32/214478_2.png) [@terryking228](https://forum.arduino.cc/u/terryking228)\
**Post date:** [April 30, 2018, 5:57pm UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/18 "2018-04-30T17:57:42Z")

</div>

Hi,  
I read a while ago that some industrial equipment uses DS18B20's to set an internal serial number.

The manufacturer also makes serial number chips. BUT the DS18B20 is cheaper, and you can just ignore the temperature measurement capability.

---

<div class="post-metadata">

**Author:** ![Cathprotech](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@Cathprotech](https://forum.arduino.cc/u/Cathprotech)\
**Post date:** [April 30, 2018, 8:17pm UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/19 "2018-04-30T20:17:47Z")

</div>

That's an interesting use of them.

---

<div class="post-metadata">

**Author:** ![m\_elias](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/m_elias/32/1126438_2.png) [@m\_elias](https://forum.arduino.cc/u/m_elias)\
**Post date:** [January 23, 2019, 5:15pm UTC](https://forum.arduino.cc/t/fake-ds18b20/522908/20 "2019-01-23T17:15:18Z")

</div>

We have purchased 100s of DS18B20 from China, both plain and water-proofed with 1-2M leads. Recently I discovered that many of the water-proofed sensors, while they report a reasonable temperature, I cannot write to the user data (high/low alarm). All the working sensors report a high/low set-point of 75/70 from factory but these questionable ones show 255/255 before and after any attempt to change the set-points.

Has anyone else come across this?

[Next page](https://forum.arduino.cc/t/fake-ds18b20/522908.md?page=2)
