Using Arduino for a motorbike lock

Hello everyone!

I have been researching electronic control systems for my project on an automatic keyless motorbike lock which uses a keypad code to engage and disengage the lock.

However I am unsure how to connect it up and if it at all works with Arduino.

The basics of the design is that there is a physical input on the keypad (which has its own programming system within the keypad) which will then relay if the the code is correct to start 2 motors (working in opposite directions) to close the lock through the wheel of the motorbike. The time and speed at which the motors will run is pre-determined and the keypad is purely there for security to activate the system.

The components I would be using are:
Parvalux PM10-SS PMDC Motor
Keypad Anti-Vandal Electric Gate Keypad DK2850

Any help and comments would be much appreciated to try and steer me in the right direction with the system and components. Also if there are any questions do ask and I will be more than happy to fill in the information fi it's at hand.

Regard
RaD0V

You do not need anything extra to test the locking system. Do you have it working right now, running off what ever is going to power your design?
Paul

So you plan to have a motorised device on your motorcycle that drives a lock into the wheel? Have you considered what happens if it goes wrong when you are riding your motorcycle? I don't imagine it would do your health much good if it activated at 70MPH.

At the moment there is no working prototype. I am still in development to figure out the best method and components to use to function this system.

I thought about using the Arduino connected to a H-bridge to function the motors with they keypad being the input for the Arduino. The power supply at the moment is 70-100W DC power unit.

Not quite, this is for the purpose of locking the motorbike at the users home so it safely stored. Locking it whilst moving is something no rider wants or requires.

1 Like

You completely missed the point that Perry was making: "Have you considered what happens if it goes wrong".

It's easy to design a project to do what you want it to do. The mark of a good designer is planning for what can go wrong. Because it will.

1 Like

Well get the hard part operational first! And be sure to allow for power failures.
Paul

For the purpose of this project at the moment is just to have a system that is viable to control the motors correctly. Completely valid comment as I will need to think about what could go wrong. However I am not at that stage just yet.

1 Like

I wont be importing the parts unfortunately, its for theoretical purpose to provide a system that provides the correct output desired. (For me a locking system)

Yet, two experienced programmers thought of it right at the concept.... I wonder why?

The time to think about what could go wrong is at the beginning of the project- while correcting the issue is the cheapest and easiest.

At any rate, you have been warned.

The specs for the motor are elusive, but you can control these easily with an Arduino and a pair of appropriately rated H-bridges. But since the keypad you selected does the pad entry logic for you, what do you need the Arduino for? You could just as easily put limit switches on the moving parts of the lock mechanism.

And have you considered the size and weight of the keypad and the motors?

If I were designing a theft prevention device, I would use a Nano with BLE (I think the Nano Every has this) and a relay to short out the ignition primary with the normally-closed contacts. If your cellphone is nearby, when you turn the key to "on" it would connect by Bluetooth and this would energize the relay, un-shorting the ignition primary. You probably would need a supercap on the relay to give it some hold time since the "start" position typically removes power from the accessory line.

IF you are still playing with the design, why have you decided on TWO motors? What is one fails?
Paul

The keypad is 125(H) X 79(W) X 46/54(D)mm
Each motor is 192x87x108mm weighing 1.93kg
That seems like an awful lot of space to take up on a motor bike for security;
A locked wheel can be easily overcome with a wheeled dolly of some sort.
An ignition lock with Bluetooth, as suggested, or RFID would probably be simpler.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.