Difference between revisions of "Cheers!"

From ESE205 Wiki
Jump to navigation Jump to search
Line 51: Line 51:
 
== Budget ==
 
== Budget ==
 
# [http://www.phidgets.com/products.php?product_id=3212 Continuous Rotation Servo Motor] x 2: $36 (+$5.50 shipping)
 
# [http://www.phidgets.com/products.php?product_id=3212 Continuous Rotation Servo Motor] x 2: $36 (+$5.50 shipping)
# [https://www.sparkfun.com/products/242 Infrared Proximity Sensor] = $13.95 (+$5.72 shipping)
+
# [https://www.sparkfun.com/products/9276 Toggle switch]: $1.95 (+$5.72 shipping)
# [https://www.sparkfun.com/products/9276 Toggle switch]: $1.95
 
 
# [http://www.microcenter.com/product/425628/Solder_PC_Bread_Board_-_1-1-2_x_1-3-4  Solder bread board]: $1.49
 
# [http://www.microcenter.com/product/425628/Solder_PC_Bread_Board_-_1-1-2_x_1-3-4  Solder bread board]: $1.49
 
# [http://www.ebay.com/itm/12-Pack-of-NEW-5cm-50mm-Double-Sheave-Educational-Pulley-All-Metal-Block-/222341497714?hash=item33c4960372:g:3CMAAOSw-zxWmvHV Double pulley (12-pack)]: $21.98
 
# [http://www.ebay.com/itm/12-Pack-of-NEW-5cm-50mm-Double-Sheave-Educational-Pulley-All-Metal-Block-/222341497714?hash=item33c4960372:g:3CMAAOSw-zxWmvHV Double pulley (12-pack)]: $21.98

Revision as of 09:07, 2 May 2017

Overview

Have you ever felt frustrated that soda always rises higher than you expect and spills all over your table? We are here to help. 'Cheers' is a automated soda pouring machine that takes a bottled soda and pours it into glassware without spilling the fizz. It utilizes 3D printing techniques for constructing the mechanical framework and an Arduino to control the system. 'Cheers' tilts your soda bottle and glass to an angle towards each other to minimize the fizzing and the tilting mechanism stops after the soda height reaches your desired level and voila, Cheers!

Team Members

  • Jessie Shi (Tianjiao): Chemical Engineering, System Engineering ’18
  • Haixiang Ren: System Engineering ’18
  • Natalie Ng: TA

Objectives

Figure 1
  1. Replicate the project found on youtube but replace the beer bottle with a soda glass bottle and appropriately sized glassware. There will also be no bottle rotating mechanism. The control for the tilting mechanism will be changed to a pulley rope system outlined in Figure 1. The glassware will be kept on the table instead of swinging.
  2. Print a sturdy mechanical frame and a stable soda and bottle holder so that they do not misalign while pouring.
  3. System should be able to handle different size and height of glassware with few restrictions.
  4. Soda should be poured into glassware smoothly and without spilling.
  5. Create an algorithm which lets the measures the distance of the liquid in glassware and adjust the speed of servo motor accordingly.
  6. If possible, conduct the same experiment, but change the Mexican glass soda bottle to a generic soda can or plastic soda bottle.

Steps required to complete project

  1. Soda bottle should be able to maintain 3 positions. The latter two angles will be determined through experimentation. Position 2 will be when the first drop of soda occurs and position 3 is when all the soda in the bottle can be poured out.
  2. There will be one pouring mechanism. The bottle should go fast from position 1 to position 2 and slowly from position 2 to position 3 (This is when soda is pouring out from the bottle).
  3. Distance sensor will be used to estimate the amount of liquid in the glassware and thus control the tilting mechanism.
  4. Start of the program is initiated by pressing a toggle switch.
  5. All electronics (Arduino, motor and toggle switch) will be held on top of the mechanical system by constructing a wooden stage.
  6. The four pulley system cuts the torque needed from the motor to 1/4 its original value.
  7. Fishing line with 65 lbs limit will be used to prevent the rope from breaking.
  8. All the soda from the bottle should be poured into the glassware, which would fill it 3 cm to the tip.
  9. The demo will include a demonstration of pouring soda using the completely assembled model.
  10. If time permits, we will try to modify the same mechanism for a soda can or plastic soda bottle to increase the utility of the product.

Challenges

  1. 3D printing
    • Learn Solidworks.
    • Design specific dimensions of soda bottle, glassware holder etc. (For large parts, we will have to split into two as each print has a maximum dimensions of 8 inches)
    • Design base to hold the motor in place.
    • Build models using Solidworks and 3D print them.
  2. Arduino
    • Learn Arduino programming language.
    • Implementing the Arduino code with distance sensor and servo motor and toggle switch.
    • Debugging code and adjusting parameters to control the tilting mechanism.
  3. Hardware
    • Servo motor should keep control system stable during tilting mechanism and not go too fast/slow
    • Design a circuit that connects the servo motor, push button and weight sensor to the Arduino.
    • Find the various servo motor rotation speeds outlined in the objectives section by conducting experiments (use tap water instead of soda).
    • Determine the rpm value on the servo motor as it pulls the fishing line, controlling the tilt angle.
    • The soda bottle should be able to tilt at an angle more than 90 degrees (position 3) from its original position.
  4. Safety
    • Electricity hazard when circuit interacts with liquid: elevate the electronic circuit above the mechanical system level to mitigate the risk of wetting the electronics.
    • Rope might break: use appropriately weight-rated fishing line.

Budget

  1. Continuous Rotation Servo Motor x 2: $36 (+$5.50 shipping)
  2. Toggle switch: $1.95 (+$5.72 shipping)
  3. Solder bread board: $1.49
  4. Double pulley (12-pack): $21.98
  5. AC/DC Switch Power Supply: $6.29
  6. Maple Board x10 feet:$14.00
  7. Medium Density Fiber Board=:$5.95
  8. Poplar board x2: $2.90
  9. U-bolt x 2= $5.16
  10. Clear Plastic Cups, 80 Ct: $2.63
  11. Coca-Cola Mexican Glass Bottle, 355 mL x 6: $5.98 (purchase in Walmart store)
  12. Mountain Dew Mexican Bottle (12 oz) x 4:$4.49 (purchase in Walmart store)
  13. Fitzs Fitz's 4 Pack Soda:$4.57(purchase in Schnucks store)
  14. Lifting platform:$14.49
  15. Ultrasonic Distance Sensor: provided
  16. Arduino UNO board: provided
  17. 3D printing: provided
  18. Nut and bolts: provided
  19. Power Pro Fishing Braided line – 65 lbs limit: owned
  20. Magnet Screw Driver tool kit: owned
  21. Extension Cord - owned
  22. Glassware: owned
  23. Dremel rotary tool: owned
  24. Super glue: owned
  25. Double Coated tape: owned

Total: $146.58

Gantt Chart

caption


Design and Solutions

Mechanical System

Electrical System

Mexican Bottle and Glassware

We wish that our system was able to accommodate different kinds of 355 mL (12oz) Mexican bottle as they differ in height, girth, and curvature across various soda brands. In order to do so, we decided to drill 5 sets of holes on the bottle holder for the U-bolts so that we can choose the most appropriate ones to use for each brand.

add 2 picture of SW bottle holder and 1 picture of the real printed part.

The system would be nearly useless if we have to use the same glassware for each trial, so we decided to implement an elevating system using lifting platform to accommodate various glassware heights. By conducting various experiments, we found the limitation on height of glassware to be 7cm - 17cm. In order to make the code more versatile, the user have to manually adjust the height of glassware to align with the height of two posts before starting the program. The standardization height was chosen for convenience because it would be absurd if the user had to use a ruler and measure the height before each trial. A restriction on the diameter of the tip of the glassware was determined empirically to be 7cm as it must have enough room to fit both the ultrasonic distance sensor and the Mexican bottle neck. In addition, the system was also able to be poured into plastic party cups as long as it meets the same requirements.

add 3+1 picture of lifting platform with different height of glassware adjusted to the same height.

Results and Next Steps

Our project was very successful in which we successfuly

Future Considerations

  1. We can try to accommodating various kinds of bottles on the system, including 500mL plastic soda bottle and soda cans. The reason that we chose to start the project with mexican glass bottle was that it has a very narrow neck which decrease its chance of interfering with the ultrasonic sensor during the pour. We attempted to use this same program on the 500mL coca cola plastic bottle and it was able to work just like the mexican bottle, but time was not enough to complete more experiments.
  1. Our system require the user to manually adjust the height of glassware using the lifting platform so that the tip of the glassware aligns with the height of the two posts. It would be nice if our system can do that itself. We can 3D print parts that fit a motor well on the knob of the lifting platform and add a laser sensor that detects interference on the highest point of the two posts. We can use the laser as sensor to control how the motor turns, which then will be able to control the height of the lifting platform and thus the height of the glassware.

Repositories

Code

https://bitbucket.org/jessieshi97/cheers/

CAD files