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.
Hardware
Components List | Quantity |
Huzzah Wifi Module | 1 |
ISL29125 RGB Color Sensor | 1 |
H-Bridge TB6612FNG | 1 |
Solenoid - 36V | 4 |
SparkFun Beefcake Relay Control Kit (Ver. 2.0) | 4 |
Mini Photocell | 4 |
DC Motor | 1 |
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.
Huzzah | mbed | External 5V |
gnd | gnd | gnd |
TX | RX - p10 | |
RX | TX - p9 | |
V+ | 5VDC |
ISL29125 | mbed |
gnd | gnd |
3.3V | Vout |
SDA | sda - p28 |
SCL | scl - p27 |
H-Bridge TB6612FNG | mbed | DC Motor | External 5V |
gnd | gnd | gnd | |
Vcc | Vout | ||
Vm | 5VDC | ||
A01 | Negative Lead | ||
A02 | Positive Lead | ||
STBY | Vout | ||
AIN2 | p5 | ||
AIN1 | p6 | ||
PWMA | p23 |
Solenoid | External 36V | Relay |
Wire 1 | gnd | |
Wire 2 | Normally Open |
Relay | mbed | External 36V | External 5V | Solenoid |
LOAD | 36VDC | |||
Normally Open | Wire 2 | |||
5V | 5VDC | |||
CTRL | p11-14 | |||
gnd | mbed | gnd |
Mini Photocell | mbed | External 5V |
Connection 1 | p17-20 and 10kOhm resistor | |
Connection 2 | 5VDC |
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.