Link to home
Start Free TrialLog in
Avatar of Soumen Roy
Soumen RoyFlag for India

asked on

Process of detecting my presence at my door

Dear experts,

I am a novice in raspberry pi. I want to make a door lock which should be unlocked only when it detects presence of myself within a range not for others.

Is it possible? What type of sensors need to be used for that? Any tutorial or advice?

With regards,
Roy
Avatar of CompProbSolv
CompProbSolv
Flag of United States of America image

As a general answer, I'd look into identifying your cell phone through bluetooth.  That's a common method for this sort of thing.
Avatar of Soumen Roy

ASKER

@CompProbSolv19:

Thank you for your comment. So I need to integrate Bluetooth receiver with raspberry? Is it available? Can you please explain a little bit more? What type of sensors I need to integrate with raspberry?

Regards,
Roy
SOLUTION
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It appears that Shaun has given you much better details than I'd be able.  I don't have experience with the Raspberry Pi.  I did find the following with a simple search:
https://www.raspberrypi.org/learning/robo-butler/bluetooth-setup/

I'd look carefully at the different methods (Bluetooth, RFID, NFC) in terms of what it takes on both ends (human and Pi) in addition to the range of detection.
Thank you very much. Those tutorials are really awesome. So as far as I understand I may use the options.

1. RFID
2. NFC
3. Bluetooth

I will evaluate those three. But I think there will be one issue between first two, RFID and NFC. I have to check whether the distance is greater than 1 metre atleast. Because if I have to unlock door with my physical presence, it should detect my presence in a certain distance. Bluetooth may be a good option in that case I think. Any advise?

Regards,
Roy
One thing to consider with Bluetooth is if you want the door opened EVERY time you are within range.  This could depend a lot on what sort of security you have as a goal.  Depending on the Class of device, you are looking at ranges on the order of 10-100m (30-300 feet).

I've not done any Bluetooth programming but I doubt you can select a range programmatically.  I'll bet that with careful positioning and design of the antenna you could restrict it well enough.
@CompProbSolv20:

Okay. Got your point. So, if Bluetooth does not work for security reasons, then my problem comes into such that: " I want Bluetooth range with NFC probably " :-). 🤔.

Does anyone knows NFC or RFID works from which range?

Regards,
Roy
After little bit googling it shows RFID may work within 1 metre. May be effective for my case. So I have to explore between Bluetooth and RFID now.

Regards,
Roy
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Another important part of the design spec is what is the user (only you?) willing to carry in order to accomplish this.  If it is just you, then this isn't such a big issue.  If this is going to be for your employees, then it's still easy to "force" them to carry the key (whatever it is).  If this is going to be a product for the general public, you want to think about what restrictions they are willing to manage.
As you have rightly pointed out, the users will be my family. May be about 8 to 10 users. So I think I have to arrange 8 to 10 RFID cards and 1 RFID sensor.

Yes, I will also try Bluetooth apart from exploring RFID.

Regards,
Roy
Depending on your budget you might also consider a fingerprint reader.
@Shaun Vermaak20:
I need to detect myself from a certain distance, may be about 1 metre which is not possible for finger print reader

Regards,
Roy