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
Sensors
  • Technologies
  • More
Sensors
Sensor Forum Digitally Addressable Sensors?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Sensors to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 9 replies
  • Answers 2 answers
  • Subscribers 343 subscribers
  • Views 1945 views
  • Users 0 members are here
  • sensors
  • sensor
Related

Digitally Addressable Sensors?

amillen
amillen over 12 years ago

I need to come up with a way to daisy chain a number of sensors together and uniquely read the high/low pin from them individually. Think Digital RGB LED http://www.adafruit.com/products/306 or I2C. I like how when you power the LED strip up, it assigns a unique id. Is there already a module that will do this?

  • Sign in to reply
  • Cancel

Top Replies

  • Former Member
    Former Member over 12 years ago +1
    Hi Alex, With I2C you can chain only upto 128 devices/sensors. This is the caveat. If you have more than 128 devices/sensor you need to use I2C chips like wherein you can theorotically connect NXP/Phillips…
  • amillen
    amillen over 11 years ago +1 verified
    Thanks to all that replied, many of you came up with different solutions, but I was looking for something a little more off the shelf. Looks like someone finally packaged up exactly what I was looking…
Parents
  • amillen
    0 amillen over 12 years ago

    Yes, Alex is still alive, sorry for the delay in my response. I'm still digesting all of the information I have received and would like to respond to some of your questions.

     

    I'm reading (input), anywhere from 1 to 20 snap or magnetic switches.

     

    The same project but different application, I have 1 to 20 analog sensors http://www.parallax.com/tabid/768/ProductID/100/Default.aspx

     

    I will never be daisychaining both sensors on the same chain, either one or the other, and am willing to have two different solutions.

     

    The desire to daisychain instead of running separate lines, is that the user will be adding and subtracting sensors often.

     

    I hope that answers some questions, let me know if you have anymore and I will answer them while I read over all this info

     

    Alex

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to amillen

    Alex,

     

    I think I'm starting to see what you're getting at. with the discrete inputs (the switches), will there be (say) 20 sockets into which a switch may or may not be connected or should I think more like an ethernet arrangement where each switch is completely self-contained, and if there's no switch then there's not even a socket for the switch?

     

    For the QTI sensor (looks interesting BTW), same question I suppose. Also, what sort of analogue resolution would you need? (just thinking about ADC method)

     

    You may consider one or more PIC devices, some of which have multiple analogue inputs. If the sensor nodes are to be self-contained, then each node could contain a PIC (they're relatively cheap) which themselves provide/support SPI/I2C (or maybe a UART chain?) to connect the chain. There'd be a little programming needed for the PICs, but each node would only require fairly simple logic. If you're not familiar with PICs, start by looking at the PIC16F886. I'm not saying that's the one to use, just a stating point. In reality you'd probably want a smaller (less pins) PIC. THere are plenty of examples of programming PICs available.

     

    Best regards,

    Charlie.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 12 years ago in reply to amillen

    Alex,

     

    I think I'm starting to see what you're getting at. with the discrete inputs (the switches), will there be (say) 20 sockets into which a switch may or may not be connected or should I think more like an ethernet arrangement where each switch is completely self-contained, and if there's no switch then there's not even a socket for the switch?

     

    For the QTI sensor (looks interesting BTW), same question I suppose. Also, what sort of analogue resolution would you need? (just thinking about ADC method)

     

    You may consider one or more PIC devices, some of which have multiple analogue inputs. If the sensor nodes are to be self-contained, then each node could contain a PIC (they're relatively cheap) which themselves provide/support SPI/I2C (or maybe a UART chain?) to connect the chain. There'd be a little programming needed for the PICs, but each node would only require fairly simple logic. If you're not familiar with PICs, start by looking at the PIC16F886. I'm not saying that's the one to use, just a stating point. In reality you'd probably want a smaller (less pins) PIC. THere are plenty of examples of programming PICs available.

     

    Best regards,

    Charlie.

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