RFID access control

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • dsc
    Automated Home Jr Member
    • Feb 2007
    • 11

    RFID access control

    G'day everyone,

    I was wondering whether I can use an RFID reader as a power-on/off switch in a hotel room? To turn the power on you would have to place the RFID card (which is also the room key) on the reader. This would allow to turn off the power when you leave the room and take the key with you. Do you think it is doable? I mean the thing I'm worried about is how RFID readers work when you place a card on them or hold the card in front of them for a longer time? I know that when you pass the card in front of the reader it reads the data and puts it in a bufor which can be read through RS232/485 or some other standard. But what happens when you hold the card after it has been read? Does it read it again when you empty the bufor? or does it work like a rising edge, so reads the data from the card when the card is near and doesn't do anything until you take the card away and past it in front of the reader again? if it allows a continuous reading mode it's quite easy to create a simple power-on/off button, because all you need is to check the bufor every 5-10minutes and if it's full (and has the right IDnumber) it's all ok.

    By the way it's really hard to create a simple yet effective system that turns the room power on/off. I thought of different things like room occupancy sensors (PIR motion sensors), counting guests with photorelays installed near the door or simply turning the power off when you lock the door from the outside with your card. Unfortunatelly all of those mechanisms doesn't really work when you leave someone in the room and lock the door from the outside. The person left in the room might be a sleep and so motion sensors won't work and the power will be turned off. Photoreleays might have trouble counting people that come in or go out when two people pass in the doorway. This miscalculation might lead to a situation when some one is still inside and the power is being turned off.

    Perhaps some of you has some ideas on how to solve this problem? The only thing I can think of is using motion sensors + the fact of closing the door from the outside. If you close the door using the RFID reader outside, the motion sensor checks whether there's movement inside the room in the following 10-20min. If there's any movement the power is not being turned off and only the door stays locked. If no movement is detected the power is turned off, but the motion sensor stays active. If it detects movement after the power turn off it will turn it back on, as this means someone probably stayed inside.

    Cheers and thanks in advance,
    Tom
  • toscal
    Moderator
    • Oct 2005
    • 2061

    #2
    Have a look at iButtons. https://www.myrialog.com/cgi-bin/ic/...ml?id=vrjUpTjX

    Also try a goolge for iButtons.
    Good luck.
    IF YOU CAN'T FIX IT WITH A HAMMER, YOU'VE GOT AN ELECTRICAL PROBLEM.
    Renovation Spain Blog

    Comment

    • katman
      Moderator
      • Jan 2004
      • 247

      #3
      One hotel I stayed in had something similar.

      A slot that you placed the room key into (plastic card) and all it did was operate a microswitch to turn the power on.

      You could fool it by placing any plastic card eg loyalty card, credit card etc in there if someone needed to go out with the "key" whilst leaving someone in the room.
      KAT5.tv - affordable high quality AV Distribution
      http://www.kat5.tv

      Comment

      • toscal
        Moderator
        • Oct 2005
        • 2061

        #4
        I have found the site I was originally looking for. www.iautomate.com/rfid.html
        Though one thing you have to be careful of is picking up stray RFID signals from other tags, such as when a resident from another room walks pass somebody else's door, it could trigger an occupied response. Though if the room is empty its not really a big deal, other than wasting electricity.
        I think the iButton solution might be a better bet as they need to be within 0.5cm of the reader. This product was what I had in mind when I thought about the iButtons https://www.myrialog.com/cgi-bin/ic/...p/hc00041.html
        And when used with this could be a good starting point www.cc-concepts.com/products/ilock/

        Hope this helps.
        Last edited by toscal; 19 August 2007, 07:54 PM.
        IF YOU CAN'T FIX IT WITH A HAMMER, YOU'VE GOT AN ELECTRICAL PROBLEM.
        Renovation Spain Blog

        Comment

        • dsc
          Automated Home Jr Member
          • Feb 2007
          • 11

          #5
          re

          G'day,

          katman: yup there's a microswitch inside, so you can put almost anything in and the light will stay on for as long as you want. So that solution pretty much sucks

          thanks for the answers. Finally I decided to use motion sensors and the fact that the door was closed for the outside. After the door is closed the system checks if there's any motion within 30min and turns of the power. If someone is left inside, for example sleeping and not moving for 30min since the door was closed the power will go off, but as soon as the person moves it will be turned back on. I think it's not so bad and it's quite cheap.

          Other thing I was worried about is the security issue of proximity cards. I know they can be copied, using a simple reader and some software, but I'm not sure if I should worry about it. All the numbers used in the system are stored in a database and if someone looses a card and reports it, the card is being automatically removed form the system. Also if you return you card in the reception, for example when you go on a longer journey and don't want to take it with you, it's also being disactivated. So do you think I should worry about it?

          toscal: I know that iButtons are safer, but unfortunately PLC used in my system doesn't support 1-wire and there are no 1-wire -> Modbus converters. Also 125kHZ RFID tags must be in around 10cm to be read, so picking up signals from a different card is not a problem.

          Cheers,
          dsc.

          Comment

          • m1anh
            Automated Home Jr Member
            • Aug 2007
            • 11

            #6
            Help on RFID room power control

            Hi guys, found this forum last night and reading with interest... My other half thinks I am mad and there is no one as geeky as me, how wrong she is!

            Hoped i could save you some time by commenting on this subject. You asked many questions, just hope you find the answers helpful?

            Originally posted by dsc View Post
            I was wondering whether I can use an RFID reader as a power-on/off switch in a hotel room? To turn the power on you would have to place

            the RFID card (which is also the room key) on the reader. This would allow to turn off the power when you leave the room and take the key

            with you. Do you think it is doable?
            A. Systems like this exsist in many hotels, but just use a micro switch and yes, you can use any card.
            I have also come across and made a system that used a magnet. (use a Readswitch or a hall effect sensor)
            You could drill a binary coding in the card, or covertly create one within the card and use IR Sensors to look through it. (Just a idea!)
            I used to love making door access systems and alarms when I was a kidd. (I mean younger, still a kidd!).

            Originally posted by dsc View Post
            I mean the thing I'm worried about is how RFID readers work when you place a card on them or hold the card in front of them for a longer

            time? I know that when you pass the card in front of the reader it reads the data and puts it in a bufor which can be read through

            RS232/485 or some other standard. But what happens when you hold the card after it has been read? Does it read it again when you empty

            the bufor? or does it work like a rising edge, so reads the data from the card when the card is near and doesn't do anything until you

            take the card away and past it in front of the reader again? if it allows a continuous reading mode it's quite easy to create a simple

            power-on/off button, because all you need is to check the bufor every 5-10minutes and if it's full (and has the right IDnumber) it's all

            ok.
            A. I does depents on what RFID Reader you are using, Normaly, the uP or uC is commanding the reader, the buffer is only aiding comms timing. So it is down to you to instruct the reader(Poll) for more or repeat information. so Yes Just keep polling for the Id.
            Most readers will issue a command when the card moves out of range. (Depends on the reader and config.)

            Originally posted by dsc View Post
            By the way it's really hard to create a simple yet effective system that turns the room power on/off.
            A. Why? You have :- PIR, Ultrasonic, Microwave and Thermopile to choose from. I work in a Hightech building, it has dualtech PIR/Ultrasound sensors about ever 15 Feet in the ceiling. They are very sensitive. Every sensor is networked into the building management system. Not only does it control the 6 (approx) lights around you, it controls on the HVAC and Security.

            Originally posted by dsc View Post
            I thought of different things like room occupancy sensors (PIR motion sensors), counting guests with photorelays installed near the door or simply turning the power off when you lock the door from the outside with your card. Unfortunatelly all of those mechanisms doesn't really work when you leave someone in the room and lock the door from the outside.
            A. One reasonably reliable system is to install an alarm, most people will set an alarm when no one is left in the room.

            Originally posted by dsc View Post
            The person left in the room might be a sleep and so motion sensors won't work and the power will be turned off.
            Q&A. Not quite sure what extent you want to turn things on and off? Quess? its lights, TV and Aircon in a hotel room. You do not want to kill room power when you are in it! Even when asleep, the last thing you want is the lights coming on every time you turn over in bed. Or the Aircon turning off in the middle of a heatwave(Not in the UK, I might add!). Also remember, people charge phones, digital cameras, camcorders and shavers during the night. Many hotels have a fridge, these run on a diffrent circuit that does not get cut.(But you pay to use it!)

            Originally posted by dsc View Post
            Photoreleays might have trouble counting people that come in or go out when two people pass in the doorway. This miscalculation might lead to a situation when some one is still inside and the power is being turned off.
            A. I Built a in / out counting system for a Year 9 (Yes, back in 1989 ish) Project using a BBC Micro, Counted people in and out of a lift.(Very hard to keep the count right!) Ended up with -4 people in the lift!!

            Originally posted by dsc View Post
            Perhaps some of you has some ideas on how to solve this problem? The only thing I can think of is using motion sensors + the fact of closing the door from the outside. If you close the door using the RFID reader outside,
            A. Out of the 50+ Hotels i have stayed in, not one has ever used the card to lock the door. You just close it behind you.

            Originally posted by dsc View Post
            the motion sensor checks whether there's movement inside the room in the following 10-20min. If there's any movement the power is not being turned off and only the door stays locked. If no movement is detected the power is turned off, but the motion sensor stays active. If it detects movement after the power turn off it will turn it back on, as this means someone probably stayed inside.
            A. This system is flawed, one many occassions, My misses or I, will leave the hotel room while the other is a sleep and dont forget the aircon / charging issues. Even the lights in my high tech building go out on me when I am working late. I end up pinning a piece of paper to the ceilin and pointing a desk fan at it(System circumvented!), works a treat.

            It seems like you are trying to fix a problem with a high tech solution that was solved 20 years ago with a plastic card and a microswitch. A have to ask, what is the actual problem you are trying to solve and why?

            Originally posted by toscal View Post
            Though one thing you have to be careful of is picking up stray RFID signals from other tags, such as when a resident from another room walks pass somebody else's door, it could trigger an occupied response.
            A. This depends on the RFID system you choose and card reader design. Check out NXP (Philips) Mifare RFID Cards. A passive system will have a read distance of 100mm aprx. You can design your read coil to only work within 2-10mm if you wish.

            NXP is a global semiconductor company creating solutions that enable secure connections for a smarter world.

            From microcontrollers and processors to sensors, analog ICs and connectivity, our technologies are fueling innovation in automotive, consumer, industrial and networking.

            From microcontrollers and processors to sensors, analog ICs and connectivity, our technologies are fueling innovation in automotive, consumer, industrial and networking.



            Originally posted by toscal View Post
            Though if the room is empty its not really a big deal, other than wasting electricity.
            I think the iButton solution might be a better bet as they need to be within 0.5cm of the reader.
            A. An iButton is a "Contact device" using the 1-wire protocol. (Two connections really!!, Gnd and Data)

            Originally posted by toscal View Post
            This product was what I had in mind when I thought about the iButtons www.myrialog.com/cgi-bin/ic/h...p/hc00041.html
            And when used with this could be a good starting point
            www.cc-concepts.com/products/ilock/
            A. iButton / 1 Wire device

            Check this out: http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2829

            You can connect it to a serial, usb, parallel port using one of these:- http://para.maxim-ic.com/cache/en/results/4002.html
            or make a home brew:- http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2923

            Even sofware to play with it!:- http://www.maxim-ic.com/products/ibu...re/wirekit.cfm

            Includes an API as well.

            And its free!!

            Hope some of this is helpful...

            Whoops.. Run out of words.. to be cont..

            Ian - M1ANH
            Last edited by m1anh; 25 August 2007, 10:27 PM.

            Comment

            • m1anh
              Automated Home Jr Member
              • Aug 2007
              • 11

              #7
              Help on RFID room power control - Cont..

              Sorry, new to posting, got the thread in the wrong place!.

              Cont..

              Originally posted by dsc View Post
              katman: yup there's a microswitch inside, so you can put almost anything in and the light will stay on for as long as you want. So that solution pretty much sucks
              A. I think thats a little unfair!, If it sucks that bad, why is it used so much and not been changed it 20+ years. I saves 100's of megawatts every year, yes a slot with a microswitch in it.

              A. It does not need to be complicated, Just cheap, simple, maintainable and trouble free. yes, you can circumvent it, but thats because we are geeks!, we understand how it works, 95% of people don't!. It about social compliance. You are told there is a slot in you room that you put the card in, so thats what you do, straight after using the card to unlock the door. The slot serves a second very important purpose, it reminds you to take your door card with you!

              Originally posted by dsc View Post
              thanks for the answers. Finally I decided to use motion sensors and the fact that the door was closed for the outside. After the door is closed the system checks if there's any motion within 30min and turns of the power. If someone is left inside, for example sleeping and not moving for 30min since the door was closed the power will go off, but as soon as the person moves it will be turned back on. I think it's not so bad and it's quite cheap.
              A. A microswitch in a plastic slot is much cheaper!.

              Originally posted by dsc View Post
              Other thing I was worried about is the security issue of proximity cards. I know they can be copied, using a simple reader and some software, but I'm not sure if I should worry about it.
              A. RFID's on there own can be scanned and cloned while still in somebodys pocket. So you need to look into the challange and responce system that exists within the card, along side the secure data areas. You will NOT copy a MiFare Card! easily or maybe at all!

              Originally posted by dsc View Post
              All the numbers used in the system are stored in a database and if someone looses a card and reports it, the card is being automatically removed form the system. Also if you return you card in the reception, for example when you go on a longer journey and don't want to take it with you, it's also being disactivated. So do you think I should worry about it?
              A. Door Access cards in large hotels while administered by a computer are not in ANY way connected(RF or Wired) to the doorlocks on the rooms. All the data needed to control the lock is stored on the access card its self. If you lose the card, a new card is issued and it cancels the lost one(s). If you wants to know more, let me know.

              Originally posted by dsc View Post
              toscal: I know that iButtons are safer, but unfortunately PLC used in my system doesn't support 1-wire and there are no 1-wire -> Modbus converters. Also 125kHZ RFID tags must be in around 10cm to be read, so picking up signals from a different card is not a problem.
              A. I am not sure about MODBUS, never used it, however, if your PLC has a serial port and you have full control over it, you could use the

              DS2480 to bridge the gap between the PLC and 1-Wire.

              Hope some of this is helpful...

              Ian - M1ANH

              Comment

              • toscal
                Moderator
                • Oct 2005
                • 2061

                #8
                What type of PLC are you using. If it can except some sort of input, either voltage or switched, then you can use iButtons. The circuit board from cc concepts is designed to operate a door strike relay. So just connect this to an input on the PLC if you can. And I know its probably not as easy as just connecting a few wires etc. It all really depends on the PLC you are using.
                The comments from m1anh about easily cloning an RFID card are quite valid. If you have a long range reader then its quite possible to sit in the hotel lobby and start cloning the cards. in people´s pockets. I've been involved in some basic RFID testing for asset tracking, and depending on the reader we could pick up RFID tags about 5 to 10 metres away.
                At the end of the day any system can eventually be circumvented. But the reason many hotels use plastic cards is that the cards are cheap to buy, can be used to store things like credit card info, name, address and of course room number etc. And work very well.
                I've been in some hotels where the only card that works in the slot is the room key. I normally use one of my frequent flyer cards, but in a couple of hotels this no longer worked, had to be the room key.
                Have a look at cyber keys from videx. www.videx.com these are virtually impossible to clone. Not only do you need to have the software, but then the passwords to then copy a key. You can also give each key a time limit of usability, or only work between certain times.
                Last edited by toscal; 26 August 2007, 09:07 AM.
                IF YOU CAN'T FIX IT WITH A HAMMER, YOU'VE GOT AN ELECTRICAL PROBLEM.
                Renovation Spain Blog

                Comment

                • dsc
                  Automated Home Jr Member
                  • Feb 2007
                  • 11

                  #9
                  re

                  G'day,

                  m1anh: wooha a lot of things were described, so I will go straight to the answers. I did eventually go back to the onwall card switches. As you say it's cheap and it assures that the light won't be switched off when someone is still in the room. Also did the auto close function on the door bolt, it simply opens up when you scan the card and closes when you close the door. Because there's a simple electromagnetic bolt in the door frame I had to add a button inside to open the door from the inside. It works exactly like the card reader, opening the door for a short amount of time or until you actually open the door and close it behind you.

                  As for the database and the computer it doesn't handle any door locking. There's a separate PLC unit which takes care of that. Because I check the scanned ID numbers in the database I had to make such a configuration. It's also easier and more flexible to add and remove active keys, allows for activation of keys for chosen periods of time and allows historical logging. I know that some locks actually have the ID that opens it inside the electronic unit, but when you lose a key, you have to actually program the door lock to accept another one. And what about the situation when the stuff loses a key that can open for example 30 doors (cleaning ladies can carry those and not carry 30 separate keys)? you will need to change all the locks not to accept that key anymore, so it can take a while. In my opinion a database system is easier to use and you can track all the keys and the times when they were used.

                  I will either use MODBUS with card readers or 1-wire -> rs232 adapter for iButtons. Here's a nice one that can handle up to 100 devices on the 1-wire network:

                  HA7E

                  I know that RFID can be cloned, but I didn't find any Mifare readers that had rs232 output or handled modbus. I found a simple solution to the cloning problem which is a small case for the card. It makes the card completely unreadable for any device, by blocking the electromagnetic field. It's cheap too, costs only around 3$ or 2$ when you buy a lot.

                  I have one question concerning the 1-wire network, do you know how fast can I scan a 1-wire network? Also how long does it take to read the ID of the 1-wire device? You see RFID readers with modbus have bufors which hold the scanned data inside until you actually read it. With iButtons you need to hold the iButton in the reader until you actually read the ROM. So if the network is pretty big and there's a moment when for example 5 people use a reader in the same time there can be a delay. And I don't want people holding their iButtons for 5s in the reader before the door opens.

                  Went with Watt Stopper US & PIR detector for bathroom lights and a 20min delay when no one is moving. I hope it's quite sensitive for even the slightest movement. Also installed an electromagnetic lock on the balcony door, so when you remove the card form the on wall switch the light goes out and the balcony door locks itself, so it's hard to actually open it from outside. There's also a curtain movement sensor in front of the windows which detects any attempts of messing with the glass, like cutting or breaking it (I know there are sensors which detect glass being broken but they don't work when you cut the glass). The sensor is being activated together with the balcony door lock. Of course when you leave the balcony door open and leave those two mechanism won't start.

                  toscal: yup all the things said about RFID cards are true. The real question is how often does card sniffing take place? I mean I can give those small card cases and really make them safe. Of course you can always steal a card, clone it and use it in the hotel, but considering that the guest will report a stolen card quick, I can block it in the system and give out another card. Also no card is actually used twice for the same room, as you can set which card opens which room in the database when creating a new guest in the system.

                  Your statement about using plastic cards in hotels is true. So if it's so dangerous to have RFID cards because they can be sniffed, why do hotels keep using it? In my opinion the possibility is quite low and they have their advantages, for example all the things that you mentioned.

                  Thanks for the answers and for the support and ideas it's cool to have someone with experience in the security area say something

                  Cheers,
                  dsc.

                  Comment

                  • toscal
                    Moderator
                    • Oct 2005
                    • 2061

                    #10
                    By plastic cards I meant the ones already in use, in many hotels, which have magnetic strips on them. Just wanted to clear that point up. As you seem to think I was talking about RFID cards at one point.
                    Also iButtons if used to open a lock do not need to be connected to a network and can be standalone, but this has advantages and disadvantages. Standalone will have a quicker response time but need to be programmed at the door. A solution to use iButtons would be some way of networking the door lock control to a main database, but the reader is just connected to that door lock. So for example a database of keys allowed for a lock are down loaded into the lock from a main database. So when a key is read if it is allowed the door opens. If its not it sends an alarm and does not open the door.
                    As a side note:
                    Also did you know that its very rare for a key card to get erased when they are handed in. They normally go into a box and get erased/updated when a new person checks in.
                    A friend of mine got a memo at work saying they should not be hand back hotel key cards as they can contain too much information that could result in identity theft if the cards got into the wrong hands.

                    Good luck with your project.
                    IF YOU CAN'T FIX IT WITH A HAMMER, YOU'VE GOT AN ELECTRICAL PROBLEM.
                    Renovation Spain Blog

                    Comment

                    • m1anh
                      Automated Home Jr Member
                      • Aug 2007
                      • 11

                      #11
                      More in RFID's

                      Some more answers:-

                      Originally posted by dsc View Post
                      Also did the auto close function on the door bolt, it simply opens up when you scan the card and closes when you close the door. Because there's a simple electromagnetic bolt in the door frame I had to add a button inside to open the door from the inside.
                      Q&A. What if the electronics, PLC or exit button fails! and if there is a fire!
                      you must have a fail safe.

                      Originally posted by dsc View Post
                      It's also easier and more flexible to add and remove active keys, allows for activation of keys for chosen periods of time and allows historical logging.
                      All current Magnetic card systems work this way. The card will only work in the door for the period of your stay. The lock on the door also records every card(+date and time)that opened it.

                      Originally posted by dsc View Post
                      I know that some locks actually have the ID that opens it inside the electronic unit, but when you lose a key, you have to actually program the door lock to accept another one.
                      If you lose a card(s), you are issued another one, this card cancels the previous one(s) as soon as you insert it in the lock.

                      Originally posted by dsc View Post
                      And what about the situation when the STAFF loses a key that can open for example 30 doors (cleaning ladies can carry those and not carry 30 separate keys)? you will need to change all the locks not to accept that key anymore, so it can take a while.
                      It doesn't, firstly, staff cards are programmed each day, a maids card will open only the doors in there zone, on that day and only until the end of there shift. This way, if the card is lost it only has a limited life. The maid will notice the card is missing quite quick and will be issued a new one. The maid must then walk down the corridor and insert the newly issued card in every lock in that zone and the lock will cancel the lost card. It 's quite simple.

                      Originally posted by dsc View Post
                      In my opinion a database system is easier to use and you can track all the keys and the times when they were used.
                      It has issues with Wiring, infrastruct, scaleablity and failsafes.
                      You only need the logging if there is a problem. You can run into problems with people tracking and human rights.

                      Originally posted by dsc View Post
                      I know that RFID can be cloned, but I didn't find any Mifare readers that had rs232 output or handled modbus.
                      Remember, Google is your friend. Search for: "Mifare RS232"

                      Originally posted by dsc View Post
                      I found a simple solution to the cloning problem which is a small case for the card. It makes the card completely unreadable for any device, by blocking the electromagnetic field. It's cheap too, costs only around 3$ or 2$ when you buy a lot.
                      Once again social compliance, it works, but it a pain. It you are going to design / implement and RFID system then it need to be secure. You need to use the right RFID card for the job. MiFARE would work fine, but you must implement the chalange and responce system on the card. Check out the data sheet. Section 2.3. it has Mutual 3 pass authentication(iso/iec dis 9798-2) and RF Data encryption.

                      Originally posted by dsc View Post
                      I have one question concerning the 1-wire network, do you know how fast can I scan a 1-wire network? Also how long does it take to read the ID of the 1-wire device? You see RFID readers with modbus have bufors which hold the scanned data inside until you actually read it. With iButtons you need to hold the iButton in the reader until you actually read the ROM. So if the network is pretty big and there's a moment when for example 5 people use a reader in the same time there can be a delay. And I don't want people holding their iButtons for 5s in the reader before the door opens.
                      Quick answer, <1mS for a single device. If you connect multiable device then you are using multi drop and the time greatly incresses. 100ms - 5 Seconds would not be uncomon of 5 - 10 devices. Check out:-



                      Remember Ibutton can be copied as well, unless you use iButton Secure SHA.
                      But you do need contact with it.

                      I must say, your system architectuer and design, some what worries me.

                      Originally posted by dsc View Post
                      The real question is how often does card sniffing take place? I mean I can give those small card cases and really make them safe. Of course you can always steal a card, clone it and use it in the hotel, but considering that the guest will report a stolen card quick, I can block it in the system and give out another card. Also no card is actually used twice for the same room, as you can set which card opens which room in the database when creating a new guest in the system.
                      It does not mater! You are responcible for peoples property, the system must be secure as possible. Use the right card and the cloning issue goes away.
                      IMHO, You are heading for lots of problems! You need to review you design?

                      Regards
                      Ian - M1ANH

                      Comment

                      • m1anh
                        Automated Home Jr Member
                        • Aug 2007
                        • 11

                        #12
                        More on iButton / Door access

                        Originally posted by toscal View Post
                        Also iButtons if used to open a lock do not need to be connected to a network and can be standalone, but this has advantages and disadvantages. Standalone will have a quicker response time but need to be programmed at the door.
                        This is very true, you want to do this standalone, a big 1-wire multidrop network is going to cause a lot of problems.

                        Originally posted by toscal View Post
                        A solution to use iButtons would be some way of networking the door lock control to a main database, but the reader is just connected to that door lock. So for example a database of keys allowed for a lock are down loaded into the lock from a main database.
                        This is not required, use a ibutton with some memory on it and program the lock in the same way as the magnitic cards systems work.

                        Originally posted by toscal View Post
                        So when a key is read if it is allowed the door opens. If its not it sends an alarm and does not open the door.
                        An alarm signal sounds a good idea, but the number of times i have tried to gain access to the wrong room after a few drinks, i have loss count.

                        Wrong door / key, No entry! Thats it!

                        Originally posted by toscal View Post
                        Also did you know that its very rare for a key card to get erased when they are handed in. They normally go into a box and get erased/updated when a new person checks in.
                        Very true, I never hand my cards backin unless asked, I like collecting them! I have loads of them..
                        You may wish to concider this in your costs of using RFID.

                        At the time of check out the card is dead anyway! it just has a small amount of random data on it, no use to anyone.

                        Hope this helps..
                        Regards
                        Ian - M1ANH

                        Comment

                        • dsc
                          Automated Home Jr Member
                          • Feb 2007
                          • 11

                          #13
                          re

                          G'day,

                          some answers and questions:

                          The door bolt is closed when it's powered, so as soon as the fire eats through the cables it will unlock.

                          All current Magnetic card systems work this way. The card will only work in the door for the period of your stay. The lock on the door also records every card(+date and time)that opened it.
                          Ok but you still have to program the readers at each door right? otherwise how does it know what cards it can accept? so you put the reader in the program state, you create a list of cards that can be used by scanning them and you disable the program mode. Right or wrong?

                          Once again social compliance, it works, but it a pain.
                          I have to agree with this one. That's why iButtons are better.

                          I must say, your system architectuer and design, some what worries me.
                          Well I'm just a student and have no experience in the field of such huge systems, so any input from more experienced creators is great

                          Thanks for the answers and ideas.

                          Cheers,
                          dsc.

                          Comment

                          • m1anh
                            Automated Home Jr Member
                            • Aug 2007
                            • 11

                            #14
                            More on Door Access control

                            Originally posted by dsc View Post
                            The door bolt is closed when it's powered, so as soon as the fire eats through the cables it will unlock.
                            You would be dead from the smoke by then. the bolt or door strike MUST be mechanical release. What if the bolt drive circuit sticks on. FET / TRANy or Relay sticks closed, you are locked in your room.

                            Originally posted by dsc View Post
                            Ok but you still have to program the readers at each door right? otherwise how does it know what cards it can accept? so you put the reader in the program state, you create a list of cards that can be used by scanning them and you disable the program mode. Right or wrong?
                            Wrong!

                            The first time a new issued card is inserted into the lock, it reprograms the lock. The lock is completey standaloan and runs of batterys. It usual has a hidden key for fail safe. Check out Vingcard's.

                            So the lock knows a few things:-

                            Site Id, Lock Id, Zone, Security Level, Time, Date, User Sync Count, Service Sync count and User Cypher Key, Service Cypher.

                            When a card is issued, the card is encoded using the Site iD, Locks ID, duration of your stay and the User Sync Count. The Cypher is then used the encrypt the info on the card.

                            When the lock reads the new issed card for the first time, it has all the info it needs. If you lose the card or the duration of stay changes, the next issued card will render the previous one inactive by the use of the User Sync Counter.

                            The Card issuing computer or network, just needs to keep a count of the last Sync Used.

                            Sync counter are also used in car alarm remotes to stop clones, Check out Microchip HCS410. But thats another issue.


                            The service card works in a simular way. But the zone and security level information it used in place of the Lock Id.

                            You need to do some research on this..

                            also: go and wiki, although, quite poor writeup!


                            There is no reason why you could not use a 1K ibutton. It is easier to interface and develope for a student project. Microchip are very helpful with students and parts are easy to obtain.

                            Originally posted by dsc View Post
                            Well I'm just a student and have no experience in the field of such huge systems, so any input from more experienced creators is great
                            We all have to learn, but go googling, visit your local hotel and explain your project, ask if they have any problems with there current system. This is real life enginnering. So many students try to design projects to fix problems that have already been solved and come up with something worst than already exists!. Also, do not make it to complicated, you will not finish it.

                            Please, also explain what your project is?, you seem it be all over the place!!

                            1. It started with switching the power on and off in a hotel room using RFID.
                            2. Unlocking and then Locking the door using RFID or iButtons.
                            3. Global Hotel Security and power mangagement using a multidrop iButton network?

                            What is you goal? and what level are you working at: -GCSE, A-Level, Degree, Masters?

                            Regards
                            Ian - M1ANH
                            Last edited by m1anh; 26 August 2007, 07:48 PM.

                            Comment

                            • dsc
                              Automated Home Jr Member
                              • Feb 2007
                              • 11

                              #15
                              re

                              G'day,

                              again thanks for the help

                              This is a Masters degree and my task is to create a concept of a BMS. I went with a network of readers because I've seen a bunch of sites that sell RFID controllers for RFID readers. They can usually work with up to 32 readers (RS232 limitation) and can be connected to a computer. If you have more rooms you can always use more controllers and create a whole network. I went with PLCs for most parts of the system and so wanted to use them as readers controllers. Modbus on RS485 is quite fast and readers with Modbus implementation have buffers whcih hold any data until it's read by the master unit. From there the whole thing is pretty fast. Data from the PLC goes to the computer through 10Mb ethernet (modbus tcp/ip) and is checked in the DB. Then it's just a matter of changing the bolt state. Everything is pretty much simulated in Intouch a visualisation software pack. I can always go with Miafare cards, I found a Mifare reader which has Modbus, so it shouldn't be a problem.

                              I've seen a lot of electronic locks and compared them to the electronic bolt and you are right, there's no way to open the electronic bolt without cutting the power off. I will try to find something better and make a small change in my project.

                              Cheers,
                              dsc.

                              Comment

                              Working...
                              X