ArticleslgStudy

science

1-Wire

1-Wire is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand 1-Wire rather than just read about it. In short: 1-Wire is a wired half-duplex serial bus designed by Dallas Semiconductor that provides low-speed (standard 16.3 kbit/s; "overdrive" at 10×) data communication and supply voltage over a single conductor. 1-Wire is similar in concept to I2C, but with lower data rates and longer range. It is typically used to communicate with small inexpensive devices such as digital thermometers and weather instruments.

1-Wire — main illustration
1-Wire — illustration

Key takeaways

  • 1-Wire belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect 1-Wire to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of 1-Wire from memory before moving on to harder problems.

Reference excerpt

1-Wire is a wired half-duplex serial bus designed by Dallas Semiconductor that provides low-speed (standard 16.3 kbit/s; "overdrive" at 10×) data communication and supply voltage over a single conductor. 1-Wire is similar in concept to I2C, but with lower data rates and longer range. It is typically used to communicate with small inexpensive devices such as digital thermometers and weather instruments. A network of 1-Wire devices with an associated master device is called a MicroLAN. The protocol is also used in small, 16 mm electronic keys known as a Dallas key or iButton. One distinctive feature of the bus is the possibility of using only two conductors — data and ground. To accomplish this, 1-Wire devices integrate a small capacitor (~800 pF) to store charge, which powers the device during periods when the data line is active.

Usage example 1-Wire devices are available in different packages: integrated circuits, a TO-92-style package (as typically used for transistors), and a portable form called an iButton or Dallas key which is a small stainless-steel package that resembles a watch battery. Manufacturers also produce devices more complex than a single component that use the 1-Wire bus to communicate. 1-Wire devices can fit in different places in a system. It might be one of many components on a circuit board within a product. It also might be a single component within a device such as a temperature probe. It could be attached to a device being monitored. Some laboratory systems connect to 1-Wire devices using cables with modular connectors or CAT-5 cable. In such systems, RJ11 (6P2C or 6P4C modular plugs, commonly used for telephones) are popular. Systems of sensors and actuators can be built by wiring together many 1-Wire components. Each 1-Wire component contains all of the logic needed to operate on the 1-Wire bus. Examples include temperature loggers, timers, voltage and current sensors, battery monitors, and memory. These can be connected to a PC using a bus converter. USB, RS-232 serial, and parallel port interfaces are popular solutions for connecting a MicroLan to the host PC. 1-Wire devices can also be interfaced directly to microcontrollers from various vendors. iButtons are connected to 1-Wire bus systems by means of sockets with contacts that touch the "lid" and "base" of the canister. Alternatively, the connection can be semi-permanent with a socket into which the iButton clips, but from which it is easily removed. Each 1-Wire chip has a unique identifier code. This feature makes the chips, especially iButtons, suitable electronic keys. Some uses include locks, burglar alarms, computer systems, manufacturer-approved accessories, time clocks and courier and maintenance keys for smart safes. iButtons have been used as Akbil smart tickets for the public transport in Istanbul. They can also run smartcard programs such as Java Card 2.0, as exemplified by the "Java Ring" of 1998.

Power supplies Apple MagSafe- and MagSafe-2-connector–equipped power supplies, displays, and Mac laptops use the 1-Wire protocol to send and receive data to and from the connected Mac laptop, via the middle pin of the connector. The data includes information about the power supply (such as the model number, wattage, and serial number) and laptop commands to send full power or illuminate the red or green LEDs in the connector. Dell laptop power supplies use the 1-Wire protocol to send data via the third wire to the laptop computer about power, current and voltage ratings. The laptop will then refuse charging if the adapter does not meet requirements.

… excerpt ends here. Continue reading the full article.

Illustrations

1-Wire: An iButton in a plastic fob, as used for Istanbul Akbil smart ticket
An iButton in a plastic fob, as used for Istanbul Akbil smart ticket
1-Wire: A Java ring with an embedded iButton
A Java ring with an embedded iButton
1-Wire illustration

Worked examples

Example 1 — a first encounter with 1-Wire

Start with the simplest possible case. Write down what 1-Wire claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to 1-Wire before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about 1-Wire ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of 1-Wire

In research
1-Wire appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses 1-Wire in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
1-Wire is common in secondary-school and first-year university syllabi. It links to neighbouring topics Serial buses, so understanding it makes those chapters shorter.
In everyday life
Look for 1-Wire outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “1-Wire” →

How to study 1-Wire in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what 1-Wire means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain 1-Wire out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is 1-Wire in simple terms?

1-Wire is a wired half-duplex serial bus designed by Dallas Semiconductor that provides low-speed (standard 16.3 kbit/s; "overdrive" at 10×) data communication and supply voltage over a single conductor. 1-Wire is similar in concept to I2C, but with lower data rates and longer range. It is typicall…

Why does 1-Wire matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study 1-Wire?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on 1-Wire.

Tags

  • Serial buses

Keep exploring