Coder Social home page Coder Social logo

sbcshop2 / pi-barcode-hat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sbcshop/pi-barcode-hat-software

0.0 0.0 0.0 13.83 MB

Barcode HAT for Raspberry Pi is a robust and compact barcode scanner board that consists of a DE2120 scanner module, buzzer, 1.14” LCD screen, micro-USB port. It is designed to scan 20 different barcode symbiology in the segment of both 1D and 2D symbiology like barcodes and QR codes.

License: MIT License

Python 100.00%

pi-barcode-hat's Introduction

Pi-Barcode-HAT

Barcode HAT for Raspberry Pi is a robust and compact barcode scanner board that consists of a DE2120 scanner module, buzzer, 1.14” LCD screen, micro-USB port. It is designed to scan 20 different barcode symbologies in the segment of both 1D and 2D symbology like barcodes and QR codes.

Enable the SPI first in raspberry pi, for this go to cmd then type sudo raspi-config then go to ->interface option -> SPI - YES

Setup Pi Barcode HAT

First, you need to change the mode of the Pi Barcode HAT. Put Barcode HAT at the top of the raspberry pi, then you need to scan the below barcode settings before running the code

  • Mode is TTL/RS232 (serial communication interface(UART)) for this you need to scan below the barcode, Connect USB to Barcode Hat For Raspberry Pi.

  • Change the baud rate to (9600) for this you need to scan the below barcode by pressing the scan button on the Barcode Hat For Raspberry Pi.

Use Pi Barcode Hat without Raspberry Pi( Via USB Cable )

For this you need to scan below barcode settings

For USB COM Mode sacan below barcode

Working

Applications

First of all, move all the files from the applications folder to the outside folder which is the Pi-Barcode-HAT folder, so that main.py could access the files in the lib sub-directory

  • Pins of the ultrasonic sensor (we use this sensor to avoid pressing the push button to scan the barcode ), we use 3v ultrasonic sensor
    • Trig is connected to GPIO 4
    • Echo is connected to GPIO 17
  • Servo motor
    • Servo motor pin is connected to GPIO 2

Working of Applications

  • Smart shopping

  • Smart Library Management System

  • Smart Attendence System

pi-barcode-hat's People

Contributors

sbcshop1 avatar sbcshop 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.