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.

30 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,437
  • 1
  • 11
  • 25
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…
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…
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
  • 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
2
votes
0 answers

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
  • 125
  • 4
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
  • 570
  • 3
  • 9
  • 18
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
1
vote
1 answer

Suggested pullup resistor values for 1-wire network

I'm attempting to connect 6 DS18B20 temperature sensors to an Arduino GPIO pin in a topology that looks something like this: Conceptually, it's a star network with two star subnets. The GPIO pin on the Arduino is connected to point "E" through a…
Bitbang3r
  • 355
  • 1
  • 2
  • 9
1
vote
1 answer

Why does my delay get inaccurate after one minute ? It makes my servo vibrate

I have a fancy setup to cool my beer at a controlled temperature (you can find details and a photo here if you want). The input of my system is a temperature, the output is a servo position. Long story short On startup the servo is stable enough,…
1
vote
0 answers

Reusing Digispark ATtiny85 micro-USB as 1-wire bus

I'm working on a project of my home plants irrigation/hydroponic system(not cannabis!)) just chilies and other eatables). Also I'm trying to recycle modules, wires and other projects' leftovers such as Digispark ATtiny modules. I'd to use it as a…
fortl
  • 11
  • 3
1
2