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
Arduino
  • Products
  • More
Arduino
Arduino Forum control 250 doors with arduino
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 18 replies
  • Subscribers 392 subscribers
  • Views 1099 views
  • Users 0 members are here
Related

control 250 doors with arduino

abolfazlnejatian
abolfazlnejatian over 8 years ago

Hey Everyone

 

I have a question about my project and I’ll really appreciate any help you can give,

I’m going to programming a software in order to automatically open up 250 doors with FINGERPRINT SCANNER, I mean I’ve 250 members in a gym and I want to recognize any of them by their fingerprint and then open their related door wardrobe.

So the question is, I don’t know after verifying any individual person and understanding the related door, how can I command to the doors to open?

Let me clarify the sentence, Arduino have 16 pins as output and I’ve 250 doors to control.

I know it’s completely ridiculous to dedicate 250 pins to 250 doors but I don’t know how to overcome to this problem and reduce the pins number!

 

Thank you in advance for your attention to this matter.

 

Many thanks

Abolfazl

  • Sign in to reply
  • Cancel

Top Replies

  • beacon_dave
    beacon_dave over 8 years ago +3
    As usual, there are a number of ways to do this type of thing. Perhaps take a look at this tutorial using daisy-chained shift registers: https://www.arduino.cc/en/Tutorial/ShiftOut You could use 5x Arduino…
  • dougw
    dougw over 8 years ago +3
    You can get 256 nodes on an RS485 bus and it can run long distances. It would start with the serial port on your arduino through some RS485 line drivers. http://www.ti.com/lit/an/slla272b/slla272b.pdf…
  • Jan Cumps
    Jan Cumps over 8 years ago +3
    Silly thought: how reliable is a fingerprint recognition system for people who just played basketball, have been swimming or just took a shower after sport? these activities, all common in a gym, alter…
Parents
  • beacon_dave
    beacon_dave over 8 years ago

    As usual, there are a number of ways to do this type of thing.

     

    Perhaps take a look at this tutorial using daisy-chained shift registers:

    https://www.arduino.cc/en/Tutorial/ShiftOut

     

    You could use 5x Arduino Mega256 microcontrollers which have significantly more digital IO than an UNO . This may seem ridiculous but could work out easier/cheaper.

     

    Another approach is to move some of the 'intelligence' closer to the locks and use a bus type approach where each lock is given a unique address on the bus and only responds to bus commands with that particular address.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • Jan Cumps
    Jan Cumps over 8 years ago in reply to beacon_dave

    Dave's last suggestion seems to be the most practical one, if you don't want a wire bundle as thick as a tree's branch.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • beacon_dave
    beacon_dave over 8 years ago in reply to Jan Cumps

    That would perhaps depend on where you located the shift registers though. If the lockers are arranged in an XY matrix then you could perhaps space the shift registers at 8-locker intervals along the 'X axis' reducing the wire bundle at any one location considerably.

     

    Same with the distributed microcontroller approach - each ATMega328 microcontroller could service around 20 lockers with digital IO and then use a communications bus between them along the 'X axis'.

     

    Adding the intelligence at each lock may be costly as you have the 250x factor to consider.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Jan Cumps
    Jan Cumps over 8 years ago in reply to beacon_dave

    A mix-and match approach may be reasonable for both costs and wiring.

    addressable bus devices with enough pins to control a set of doors, placed localy close to these doors. And then a bus line linking all of the bus devices together and to the arduino.

    You'd also have to run a power line and some devices that can switch significant current, because locks are most of the time actuator-controlled. This device can be a relais or an electronic switch.

     

    Because the actuators will generate significant pulses, your bus line has to be resiliant for that. dough suggested a line that can bridge some distance and is relatively forgiving for pulses.

     

    I would't bet on SPI or I2C. They both do well on a pcb, but when you use them with lines of some distance, with 250 possible sources for magnetic pulses (500 sources if the locks are controlled by a relais), chances are dim that it 'll work reliably.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Jan Cumps
    Jan Cumps over 8 years ago in reply to beacon_dave

    A mix-and match approach may be reasonable for both costs and wiring.

    addressable bus devices with enough pins to control a set of doors, placed localy close to these doors. And then a bus line linking all of the bus devices together and to the arduino.

    You'd also have to run a power line and some devices that can switch significant current, because locks are most of the time actuator-controlled. This device can be a relais or an electronic switch.

     

    Because the actuators will generate significant pulses, your bus line has to be resiliant for that. dough suggested a line that can bridge some distance and is relatively forgiving for pulses.

     

    I would't bet on SPI or I2C. They both do well on a pcb, but when you use them with lines of some distance, with 250 possible sources for magnetic pulses (500 sources if the locks are controlled by a relais), chances are dim that it 'll work reliably.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
  • Jan Cumps
    Jan Cumps over 8 years ago in reply to Jan Cumps

    ... If you route unadressed 'raw' control lines from the arduino, any hacker can get access to all sporter's wallets and iPhones with just two needles and 1 or 2 coin cells. With that, you can put a pulse on every line and see the lockers jump open one by one.

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