Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Temperature Sensor Ds18b20 does not work on other pins, only on 4
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Temperature Sensor Ds18b20 does not work on other pins, only on 4
4th Jun, 2014, 08:25 PM
Post: #5
Aivs Offline
Registered
Posts: 8
Joined: Jul 2013
Reputation: 0
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4
I updated the kernel
Terminal
xbian@xbian ~ $ uname -a
Linux xbian 3.13.7+ #16 Sun May 25 19:23:24 CEST 2014 armv6l GNU/Linux

But the 1-wire sensor is still working only on pin 4.

Modules loaded
Terminal
xbian@xbian ~ $ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.

snd-bcm2835

# for temperature sensor ds18b20
w1-gpio
w1-therm

# for lirc
lirc_dev
lirc_rpi gpio_in_pin=11 gpio_out_pin=9
Terminal
xbian@xbian ~ $ lsmod
Module Size Used by
uinput 5156 1
frandom 3284 1
lirc_rpi 4892 3
lirc_dev 9020 1 lirc_rpi
rc_core 12616 1 lirc_dev
w1_therm 1872 0
snd_bcm2835 12804 0
snd_pcm 50000 1 snd_bcm2835
snd_page_alloc 2696 1 snd_pcm
snd_timer 13564 1 snd_pcm
snd 32588 3 snd_bcm2835,snd_timer,snd_pcm
soundcore 472 1 snd
vchiq 183240 3 snd_bcm2835
w1_gpio 1480 0
wire 17284 2 w1_gpio,w1_therm

In /boot/cmdline.txt specified pin 22
Terminal
xbian@xbian ~ $ cat /boot/cmdline.txt
telnet zswap.enabled=1 zswap.compressor=lz4 sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootflags=subvol=root/@,thread_pool=2,autodefrag,compress=lzo,commit=120 rootfstype=btrfs rootwait smsc95xx.turbo_mode=N elevator=cfq logo.nologo quiet noswap loglevel=0 mod_scsi.scan=sync partswap startevent=mountall splash nohdparm --startup-event mountall bcm2708.w1_gpio_pin=22

On raspbian all works with this settings.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Temperature Sensor Ds18b20 does not work on other pins, only on 4 - Aivs - 4th Jun, 2014, 07:45 AM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - CurlyMo - 4th Jun, 2014, 07:49 AM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - Aivs - 4th Jun, 2014, 07:58 AM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - CurlyMo - 4th Jun, 2014, 05:17 PM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - Aivs - 4th Jun, 2014 08:25 PM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - CurlyMo - 4th Jun, 2014, 08:37 PM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - Aivs - 4th Jun, 2014, 08:53 PM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - CurlyMo - 4th Jun, 2014, 09:18 PM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - Aivs - 4th Jun, 2014, 09:36 PM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - CurlyMo - 4th Jun, 2014, 09:45 PM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - Aivs - 4th Jun, 2014, 11:01 PM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - CurlyMo - 4th Jun, 2014, 11:03 PM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - Aivs - 5th Jun, 2014, 12:53 AM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - Aivs - 6th Jun, 2014, 08:39 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 6th Jun, 2025, 11:54 AM Powered By MyBB, © 2002-2025 MyBB Group.