1. Trang chủ
  2. » Tất cả

Hệ thống bảng giá kệ sử dụng bluetooth 5 0 và màn hình e ink( mạch hiển thị)

106 0 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Nội dung

BỘ GIÁO DỤC VÀ ĐÀO TẠO TRƯỜNG ĐẠI HỌC CÔNG NGHỆ TP HỒ CHÍ MINH ĐỒ ÁN TỐT NGHIỆP HỆ THỐNG BẢNG GIÁ KỆ SỬ DỤNG BLUETOOTH 5.0 VÀ MÀN HÌNH E-INK( MẠCH HIỂN THỊ) NGÀNH: ĐIỆN TỬ- VIỄN THƠNG GIẢNG VIÊN HƯỚNG DẪN: TS NGUYỄN TRỌNG HẢI Sinh viên thực hiện: MSSV: Lớp: Nguyễn Hậu Phương 1811010094 18DDTA1 Vũ Ngọc Hân 1811011929 18DDTA1 Nguyễn Thanh Huy 1811010074 18DDTA1 Tp Hồ Chí Minh, tháng 08/2022 BỘ GIÁO DỤC VÀ ĐÀO TẠO TRƯỜNG ĐẠI HỌC CƠNG NGHỆ TP HỒ CHÍ MINH ĐỒ ÁN TỐT NGHIỆP HỆ THỐNG BẢNG GIÁ KỆ SỬ DỤNG BLUETOOTH 5.0 VÀ MÀN HÌNH E-INK( MẠCH HIỂN THỊ) NGÀNH: ĐIỆN TỬ- VIỄN THÔNG GIẢNG VIÊN HƯỚNG DẪN: TS NGUYỄN TRỌNG HẢI Sinh viên thực hiện: MSSV: Lớp: Nguyễn Hậu Phương 1811010094 18DDTA1 Vũ Ngọc Hân 1811011929 18DDTA1 Nguyễn Thanh Huy 1811010074 18DDTA1 Tp Hồ Chí Minh, tháng 08/2022 BM03/QT05/ĐT-KT VIỆN KỸ THUẬT HUTECH PHIẾU ĐĂNG KÝ ĐỀ TÀI ĐỒ ÁN/KHĨA LUẬN TỐT NGHIỆP Hệ: ĐẠI HỌC CHÍNH QUY (CQ, LT, B2, VLVH) Họ tên sinh viên/ nhóm sinh viên đăng ký đề tài (sĩ số nhóm ): (1) Nguyễn Hậu Phương MSSV: 1811010094 Điện thoại: 0946089502 Email: gnouhp102@ gmail.com (2) Vũ Ngọc Hân MSSV: 1811011929 Lớp: 18DDTA1 Lớp: 18DDTA1 Điện thoại: 0906146645 Email: vungochan1410@ gmail.com (3) Nguyễn Thanh Huy MSSV: 1811010074 Điện thoại: 0399714795 Ngành Lớp: 18DDTA1 Email: nguyenthanhhuy2810.ltp@ gmail.com : Kỹ thuật Điện tử- viễn thông Chuyên ngành : Kỹ thuật Điện tử- viễn thông Tên đề tài đăng ký : Hệ thống bảng giá kệ sử dụng Bluetooth 5.0 hình E-ink( Mạch hiển thị) Sinh viên hiểu rõ yêu cầu đề tài cam kết thực đề tài theo tiến độ hoàn thành thời hạn Giảng viên hướng dẫn (Ký ghi rõ họ tên) TP HCM, ngày 21 tháng 03 năm 2022 Sinh viên đăng ký (Ký ghi rõ họ tên) MÃ ĐỀ TÀI: 06 Viện Kỹ thuật Hutech PHIẾU GIAO NHIỆM VỤ THỰC HIỆN ĐỒ ÁN TỐT NGHIỆP (Mỗi sinh viên phiếu, GVHD ghi rõ tên đề tài nhiệm vụ sinh viên GVHD chuyển cho SV để nộp VP Viện.) Sinh viên thực đề tài Họ tên : Nguyễn Hậu Phương MSSV : 1811010094 Điện thoại : 0946089502 Ngành : Kỹ thuật Điện tử- viễn thông Lớp : 18DDTA1 Email :gnouhp102@ gmail.com Tên đề tài: Hệ thống bảng giá kệ sử dụng Bluetooth 5.0 hình E-ink( Mạch hiển thị) Nhiệm vụ thực đề tài: - Tìm hiểu nhu cầu sử dụng bảng giá kệ hình nước ngồi nước - Tìm hiểu sơ đồ khối linh kiện thực đề tài - Tìm hiểu quy trình thực hệ thống - Thiết kế phần cứng vẽ - Thiết kế lưu đồ giải thuật viết chương trình( hỗ trợ phần mềm) - Đo đạc kiểm tra hệ thống thực - Viết báo cáo Sinh viên thực (Ký ghi rõ họ tên) TP HCM, ngày 25 tháng 04 năm 2022 Giảng viên hướng dẫn (Ký ghi rõ họ tên) MÃ ĐỀ TÀI: 06 Viện Kỹ thuật Hutech PHIẾU GIAO NHIỆM VỤ THỰC HIỆN ĐỒ ÁN TỐT NGHIỆP (Mỗi sinh viên phiếu, GVHD ghi rõ tên đề tài nhiệm vụ sinh viên GVHD chuyển cho SV để nộp VP Viện.) Sinh viên thực đề tài Họ tên : Vũ Ngọc Hân Điện thoại : 0906146645 Ngành : Kỹ thuật Điện tử- viễn thông MSSV : 1811011929 Lớp : 18DDTA1 Email :vungochan1410@ gmail.com Tên đề tài: Hệ thống bảng giá kệ sử dụng Bluetooth 5.0 hình E-ink( Mạch hiển thị) Nhiệm vụ thực đề tài: - Tìm hiểu nhu cầu sử dụng bảng giá kệ hình nước ngồi nước - Tìm hiểu sơ đồ khối linh kiện thực đề tài - Tìm hiểu quy trình thực hệ thống - Thiết kế lưu đồ giải thuật viết chương trình() - Hỗ trợ phần cứng - Viết báo cáo Sinh viên thực (Ký ghi rõ họ tên) TP HCM, ngày 25 tháng 04 năm 2022 Giảng viên hướng dẫn (Ký ghi rõ họ tên) MÃ ĐỀ TÀI: 06 Viện Kỹ thuật Hutech PHIẾU GIAO NHIỆM VỤ THỰC HIỆN ĐỒ ÁN TỐT NGHIỆP (Mỗi sinh viên phiếu, GVHD ghi rõ tên đề tài nhiệm vụ sinh viên GVHD chuyển cho SV để nộp VP Viện.) Sinh viên thực đề tài Họ tên : Nguyễn Thanh Huy MSSV : 1811010074 Điện thoại : 0399714795 Ngành : Kỹ thuật Điện tử- viễn thông Lớp : 18DDTA1 Email:nguyenthanhhuy2810.ltp@ gmail.com Tên đề tài: Hệ thống bảng giá kệ sử dụng Bluetooth 5.0 hình E-ink( Mạch hiển thị) Nhiệm vụ thực đề tài: - Tìm hiểu nhu cầu sử dụng bảng giá kệ hình nước ngồi nước - Tìm hiểu sơ đồ khối linh kiện thực đề tài - Tìm hiểu quy trình thực hệ thống - Đo đạc kiểm tra hệ thống thực - Hỗ trợ phần cứng - Viết báo cáo Sinh viên thực (Ký ghi rõ họ tên) TP HCM, ngày 25 tháng 04 năm 2022 Giảng viên hướng dẫn (Ký ghi rõ họ tên) LỜI CAM ĐOAN Tôi cam đoan cơng trình nghiên cứu tơi Các số liệu, kết nêu luận văn trung thực chưa công bố cơng trình khác Tp Hồ Chí Minh, ngày 01 tháng 08 năm 2022 (Ký tên ghi rõ họ tên) i LỜI CẢM ƠN Để hoàn thành báo cáo đồ án tốt nghiệp trước hết em xin gửi đến quý thầy, cô Viện Kỹ thuật Hutech lời cảm ơn chân thành Đặc biệt, em xin gởi đến thầy Nguyễn Trọng Hải người tận tình hướng dẫn, giúp đỡ em hoàn thành đề báo cáo đồ án tốt nghiệp lời cảm ơn sâu sắc Với điều kiện thời gian kiến thức hiểu biết hạn chế sinh viên, báo cáo tránh thiếu sót Em mong nhận bảo, đóng góp ý kiến q thầy để em có điều kiện bổ sung, nâng cao ý thức mình, phục vụ tốt cho đề tài đồ án phát triển sau Em xin chân thành cảm ơn! TP.HCM, ngày 01 tháng 08 năm 2022 Sinh viên thực ii TĨM TẮT Hiện nay, cơng nghệ ngày phát triển ứng dụng vào nhiều lĩnh vực Và thị trường bán hàng ứng dụng nhiều công nghệ vào nhằm tăng thuận tiện tiếp kiện cho chủ cửa hàng Đa số cửa hàng Việt Nam sử dụng bảng giá giấy, việc gây tốn thay đổi giá sản phẩm ta phải thay hết số giấy ghi giá Thay sử dụng bảng giá giấy ta dung bảng giá điện tử mang đến thuận tiện tiết kiệm Qua tóm tắt nhóm chọn đề tài phổ biến Việt Nam “ Hệ thống bảng giá kệ sử dụng Bluetooth 5.0 hình E-ink( Mạch hiển thị )” Sản phẩm phù hợp cho cửa hàng tiện lợi, siêu thị, trung tâm thương mại Đa số cửa hàng dùng phương pháp bảng ghi giá thủ công ghi bút, in giấy Khi áp dụng bảng giá vào kệ trưng bày sản phẩm rút ngắn nhiều thời gian điều chỉnh, thay đổi giá tên sản phẩm Cũng giảm chi phí lao động cho nhân viên dùng bảng giá thông thường iii ABSTRACT Nowadays, technology is increasingly developed and applied in many fields And in which the sales market has also applied a lot of technology to increase convenience and convenience for store owners Most of the stores in Vietnam are using paper price lists It is expensive to change the price of a product; we have to change all the price papers Instead of using a paper price list, using an electronic price list will bring more convenience and savings Through the above summary, the group chose a less popular topic in Vietnam, which is "The shelf system using Bluetooth 5.0 and E-ink screen (Display circuit)." This product is very suitable for convenience stores, supermarkets, and commercial centers Most stores use the manual price list method, which is written with a pen and printed on paper When applying this price list to the display shelves of the product, it will greatly shorten the time when adjusting and changing the price and name of the product as well as reducing labor costs for employees when using a regular price list iv LƯU Ý: iPhone Unlocked (nhà mạng phân phối mở khố) Free-Sim có giá trị nhau, sử dụng thị trường gọi chung iPhone quốc tế, không phân biệt Để giải thích cho khách hàng hiểu rõ loại rắc rối mà khơng để làm Vì thế, Táo Xanh không phân biệt loại iPhone
  • IPHONE LOCK: Tại nước phát triển, iPhone thường nhà mạng bán kèm ràng buộc hợp đồng => Không sử dụng sim nhà mạng khác => Muốn dùng VN phải kèm thêm sim ghép (là miếng vi mạch mỏng lắp sim số khay sim.) Giá rẻ hàng Quốc tế
  • Máy bán chọn tỉ mỉ một Tại Táo Xanh, bảo hành dài cho khách hàng, nên việc chọn lọc sản phẩm đề cao, đặc biệt sản phẩm qua sử dụng. Thứ nhất, máy đầu vào chọn tỉ mỉ từ bạn đối tác thân thiết Bạn thấy hàng Táo Xanh khơng có nhiều, khơng có lơ đại trà nơi, xem ưng ý Chúng chọn nhặt lẻ tẻ máy giá lại không đắt, xếp tối ưu để loại bỏ chi phí khơng cần thiết Các sản phẩm cũ test theo quy trình Táo Xanh có hệ thống đánh giá việc tuân thủ, chất lượng sản phẩm trả ứng với nhân viên test máy Các mục phân nhóm quy thành điểm chất 76 lượng, điểm liên quan trực tiếp đến thu nhập nhân viên Thế phí test máy không nhiều mà đảm bảo Táo Xanh lựa chọn sản phẩm theo tiêu chí: Tính nguyên bản, Hình thức (độ nuột), Chất lượng vận hành tính Đối với phụ kiện Phụ kiện bán Táo Xanh sản phẩm hãng (như Rock, Pisen, Remax, Apple ) có tiếng thị trường Táo Xanh đánh giá so sánh trước Chúng tơi chọn sản phẩm có mức giá hợp lý chất lượng đồng nhất, không bán sản phẩm trôi Hiện Táo Xanh bán phụ kiện Sạc, Cáp, Ốp, Gậy chụp ảnh, Pin dự phòng, Loa bluetooth xem đây. 77 Document dịch vụ 78 Document """ ASGI config for backend project It exposes the ASGI callable as a module-level variable named ``application`` 79 For more information on this file, see https://docs.djangoproject.com/en/4.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'backend.settings') application = get_asgi_application() """ Django settings for backend project Generated by 'django-admin startproject' using Django 4.0.4 For more information on this file, see https://docs.djangoproject.com/en/4.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/4.0/ref/settings/ """ from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir' BASE_DIR = Path( file ).resolve().parent.parent 80 # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/4.0/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = 'django-insecure-7r$wtirf(qtn676ga%lz5ne(_s$x%s@wwc%^tpcwi%9e^epw!' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True ALLOWED_HOSTS = [] # Application definition INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'product', 'rest_framework', 'corsheaders', ] 81 CORS_ALLOWED_ORIGINS = [ "http://127.0.0.1:5500", ] MIDDLEWARE = [ "corsheaders.middleware.CorsMiddleware", 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', ] ROOT_URLCONF = 'backend.urls' TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 82 ], }, }, ] WSGI_APPLICATION = 'backend.wsgi.application' # Database # https://docs.djangoproject.com/en/4.0/ref/settings/#databases DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': BASE_DIR / 'db.sqlite3', } } # Password validation # https://docs.djangoproject.com/en/4.0/ref/settings/#auth-password-validators AUTH_PASSWORD_VALIDATORS = [ { 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', }, { 83 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', }, { 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', }, { 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', }, ] # Internationalization # https://docs.djangoproject.com/en/4.0/topics/i18n/ LANGUAGE_CODE = 'en-us' TIME_ZONE = 'UTC' USE_I18N = True USE_TZ = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/4.0/howto/static-files/ 84 STATIC_URL = 'static/' # Default primary key field type # https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' """backend URL Configuration The `urlpatterns` list routes URLs to views For more information please see: https://docs.djangoproject.com/en/4.0/topics/http/urls/ Examples: Function views Add an import: from my_app import views Add a URL to urlpatterns: path('', views.home, name='home') Class-based views Add an import: from other_app.views import Home Add a URL to urlpatterns: path('', Home.as_view(), name='home') Including another URLconf Import the include() function: from django.urls import include, path Add a URL to urlpatterns: path('blog/', include('blog.urls')) """ from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('', include('product.urls')) 85 ] """ WSGI config for backend project It exposes the WSGI callable as a module-level variable named ``application`` For more information on this file, see https://docs.djangoproject.com/en/4.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'backend.settings') application = get_wsgi_application() from django.contrib import admin from models import Category, Product # Register your models here admin.site.register(Category) admin.site.register(Product) from django.apps import AppConfig class ProductConfig(AppConfig): 86 default_auto_field = 'django.db.models.BigAutoField' name = 'product' from django.db import models # Create your models here class Category(models.Model): title = models.CharField(max_length=100) slug = models.CharField(max_length=100, default='') description = models.TextField(max_length=255, default='') active = models.BooleanField(default=True) def str (self): return self.title class Product(models.Model): title = models.CharField(max_length=100) mac = models.TextField(max_length=100, default='') description = models.TextField(max_length=255, default='') category = models.ForeignKey(Category, on_delete=models.CASCADE) img =models.CharField(max_length=255, default='') price = models.FloatField(default=0) active = models.BooleanField(default=True) def str (self): return self.title from rest_framework import serializers from models import Product, Category class ViewSerializer(serializers.ModelSerializer): class Meta: 87 model = Product fields = ('id', 'title', 'description', 'price', 'img', 'category') class itemTypeSerializer(serializers.ModelSerializer): class Meta: model = Category fields = ('id', 'title')from django.urls import path from views import View, productDetails, productItem urlpatterns = [ path('', View.as_view(), name='view'), path('product/',productDetails.as_view()), path('item',productItem.as_view()) ]from django.shortcuts import render from rest_framework.views import APIView from models import Product, Category from rest_framework.response import Response from serializer import ViewSerializer, itemTypeSerializer # Create your views here class View(APIView): serializer_class = ViewSerializer def get(self, request): detail = Product.objects.all() serializer = ViewSerializer(detail,many = True) 88 return Response(serializer.data) def post(self, request): serializer = ViewSerializer(data=request.data) if serializer.is_valid(raise_exception=True): serializer.save() return Response(serializer.data) class productItem(APIView): serializer_class = itemTypeSerializer def get(self, request): items = Category.objects.all() serializer = itemTypeSerializer(items, many=True) print(serializer) return Response(serializer.data) class productDetails(APIView): serializer_class = ViewSerializer def get(self, request, product_id): itemDetail = Product.objects.get(id = product_id) serializer = ViewSerializer(itemDetail) print(itemDetail) return Response(serializer.data)#!/usr/bin/env python 89 """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'backend.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django Are you sure it's installed and " "available on your PYTHONPATH environment variable? Did you " "forget to activate a virtual environment?" ) from exc execute_from_command_line(sys.argv) if name == ' main ': main() 90 ... 181 101 009 4 Điện thoại : 09 4 608 9 50 2 Ngành : Kỹ thuật Điện tử- viễn thông Lớp : 18DDTA1 Email :gnouhp 102 @ gmail.com Tên đề tài: Hệ thống bảng giá kệ sử dụng Bluetooth 5. 0 hình E- ink( Mạch hiển thị). .. : 09 061466 45 Ngành : Kỹ thuật Điện tử- viễn thông MSSV : 181 101 1929 Lớp : 18DDTA1 Email :vungochan14 10@ gmail.com Tên đề tài: Hệ thống bảng giá kệ sử dụng Bluetooth 5. 0 hình E- ink( Mạch hiển thị). .. 181 101 007 4 Điện thoại : 03 997147 95 Ngành : Kỹ thuật Điện tử- viễn thông Lớp : 18DDTA1 Email:nguyenthanhhuy28 10. ltp@ gmail.com Tên đề tài: Hệ thống bảng giá kệ sử dụng Bluetooth 5. 0 hình E- ink( Mạch

    Ngày đăng: 22/02/2023, 22:52

    w