Page 1 of 1

Newby. Arduino. Using an external library. Fingerprint reader

Posted: Thu Feb 27, 2025 2:29 pm
by germpsp
Hello
I'm new for arduino and flowchart.
I've done a few experiments using arduino IDE with C++ coding. Now I'd like to use flowchart coming from there.
I've been successful with some codes in flowchart, using keypads, buzzers, LCDs, etc.
Now I want to use a fingerprint reader (UART communication), which is not in the component library, and I don't know how to go on.
In c++ I'd simply import the library for the fingerprint reader (https://github.com/adafruit/Adafruit-Fi ... or-Library) and that's it, proceed to code.
But in flowchart it seems that's not the way. If I understand well, I'd need to create a new component myself. I could try that, but how can I know that it's going to work with the real fingerprint reader? I rather would like to use the existing library. I'd like to know if I can create the new component but use the existing library as basis for all its real functionality. Or there's another way??

Thank you

Re: Newby. Arduino. Using an external library. Fingerprint reader

Posted: Thu Feb 27, 2025 3:24 pm
by medelec35
Hello.
We have a feature requests section for requesting new components or target devices.
Staff or experienced Flowcode users can then create the component for Flowcode.

Re: Newby. Arduino. Using an external library. Fingerprint reader

Posted: Thu Feb 27, 2025 4:20 pm
by chipfryer27
Hi

Following on from Martin, the UART component is very easy to use.

As a beginner with Flowcode don't be put off by the thought of having to create a component by yourself, which does indeed sound scary.

Get a copy of the data sheet for your device and it will explain what happens. By that I mean "if you want to do this, then send that" etc.

Each interaction can be made as a separate Macro in FC to be called as necessary.

Try and create a macro to do something simple and if it doesn't work, post and I am sure many will help.

Best way to learn is to try and fail....

Regards

Re: Newby. Arduino. Using an external library. Fingerprint reader

Posted: Fri Feb 28, 2025 11:22 am
by mnfisher
I posted some code for a fingerprint sensor at https://www.flowcode.co.uk/mmforums/vie ... nt#p103433

It might give you some ideas (although the sensor I used might be rather outdated now)

Martin