Forum

1-wire issues  

  RSS

(@storunner13)
Active Member
Joined: 1 year ago
Posts: 7
March 23, 2019 7:31 pm  

I'm trying to setup a 1-wire sensor in BruControl, but I'm not getting a reading.  I have the interface setup via serial.  I have GND:GND, 5v:5v, and the data pin connected to D5.  I have a 4.7k resistor (measures at 4.62k) between 5v and Data.  I'm registering 5v between the 5v and GND, and between Data and GND.

I have added and enabled a device, using port 200, selected sensor index 0 (and tried others), but I'm still not getting a reading.  What am I missing to get this to work?

Also, the interface intermittently will disconnect and reconnect every 15 seconds or so--any idea why this would be?


Quote
(@storunner13)
Active Member
Joined: 1 year ago
Posts: 7
March 24, 2019 3:24 pm  

I'm not entirely sure what my issue was, but it seemed to correct itself after a restart.  Sorry for the false alarm.


ReplyQuote
(@pbruno3)
Estimable Member Admin
Joined: 2 years ago
Posts: 240
March 24, 2019 3:40 pm  

Your wiring looks correct. Maybe you wired it powered then didn't reset the MEGA (or use the control code to re-initialize the 1-wire bus)?

Glad to hear its working.


ReplyQuote
Share: