Forum

Notifications
Clear all

1-wire issues

3 Posts
2 Users
0 Reactions
5,588 Views
(@storunner13)
Active Member
Joined: 7 years ago
Posts: 7
Topic starter  

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: 7 years ago
Posts: 7
Topic starter  

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)
Reputable Member Admin
Joined: 8 years ago
Posts: 343
 

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: