Coder Social home page Coder Social logo

samuelmbiya / rc522-iot-demo Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 36 KB

A demonstration application that makes use of the rc522-iot API to interface with the mfrc522 RFID card reader and a Raspberry Pi Zero W

License: MIT License

Python 100.00%

rc522-iot-demo's Introduction

rc522-iot-demo

A demonstration application that makes use of the rc522-iot API to interface with the mfrc522 RFID card reader and a Raspberry Pi Zero W

Requirements

This code requires you to install the Blynk python library and can be done by running the following command pip install blynk-library-python You also need to copy the rc522_iot API module into your working directory and then import the rc522_iot API module at the top of your script. It can be found and cloned here. It is also recommended that you make use of a python virtual environment before installing the libraries, by making use of tools such as venv or virtualenv.

Usage

To use the demonstration application you would need to do the following:

  • Connect your Raspberry Pi and RFID card reader as described in Table 1
  • Install the Blynk Android or iOS mobile application and create a new project
  • Design your application as below:
    Blynk mobile application layout
  • Configure the virtual pins of the application components as follows as described in Table 2
  • Enter the authentication code sent to you by Blynk via email in line 8 of the .py script
  • Run the rc522_iot.py file in your terminal to start the Blynk server

Table 1:

Name Pin # Pin name
SDA 24 GPIO8
SCK 23 GPIO11
MOSI 19 GPIO10
MISO 21 GPIO9
IRQ None None
GND Any Any Ground
RST 22 GPIO25
3.3V 1 3V3

Source

Table 2:

Name Component Type Virtual Pin #
SPI Styled Switch Button 2
Prompt Value Display Label 10
Response Value Display Label 9
NameAndID Styled Push Button 0
Add Member Styled Push Button 1
Reset Styled Push Button 3

Credits

This demonstration application made use of Volodymyr Shymanskyy's python blynk client library. It can be found here

Contributors

  • EEE3097S Group 19:

Iviwe Malotana: @IviweMalotana
Samuel Mbiya: @samuelmbiya

License

This project is under the MIT License

rc522-iot-demo's People

Contributors

samuelmbiya 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.