Dallas 1-Wire Support
#3
(05-10-2016, 04:37 AM)peterz Wrote:
(05-10-2016, 03:01 AM)ItsDave Wrote: Hello -

After several hours wasted trying to get the board to boot up (don't use unetbootin!) I finally managed to get Ubuntu installed
on the Pine 64 2Gb. I am trying to get it to read a Dallas 1-wire sensor from the GPIO Headers (Using pin 4).

I've installed the ported GPIO library for the Pi which doesn't seem to be able to read the device.

Has anyone managed to read data from the Dallas 1-Wire interface yet?

Also I read somewhere that the Pine64 supports analog connections - what pins support analog sensors?

Here are described pins of Raspberry PI bus, Euler Bus, Exp bus and Wifi/BT bus.
http://files.pine64.org/doc/Pine%20A64%2...160119.pdf

I suppose you mean Raspberry PI bus GPIO4 (RPI pin7) because RPI pin4 is 5V VCC.
Here is table where a community member tested the GPIO pins (PINE seems to have different GPIO numbers than Raspberry PI)
http://joey.hazlett.us/pine64/pine64_pins.html

Raspberry PI bus doesn't have ADC (Analog to Digital Converter). You can use MCP3004/MCP3008 chip to achieve this.
https://learn.adafruit.com/reading-a-ana...spberry-pi (step by step guide)
https://cdn-shop.adafruit.com/datasheets/MCP3008.pdf (MCP3008 datasheet)

Here is guide for DS18B20 1Wire temperature sensor for Raspberry PI.
https://learn.adafruit.com/adafruits-ras...ng/ds18b20

Thanks for your reply, although I am currently a little confused by it! The links you have added refer to getting the DS18B20 working with an RPi rather then a Pine64 which is something i've already achieved (or i'd be posting on the Rpi forums)....

However, the same doesn't seem to work on the Pine64 (although I have just noticed the difference in the GPIO numbers - I shall try that this evening). On the Pi once connected the sensor is mounted at /sys/bus/devices/w1/ but I can't seem to find a similar location for the Pine.
  Reply


Messages In This Thread
Dallas 1-Wire Support - by ItsDave - 05-10-2016, 03:01 AM
RE: Dallas 1-Wire Support - by peterz - 05-10-2016, 04:37 AM
RE: Dallas 1-Wire Support - by ItsDave - 05-10-2016, 07:36 AM
RE: Dallas 1-Wire Support - by peterz - 05-10-2016, 08:00 AM
RE: Dallas 1-Wire Support - by martinayotte - 05-10-2016, 08:16 AM
RE: Dallas 1-Wire Support - by ItsDave - 05-10-2016, 08:42 AM
RE: Dallas 1-Wire Support - by peterz - 05-11-2016, 06:21 AM
RE: Dallas 1-Wire Support - by martinayotte - 05-10-2016, 08:59 AM
RE: Dallas 1-Wire Support - by ItsDave - 05-10-2016, 09:24 AM
RE: Dallas 1-Wire Support - by longsleep - 05-10-2016, 12:28 PM
RE: Dallas 1-Wire Support - by martinayotte - 05-11-2016, 07:24 AM
RE: Dallas 1-Wire Support - by longsleep - 05-11-2016, 04:02 PM
RE: Dallas 1-Wire Support - by martinayotte - 05-12-2016, 07:09 AM
RE: Dallas 1-Wire Support - by martinayotte - 05-29-2016, 03:49 PM
RE: Dallas 1-Wire Support - by tllim - 05-29-2016, 10:36 PM
RE: Dallas 1-Wire Support - by ed_mann - 11-26-2016, 04:18 PM
RE: Dallas 1-Wire Support - by martinayotte - 07-11-2016, 10:09 AM
RE: Dallas 1-Wire Support - by longsleep - 07-11-2016, 10:34 AM
RE: Dallas 1-Wire Support - by martinayotte - 07-11-2016, 04:23 PM
RE: Dallas 1-Wire Support - by ItsDave - 07-11-2016, 12:25 PM
RE: Dallas 1-Wire Support - by joey - 08-12-2016, 11:01 AM
RE: Dallas 1-Wire Support - by martinayotte - 07-11-2016, 08:08 PM
RE: Dallas 1-Wire Support - by martinayotte - 08-12-2016, 11:33 AM
RE: Dallas 1-Wire Support - by joey - 08-12-2016, 11:05 PM
RE: Dallas 1-Wire Support - by longsleep - 08-12-2016, 12:20 PM
RE: Dallas 1-Wire Support - by martinayotte - 08-12-2016, 01:48 PM
RE: Dallas 1-Wire Support - by martinayotte - 08-13-2016, 07:26 AM
RE: Dallas 1-Wire Support - by martinayotte - 11-27-2016, 03:39 PM
RE: Dallas 1-Wire Support - by ed_mann - 11-28-2016, 08:08 PM
RE: Dallas 1-Wire Support - by martinayotte - 11-30-2016, 02:23 PM
RE: Dallas 1-Wire Support - by Wom the Bat - 12-26-2016, 10:44 PM
RE: Dallas 1-Wire Support - by ed_mann - 12-27-2016, 08:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question RGB LED Matrix support? foxnox 1 4,315 12-29-2017, 06:52 PM
Last Post: psychedup
  RaZberry Module (z-wave) need support to get it working! Luxus 13 19,070 11-03-2016, 02:04 AM
Last Post: Luxus
  USB WIFI Dongle Support InCognito 3 6,633 01-20-2016, 11:27 AM
Last Post: tllim

Forum Jump:


Users browsing this thread: 1 Guest(s)