what hardware is needed to deploy fingerprint recognition code for access door?

Posted on 2008-06-14
Last Modified: 2013-12-10
First of all, I do not know if this is the right place to ask my question, please redirect me to right place if it's not.
I have developed a fingerprint recognition under matlab environment, the solution works fine (I have tested it for 50 different fingerprints)..
Now, I wanna deploy the solution on a circuit with electronic door lock so, what circuit would I need that would support heavy computations for image processing? and is there any circuit that would support matlab source code (m-file, jave, c++, or even source code ).

note that I have a limited background about micro-controllers and digital circuits.

I was thinking that if I connect an electronic lock directly with my PC in my home within the COM port and leave my PC turned on all time, so if the fingerprint solution fires that the person verified, the solution would send a signal to electronic door lock to open, otherwise, it don't.

But I want do the same with an embedded system that do not rely on PC.
Question by:Ameerh24
  • 3
  • 2
  • 2
LVL 69

Assisted Solution

Callandor earned 75 total points
Comment Utility
Obviously, it can be done:

What you will need to do is translate your Matlab programming into an embedded circuit language, which may not be easy as Matlab does not translate directly.  Some microcontrollers have C, Basic, or assembly language interfaces:

Author Comment

Comment Utility
hi Callandor,
first of all, I wasn't know that the device of fingerprint door lock would be expensive, that encourage do it.
I had a quick look for the tutorial, but, I am afraid that the specification of micro-controller do not satisfy the image processing. Is there any micro-controller that may meet pentium 3 with 32 ram, so it will not take much time while processing the image?
LVL 69

Expert Comment

Comment Utility
No, a P3 is pretty powerful compared to an 8-bit PIC.  They are good for small tasks, but image processing is definitely a compute-intensive task.  It may be the roadblock to this project, because I don't see any way around it.
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

LVL 25

Accepted Solution

kode99 earned 425 total points
Comment Utility
You may want to look at the Atom based boards that Intel just released.  As compared to a lot of embedded system boards it is quite inexpensive - usually between $70-80 and is quite powerful (for what it is).  It is even far less expensive than most of the VIA mini-ITX boards which range about $150 and up.

Logic Supply carry a lot of mini-ITX parts to give you an idea of what is available,

You would still need a relay control board for controlling the lock power.  I would suggest going with something that also gives you some inputs in case you need other contact input like door open/close status.  These guys have reasonable priced boards in just about any form you could want RS-232 to networked to wireless.

In microcontrollers/single board computers/embedded systems you can usually get evaluation boards or development kits for a particular controller.  This would normally include all the software and hardware you would need to get started.  Cost varies from a few hundred to thousands depending on the platform.

Here's a list of a number of outfits that supply software/hardware,

Here's some examples of kits,

Here's a fairly powerful embedded board from Axis (I believe this is the same/similar platform they use for thier IP camera's/video servers),  runs embedded linux and comes with SDK.  Not sure of cost but it will be more than the Atom mini-ITX board.

I would be cautious about a choice in this area as was mentioned - a lot of these controllers are not really geared toward heavy number crunching.  They also may lack sufficient memory for data storage.  It would be real annoying if it takes your lock system 20 seconds to process the read or can only remember one pattern.

Many embedded systems use a cut down linux OS.  This is helpful as as you can often work with regular linux then port the code onto the cut down linux without too much work.  .net, java or C# are too 'fat' for this kind of environment.  I do not use matlab (or not in a very very long time) but I would guess it is high level so expect to be writing some code for very basic operations that are 'automatic' in matlab.  C is probably the most commonly used for this type of work.

To give you some idea here is a reader module that uses a 32 bit RISC processor.  This is likely using very optimized code as compared to what matlab is doing but would be the kind of power you would need.

Author Comment

Comment Utility
hi, kode99,
I do not know how to thank you for this really great helpful information.
in matlab version R2008a, there is a "deployment project" which may produce .h c header file that contain the whole functions of the fingerprint recognition system.
can add it as a header file this on the board mentioned in your previous comment (so I would only call the fingerprint verification functions in this .h) ?

Author Closing Comment

Comment Utility
thank you, the solution was extremely great.
LVL 25

Expert Comment

Comment Utility
If it is only producing a header file it will likely be giving you a DLL and would likely also require a number of matlab DLL's as well.  This will likely require a windows platform unless matlab also supports linux with this option.

Even with matlab on linux using the deployment will raise hardware requirements as compared with custom code.

You could do this sort of thing on the Atom board as it will support a regular windows OS or linux.  There is also a Windows Embedded option,  you may be able to work with matlab on this platform.

For any actual micro-controller you would have to write your own code.

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
sound on server 13 76
UPS Power design 11 62
What are your thoughts on this build? Gaming computer 16 84
Clone boot drive question 5 68
This article applies to This article will be of use if you are the owner / supporter of any computer that comes with a discrete graphics card from nVidia / ATI Radeon (Now owned by AMD) or any embedded graphics solution and need to upgrade the gr…
A little history Back in 1997 when I built my first custom computer using the revolutionary Gateway website I didn’t have much to choose from except for the CPU. The race between computer manufacturers was held back by processor manufacturers. They…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now