I'm a fan of these little boards, and I'm working through old forum posts and coming up with scripts to get this working. Right now this post is a placeholder for me to collect notes, because they're 404ing pretty quickly anymore.
forum.armbian.com
forum.armbian.com
![forum.armbian.com](/proxy.php?image=https%3A%2F%2Fforum.armbian.com%2Fuploads%2Fmonthly_2019_01%2FNEO_pinout-02.jpg.ca20051a61b77ed1cab0eac85a94de21.jpg&hash=fbaccc8c2f335ef83f84b40818bbcb1a&return_error=1)
Default W1 pin on Nano PI NEO
I enabled modules, and connected DS18B20 but still haven't 28-XXX... folder in /sys/bus/w1/devices. In README.sun8i-h3-overlays written that default port is PD14 but i can't find it on my board pinout.
![forum.armbian.com](/proxy.php?image=https%3A%2F%2Fforum.armbian.com%2Fuploads%2Fmonthly_2018_11%2Fapp-icon-facebook.png.1de6d18d1cb2e304bd3c5d7737b2b476.png&hash=2678feaa55eec6bc0483f98520904c64&return_error=1)
[SOLVED] Unable to read from DS18B20 sensor
Hi all! First time poster, i apologize in advance for any etiquette violations... I have an OrangePi Zero H2+ board and the DS18B20 sensor (waterproof version). I have soldered the pullup resistor between power and data cables. I have Armbian Stretch 5.83 with 4.19.38-sunxi kernel. I have enabled...
Code:
#!/bin/bash
sudo apt update
sudo apt upgrade -y
sudo apt install python-pip python3-pip python3-numpy python3-matplotlib libatlas-base-dev -y
pip3 install w1thermsensor numpy
sudo sed -i 's/usbhost2/usbhost2 w1-gpio/' /boot/armbianEnv.txt
echo 'param_w1_pin=PG11' | sudo tee -a /boot/armbianEnv.txt
echo 'param_w1_pin_int_pullup 1' | sudo tee -a /boot/armbianEnv.txt
sudo dtc -I dtb -O dts -f /boot/dtb/overlay/sun8i-h3-w1-gpio.dtbo -o /boot/dtb/overlay/sun8i-h3-w1-gpio.dts # convert dtbo to dts so you can nano/edit it
sudo sed -i 's/PD14/PG11/g' /boot/dtb/overlay/sun8i-h3-w1-gpio.dts
sudo dtc -I dts -O dtb -f /boot/dtb/overlay/sun8i-h3-w1-gpio.dts -o /boot/dtb/overlay/sun8i-h3-w1-gpio.dtbo
git clone https://github.com/th33xitus/kiauh.git
sudo reboot
Last edited: