DS18B20 on pine A64

I reinstall debian on pine64 to DietPi. In old ubuntu arm distro I had connected DS18B20 to GPIO 18/PC8 (http://joey.hazlett.us/pine64/pine64_pins.html) and all working (https://forum.pine64.org/showthread.php?tid=1004&page=4) but now Im not able read data from dallas.
Do you have any help for me?
Thank you


That’s not much info on your problem… Did you edit the config file? If I remember correctly it’s /DietPi/config.txt add dtoverlay=w1-gpio to the end of the file. Save and reboot. Then check /sys/bus/w1/devices

yes, /DietPi/config.txt contains exactly dtoverlay=w1-gpio
but /sys/bus/ not contains w1/devices until I put command modprobe w1-gpio
then exist /sys/bus/w1/devices/ but is empty , not include data from DS18B20.

sudo modprobe w1-gpio
sudo modprobe w1-therm

Then check the w1/devices folder with ls command.

still /sys/bus/w1/devices/ is empty after both commands.

Hmm…Maybe someone with knowledge of the pine A64 board will see this post and be able to help out. I do not use the pine boards for my sensors. I use raspberry pi’s…hopefully someone can help you. I just switched to dietpi on my boards and it worked with no issues. Maybe something different needs to be done for the pine boards :thinking:

Yes, that is right. I use also PI, where is no problem. Thank you for help. Michal