Giter VIP home page Giter VIP logo

realtime_group24's Introduction

Realtime_Group24

Fingerprint unlocking

Logo

Use fingerprint to unlock doors

Youtube     Bilibili

build status

About the project

As smart homes become very popular, using chips to automate the operation of the home has become very useful, so we designed a solution to program a Raspberry Pi with C++, then control an electronically controlled door lock through fingerprint recognition, and finally achieve Smart unlocking function.

Build environment

  • C++
  • github

Target

On the basis of the original AS608 writing framework, a new AS608 framework that can be fingerprinted and recognized is rewritten in the form of package receipt and package delivery, and then the recognized function is returned on the Raspberry Pi to execute the function of the control switch door lock.

Lab environment

Electronic devices

  • Raspberry Pi
  • AS608
  • electric lock
  • relay

Start using

Installation Environment Requirements

  • WiringPi

Install

  • Decompress WiringPi. h

unzip WiringPi.zip

  • Installing WiringPi. h

cd WiringPi

./build

  • Go to the demo for running the test file

cd demo

  • Compile and run make

./fp

  • Upon entry it will run to recognise the fingerprint to unlock the door, based on the existing fingerprint library.
  • The external button in the settings allows you to pause the fingerprint recognition and go to the thread where the new fingerprint was recorded, and after successful recording, the fingerprint recognition is reawakened and the fingerprint detection continues.

License

see license information

Author


update progress table

From 1.25 to 4.11.

1: Starting from January 25th: Familiarize yourself with the pin-corresponding functions on the Raspberry Pi through examples.

2: From January 31st: use pins to implement functions of various components (fingerprint reader, electric lock); write front-end controls; (set tokens, etc.).

3: Start on March 10: (x) (AS608 is too difficult to write, delaying the progress) Start on March 21: Integration and debugging of the entire framework.

4:Since 28 March, functions in .c files already written in AS608 have been wrapped into classes in C++, and then attempts have been made to make the code more concise and clear using calls between files.

5:The package is progressing slowly, but was successfully completed on 12 April. The current goal is to implement a callback mechanism and multi-threading to achieve the effect of switching between threads for multiple functions.

6:The multi-threaded mechanism was nearing completion, but unfortunately one of the members developed a new crown, causing three members to collapse with high fever and the remaining member to accidentally cut his finger, bringing progress to a serious halt.

7:On 19 April, 2 members returned to form and worked on the refactoring of the code, successfully completing the code using event drivers.

8:On 20 February, we started to comment out various parts of the code to make it simple and easy to understand.

progress description

3.21 The current version is just a relatively complete AS608 module, (split string and convert, calculate the checksum of the accepted package, GetImage implementation, GenChar implementation, compare, find, store, read, delete fingerprints, etc.) (Compared to It is much more complicated to imagine.😂) Then there is the start application that uses the pins to control the electric lock motor. Write a JS front-end control script again. However, all the above functions are only implemented on the Raspberry Pi and cannot be interacted yet.

3.23 The current components of the updated motor part have been uploaded, so all components have been uploaded, but since all external functions need to be changed into classes to implement the callback mechanism of the entire code, the code needs to be rewritten. Since the current AS608 is written in c, many codes are in the form of external functions to guide the control of the process, and the process actually needs to be called in the form of a class, so the task at hand is to rewrite the code

realtime_group24's People

Contributors

immer-y avatar qizui avatar george-12138 avatar cecilia-xi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.