Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: micgm on September 20, 2014, 07:37:04 PM

Title: Temperature sensor readings
Post by: micgm on September 20, 2014, 07:37:04 PM
Did anyone managed somehow to read temperature from DS18B20 or DHT11 temperature sensors?

Is there any library for debian wheezy to install to the board?

A quick search at the forum returns only 6 posts and none of them solves the issue.

Title: Re: Temperature sensor readings
Post by: dave-at-axon on September 21, 2014, 05:28:35 AM
I've not tried them but there are 1-wire drivers for Linux that should work with the DS18B20

The DHT11 is a non-standard 1-wire protocol and more likely to be done using bit banging as it is on the likes of Arduino etc.
Title: Re: Temperature sensor readings
Post by: micgm on September 22, 2014, 09:56:44 PM
Quote from: dave-at-axon on September 21, 2014, 05:28:35 AM
I've not tried them but there are 1-wire drivers for Linux that should work with the DS18B20

Unfortunately, it is not possible as seen from this thread:
https://www.olimex.com/forum/index.php?topic=2867.msg11990#msg11990

I tried also without success. It seems that Olimex should produce a driver (at least for DS18B20).