![]() ![]() ![]() That is 2^48 (281,474,976,710,656) devices that can be made with a unique address.ĭevices which use the 1-Wire interface include temperature sensors, and other devices which can store data (eg. It also includes the CRC of the address, so there are actually 6 bytes available per family of devices for unique codes. The 64-bit address includes a "family code" for example 0x28 for the temperature sensor. This means that even if multiple devices are connected to the same pair of wires they can be addressed individually. Each device is assigned a unique (world-wide) 64-bit code (conceptually similar to a MAC address on Ethernet cards). This is because the devices are "addressable". The 1-Wire interface is interesting because it lets you connect a number of devices using a single wire (plus a ground return). A lot of the details however will be of more general interest. This post describes how the 1-Wire interface works, with particular reference to the Arduino Uno which is based on the ATmega328P microprocessor chip. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |