granular_gripper
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
granular_gripper [2019/07/25 14:54] – [Parts List and Sources] yuhanghe | granular_gripper [2019/07/29 16:22] (current) – [Final Words] yuhanghe | ||
---|---|---|---|
Line 37: | Line 37: | ||
\\ | \\ | ||
- | To complete this tutorial, you'll need the following items included in this BOM. Some common electrical components, such as prototype board, resistors, and diode that are common for circuit do not have vendors and price listed. To power the compact ejector, a 24 V power supply unit is required. In addition, access to 3D printer is required for this construction. | + | To complete this tutorial, you'll need the following items included in this BOM. Some common electrical components, such as prototype board, resistors, and diode that are common for circuit do not have vendors and price listed. To power the compact ejector, a 24 V power supply unit is required. In addition, access to 3D printer is required for this construction. Medium grind coffee grounds was used as the granular material during the construction. To attach the pneumatic fitting on the gripper assembly, a 1/4 in NPT Tap is required. |
- | Here is the {{: | + | Here is the {{: |
\\ | \\ | ||
==== Construction ==== | ==== Construction ==== | ||
- | This section gives step-by-step instructions along with photos to <fill in the blank>. (If a circuit-building tutorial:) A schematic to construct <fill in the blank> is shown here <add image>. <Add hyperlink to PDF of schematic> | + | This section gives step-by-step instructions along with photos to build the granular gripper. |
\\ | \\ | ||
\\ | \\ | ||
Line 50: | Line 50: | ||
\\ | \\ | ||
\\ | \\ | ||
- | <Add photos | + | Use 3D printer |
+ | {{ : | ||
+ | {{ : | ||
\\ | \\ | ||
\\ | \\ | ||
Line 56: | Line 58: | ||
\\ | \\ | ||
\\ | \\ | ||
- | < | + | Fill the inside of 24 inch balloon with medium coffee grounds. Suggest using a funnel to make the process easier. You may need to blow some air into the balloon for the coffee grounds to settle inside the balloon. Fill the balloon almost completely with coffee ground without stretching balloon' |
\\ | \\ | ||
- | ==== Programming ==== | + | **Step 3** |
- | + | ||
- | A link to the source code can be found <provide URL to your code, probably saved in this DASL Wiki>. | + | |
\\ | \\ | ||
- | The goal of the code is <brief explanation> | ||
\\ | \\ | ||
- | ---- | + | Cut a circular piece from the dust mask and glue it to the bottom opening in the gripper mount as shown. |
- | <!- Insert | + | {{ : |
- | ---- | + | The dust mask will act as the filter |
\\ | \\ | ||
- | The snippet above serves to <fill in the blank>. It does this by <fill in the blank>. | + | **Step 4** |
\\ | \\ | ||
- | ---- | + | \\ |
- | <!- Insert another snippet | + | Use the 1/4 in NPT tap to create threads on 7/16 in hole on the side of the gripper mount. Wrap some pipe thread tape on the thread of 1/4 in NPT push-to-connect fitting and screw the fitting into the tapped hole. |
- | ---- | + | {{ : |
- | Next, the code does < | + | \\ |
- | <!-- Keep entering snippets | + | **Step 5** |
+ | \\ | ||
+ | \\ | ||
+ | Cut the neck of the balloon to half. Thread the neck of the balloon through the opening in the gripper base. Stretch the entrance of the balloon before placing the bottom opening of gripper mount over the base to seal the balloon. Use screws | ||
+ | \\ | ||
+ | **Step 6** | ||
+ | \\ | ||
+ | \\ | ||
+ | Attach the G1/8 push-to-connect fittings to the compact ejector. Use the pipe thread tape to ensure that the system is airtight. | ||
+ | {{ : | ||
+ | The port #1 is the compressed air source and port #2 is the vacuum/blow off output. | ||
+ | \\ | ||
+ | **Step 7** | ||
+ | \\ | ||
+ | \\ | ||
+ | Attach the 1/4 in NPT push-to-connect fitting to the 1/4 in NPT quick connect female fitting. Attach the quick connect to the quick connect port on the air compressor. | ||
+ | {{ : | ||
+ | \\ | ||
+ | **Step 8** | ||
+ | \\ | ||
+ | \\ | ||
+ | Use the 1/4 in pneumatic tubing to connect the air compressor to the compact ejector and the granular gripper to the compact ejector. | ||
+ | {{ : | ||
+ | On the air compressor, use the regulator to adjust the compressed air output to 4 bar. | ||
+ | \\ | ||
+ | **Step 9** | ||
+ | \\ | ||
+ | \\ | ||
+ | Connect the M12 5 pin cable to the compact ejector. The detail of the wiring and circuit is outlined | ||
+ | ==== Circuit ==== | ||
+ | The complete manual for the compact ejector can be found on Schalmz' | ||
+ | |||
+ | The following diagram shows the function of each pin on compact ejector' | ||
+ | {{ : | ||
+ | The following table shows the electrical parameter of the compact ejector. The expect voltage input is 24V. For the normally closed (NC), PNP ejector, the current consumption is 70 mA. The input signal voltage is 15 to 24V and current is 5 mA. | ||
+ | {{ : | ||
+ | The following figure shows the circuit diagram for the gripper system. The Arduino is used to receive command from a computer. The digital signal from Arduino is used as the base for transistors to switch on and off the 24 V input signal for vacuum and blow off. | ||
+ | {{ : | ||
+ | The following figure shows the actual circuit implemented with Arduino and a prototype board. | ||
+ | {{ : | ||
+ | |||
+ | |||
+ | |||
+ | ==== Programming ==== | ||
+ | |||
+ | A link to the source code can be found {{: | ||
+ | \\ | ||
+ | <code cpp | Switch.ino> | ||
+ | String input; // for incoming serial data | ||
+ | int command; | ||
+ | bool vac = false; //Switch condition for vacuum | ||
+ | bool blow = false; //Switch condition for blow off | ||
+ | bool off = true; //Switch condition for off | ||
+ | |||
+ | void setup() { | ||
+ | Serial.begin(9600); | ||
+ | pinMode(8, OUTPUT); //Assign port 8 and 9 as digital output | ||
+ | | ||
+ | digitalWrite(9, | ||
+ | digitalWrite(8, | ||
+ | } | ||
+ | |||
+ | void loop() { | ||
+ | // send data only when you receive data: | ||
+ | if (Serial.available() > 0) { | ||
+ | // read the incoming string: | ||
+ | input = Serial.readString(); | ||
+ | // read input data from the serial monitor | ||
+ | command = input.toInt(); | ||
+ | // enter a command of 1 to turn on and off vac | ||
+ | if (command == 1) { | ||
+ | vac = !vac; | ||
+ | } | ||
+ | // enter a command | ||
+ | if (command == 3) { | ||
+ | blow = !blow; | ||
+ | } | ||
+ | / | ||
+ | Serial.println(vac); | ||
+ | Serial.print(" | ||
+ | Serial.println(blow); | ||
+ | Serial.print(" | ||
+ | Serial.println(off); | ||
+ | |||
+ | if (vac && blow || !vac && !blow) { | ||
+ | vac = false; | ||
+ | blow = false; | ||
+ | Serial.println(" | ||
+ | // due to circuit design, | ||
+ | digitalWrite(9, | ||
+ | digitalWrite(8, | ||
+ | } | ||
+ | else if (blow) { | ||
+ | Serial.println(" | ||
+ | // digital pin 8 is connected to blow off | ||
+ | digitalWrite(8, | ||
+ | digitalWrite(9, | ||
+ | delay(300); | ||
+ | digitalWrite(8, | ||
+ | blow = false; | ||
+ | vac = false; | ||
+ | Serial.println(" | ||
+ | } | ||
+ | else if (vac) { | ||
+ | Serial.println(" | ||
+ | // digital pin 9 is connected to vacuum | ||
+ | digitalWrite(9, | ||
+ | digitalWrite(8, | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </code> | ||
+ | The command for the ejector controller is entered through Serial Monitor on the Arduino IDE accessed through the Tools menu on the top of IDE. | ||
+ | Enter 1 in the command line to turn on vacuum. | ||
+ | {{ : | ||
+ | Enter 3 in the command line for a short blow off. | ||
+ | {{ : | ||
// | // | ||
// | // | ||
==== Final Words ==== | ==== Final Words ==== | ||
- | This tutorial' | + | This tutorial' |
- | \\ | + | |
- | \\ | + | |
- | Speculating future work derived from this tutorial, includes <fill in the blank>. In the big picture, the problem | + | |
\\ | \\ | ||
\\ | \\ | ||
- | For questions, clarifications, | + | For questions, clarifications, |
granular_gripper.1564091694.txt.gz · Last modified: by yuhanghe