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 "Remember me always!" - Part 024
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: COMPACT
  • Date Created: 17 Oct 2014 7:29 AM Date Created
  • Views 657 views
  • Likes 0 likes
  • Comments 1 comment
  • forget_me_not
  • raspberry
  • pi
  • remember_always
Related
Recommended

"Remember me always!" - Part 024

COMPACT
COMPACT
17 Oct 2014

Poll Dancing

image

Figure 1. If you look carefully you'll see the new addition at the bottom left hand corner and if you look very very carefully an attached DS2401!

(and 3 Oscilloscope leads - two for I2C bus observation and the other for 1-Wire bus observation).

 

As previously mentioned that the COMPACT TOP HAT would support the 1-wire interface.

Well that feature has come to fruition with the delivery of some DS2482S-100+ Single Channel 1-Wire Masters.

This little chip saves the Raspberry Pi from bit bashing or banging one of its GPIO ports.

 

image

Figure 2. The extension board

 

I quickly whipped up a extension PCB, assembled it and it works!

The board attaches to the COMPACT TOP HAT I2C port has a pass through port to enable connection to the other I2C peripherals.

 

image

Figure 3. 1-Wire bus signal captured on TEK TBS1052-EDU. (It is of 0x33 - READ ROM Command)

 

I tested it using a DS2401 addressable switch. This little TO-92 IC can act as either a security key or rudimentary door switch detector.

Only two of the pins are used - a GND and the 1-Wire interface pin. It's power is derived from the 1-Wire interface pin.

When connected in series with a door switch - if you can read the serial number then the door switch is closed otherwise you'd get no acknowledge signal meaning that door switch must be open (or something is busted!).

 

image

Figure 4. A(n angled) screen shot of the results of hot swapping DS2401s and showing the RPi reading their Serial Numbers.

 

At an additional cost I could have used DS2482S-800+ Eight Channel 1-Wire Masters to give me more 1-wire busses.

The DS2483 has only 6 pins and supports multiple voltages and sleep mode for power sensitive applications but is currently unavailable from e14.

 

It is not mandatory to use a DS2482S-100+ because an I2C based 1-Wire Master could also be effectively accomplished using a PSoC.

  • Sign in to reply
  • DAB
    DAB over 10 years ago

    Good post Monte.

     

    DAB

    • 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