Questions tagged [1-wire]

1-Wire is a microlan protocol developed by Maxim-Dallas, similar to I2C and SPI, but using a single Data/Ground pair. Typically includes Parasitic Power on the Data line, through the use of strict communication timing.

1-Wire is a microlan protocol developed by Maxim-Dallas, similar to I2C and SPI, but using a single Data/Ground pair. Typically includes Parasitic Power on the Data line, through the use of strict communication timing.

Popular uses include RTCs, Unique EEPROMS, Security Tokens and Temperature Sensors. Devices can be daisy chained, and uniquely addressed.

87 questions
17
votes
6 answers

1-wire parasitically powered microcontroller?

I've seen Dallas' 1-wire sensors, they look great. But, I'd like to make some custom 1-wire slaves which can be parasitically powered (just ground + data). Can anyone recommend a low power microcontroller which is suitable for this? Does anyone have…
Toby Jaffey
  • 28,796
  • 19
  • 96
  • 150
11
votes
5 answers

Reliability of DS18x20 temperature sensors

I'm using Maxim's DS18x20 (I've actually got more than one variant) 1-Wire temperature sensors to log the temperatures in various rooms in my house once a minute. About one reading in a thousand, I get something completely bogus back. In the…
edebill
  • 2,509
  • 2
  • 20
  • 26
11
votes
4 answers

Can you send data usefully over one wire, literally one wire?

It is possible to design networking systems that only use two wires: one for data and one for a common ground. Examples include 1-wire and Pin&Play. These are called single wire systems because the requirement for an earth wire is implied too. But…
dumbledad
  • 313
  • 1
  • 3
  • 11
8
votes
3 answers

1-Wire DS2480B overvoltage and ESD protection

I'm designing a series of 1-Wire components for my SmartHome Bus and use the DS2480B as Busmaster. Because the cable I run around the house has 3 wires (24V, 1-Wire, GND), I'd like to protect the DS2480B from overvoltage caused by accidentally…
final
  • 203
  • 3
  • 9
7
votes
5 answers

1-Wire and the resistor

I have been playing around with some 1-Wire components and got these questions simulate this circuit – Schematic created using CircuitLab Can I break anything if I forget the 4.7 k resistor ________? Does it have to be 4.7k _________? Came…
Norfeldt
  • 469
  • 3
  • 7
  • 15
6
votes
1 answer

1-wire humidity sensor with ID

I've created a temperature monitoring system using multiple DS18B20 temperature sensors and now I want to add some humidity sensors to it. The problem is that I cant find any 1-wire humidity or temperature/humidity sensors that use ID logic similar…
6
votes
1 answer

RS232 to 1-Wire interface - need help understanding the schematic

There are plenty of projects on RS232 to 1-Wire, each one of them is almost the same, but none of the sources really explain the wiring. Let's take this one:…
eltomek
  • 921
  • 1
  • 9
  • 18
5
votes
3 answers

How to protect microcontroller board 1-wire from accidental +12V connection?

I'm working on modular LED strip driver with one "Master" board and up to 32 "Slave" boards. Each "Slave" board drives one LED strip. All boards have 3 pin terminals: +12V (connected to 50W source) 1-wire bus GND Everything will be connected in…
Kamil
  • 5,926
  • 9
  • 43
  • 58
4
votes
3 answers

N-Channel MOSFET and Voltage Drop

Edit/added - RM: See Karl's prior question of December 20th last DS1822 1-Wire Sensor, Parasitic Power, and Strong Pull-Up Circuit which gives a very clear explanation of what he is actually trying to achieve. The following material is related to…
paul_25
  • 55
  • 1
  • 1
  • 9
4
votes
1 answer

Where do 1-wire device (such as DS18B20) manufacturers obtain their addresses?

We know that 1-wire devices, such as the DS18B20 temperature, sensor have 1 64 bit address, of which 8 bits is 0x28 and another 8 bits is the CRC. We know that the address is burned into the chip at manufacture. But where does the manufacturer…
KDM
  • 173
  • 7
4
votes
2 answers

What is this single-wire bidirectional communications protocol?

I'm attempting to build an interface for a 1985 IBM typewriter keyboard. This is interesting because it's bidirectional --- the keyboard has a screen on it. I was expecting some variation of XT or AT protocol, but it's really not. There appear to be…
David Given
  • 1,173
  • 1
  • 8
  • 15
4
votes
3 answers

Can someone help me understand this code for the ADXL345 accelerometer?

I'm trying to learn how to read the angles measured from an ADXL345 accelerometer (Adafruit) for a beginner project where the sensor will be attached to a short stick and I want to read the angles I'm holding/moving the stick at. I have a couple…
user270727
4
votes
4 answers

Using CAN bus tranceivers with custom data link layer

We needed a noise immune, low cost, multidrop, multi master (realtime and distributed) protocol and there is only CAN bus seems to meet with these requirements. Since there are no can controllers (data link layer hardware) for very low cost MCU's…
ceremcem
  • 1,386
  • 17
  • 35
4
votes
1 answer

Long distance Arduino sensor network - 1Wire protocol or RS422?

I have some sensors from each of which I need to - read a voltage - be able to switch them on. (They are powered by AC 220V power supply). Distance to be covered is some 40 meters. I don't want to use to many wires in order to achieve this.…
geraldCelente
  • 153
  • 3
  • 12
3
votes
1 answer

DS1822 1-Wire Sensor, Parasitic Power, and Strong Pull-Up Circuit

This question would be common to any parasitic 1-Wire devices from Maxim/Dallas Semiconductor. I have a functioning 1-Wire circuit to a DS1822. The 1-Wire protocol has been bit-banged on a 3.3v MCU (mbed lpc1768). I believe this question would be…
paul_25
  • 55
  • 1
  • 1
  • 9
1
2 3 4 5 6