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, 07:45 AM
Post: #1
Aivs Offline
Registered
Posts: 8
Joined: Jul 2013
Reputation: 0
Temperature Sensor Ds18b20 does not work on other pins, only on 4
Once upon a time there was a problem with 1-wire devices and raspberry, 1-wire devices worked only with pin 4, because in kernel driver this pin 4 has been hardcoded. But in december 2013 this problem was solved https://github.com/raspberrypi/linux/pull/457
and in Raspbian-2014-01-07 1-wire device works with all pins, if we add:
Code:
bcm2708.w1_gpio_pin=22
in
/boot/cmdline.txt for work with pin 22.

In Xbian RC1(3.12.7+) kernel fresher than in my raspbian (3.10.25+), but in xbian 1-wire work only with pin 4.
How I can use ds18b20 with pin 22 ?
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: 3rd Jul, 2025, 10:35 AM Powered By MyBB, © 2002-2025 MyBB Group.