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.
Questions tagged [1-wire]
33 questions
10
votes
1 answer
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 the arduino site to send data as a slave.
For…
RSM
- 1,457
- 1
- 11
- 26
5
votes
2 answers
"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 at home). Back then, it worked for 1 device, if…
serge1peshcoff
- 181
- 1
- 2
- 6
3
votes
1 answer
(Arduino Uno) PWM output (and servo plugged on it) becomes unstable if I use 1Wire on another pin
Unnecessary context but hey I'm guessing you might be interested
Hi, I want to build a PID temperature regulator with a servo that presses on a silicon pipe to adjust the flux of liquid passing through. The liquid is hot beer that must be cooled…
Guillaume Deshors
- 43
- 3
3
votes
3 answers
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.
Serial Order on wire* Order…
Steven Smethurst
- 133
- 5
3
votes
1 answer
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 sensor? I think to use the (DS2482-800) bridge, but I…
kalvh
- 31
- 1
- 2
3
votes
3 answers
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 measurements.
Here's what I get on the serial monitor…
elena A
- 31
- 1
- 3
3
votes
2 answers
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 with them on a Raspberry Pi.
I was surprised to…
Cybergibbons
- 5,420
- 7
- 34
- 51
2
votes
0 answers
Reading MAX31888 works with Nano, but not with ATtiny85
I'm using the OneWire library to try and read temperatures from a MAX31888 sensor using this Arduino program:
#include
#include
#define RX PB4
#define TX PB3
#define OW PB0
SoftwareSerial serial(RX, TX);
OneWire…
Boyfinn
- 245
- 3
- 11
2
votes
1 answer
How to make 2 lidar lite v3 work with 1 Arduino?
I'm using the code below, but I had no success.
I'm using this connection wire:
The photo of the Arduino doesn't show the SCL and SDA pins, but please consider that it has 2 SCL pins and 2 SDA pins in the places where I marked them in the…
GUSTAVO TELES
- 21
- 3
2
votes
1 answer
Curious Collision between OneWire and RadioHead
The code below runs on an Arduino Pro Mini (8MHz 328p) sending temperature readings using an inexpensive ASK transmitter. I use OneWire to read the DS18B20s, and RadioHead to manage the radio.
The original problem was the send() calls at the top of…
Eric Nelson
- 135
- 5
2
votes
2 answers
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 code I use:
#include
#include…
gerpaick
- 123
- 1
- 6
2
votes
0 answers
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, wanting to develop a new firmware I started the…
LeoDJ
- 21
- 5
2
votes
1 answer
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)\Arduino\libraries\OneWire/OneWire.h:108:2: error:…
Bigyan Chapagain
- 67
- 1
- 2
- 10
2
votes
2 answers
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) via I2C.
So, I tried to merge some code from the…
user3060854
- 600
- 4
- 9
- 20
2
votes
0 answers
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 fine. Then I post the data. Then the temperatures…
ericksonla
- 141
- 3