- 25 feb 2015, 22:55
#64381
Hallo Meteovrienden,
de temperatuur metingen met de raspberry py, en pi b werkte perfect
nu met de py2 ging de gpio mis,
er moet iets in de config gewijzigd worden
sudo modprobe w1-gpio
sudo modprobe w1-therm
cd /sys/bus/w1/devices/
ls
Note:
09/02/2015 - The recent move to kernel 3.18 that supports Raspberry Pi 2 has caused a number of issues, one of which affects the working on the one wire interface used by this sensor. If you see an empty directory after the above ls command then you need to edit the boot config file and insert some lines, and then re-boot your Rpi.
Type:
sudo nano /boot/config.txt
Page down to the bottom of the file and paste or type in these two lines
# 1-wire settings
dtoverlay=w1-gpio,gpiopin=4
Press CTRL-X Y ENTER to save exit.
Reboot your Pi
Repeat steps above this red section.
Groeten Nol
de temperatuur metingen met de raspberry py, en pi b werkte perfect
nu met de py2 ging de gpio mis,
er moet iets in de config gewijzigd worden
sudo modprobe w1-gpio
sudo modprobe w1-therm
cd /sys/bus/w1/devices/
ls
Note:
09/02/2015 - The recent move to kernel 3.18 that supports Raspberry Pi 2 has caused a number of issues, one of which affects the working on the one wire interface used by this sensor. If you see an empty directory after the above ls command then you need to edit the boot config file and insert some lines, and then re-boot your Rpi.
Type:
sudo nano /boot/config.txt
Page down to the bottom of the file and paste or type in these two lines
# 1-wire settings
dtoverlay=w1-gpio,gpiopin=4
Press CTRL-X Y ENTER to save exit.
Reboot your Pi
Repeat steps above this red section.
Groeten Nol