Git Product home page Git Product logo

lms-arduino-python's Introduction

Smart LMS-Arduino-Python

Smart Library Management System using RFID MFRC522, Arduino, Python Tkinter, DHT11 Sensor, and MySQL.

In this project, RFID-RC522 is interfaced with Arduino and then RFID data is sent to Tkinter GUI and MySQL database using Python.

It also uses sensors like DHT11 to collect, plot on GUI, and save to DB/CSV file all sensed data (Temperature and Humidity).

Project Demos :

Components and software used :

Arduino Part :

1 - Arduino Uno and its Arduino IDE : https://www.arduino.cc/en/Main/Software

2 - RFID MFRC522 with tags and cards :

alt text

  • RFID Circuit Diagram :

alt text

3 - Piezo / buzzer for the sound on Arduino digital PIN 2 anf GND.

4 - DHT11 Temperature Humidity Sensor : on Arduino digital PIN 2, GND, and 5V.

5 - Final result :

Python Part :

1 - Python, Tkinter for logic and GUI.

2 - Python pyserial for communication : (pip install pyserial) https://pypi.org/project/pyserial/

3 - WAMP Server for MySQL Database storage. MySQL Connector Python library (pip install mysql-connector-python).

4 - MySQL Database - Table Name : Book(bui, rfid_id, title, authors, description, status, issued_by)

5 - GUI Screenshots :

Instructions :

  • Load arduino_rfid_sensor.ino / dht_temp_hum_sensor.ino code to Arduino
  • Install all python libraries
  • Run app.py / lms_sensing.py

lms-arduino-python's People

Contributors

gitteaching avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jkh920184196

lms-arduino-python's Issues

need help with bui in mysql

@GitTeaching

I am facing a problem where i couldn't open update book. when I press update book I receive an error
Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python3.8/tkinter/__init__.py", line 1892, in __call__ return self.func(*args) File "/home/kite/Documents/Sub dist Science fair/LMS-Arduino-Python-master/app.py", line 37, in <lambda> update_btn['command'] = lambda: update_book(connection, row[1]) File "/home/kite/Documents/Sub dist Science fair/LMS-Arduino-Python-master/update_book.py", line 57, in update_book cursor.execute(query, (bui,)) NameError: name 'bui' is not defined

And getting this.

Screenshot from 2023-09-15 13-34-48
I need your assistance as soon as possible. I am using this project for my science fair.

Hoping for your reply soon.

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.