Hello,
I am having a play around with the Arduino, to use it to record temperature measurements (using the 1-Wire Network), in addition to Temperature and Humidity measurements using the DHT22 Sensor. The test run works, and outputs delimited data to the serial port, which a simple VB.Net app can work with to store the data in a database.
The issue I am having though, is that I want the system to be hot swappable, and be able to remove, or add sensors whilst it is running. The 1-Wire system reports the ID of the sensor, and the temperature, so it does not matter if another sensor gets added or removed (at least to the vb.net side) and the DHT22 sensors will be tied to specific pins, that is pins X through Y will be used, so I don't mind if different sensors get plugged in (at least if DHT22 - Sensor 1 gets plugged into pin x instead of Y.
My question is, how can i configure the wiring, or the code to allow me to be able to plug in new sensors, or remove old ones without having the unit reset?
Thanks for your help