element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
Forget Me Not Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Forget Me Not Design Challenge
  • More
  • Cancel
Forget Me Not Design Challenge
Blog Pas Home / 1-wire vs Tektronix oscilloscope
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: verrverr
  • Date Created: 29 Aug 2014 3:20 AM Date Created
  • Views 1710 views
  • Likes 0 likes
  • Comments 8 comments
  • forget_me_not
  • pas_home
Related
Recommended

Pas Home / 1-wire vs Tektronix oscilloscope

verrverr
verrverr
29 Aug 2014

Pas Home - Index

 

Hello, this week I did a lot of testing and debugging with the oscilloscope. I try to see and solve the problem of my network of temperature 1-wire sensor.

 

 

I try first to change my connection to the 5v and 3.3v use, I also change the cable connection together. Using the 5v is really not advise for raspberry pi but its still work reasonably well for 6 months.

Result : failure no captor are detected

 

imageimageimageimage

 

Then I tried to change the way power sensors using the parasitic mode. As some suggest me in another post

Result : no difference, no captor detected

 

Here are some screenshots of what I normally should have as working signal

With 1 sensor on 3.3v

imageimage

With 1 sensor on 5v and level switcher

imageimageimageimage

According to this guide Guidelines for Reliable Long Line 1-Wire Networks - Tutorial - Maxim my curve have slow rise time and maybe some reflected problem


Finally I retest on 5v but with a level converter https://www.adafruit.com/products/757 to send only 3v on raspberrypi port

Result : Success all captor are detected and all communicated data are correct

imageimageimageimage

Interesting curve. Yellow is the 5v side data and Blue the converted 3.3v result

image

 

I'll do other tests removing resistors supposed to improve communications and see if it really helps and I will also make a soldering version on a perma-proto board.

Do you see anything else that could improve my circuit?

 

Old schematic

image

 

New improve schematic

image

  • Sign in to reply
Parents
  • shabaz
    shabaz over 11 years ago

    I don't use 1-wire enough to know, but it definitely looks like the pull-up is insufficient, and needs to be a far lower resistance, maybe halve it, as a test? (Assuming you can do that according to the spec).It definitely doesn't look healthy : ( could perhaps need a bypass capacitor in case these devices are resetting since bit spacing looks odd. In general that should be 100nF ceramic, and possibly some small electrolytic too. At least a 100nF ceramic by each device.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • shabaz
    shabaz over 11 years ago

    I don't use 1-wire enough to know, but it definitely looks like the pull-up is insufficient, and needs to be a far lower resistance, maybe halve it, as a test? (Assuming you can do that according to the spec).It definitely doesn't look healthy : ( could perhaps need a bypass capacitor in case these devices are resetting since bit spacing looks odd. In general that should be 100nF ceramic, and possibly some small electrolytic too. At least a 100nF ceramic by each device.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • verrverr
    verrverr over 11 years ago in reply to shabaz

    Hi i just do some other test with lower pull-up resistance. And really works better. With 2.7K or 1.5K i can use 3.3v directly without level converter.

     

    The spec indicates use 4.7K resistance, is that the use of a 1.5K or lower can break sensor?

    What is the best use of 4.7K ressitance on the 5v to with level converter to 3.3v or use 3.3V with 1.5k or lower ressitance

     

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mcb1
    mcb1 over 11 years ago in reply to verrverr

    The spec talks about a nominal 5k pullup, and goes further to show a stronger pullup for long conversion times (12bit).

    The sensor needs to be able to pull down the line, and perhaps some of the other one wire devices are not capable.

     

    It almost seems that one of your sensors is drawing too much current, since the rise time is still rounded even at 1.5k.

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
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