Giter Site home page Giter Site logo

stmrfid's Introduction

STM32F769 RFID Door Lock

An STM32F7xx-compatible RFID-RC522 project and library using FreeRTOS (CMSISv2) as a base, UART for serial communication / debugging, SPI for communication with the reader and a servo motor for simulating a door lock.

Running the project

  1. Have STM32CubeIDE installed
  2. Clone the project: git clone https://github.com/erazemk/stm32f7-mfrc522.git
  3. Launch .project (this will import the project into STM32CubeIDE)

Connecting the RFID-RC522 module

The following is the default pinout, but you can change it in the code if needed.

RFID-RC522 STM32F769NI
SDA (SS) D10
SCK (SCLK) D13
MOSI D11
MISO D12
IRQ /
GND GND
RST 3.3V
3.3V 3.3V

Connecting the Servo motor

SG90 STM32F769NI
VCC 5V
DATA D6
GND GND

Debugging using UART (Serial Port)

The board automatically prints useful info to serial over UART. To read it use a program like tio (or screen or PuTTY) to connect to the board's USB port (usually COMx on Windows and /dev/ttyACMx on Linux).

With a program like tio the defaults are enough (so tio /dev/ttyACM0), but here are the specifics:

  • Baud rate: 115200
  • Data size: 8 bits
  • Parity: None
  • Stop bits: 1

Attribution

This project uses a custom MFRC522 library, parts of which were taken from or inspired by the following libraries:

stmrfid's People

Contributors

erazemk avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.