Page 1 of 1

Fingerprintreader FPC1020

Posted: 02 May 2018 12:57
by MastrUsr
I would like to use for example this: ... sensor-kit with ha Z-Uno (libraries can be downloaded further down on that page). Since Z-Uno offer no softwareserial the hardwareserial is to be used but I don't understand enough to re-write the libraries for Z-Uno. Can someone help with this or point me in the direction where i can learn it? I have some knowledge about programming Arduino and C (but it's been a while).


Re: Fingerprintreader FPC1020

Posted: 04 May 2018 13:52
by MastrUsr
Any help is really appreciated!

Ok, so i tried changing all softwareserial to hardwareserial by for example:


Code: Select all

    FPC1020(SoftwareSerial *ser);

Code: Select all



Code: Select all

FPC1020::FPC1020(SoftwareSerial *ser) {
  mySerial = ser; // ...override gpsHwSerial with value passed.

Code: Select all

FPC1020::FPC1020() {
and some more.

I get this error message:

Code: Select all

Arduino:1.8.5 (Windows 7), Kort:"Z-Wave>ME Z-Uno, Europe, Disabled, Enabled, Disabled, Disabled"

************* Building Arduino Sketch *************



	 --- USING a list of libraries from:



	*** Collecting prototypes...

Preprocessing file: Custom.c with SDCPP... 

Preprocessing file: Print.cpp with SDCPP... 

Compiling Print_sdcpp_.cpp ...

Preprocessing file: Stream.cpp with SDCPP... 

Compiling Stream_sdcpp_.cpp ...

Preprocessing file: HardwareSerial.cpp with SDCPP... 

Compiling HardwareSerial_sdcpp_.cpp ...

Preprocessing file: HLCore.cpp with SDCPP... 

Compiling HLCore_sdcpp_.cpp ...

Preprocessing file: FPC1020.cpp with SDCPP... 

In file included from /Arduino.h:2,

                 from FPC1020.cpp:7:

/ArduinoTypes.h:28:1: warning: "TRUE" redefined

In file included from FPC1020.cpp:6:

/FPC1020.h:17:1: error: this is the location of the previous definition

In file included from /Arduino.h:2,

                 from FPC1020.cpp:7:

/ArduinoTypes.h:29:1: warning: "FALSE" redefined

In file included from FPC1020.cpp:6:

/FPC1020.h:18:1: error: this is the location of the previous definition

Compiling FPC1020_sdcpp_.cpp ...

FPC1020_sdcpp_.cpp:16:13:error:unknown type name 'HardwareSerial'

FPC1020_sdcpp_.cpp:735:10:error:out-of-line definition of 'FPC1020' does not match any declaration in 'FPC1020'

FPC1020_sdcpp_.cpp:795:13:error:no matching member function for call to 'write'

uCxx returned error code:1

exit status 1
Error compiling for board Z-Wave>ME Z-Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Re: Fingerprintreader FPC1020

Posted: 22 Aug 2018 10:32
by MastrUsr
Since I didn't get any help here in this matter I also posted at the arduino forum and there some guys helped me find some differences in some Z-Uno implementations. I am now up and running my FPC1020 on the Z-Uno. I'm ironing out some other bugs and will later post my project..

Re: Fingerprintreader FPC1020

Posted: 23 Aug 2018 01:44
by PoltoS
Nice to know! You might share your adopted library with the community.

We can not port every sensor to Z-Uno, we do most popular and brings community contribution together. About 30% of existing libraries come from community.