CartToGo
🛒
Introduction
CartToGo is an IoT-based smart system that is connected to an iOS mobile application, used by supermarket shoppers to reduce their waiting time in the queue lines and that’s done by enabling them to scan each product’s barcode to display its price and total price on the LCD display as well as the iOS mobile application.
نظام CartToGo مبني على انترنت الأشياء، وهو نظام ذكي مرتبط بتطبيق هاتف يعمل بنظام تشغيل iOS، يستخدم من قبل المتسوقين في مركز التسوق لتقليل وقتهم في طوابير الشراء، وذلك عن طريق السماح لهم بقراءة سعر المنتج واجمال سعر المنتجات وعرضها على شاشة LCD و تطبيق الهاتف.
💻
Technology Used
IoT NodeMCU ESP8266 Microcontroller
IOS mobile application
⚙️
Dependencies
Needed dependencies for NodeMCU ESP8266 Microcontroller
- ArdunioIDE Version
1.7
or higher is required. - Libraires needed in ArdunioIDE are:
Library name By Firebase ESP8266 Client Mobizt Version 3.9.5
LiquidCrystal I2C Frank de Brabander Version 1.1.2
Needed dependencies for IOS mobile application
- Flutter Version
2.10
- Visual Studio Code OR Android Studio
- then install the flutter extension in
Extensions
for Visual, and for Android inFile > Settings > Plugins
▶️
Usage
Usage for NodeMCU ESP8266 Microcontroller
1- First copy or download the ProductScanner.ino
file
https://github.com/GP2022KSU/2022-GP1-04/blob/main/NodeMCU/ProductsScanner/ProductsScanner.ino
2- Then open the code in Arduino and install the required libraries as mentioned in the dependencies above
3- After that adjust the RX and TX for the Scanner that is connected to the breadboard
SoftwareSerial mySerial(14 , 12); // RX, TX for Scanner numbers on the breadboard
4- Compile and Upload the code to the NodeMCU through available COM port
Usage for IOS mobile application
1- Install the dependencies mentioned above
2- Fetch latest source code from main branch then go to CartToGo
folder
https://github.com/GP2022KSU/2022-GP1-04.git
3- Run the app with Android Studio or VS Code. Or the command line:
cd CartToGo
flutter pub get
flutter run
🎯
Features
-
A complete IoT smart system that includes hardware and an application connected to it
-
Realtime database for fast retrieval of the scanned products
-
An interface for 3 users, Cashier - Shopper - Admin
-
Display all previous invoices
-
Add/Delete products in the shopping cart
-
Display the product location
-
Supports Recommender system (An AI algorithm) for products with the same category with less prices and products that have offers based on previous purchases