Open source deadbolt lock

Not sure if this is the one you meant…

That wasn’t it. Oh well. Maybe Amal deleted it :laughing:

Regardless, the likelihood of a custom PCB with the advanced crypto features in the next 3 months is low. If we can figure out someone who will manufacture your lock body designs at scale, Amal might be willing to put money towards it. Depends on the results from the add-on lock actuators he’s currently testing out. Money is less of any issue than devoting time from our limited dev resources.

We also have several enterprising EE’s in the community who would be able to design an interconnect board out of Arduino modules and such. If you want to continue development I’d say go ahead, and we’ll help where/when we can.

We’re all in this big 'ol biohack together.


Hey EE desing is kinda my thing, if we still wanna do this we can whats peoples thoughts and feelings on the security side of things I presume not UID based? Hf or lf?

1 Like

Thanks for the update guys.
Completely understand, I imagine the team are working hard on all sorts of projects.

I will continue development for the community version and if down the road Amal wants to create a vivokey version the be my guest it’s open source.

I have spoken to the owner of the machine shop that I am developing it at and they are happy to manufacture it at a reasonable scale (~40-50 units per month) I’d assume this is a reasonable scale as the market for this isn’t huge and almost certainly contained within this community.

1 Like

I was thinking HF maybe uid to start with is a good option as we can always upgrade it later.
(I have no idea even where to begin with cryptography and NFC)

1 Like

:clapper: Take 2 ( access controller related thread rather than Lock related )

:clapper: Take 3 ( Blue cloner related thread rather than lock related )

How am I doing? two more fails ?

Just a heads-up, we will design and provide chip hardware for the VivoKey ecosystem side of things - it requires a few things from our end to make it work with the upcoming Apex line.

For other things like the xDF2 and the like, it’s going to be dependent on the NDAs. I’m sure I can provide help once that time comes.


I finished making the plates today after some design changes.
Also contacted the people that sell the motor and placed an order for 10, hopefully they get back to me soon.

Here are some photos.


Its looking very good

Thanks, I’m a little concerned about the motor as they haven’t replied to my order yet.
Might end up having to go with a different one, maybe the common 5v stepper motor 28bjy-48 with a custom gearbox on.

1 Like

A little late to the party, but I made an account here after reading through this thread last night.
I’m currently doing my undergrad in mechanical engineering and would love to help out on this project however I can.


I don’t suppose you’d be able help with the gearbox would you?
Ideally a 1:1.5 ratio from the motor to the bolt to increase the torque a bit, and in the smallest form factor possible that will be durable.
The dimensions of the motor shaft are readily available online and the bolt will use the standard plate to actuate it (I don’t have dimensions to hand right now)


I’ll see what I can do, I’ll grab a copy of your CAD and have a crack.


Righto, as promised I’ve had a crack!

Did a bit of digging on Alibaba and found this here DC motor. Its got 3 of torque compared to the 0.62 of the other one.

Using it has required a couple of design changes as its a little thicker, and the motor shaft is closer to the output shaft.
What I’ve done is extend the body from 40mm to 43mm thick. Also I’ve replaced the thumb-turn with one that sits proud instead of being recessed, while this may not look as sleek it gives the extra clearance needed for the motor.
Additionally this new thumb-turn allows for extra gripping area which may be required when overcoming the added resistance of the new gearbox.
Furthermore, the extra clearance inside provides room for the addition of limit switches so the controller can know when the bolt is fully retracted/extended.

I’ve included one set of images with the main design changes needed for the new motor.
I’ve also included one render of a “slim” design with the extra clearance added only for the motor (to achieve this I’ve had to invert the battery cover).

Main changes

Slim version


Looks great! I kinda really like the slim version.


Where is PCB mount place? How to open if battery was discharged? How to (fast) change batteries? :smirk:
Also, LED to indicate the lock state is really useful…

I’m sure it’s been brought up by someone else, but I have four 3d printers and when the time comes, I can 3d print some stuff provided I have the . STL files.

1 Like

@conphilpott I’ve created a fork and pull request to merge my changes into your branch. I’m kinda new to github so please let me know if I fucked something up.

@Gurion there is a removable battery cover, however it blended in because it was the same color (Whoops!). Here’s a screenshot of the assembly:


Also, for the PCB mount place, theres 13mm of space behind the battery box which should be plenty.
An LED would be useful indeed, whoever does the next revision can add that in.


My Lock pcb v0.1(left) and v0.2(right). I had not good result with 6v battery assembly, at the moment when motor driver turs on I see voltage peak drops down and ESP32 reboots.

So for v0.1 I separated power 3v(2xAA batt) for ESP32 and external touch button and another 3v+Boost(min 1.8v convert to required 3.3v) for motor driver and RFID reader.

For v0.2 I use 3v(2xAA)+ same Boost and 6v(3v+3v,
totally 4xAA batt in serial connection) for motor and RFID.
First part 3v(2xAA)+ same Boost for ESP32 and ext touch(min voltage for ESP32 2.3v, min voltage for fully discharged AA battery near 0.7v, 2*0.7=1.4v, so using Boost I can get more power from battery and discharge it much deeper). Second part 6v allows motor to have higher torque moment(some timesy I got dummy “lock open” cycles because of insufficient power) and lower voltage dropdown affection to ESP32. As result - 12uA in sleep mode at first 3v batt pair and 0uA at 6v power line :slightly_smiling_face:

1 Like

Cone shaped head of battery cover screw better to change to straight shaped screw head, because when you will assembly and add some small extra torque to this screw your plastic cover’s “ear” will be immideatly broken(cone will expand fragile thin plastic) :slightly_smiling_face: