Hi everyone!
I am happily using a RFM12Pi on my Raspberry and I also have a DS18B20 Temperature sensor that I would like to connect to Pi too.
It seems like the sensor works only if connected to pin4 which is also used (as reset, afair) from RFM12Pi.
If I connect both to pin4 the DS18B20 works fine but the RFM12Pi auto resets all the time.
Is there any way to let the guys live together?
Thanks for your help :)
Re: [SOLVED] Use RFM12Pi and DS18B20 at the same time on Raspberry Pi
The easiest way is probally to move the temp sensor, currently yes it will only work on pin4 but that can be changed (apparently) I briefly looked into it a couple of months ago, I kept a couple of web links but have never followed it up with any real attempt.
Here are the links there are more than one way to do it but I can't vouch for any them I'm afraid.
http://www.raspberrypi.org/forums/viewtopic.php?f=44&t=65137
https://github.com/raspberrypi/linux/pull/457
http://www.raspberrypi.org/forums/viewtopic.php?f=37&t=40044
Hope they help.
Paul
Re: [SOLVED] Use RFM12Pi and DS18B20 at the same time on Raspberry Pi
Thanks for the great info...
The problem seems to be understanding if the RFM12Pi just needs pin4 for its connector shaping or if it needs connector 4 because of its 1wire setting on the pi.
The normal modification suggested would allow me to "move" the 1wire pin away...
Will I be allowed to use the RFM12Pi if it's not connected to a 1wire pin?
I'll try tonight and write back.
Re: [SOLVED] Use RFM12Pi and DS18B20 at the same time on Raspberry Pi
Little news:
I've read better and it looks like on newer raspberry firmware versions this is possible at boot time modifying /boot/cmdline.txt
I did a successful rpi-update and then added at the beginning of my /booy/cmdline.txt :
bcm2708.w1_gpio_pin=18
They are finally happy to work together :)