← All Experiences

Mechatronics · Product Iteration · Prototyping

Automatic RFID Bike Lock

A frame-mounted, NFC-unlocked lock with a retractable steel cable: a 15-part 3D-printed clamshell that integrates a solenoid latch, PN532 RFID reader, Arduino Nano, Li-ion power system, and a spring-loaded cable spool.

Personal Project · Independent · Dec 2025–Present · College Station, TX

Exploded view of the current RFID bike lock design
Current v.08 architecture: electronics stack, motor, spool, shaft, and mounting foot.
v.08Current design
15 parts3D-printed clamshell
NFCPN532 keyless unlock
Ø27–46 mmFrame fit

I bike to class every day at Texas A&M, a campus with something like 30,000 engineering students alone, so by mid-morning every rack is packed. I would get there early, grab a good spot, and come back at midday to find my bike crammed in with a hundred others. Picture the start of the semester: it is 110 degrees, you are already sweating, and you are reaching blind between jammed frames and handlebars, trying to find your lock, hold it steady, and dial in a combination you can barely see.

There had to be a better way. This lock still takes a moment to secure when you park, but coming back is the easy part: tap a card, a fob, or your phone and the cable retracts into the housing. Tap and go.

The product has to make its state obvious and execute the same sequence reliably every time. An Arduino Nano reads a PN532 NFC/RFID module, fires the solenoid latch, and runs the LED and audio feedback, all from an onboard Li-ion pack.

Authenticate

Read the RFID fob and reject any credential that is not authorized.

Actuate

Drive the solenoid and retraction mechanism to change the lock state.

Confirm

Use LED and audio feedback so the user knows whether the lock is secure.

The first prototype answered the highest-risk question first: could the electronics authenticate a fob, actuate the mechanism, and report the new state? Packaging was intentionally a simple wedge enclosure built around function, not final form.

First built RFID bike lock prototype: wedge enclosure with RFID port and status display
v0.0 built prototype: RFID reader port and a color status display on the front face.
SolidWorks CAD of the v0.0 bike lock enclosure
v0.0 CAD: display cutout, RFID port, and the shackle/latch in the base.
Alternate CAD view of the v0.0 bike lock assembly
Split housing and mounting base from an alternate angle.
Core loop proven

The prototype authenticated, actuated, and confirmed state reliably. That cleared the way for mechanical integration and packaging iterations.

Before committing to new hardware, I iterated the mechanism entirely in CAD, organizing the drive motor, housing, and enclosure into a tighter, more manufacturable package.

Shaded SolidWorks render of the v.04-v.05 bike lock assembly
Shaded render: drive motor, housing, and enclosure packaging.
Wireframe view of the v.04-v.05 bike lock assembly
Hidden-line view exposing the internal component layout.
Alternate-angle render of the v.04-v.05 bike lock assembly
Alternate angle of the refined enclosure.

The first major redesign moved the system into a compact cylindrical architecture and separated functional zones so the mechanism could still be assembled and serviced.

Mechanical

Retraction drive + spool

Organized the motion hardware around the lock body instead of the original wedge enclosure.

Electrical

Dedicated electronics bay

Separated RFID and control hardware from the locking and drive components.

Service

Bolt-on access panels

Kept internal components reachable for testing, repair, and continued iteration.

Exploded view of bike lock revision v.06
v.06 subsystem packaging.
Assembled bike lock revision v.06
v.06 assembled cylindrical housing.

The current revision stacks the control and RFID boards above the lock barrel, refines the drive shaft and cylindrical body, and adds a bolt-down foot for mounting to a frame or rack. The housing is printed in PETG with a compliant TPU liner so the same clamp fits Ø27–46 mm frame tubes, and the spring-loaded spool retracts a steel cable rather than the earlier shackle.

Colored exploded view of bike lock revision v.08 showing the control boards, motor, drive components, and mounting foot
v.08: integrated electronics, drive components, and mounting interface.
Next revision

CNC-milled stainless housing

The lock authenticates, actuates, and reports state. The next version moves the housing from printed PETG to CNC-milled stainless steel, with the machining constraints designed in from the first sketch rather than fixed afterward.

SolidWorksArduino NanoPN532 NFC/RFIDSolenoidsLi-ion powerCircuit designPETG + TPU printingDFM