News and commentary about ecodesign, geothermal heatstorage, PAH seasonal storage, urban farming, rainwater harvesting, grey water recycling, natural ventilation, passive summer cooling, energy autonomy, off grid solar comfort, as well as refined prototypes i am currently building.
Saturday, August 13, 2011
Arduino Your Environment: Determining your Dallas 1 wire address
Arduino Your Environment: Determining your Dallas 1 wire address
1-Wire devices, such as the DS18B20 digital temperature sensor, are great to use with Arduino boards because you can connect many of them to a single IO pin. The freely available software libraries and example code make using 1-wire devices simple. There is only one problem we have seen with the examples on the web. If you have more than one device connected to a single pin, say an indoor temperature sensor, as well as an outdoor temperature sensor, how does your Arduino know which is which?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment