Download presentation
Presentation is loading. Please wait.
Published byBethanie Franklin Modified over 8 years ago
1
Group 25 Kevin Kong Mei Ling Yeoh Xianze Zhan ECE 445 Spring 2016 THIEF RESISTANT SHOPPING CART
2
Introduction According to National Association for Shoplifting Prevention, there are approximately 27 million shoplifters in our nation today. Our project is designed to tackle the act of thievery using the shopping cart by modifying the existing shopping cart. Combine weight sensors, barcode scanner, microcontroller, WI-FI and alarm.
3
Features Gather the total weight of the items and make weight comparison Require user interaction to scan (add), de-scan (delete) items using barcode scanner Gather the information of the items through Wi-Fi Activate the alarm and cart braking system Visually display information on LCD display
4
High Level Power Layout
5
High Level Signal Layout
6
System Overview Hardware: Power module User interface Sensors Control Outputs Software: ATmega328P Software Electric Imp Software
7
Power Module Boost Converter (LT1372) Supply steady voltage of 5V Able to supply 5V to all modules Voltage ripple causes instability input for weight sensor (inaccuracy in weight sensor)
8
Voltage ripple of boost converter Before Improvement After Improvement
9
Power Module (continued) Voltage regulator (LM7805) To solve the instability issue of weight sensor Use two lithium ion batteries as source Provide current of 0.27A to 0.31A during full operations Total operation hours (calculated) 3000mAh/310m ≈ 9.5 hours
10
Power Module (continued) Voltage regulator (REG113-3.3) Supply steady voltage of 3.3V to USB host shield Maximum current is 0.4A
11
User Interface LCD display Visually display the item name and its price, total price of items in cart Push buttons Delete, Checkout Delete: to remove item from the cart and the list Checkout: press when ready to checkout
12
LCD & Push buttons Schematic
13
Control Consists of WI-FI, alarm, ATmega328P, USB host shield, barcode scanner Decode the barcode and transfer the data to server through WI-FI Communicate with LCD
14
Control Schematic
15
Weight Sensors Sparkfun SEN-10245 Load Cells Wired 4 load cells up in Wheatstone Bridge configuration.
16
Weight Sensors Measured data points of weight sensor with different weights. Weight (g)Vout (V) ΔVΔV 01.755-- 1001.7770.022 2001.8050.028 3001.8260.021 4001.8550.029 5001.8740.019 6001.8970.023 7001.9210.024 8001.9450.024 Incremental step: 0.024 ± 0.005 V/100g
17
Weight Sensors Where: aLoad = 0.0kg (1st data point) aReading =Arduino analog input value bLoad = 0.4kg (2 nd data point) bReading = Arduino analog input value newReading = current weight
18
Weight Sensors Arduino values (newReading) from Analog Input with different weights. Weight (g)newReading Deviation 0180±1 100185±1 200190±2 300195±2 400200±1 500205±2 600210±2 700215±2 800220±2 Incremental step: 5±2 per 100g
19
RFID RFID tag on shopping cart To track the status of the shopping cart Trigger alarm on EXIT if checkout is not complete
20
Outputs Alarm Buzzer – MCP320B2 Sounds when total weight in cart does not match total scanned items weight Breaking System Servo – ROB-11965 Rotates and stops cart wheel from spinning when alarm sounds
21
Software Overview ATmega328P Software Program in Arduino platform(.ino file) Handle different analog and digital I/O Driver for communicating with different modules Electric Imp Software Program in Squirrel language Handle input packages from ATmega and write data to imp via Wi-Fi communication Also used to implement database
22
Software Flowchart Indicates the full shopping experience Integrates Atmega and Imp software together
23
Flowchart ( Part 1) Indicates the main interaction between users and shopping cart during shopping experience
24
Flowchart ( Part 2) Indicates the check out process under thief resistant protection
25
Example Code Weight Sensor Code void Read_Weight(){ total=0.0; for(int i=0; i<100; i++){ //adding 50 readings together; newReading = analogRead(0); total += (newReading - aReading); } load = ((bLoad - aLoad)/(bReading - aReading)) * (total/100) + aLoad; load= load - offset; float compareValueFloat= load * 100; int compareValue = round(compareValueFloat); if(load<0) {load=0.0;} // millis returns the number of milliseconds since the board started the current program if(millis() > time + interval && compareValue!=prev_load) { Serial.print("Weight changed! "); //Serial.print("Reading: "); //Serial.print(newReading,1); // 1 decimal place Serial.print(" Load: "); Serial.println(load,1); // 1 decimal place, println adds a carriage return time = millis(); lcd.setCursor( 0,1 ); lcd.print("Weight: "); lcd.print(load,1); lcd.print(" kg"); } prev_load= compareValue; }
26
System Integration
27
Future Work Integrate RFID system Increase the sensitivity of weight sensors More user interface to improve customer shopping experience
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.