sparkfun / Fingerprint_Scanner-TTL

Repository with example code for SEN-14585 & SEN-14585 at SparkFun.com
https://www.sparkfun.com/
109 stars 112 forks source link

Library won't compile on ESP8266 family boards #32

Closed assaf64 closed 4 years ago

assaf64 commented 7 years ago

The EPS8266 boards, in particular the WeMos D1 mini development boards, are becoming popular because of their WiFi support (for IoT). However these boards are provided with a lighter version of "SoftwareSerial" that does not support methods such as "end" and "listen".

The FPS library uses these methods in two locations. In function "ChangeBoudRate" the "end" method is used, and in function "GetResponse" the "listen" method is used.

Is there a workaround that avoid the use of these two methods?

Please advise.

ryonlabaw commented 7 years ago

I have been using Wemos D1 Mini + sparkfun fingerprint scanner without issue. My arduino IDE is using the ESP8266 Arduino core development version from github, not the downloadable/release version. Maybe that is the reason I am not seeing any compile errors.

Also, the end + listen commands don't look very important the way they are used. I bet you can comment those out.

cdiaz commented 7 years ago

@assaf64 I have the same problem, have you solved it?

assaf64 commented 7 years ago

I remember having some minor issues (perhaps few compilation warnings), but it worked with no problems.

On Thu, Oct 26, 2017 at 10:51 AM, Cristiam Diaz notifications@github.com wrote:

@assaf64 https://github.com/assaf64 I have the same problem, have you solved it?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sparkfun/Fingerprint_Scanner-TTL/issues/32#issuecomment-339581937, or mute the thread https://github.com/notifications/unsubscribe-auth/AXlfpe7SswMVNv5ys_qnMz_MAc9FgWNbks5swDnygaJpZM4LVcCI .

xnfctn commented 6 years ago

@ryonlabaw can you please have a look at my thread #49 ? i didnt get any compile error, but communication problems. how did you wired both? is my wireing correct?

bboyho commented 4 years ago

This looks like a stale issue and I will be closing this out.

I'm not sure if you are still having problems but testing it out with the SparkFun ESP8266 Thing Dev on pins 4 (SS Rx) and 5 (SS Tx), it seems to be working fine to enroll and ID a finger. You may want to download the latest ESP8266 board add-on (seems to be working for v2.6.3. The ESP8266 community has been constantly updating the core and the updates seem to have resolved a few issues with using Software Serial on an ESP8266.