Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [1-wire]

A method of communicating with one or more devices over a bus system using only data and ground connections. It is designed for small devices which do not require high data speeds or large amounts of power.

0
votes
1answer
22 views

Detect DS18B20 sensors and correctly assign them to relays

I'm relatively new to microcontroller programming, so please excuse me if my question is dumb. I've created a simple device that allows me to control 4 relays based on temperature. I bought four ...
2
votes
2answers
692 views

DS1820 bad reading from 4th sensor

I am very new to Arduino. I want to add about 50 sensors to Arduino R3. I get good readings from 3 sensors, but when I connect 4th one, I get 'No devices found'. Here is a diagram: and here is the ...
0
votes
2answers
104 views

How do I read addresses on multiple DS2413 1-Wire GPIO Breakouts, using the Adafruit sketch?

I am using three DS2413 1-Wire GPIO Breakouts from Adafruit connected to an ESP8266. I tested the DS2413 breakouts using their example sketch and it works fine for just one DS2413. But I cannot ...
1
vote
0answers
478 views

ESP8266 can't read parasitic DS18B20 temperature (reset during conversion, 85°C)

tl;dr at the end I was running two DS18B20+PAR temperature sensors without any problems for the last two years on an ESP-01 module running on 3.3V on GPIO 2 using a 4.7K pullup resistor. Now, ...
-1
votes
1answer
74 views

How to do single line communication? [closed]

I want to communicate between two arduino's using one wire (sending and receiving signals - if matched, blink LED by receiver to indicate it), which are separately powered by 9v batteries. I want to ...
0
votes
0answers
419 views

Arduino UNO as Ibutton One-Wire Slave

I am trying to read an Ibutton device and write the devices ID to another One-Wire Master. I am triying to use Arduino as master/slave. I can read the ibutton device number with OneWire.h arduino ...
0
votes
1answer
2k views

Compilation Error in nodeMCU along with oneWire temperature sensor ds18b20, and 2x16 LCD display (not I2C)

I am using nodeMCU along with oneWire temperature sensor ds18b20, and 2x16 LCD display (not I2C). I am using Arduino IDE to program nodeMCU. I am getting a compilation error: C:\Program Files (x86)\...
0
votes
0answers
281 views

DS1993 arduino emulator - Can't get slave,master read,write to get it in sync

I am trying to make a ibutton emulator for DS1993. For the slave side, using OneWireArduinoSlave. For the master side, using OneWire. The data successfully gets written to the slave (verified by ...
1
vote
0answers
211 views

1-wire bus apparently working, but OneWire::reset() fails

I encounter a strange thing. I have a star shaped topology of 1-wire devices. Every branch (there are four of them) of the star has a DS2413 and a DS18B20 at its end. The DS18B20 is supplied with a +...
0
votes
1answer
263 views

Cutting off OneWire/SDA line with transistors

I am developing a pcb for a design I am working on and I need to share a pin to be used by a ds18b20 (onewire) and some possible I2C sensors. There would be just one of each at a time. I was thinking ...
0
votes
0answers
269 views

DS2502 with Arduino

I've connected and read the DS2502 via arduino.DS2502 transmitted some DEC values to my PC as follows 0 22 48 49 49 51 52 55 56 50 55 0 162 44 52 209 42 254 128 206 8 175 186 190 186 163 254 231 ...
1
vote
2answers
904 views

DS18b20 Order of sensors on a cable

I have a string of 10x DS18b20 sensors on a single two wire line (parasitic power). Below is a table of the sensors, Where they are located on the wire, and in what order where they discovered. ...
3
votes
1answer
912 views

Help with 1-Wire to I2C translate

Please, someone. I want to use a temperature sensor (DS18B20) in an I2C only shield (Tentacle Mini), but this sensor is One Wire only. Can I write an I2C code to change the 1-Wire to I2C for this ...
0
votes
1answer
173 views

Weird OneWire bus problem

I have two DS18B20 temperature sensors connected via a OneWire bus to an arduino. I noticed that these sensors get hot, when permanently powered and decided to just turn them on for measurment. First ...
0
votes
3answers
1k views

Adding Date and Time to existing sketch

I am currently trying to add a clock functionality to my current sketch for a peristaltic pump [run by NEMA 23]. The current sketch waits for a button on my breadboard to be pressed, it then runs ...
3
votes
3answers
3k views

Problem with DHT11 and DS18B20 temperature sensors

I am trying to connect to my Arduino Uno board two temperature sensors: DHT11 and DS18B20. The problem is with the DHT11 sensor: apparently there's an error with reading the temperature every two ...
1
vote
2answers
3k views

Detection of DS18B20, arduino Mega

I just bought a DS18B20 temperature sensor. I can't detect the device when i run this code : #include <OneWire.h> #include <DallasTemperature.h> // Data wire is plugged into pin 10 on ...
5
votes
2answers
3k views

“No more addresses” when using multiple DS18B20 sensors

I want to build a scheme to get data from several DS18B20 sensors and write their temperature to serial. Before I connected them using parasite mode and using 2,7k resistor (because I didn't have 4,7k ...
0
votes
2answers
729 views

Please explain this OneWire communication with Arduino Uno and DS2502-E48

The goal is to read the MAC address from a DS2502-E48 chip. I think I accomplished this goal too with the following code, but I can't get behind at how this works. I had a similar program with a PIC ...
-1
votes
1answer
120 views

TFT touch, 4bit data transfer

I followed instructions to get my TFT to work. I want to use other pins on the Arduino Uno for other I/O, so how can I use 4-bit data transfer for the TFT touchscreen?
2
votes
2answers
3k views

Conflict between OneWire and I2C?

I have two Arduino boards and I want to make them communicate via I2C. The first board (slave) should read a temperature value from a DS18B20 sensor (OneWire) and send it to the second board (master) ...
1
vote
0answers
224 views

cc3000 WiFi distrupting DS18b20 temp measurements

I am trying to post temperature measurements from DS18b20 thermal sensors to an online repository using a cc3000 WiFi shield on an Arduino Mega. It works great, once. All the temperatures get read ...
6
votes
1answer
7k views

Emulating 1-wire device(s)

What I want to do is make a ATTiny IC become a slave on the 1-wire bus, with its own S/N and command list for its specific functions. What I want to know is if I can use the one wire library from ...
1
vote
1answer
2k views

LCD showing weird characters when using two 1-wire temperature sensors

I have a sketch to display a temperature obtained from 1-wire DS18B20 sensors. The sketch works fine, however when I connect two sensors to my board, the text on the LCD displays gets corrupted (### ...
1
vote
2answers
2k views

Are there any good and maintained libraries for using DS2482 I2C to 1-Wire bridge?

The DS2482-100 and DS2482-800 are I2C to 1-Wire bridges which are useful for driving complex 1-Wire networks. These are natively supported by a number of packages in Linux so you can interface easily ...