Amazon Distribution Center

Project by Elizabeth Robelo and Stephen Williams

The Amazon Distribution Center is a project that takes in user input to deliver a colored package to the destination of the user's choosing. The mbed board runs a web server that hosts an html web page that takes an order for a specific package color and direction. Based on this information an Amazon Distribution Center worker places a colored package on the conveyer belt. A color sensor will double check that the package is the correct color. If it is the correct color, a photocell will trigger a solenoid that will push the package off the conveyer belt into the direction of the customer.

The following video shows a customer ordering a blue block to West and the process at the distribution center.


The following video shows a customer ordering a red block to North and the process at the distribution center.


The following video shows a customer ordering a red block to East and the process at the distribution center. On the first try the worker accidentally puts a blue block onto the conveyer belt. The block goes down the line without going in any direction since the color is wrong.


/media/uploads/elirobelo/20170428_105727.jpg

Hardware

Components ListQuantity
Huzzah Wifi Module1
ISL29125 RGB Color Sensor1
H-Bridge TB6612FNG1
Solenoid - 36V4
SparkFun Beefcake Relay Control Kit (Ver. 2.0)4
Mini Photocell4
DC Motor1

Two external power supplies were used in this project. One 36V and the other 5V. The mbed was powers through the USB connection to the laptop.

HuzzahmbedExternal 5V
gndgndgnd
TXRX - p10
RXTX - p9
V+5VDC
ISL29125mbed
gndgnd
3.3VVout
SDAsda - p28
SCLscl - p27

/media/uploads/elirobelo/20170428_110915.jpg

H-Bridge TB6612FNGmbedDC MotorExternal 5V
gndgndgnd
VccVout
Vm5VDC
A01Negative Lead
A02Positive Lead
STBYVout
AIN2p5
AIN1p6
PWMAp23

/media/uploads/elirobelo/20170428_110421.jpg

SolenoidExternal 36VRelay
Wire 1gnd
Wire 2Normally Open
RelaymbedExternal 36VExternal 5VSolenoid
LOAD36VDC
Normally OpenWire 2
5V5VDC
CTRLp11-14
gndmbedgnd

/media/uploads/elirobelo/20170428_110410.jpg

Mini PhotocellmbedExternal 5V
Connection 1p17-20 and 10kOhm resistor
Connection 25VDC

/media/uploads/elirobelo/20170428_110432.jpg

The Mini Photocell is connected as a simple voltage divider circuit. Connect the resistor to gnd that is common to mbed and external 5V power supply. For more information on how to hook up the Mini Photocell go to https://learn.sparkfun.com/tutorials/photocell-hookup-guide?_ga=1.44907042.701513198.1490843356.

Code

Import program4180FinalProject_copy

amazon distribution center


Please log in to post comments.