enter image description hereI recently bought this Arduino Fingerprint Sensor FPM10A from Aliexpress. So, when I connected it with my Arduino Nano and uploaded the 'enroll' example and opened the serial monitor. The fingerprint print sensor got detected but when I enter #1 to enroll the fingerprint no output is given on the serial monitor. I think my Arduino Nano just freezes.But other examples such as 'Empty database, it works with no problems. Is this caused by the less powerful Atmega168 microprocessor? If I get a Arduino Uno or an Arduino Nano with an Atmega328P microprocessor will this problem be solved? And I do not think the fingerprint module is defective as other examples worked like a charm. Please see the attached photo above.

  • There appears more then one type of FPM10A. Some with more connections than others. It would be helpful if you could provide a link to your FPM10A and a data sheet. Also, an Arduino Nano should use an ATmega328 processor. If you have a nonstandard Arduino Nano perhaps it would also help to provide links and data sheets to the Arduino Nano you are using. When using nonstandard Arduinos, it may be best to check for additional processor and / or board support. And to use (load) them into your IDE when available. – st2000 Sep 23 '18 at 16:10
  • There is no data sheet available – nobody user Sep 23 '18 at 16:29
  • 1
    118 bytes for the stack and local variables is not enough. The problem is indeed the Atmega168. The Atmega328P has twice the ram. – Jot Sep 23 '18 at 17:57

Did you buy the arduino board Nano Atmega168 on Aliexpress? Sometimes the cheapest arduino compatible boards are okay, but sometimes they are stripped of decoupling capacitors or the polyfuse is missing (on a uno board). Sometimes they put a Atmega168 on the board, it is a few cents cheaper.

If you buy the cheapest nano compatible board, look at the photo if the quality is reasonable. The newer arduino boards have a ARM Cortex processors. The Atmega328p is still okay for small projects. I suggest to use the Atmega328p as the minimum.
A Arduino nano Atmega328p clone at Aliexpress costs about 2 dollars, so there is no reason to buy an Atmega168.

When the compiler tells you that "Low memory available, stability problems may occur" for the ram, then you can almost be sure that it will not work.

I try to keep about 300 bytes ram available for local variables, stack and the heap. It depends how much memory the libraries require. I also don't use the String objects for the Arduino uno or nano.
For a beginner, you can try to keep at least 500 bytes ram available.

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.