New to microprocessor and board level devices/protocals. I need to monitor about 10 to 12 strings of 12 temperature sensors, with each string being around 30-40m in lenght. I Looked at several options and it looks like 1-wire can do what i need, given the amount that i need. My question is, can 1-wire operate on any pins or is it limited to certain pins on a GIGA R1? I didnt want to use more than 1 arduino per site, but it wouldnt be the worst thing if i needed too, the sensors dont need to be polled more than once a minute or two, so timing shouldnt be an issue. I know this is a pretty basic question, but for all i have read, nothing really seemed to call this out as plainly as i hoped, so i am trying to verify this is a valid path to go down. Thanks in advance.
I don't know for sure about the GIGA as I haven't got one, but I have used the 1Wire bus many years ago, before even the Arduino existed.
So I know that there is nothing special about the pin you need to communicate with it. Therefore I think you will be fine.
Thank you for the reply. I was assuming that was the case, but when you assume. Now all i have to do is find enough sample code to get one string working correctly The last time i did any micro work was when Atmels were kinda big, 2006 maybe? so trying to relearn c++ when i wasnt that good at it the first time
I would start with just a single sensor attached to one wire. Then extend to using two and so on using a singe string.
One of the problems about the 1 wire bus is knowing the address of each device. Yes you can find the address in software but that doesn't tell you where physically the device is. So when you have got a single device working I make a note of its address on a sticky backed label and either wrap it round the body or stick it next to the device stuck into conductive foam. Do this for a bunch of sensors. Then when you wire up the sensors you know which in in the attic an which is in the kitchen.
This is one of the rare times when I would recommend the use of solder-less bread board to get the initial single device working.
Have fun.
i had planned on experimenting with a couple to get it right then expand, but had not considered what would happen when the cables become manufactured. Assuming the worst case, i would have 12 strings of cables with 12 sensors per string. so i would need to create a new interface, hoop up one cable, warm up each one until i see which it is, and then modify the display to match the position. then if one fails out in the field...
overstated, but, i dont know what i dont know.
Again, thank you for replying, this conversation has been extremely valuable to me, especially the final design standpoint.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.