I have a php based website that stores orders, I would like to “send” the orders via some programming interface to the robot. The robot would then repeat the “pick and place” motion WHILE ALSO turning additional rotating base (when necesary).
How can this be done.
Here is an example.
Order #1. User selected 1, 4, 6 and three of #8. The rotating base has 8 different objects that correspond to the 1-8 numbers, robot recieves command, picks up widget, roating bases changes to corresponding number and robot continues to pick numbers until completion.
One approach.
Step 1) Create a web service on the PHP server that would display orders that need to be picked from a warehouse . A computer in a warehouse (hooked to your robot) would query the web service on the php server every minute or so looking for new orders.
Amazon has web services that show more in-depth Business-to-business (B2B) examples of how this could be done. aws.amazon.com/fws/
Step 2) The computer in the warehouse would then send a message to the PHP server that it wants to fulfill the first item in the order. Step 1
Let’s create a simple web service loosely based on the Amazon service examples. This one describes the order example you gave.
Step 2
The computer in your warehouse queries the php based website and determines that the item is in its warehouse. It then sends a status to the php based website that it can fulfill item one on the order.
At this point the computer in the warehouse sends serial commands via wireless Bluetooth (or some other means) to your robots ssc32 that in turn issues the command sequence to the robotic arm to pick up widget #1 from the bin and drop it into the packing box (or onto the conveyer belt that will take it to the packing box). The computer in the warehouse will continually monitor the status of the servos on the arm by querying the ssc32 via Bluetooth. Once the ssc32 indicates the servos on the arm have completed all the commands to pick the item the computer in the warehouse will send another command via web service to the php based website that it has picked the order.
If you can fulfill another item off the order from your warehouse you would repeat this sequence. If other warehouses in your supply chain can fulfill this order they could use the same web services to pick items and notify the php based website that it can pick the item on the order and that the item has then been picked.