Where users are classified into who they are according to their Credential. These Roles can determine the access given to a selected user.
Payment Handling is done through PayPal Which is a secured Payment Gateway
The admin can Edit any information about the items available
QR code is used for more security and also Django Rest API is used for validity
Every Transaction Done can be Seen by an admin .The User can also see the previous Transactions done by him.
Local server is made using Python Django
The database is made in PostGreSQL
Communication to AWS is done through HTTPS
Host in amazon EC2 Instance
Nginix Server is used because Nginx is built to offer low memory usage and high concurrency. Rather than creating new processes for each web request, Nginx uses an asynchronous, event-driven approach where requests are handled in a single thread. With Nginx, one master process can control multiple worker processes.
Gunicorn is used and it internally hands the calling of our flask code. This is done by having workers ready to handle the requests instead of the sequential one-at-a-time model that the default flask server provides. The end result is our app can handle more requests per second
Built with Python Django
Used database PostGreSQL
To authenticate we are using JSON web token because it securely transfers information between software and Hardware as an JSON file.It has 2 tokens one is access token which expires within 5 minutes . We are using Rate limit to make sure the hardware/Web Application does not get overloaded by API calls to the cloud and it is only 60 API calls per hour.It ensure the safety of the systems.We can do GET,PUT,POST,DELETE in the APIs that are available in the system.
Broadcom BCM2837 64bit ARMv7 Quad Core Processor powered Single Board Computer running at 1.2GHz 1GB RAM
BCM43143 WiFi on board Bluetooth Low Energy (BLE) on board
40pin extended GPIO , 4 x USB 2 ports 4 pole
Stereo output and Composite video port Full size HDMI
CSI camera port for connecting the Raspberry Pi camera
Upgraded switched Micro USB power source (now supports up to 2.4 Amps) Expected to have the same form factor has the Pi 2 Model B, however the LEDs will change position
Motor Type: Bipolar Stepper
Step Angle: 1.8 deg.
Holding Torque: 40N.cm (56oz.in)
Rated Current/phase: 1.7A
Phase Resistance: 1.5Ohm±10%
Insulation Resistance: 100MΩ¸ Min, 500VDC
Insulation Strength: 500VAC for one minute
stepper motor provides a constant holding torque without the need for the motor to be powered.Steppers provide precise positioning and repeatability of movement since good stepper motors have an accuracy of 3 – 5% of a step and this error is non-cumulative from one step to the next.
Driver Model: L298N 2A
Driver Chip: Double H Bridge L298N
Motor Supply Voltage (Maximum): 46V
Motor Supply Current (Maximum): 2A
Logic Voltage: 5V
Driver Voltage: 5-35V
Maximum Power (W): 25W
Current Sense for each motor
Heatsink for better performance
5 megapixel native resolution sensor-capable of 2592 x 1944 pixel static images.
Supports 1080p30, 720p60 and 640x480p60/90 video.
Camera is supported in the latest version of Raspbian, Raspberry Pi's preferred operating system.
High-sensitivity (250 mW) and High-capacity (16 A) versions
Rated voltage 12 V DC
Rated current 20.8 mA
Coil resistance 576 Ω
Must operate voltage 75% max. of the rated voltage
Must release voltage 10% min. of the rated voltage
Max. voltage 180% of rated voltage (at 23°C)
Power consumption Approx. 250 mW
Differential input voltage: ±40mV (Full-scale differential input voltage is ± 40mV)
Data accuracy: 24 bit (24 bit A / D converter chip.)
Refresh frequency: 10/80 Hz.
Operating Voltage: 2.7V to 5V DC.
Operating current: < 10 mA.
Input voltage: DC 4.5~20V
Static current: 50uA
Output signal: 0,3V (Output high when motion detected)
Sentry angle: 110 degree
Sentry distance: max 7 m
120 degree detection angle
Low power consumption in idle mode only 50uA and 65mA in fully active mode.
This is the physical interpretation of the circuit diagram Which shows how the components are connected
For Demonstration purposes we have used proteus simulation platform here firstly the Vending Machine circuit is in OFF state and then if any person comes near the vending machine the PIR sensor detects the person and all the system comes to the on state Then the LED display shows the Welcome message asks to input the QR code.If the user adds the QR code (which has the details of the Transaction). the Vending machine sends a Validation request through an API call.If the QR code is valid then according to the Item list the motors according to the Item will rotate and the Items are delivered.The weight sensor makes sure if the items are delivered and the system goes to the power off State
The Main entities are User,Customer , Product, Order, Order Item And QR Code.Every Entity has unique primary Key. And if we go in to details Customer Makes an order or multiple orders so the relationship between Customer and the Order is one to many.Customer can get multiple QR codes so there will be a one to many relationship.likewise one order can have multiple order items that is also a one to many relationship.For Order to QR Address the relationship is 1 to 1. For products and Order Item its 1 to many.
We are checking to make sure every Url gets the reverse Match.By using the dummy http request
CRUD operations are Checked using artifical AJAX API calls for that we are using Hard coded Json data
We are sending in dummy data to check the reliability of the authendication
Authetication form is checked
We are creating a new user and database and checking the form
Post request is sent and check if it is updated
new products are created in example to check where all of them are being updated
Do you want us to style your home? Fill out the form and fill me in with the details :) We love meeting new people!