Massi
Posts: 1691
Joined: Fri May 02, 2014 1:52 pm
Location: Italy

Re: DS18B20 Temperature Sensor / 1-Wire on Windows 10

Fri Nov 13, 2015 1:03 pm

as far as i have understood, at the moment it's impossible to write "user" code that manages precise timings.
So, i.e., it's impossible to get a DHT22 sensor to work (it's impossible to precisely time interrupts)
To me, this is a massive limit for iot.

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: New Zealand

Re: DS18B20 Temperature Sensor / 1-Wire on Windows 10

Fri Nov 13, 2015 1:44 pm

trashcoder wrote:
paul777 wrote:Hi,

Did you ever find a good solution for this I'm looking at the same problem myself?

thanks
I ended up using an Arudino connected to the Pi via I2C...
Anything but Linux.

ricl
Posts: 657
Joined: Wed Aug 26, 2015 11:55 am

Re: DS18B20 Temperature Sensor / 1-Wire on Windows 10

Fri Nov 13, 2015 2:34 pm

But for half the price of a DS18B20 you can get

https://www.adafruit.com/products/2635
Adafruit HDC1008 Temperature & Humidity Sensor Breakout Board (I2C)
PRODUCT ID: 2635
$7.50
IN STOCK

with a higher sampling specification.
ricl : F/gamma = ma : Law ii(a) : https://climatedatablog.wordpress.com/2016/01/02/an-energy-challenge-2016/ #AnEnergyChallenge2016

User avatar
rpdom
Posts: 16383
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: DS18B20 Temperature Sensor / 1-Wire on Windows 10

Fri Nov 13, 2015 5:28 pm

How much do you pay for your DS18B20s? :shock:
I bought ten for around that price.

ricl
Posts: 657
Joined: Wed Aug 26, 2015 11:55 am

Re: DS18B20 Temperature Sensor / 1-Wire on Windows 10

Fri Nov 13, 2015 6:08 pm

You can improve significantly on those specs at a lower price (given the ease of integration of it over I2C)?

"This I2C digital humidity sensor is a fairly accurate and intelligent alternative to the much simpler Humidity and Temperature Sensor - SHT15 Breakout It has a typical accuracy of ±4% with an operating range that's optimized from 10% to 80% RH. Operation outside this range is still possible - just the accuracy might drop a bit. The temperature output has a typical accuracy of ±0.2°C from -20~85°C."
ricl : F/gamma = ma : Law ii(a) : https://climatedatablog.wordpress.com/2016/01/02/an-energy-challenge-2016/ #AnEnergyChallenge2016

adambarath
Posts: 2
Joined: Fri Jun 05, 2015 6:13 am

Re: DS18B20 Temperature Sensor / 1-Wire on Windows 10

Sat Nov 14, 2015 6:10 pm

I also gave up and now I'm using Rinsen library with https://www.abelectronics.co.uk/p/60/1-Wire-Pi-Plus

NameOfTheDragon
Posts: 21
Joined: Mon Nov 16, 2015 12:49 am

Re: DS18B20 Temperature Sensor / 1-Wire on Windows 10

Mon Nov 16, 2015 2:49 am

trashcoder wrote:Has anybody looked in to getting 1-wire devices working on Windows 10 yet?
To give a slightly indirect answer, I have written a 'driver' for the Melexis MLX90614 contactless temperature sensor. The device is a thermocouple with a built-in DSP, it reports ambient temperature and the temperature of whatever you point it at. It is an I2C device. I've written code to drive the device and a sample app to show how to use it.

Code: https://bitbucket.org/tigra-astronomy/ta.uwp.devices (this is an ongoing project)
Video of the sample app: https://www.facebook.com/NameOfTheDrago ... 9141984838

You can get the devices pretty cheaply, for example: http://www.ebay.co.uk/itm/MLX90614-Cont ... SwFnFV8PPl

They are pretty awesome little devices!

selom
Posts: 7
Joined: Thu Jan 28, 2016 6:56 pm

Re: DS18B20 Temperature Sensor / 1-Wire on Windows 10

Thu Jan 28, 2016 7:00 pm

I was able to read the DS18B20 using the UART, all my tests show the numbers are accurate will post details later

ricl
Posts: 657
Joined: Wed Aug 26, 2015 11:55 am

Re: DS18B20 Temperature Sensor / 1-Wire on Windows 10

Thu Jan 28, 2016 7:50 pm

Indeed.

I have in progress with Microsoft a OneWire UART project that essentially follows the Dallas application note and as already built for Linux.
ricl : F/gamma = ma : Law ii(a) : https://climatedatablog.wordpress.com/2016/01/02/an-energy-challenge-2016/ #AnEnergyChallenge2016


Return to “Windows 10 for IoT”