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
ID: 21793097
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

ID: 21797124
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

ID: 21797236
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.
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

LVL 25

Accepted Solution

kode99 earned 425 total points
ID: 21824837
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

ID: 21828719
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

ID: 31467302
thank you, the solution was extremely great.
LVL 25

Expert Comment

ID: 21857934
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Replacing SSD Drive 16 94
UPS - auto power down servers 9 97
Memory upgrade issue 38 163
Which Video Card to get  PCI Express x4   or PCI Express X4 6 77
Hello It is a very old trick to use a ram disk in order to boost PC performances, in the past, when in home environments the fastest common devices were floppy disks a part of the very small ram memory available was used to create a virtual hard …
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…

776 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