I am trying to monitor the grain temperature in 4 roughly 25ft grain bins. I currently am monitoring temperature in one 15ft bin with the AM 2302 sensor, and it appears to be working.
I just made a 60ft (roughly 18m) long cable with three sensors, but I have gotten bad sensor readings far too often to be feasible. While testing I did have most of the cable wrapped up in a circle like how you may see an extension cable hanging on a wall, so maybe there is some noise being caused by that. I am also using regular wire and not network wire.
Right now I am thinking maybe I need to use network wire and not regular wire, but I am not sure what the difference is. My other thought is that maybe there is some noise being created, so I may need some circuit to clean up the noise.
I would like to be able to use this sensor up to 30m away from the microcontroller, so my basic question is how do I accomplish this and what am I currently doing wrong?
The Github for my project is here https://github.com/PhysicsUofRAUI/binTempSensor.
If there are any other questions that could clarify my problem please ask. In particular, if there are pictures that could be helpful I have a few for a tutorial I am making and would be willing to take more.
Update
I have replaced the wire I was using with bell wire, and added one capacitor (of the proper size) near the controller. It is working now so I think that must have solved it.