DS18B20 Fake Sensor That Works!
HTML-код
- Опубликовано: 11 июл 2024
- DS18B20 - the most popular temperature sensor among Arduino users.
A use them a lot in my projects.
What I did not expect, is to find a counterfeit DS18B20 sensor that actually works.
Well, the Fake sensor doesn't support 9, 10-bit resolution, and doesn't work with a long 1-wire bus. But I am still impressed with the fake.
Buy ESP8266, Arduino alternative with Wi-Fi: s.click.aliexpress.com/e/CYgYASTW
OLED Display that I use: s.click.aliexpress.com/e/oP7Frorm
The code for the tester: github.com/electrical-pro/Ds_... Наука
Very good info. I have 10 sensors connected to two channels of a PIC micro. 8 on one channel and two on the other. They are spread all over my house - from outside (20 feet of wire) to the garage on the other side of the house (80 feet of wire: Freezer, Refrigerator, garage temp, and attic temp - 4 sensors), and furnace flue, furnace intake, hot water pipe) and others, in a star connection - not all in a row, but a lot of branches. They all feed my Linux box over RS-232. I really like your tester and phone app! Nice work.
Nice job, I didn't know about this issue. I'll use your tester on the next batch I get. Thanks
Very useful! Thanks for the inspiration. For someone who doesn't need to test sensors all the time though, it's worth mentioning that can find ready made example sketches to run in Console and test Resolution, Speed and Alarms...
You just solved my one wire problem. A 1000 thanks :-)
Now i know why I have problems with those sensors. I will test all my sensors using your code!
thanks!
Thank you very much your video helped me a lot, you answered my doubts based on the datasheet, this video was amazing.
Thanks very much for the info. Saved us lots of trouble.
Thank you for this info!
Amazing video! Thanks!
What software do you use on your smarphone to display all the values from the sensors?
Hi, nice video. I uploaded your sketch to an esp8266 but the timecon is fixed at 752ms. Can you help me?
Good video
Is it possible to get the wire connections/ pin numbers on how the display, ESP and ds18b20 are connected?
What the software on SmartPhone? Very good, in my opinion.
yes i got fake vl6080 sensors from a Chinese vendor on amazon. the range works ok but has noise, and the ambient light sensor does not exist. thanks for the video!
I had 3 fake DS18B20 in stainless tube - they doesn't work with transistor tester. Other three are good, but now I'm not sure that they are not fake as well.
it is possible to use arduino to measure the temperature and set and control 12v valves, there would only have to be 26 zones, I want to do cooling for the computer, there will be 26 peltier systems and 26 temperature sensors in the cooling system, I want to control it so that there is about 5 "c on the cpu at the cooling outlet 125'c
Rather than being a individually trimmed special function chip, the fake may be a microcontroller and lower spec sensor, the microcontroller mimicing the 1-wire protocol. With conversion time being faster, power draw maybe higher, making it less compatible with a long bus or more devices connected.
I suspect that's the case, also that those full 12 bits are meaningless.
@@jan.tichavsky Back in the mid 1990s we looked at using a micro-controller to read temperature in place of a DS18B20 or DS18S20 which were expensive but mostly because they were difficult to get through the local agents. Because temperature is a slow changing variable it was easy to over sample and average to get more resolution from a smaller ADC.
hi ake gpio su on lcd?
and which gpio on the sensor?
Am getting temperature as -127 degree always. Can you help?
Hello, I need a little help, it's a temperature sensor
DS18B20.
I wonder if I can influence it to read the wrong temperature.
I need to cheat the electronics to which such a sensor is connected at a given moment.
It is an electronics for a pellet burner, more precisely a centrometal burner from 2012, and the principle of its operation is such that when the water temperature in the boiler drops below 60 degrees, it goes into automatic ignition. The ignition automatically goes should or should not need hot water.
I tried everything but the only solution is to fool the electronics and give it the wrong information about the water temperature, that is. that the electronics receive a signal that the water temperature is 60 degrees or higher.
Thanks in advance.
Hello, There are Arduino libraries that can simulate DS18B20, so you can connect an Arduino instead of DS18B20, and send the fake temperature. I did not fully understand the details, but if you have access to the wires this will work. Of course, you need some Arduino skills to make this work. Hope it helps.
@@ElectricalPro Ok, thanks for the answer, I can pretty much program arduino, I'm not from that profession but I understand a lot of things. Please tell me how to send the data to that wire. I noticed that the sensor works in prazit mode? Thanks
If you get a fake sensor, then please indicate te name of the seller. I'm pretty sure that not all aliexpress sensors are fake (or are they?)
Basically they are all fake. A real one costs 2-3 dollars per piece in bulk, there you buy them at less than 1 dollar each.
What Olaf said. At best, fakes will be less accurate than the real thing, and may fail sooner or be DOA. At worst, the leads could be backwards, or they're just TO92 transistors. I'd use the fakes for prototypes and non-critical stuff, and buy real ones if I needed accuracy or reliability.
Блиин, а по-русски еть где-то?😂😂
У тебя акцент, как меня в 5 классе))
По-перше, а чому ви вирішили що він має говорити російською?
По-друге, а може хлопчина як раз у 5 класі.
@@user-pf5ov8sn5l Автор молодец, выбрал англ сегмент для развития. Ну в видео можно узнать по карте, что он из Украины. Ну и по произношению очень хорошо слышно)
@@teenkode Та я ж и не спорю, я за переход на английский. Просто странно на англоязычном канале видеть комменты "пачиму нипаруски", потому в противовес ответил по-украински... А где вы карту увидели? Я только определил, что автора звать Сергій Б., что явно указывает страну.
@@user-pf5ov8sn5l не помню точно, в каком видео, но он показывал гугл карту, и там было видно его местоположение, где-то в деревне в Украине
Make in India not Made in India 🔥🔥🔥🔥🔥