Comments (9)
Interesting.
-
I have tested temperature readings at temperatures other than 0 C sporadically, only, because that takes considerably more effort to get right than a measurement in an ice--water bath at 0C. I don't expect the offsets at 0 C will tell you much about the errors at other temperatures, though.
-
I have two probes with sensors that have ROMs similar to yours, and those are Family B1:
28-96-E7-8E-5A-14-01-C2
28-02-B7-13-5F-14-01-73
from counterfeit_ds18b20.
For future reference, I've added a sketch that determines what Family a sensor belongs to based on low-level implementation details (i.e. using undocumented function codes): classify_fake_DS18B20.ino
from counterfeit_ds18b20.
Ok, so is not that easy to tell which family they belongs to.
I see that A2, D1 and D2 have offsets up to 3° so my guess is that mine should be in those families.
For the sake of clarity, I am not really doing tests but just noticed this discrepancy between my heat pump send temperature and the DS18B20 being in contact on the send/return pipes similar to this
from counterfeit_ds18b20.
Make sure there's insulation surrounding the pipe with the sensor otherwise your measurement error will increase the more the pipe temperature differs from the ambient temperature (i.e. you measure a temperature that lies between pipe and air temperature).
from counterfeit_ds18b20.
Yes, there's insulation surrounding the pipe and thermal paste all around the probe.
from counterfeit_ds18b20.
sketch_may24a.ino: In function ‘void loop()’:
sketch_may24a.ino:391:1: error: jump to label ‘err_C’ [-fpermissive]
sketch_may24a.ino:380:68: note: from here
sketch_may24a.ino:381:15: note: crosses initialization of ‘uint8_t cfg2’
sketch_may24a.ino:391:1: error: jump to label ‘err_C’ [-fpermissive]
sketch_may24a.ino:371:68: note: from here
sketch_may24a.ino:381:15: note: crosses initialization of ‘uint8_t cfg2’
sketch_may24a.ino:372:15: note: crosses initialization of ‘uint8_t cfg1
from counterfeit_ds18b20.
changed the script so it compiles without the (Arduino IDE default) -fpermissive compiler option
from counterfeit_ds18b20.
it compiles but I got this output (I am running it on linux IDE)
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x20
from counterfeit_ds18b20.
-
avrdude is the program used to upload the program to the board, i.e. this error has nothing to do with the script and should appear regardless of what program you try to upload. Consider checking the Arduino forum for pointers.
-
I've never used the Linux IDE so here are some things to check based on the way the Windows version works. I'm assuming you connect the board to the computer through a plain USB cable and you use something like an Uno or so that doesn't need the reset button pushed manually.
- select the board in "Tools/Board"
- select the port the board is connected to in "Tools/Port"
- close any terminal (program) connected to that port (also check any other instances of the IDE)
- use "Sketch/Upload" rather than "Sketch/Upload using programmer"
from counterfeit_ds18b20.
Related Issues (20)
- Many claims rely on unpublished investigations HOT 2
- Clarification on "Obtained neither probes nor chips in 2019" HOT 3
- DS18B20 Waterproof Temperature SONOFF sensor HOT 3
- Annoying this has to be done at all ... HOT 1
- Graph of actual performance of fake DS18B20 HOT 7
- raspberry pi version HOT 5
- B7 die: it might be interesting to update the library. HOT 2
- Question: testing *without* an arduino? HOT 6
- P marking inside the indent on the rear of the case is potentially not 100% "proof" of genuine sensor. HOT 5
- ROM valid for identification of fakes? HOT 3
- Could you update the MAX31820 description? HOT 1
- How to get rock solid readings and avoid the 85°C and the -127°C problems HOT 3
- which providers were reliable? HOT 2
- classify_fake_DS18B20.ino output has a typo HOT 1
- arduino library HOT 5
- Family C HOT 1
- Is it really a *supercap*?
- unused var HOT 1
- How to get the relevant conversion time. HOT 19
- The number of deviations is unexpectedly small. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from counterfeit_ds18b20.