gpio settings for ds18b20

51 views
Skip to first unread message

Craig Bruening

unread,
Sep 27, 2019, 7:29:43 PM9/27/19
to PrivateEyePi
hello,
 i am using a raspberry pi 3b+ running private eye pi software. i am trying to set up multiple temp sensors. i connected all the sensors according to the schematic following your sight. i can get info from one temperature sensor  but have no idea what the gpio setting/ sensor setting should be for the rest of the sensors i have read the step by step procedure 23 time to see if i have missed some thing but still am at a loss. they are all coming from the same pin 7  so where do we the info for the rest of the sensors? i


Message has been deleted

Craig Bruening

unread,
Sep 27, 2019, 7:59:26 PM9/27/19
to PrivateEyePi
i am not looking for a copy and paste from the procedure . the procedure shows  sensor 7 sensor 88 and sensor 89 i tried these numbers but they did not give me actual data on my device.  only sensor seven came back with actual temp readings none other the others worked. i tried creating slaves for each sensor but have no clue where the sensor appended number comes form on the rest of the devices on pin 7

Gadjet Nut

unread,
Sep 27, 2019, 10:05:26 PM9/27/19
to Craig Bruening, PrivateEyePi
Hi Craig,

We have a number of temperature tutorials (ds18b10, DHT22, wireless temperature, wifi temperature). Which one are you referring to?

Thanks

On Fri, Sep 27, 2019 at 7:29 PM Craig Bruening <kx25...@gmail.com> wrote:
hello,
 i am using a raspberry pi 3b+ running private eye pi software. i am trying to set up multiple temp sensors. i connected all the sensors according to the schematic following your sight. i can get info from one temperature sensor  but have no idea what the gpio setting/ sensor setting should be for the rest of the sensors i have read the step by step procedure 23 time to see if i have missed some thing but still am at a loss. they are all coming from the same pin 7  so where do we the info for the rest of the sensors? i



--
You received this message because you are subscribed to the Google Groups "PrivateEyePi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to privateeyepi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/privateeyepi/d3896edb-c895-4e35-bf19-0a17bf1b61b3%40googlegroups.com.

Craig Bruening

unread,
Sep 28, 2019, 12:11:15 AM9/28/19
to PrivateEyePi
Wired temperature sensor

Gadjet Nut

unread,
Sep 28, 2019, 8:35:05 AM9/28/19
to Craig Bruening, PrivateEyePi
Ds18b20 or DHT22? 

On Sat, Sep 28, 2019 at 12:11 AM Craig Bruening <kx25...@gmail.com> wrote:
Wired temperature sensor


--
You received this message because you are subscribed to the Google Groups "PrivateEyePi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to privateeyepi...@googlegroups.com.

Craig Bruening

unread,
Sep 28, 2019, 8:35:55 AM9/28/19
to PrivateEyePi
ds18b20


On Friday, September 27, 2019 at 5:29:43 PM UTC-6, Craig Bruening wrote:

Gadjet Nut

unread,
Sep 28, 2019, 9:19:56 AM9/28/19
to Craig Bruening, PrivateEyePi
Because you have multiple temperature readings you need to assign unique id’s to each sensor and the associate each of those id’s with the directory on your Raspberry Pi that contains the temperature readings for each id. In the tutorial we have three sensors given as an example with id’s 7, 89, and 88. The first number (7) is the RPI PIN number to which you have connected the ds18b10 chain of sensors (per figure 2). 89 and 88 are any arbitrary numbers that give the other sensors a unique id. Then the DallasSensorDirectory settings (the three lines below the sensor numbers) you associate the Sensor id’s with the sensor reading directories on the RPI. The first directory is for sensor 7, second is the directory for sensor 89 and the third for sensor directory 88.

Once you have Dallas.py running ok then you will see three sensors appear on PrivateEyePi with GPIO no’s 7, 89 and 88.

Hope that helps. 

--
You received this message because you are subscribed to the Google Groups "PrivateEyePi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to privateeyepi...@googlegroups.com.

Craig Bruening

unread,
Sep 28, 2019, 10:47:34 AM9/28/19
to PrivateEyePi
yes that helps alot THANK YOU for your quick response and support. so i now have 4 sensors working but form some reason it will only recognize 4 sensors if i add another and try to pull the 28.... numbers it shows nothing as if they are all disconnected. when i remove the fifth sensor and only connect 4 the data populates for those 4 again. i tried different ds18b20 sensors with the same result. any suggestions all my sensors have a 1 meter wire between them and my pi.



On Friday, September 27, 2019 at 5:29:43 PM UTC-6, Craig Bruening wrote:

Gadjet Nut

unread,
Sep 28, 2019, 11:38:13 AM9/28/19
to Craig Bruening, PrivateEyePi
You might need to try a lower resistance resistor. If you have a lot of wire running to all your sensors then that adds to the resistance. 

--
You received this message because you are subscribed to the Google Groups "PrivateEyePi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to privateeyepi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages