element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Wireless
  • Technologies
  • More
Wireless
Forum 1 wire bus
  • Blog
  • Forum
  • Documents
  • Polls
  • Quiz
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Wireless to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 6 replies
  • Subscribers 222 subscribers
  • Views 654 views
  • Users 0 members are here
  • 1_wire_bus
Related

1 wire bus

Former Member
Former Member over 16 years ago

Hi Peeps,

 

I am about to embark on a 1 wire bus project using devices such as the Maxim DS18S20DS18S20+ temperature sensor and other similar devices. The idea of the 1 wire bus seems groovy enough but I wondered if anyone out there had any experience of this stuff.

 

The concept of the project is in 2 major parts, the physical hardware implementation of devices connected ono the 1 wire bus along with a USB transciever to connect it into the main motherboard. The second part is the software which will be Linux based and the idea is to use the Linux DBUS mechanism to create a self describing (a method called introspection) platform for applications which are interested to get hold of sensor data. There is actually a 3rd parrt to this project which is the applications themselves, but before I go blabbing on in detail about the project I thought I ought to see if anyone has any comments to make first.

 

Fire away

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    Former Member over 14 years ago

    Hello,

     

    I have a 1-wire network using 2 DS18B20's and an Embedded Data Systems HA7E 1-wire adapter in parasitic configuration. As the HA7E uses ASCII commands I use an Applescript to get the data from the sensors. The script basically polls one sensor then the other and writes the temps to a variable in my automation software.

     

    I've been having trouble with intermittent erroneous readings of 4095 a few times a day. I read that you need a 4.7k pull up resistor. I couldn't find a clear explanation of how to install it but from what I read it goes between 2 and pin 1/3 (they are soldered together for parasitic mode. I did the first sensor in the my network leg  and when I tried I got a constant 4095 reading from both sensors.

     

    Am I doing something wrong? I read on another site you need a diode to correct erroneous readings. I am a bit confused so if you can give me some advise I'd be most appreciative.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Former Member
    Former Member over 14 years ago

    Hello,

     

    I have a 1-wire network using 2 DS18B20's and an Embedded Data Systems HA7E 1-wire adapter in parasitic configuration. As the HA7E uses ASCII commands I use an Applescript to get the data from the sensors. The script basically polls one sensor then the other and writes the temps to a variable in my automation software.

     

    I've been having trouble with intermittent erroneous readings of 4095 a few times a day. I read that you need a 4.7k pull up resistor. I couldn't find a clear explanation of how to install it but from what I read it goes between 2 and pin 1/3 (they are soldered together for parasitic mode. I did the first sensor in the my network leg  and when I tried I got a constant 4095 reading from both sensors.

     

    Am I doing something wrong? I read on another site you need a diode to correct erroneous readings. I am a bit confused so if you can give me some advise I'd be most appreciative.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube