Giter Site home page Giter Site logo

transport-fare's Introduction

Author: Dorinda Bassey

c programmer this sketch shows how a user can pay for his or her bus fare using a mifare PICC card.

  • this sketch enables a driver insert fare amount and a registered user scan his/her card

  • afterwards fare deduction is being made, data is being posted to the server, connection to the server

  • is made, and php scripts has been put in place to compare data and update the database

  • Hardware required:

  • ESP8266

  • PCD (Proximity Coupling Device): NXP MFRC522 Contactless Reader IC

  • PICC (Proximity Integrated Circuit Card): A card or tag using the ISO 14443A interface, eg Mifare or NTAG203.

  • Liquid crystal display

Hardware connections

ESP8266 ----------------MFRC522 READER-------------162LCD------------RESISTORS---------44 KEYPAD A0---------------------------------------------------------------------1K ohm ------------R RST |_ 1K ohm -----------R GPIO16 |_ 1k ohm -----------R GPIO14-------------------SCK |_ 1k ohm-------------R GPIO12-------------------MISO | GPIO13-------------------MOSI | GPIO15-------------------SS | 3V3----------------------3V3 | GPIO1 | GPIO3 | GPIO5-----------------------------------------------SCL | GPIO4-----------------------------------------------SDA | |_ 4.7K ohm---------C GPIO0--------------------RST | |_ 4.7K ohm---------C GPIO2 | |_ 4.7K ohm---------C GND----------------------GND------------------------GND------------| | 4.7K ohm---------C 5V--------------------------------------------------5V---------------_|

the resistors were put in place such that once a key is pressed a particular voltage is read on the A0 pin of the ESP8266

the libraries included can be gotten from github repositories, search them online and download.

transport-fare's People

Contributors

dorindabassey avatar

Stargazers

Nator Verinumbe 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.