Cheers! Weekly Log

From ESE205 Wiki
(Redirected from Cheers Weekly Log)
Jump to navigation Jump to search

Week 1 (1/23 - 1/29)

Formulate group and brainstorm about project ideas. We decided to replicate a beer pouring machine on youtube.

Week 2 (1/30 - 2/5)

Figure 1

We met with Natalie (TA) to help us straighten the project objective, determine several potential challenges and write out the project proposal. We researched about the specific mechanism to control tilt angles as it was not clearly shown in the video It was decided that we use two 90 degrees lever, each for soda bottle and glassware, tied with a fishing line connected to a spool on a step motor to control the tilt angle (Figure 1). The start for the system is controlled by a push button and the stop pouring signal should be decided by laser detection. Arduino was found to be useful in the process in controlling this process. For a potentially successful project, the budget was determined after objective and challenges were identified.

Week 3 (2/6-2/12)

Figure 2

We compared the pros and cons of various available sensors (distance sensor, color sensor, laser sensor, liquid level sensor and weight sensors) and decided to change our laser sensor to weight sensor. Other sensors all have high chances of electric shock as it is very hard to cover the sensor to prevent liquid damage. Weight sensor could be hidden in the base holder of the glassware and the wires are sent to the Arduino board inside the support stands. In addition, we decided to put a wooden cover on the Arduino board and stepper motor. The fishing line will be sent out from the cover through a little hole and connect to the lever using four pulleys. We together altered the objective in the project proposal to make the mechanical models and its tilting mechanism more robust.

Haixiang finished the tutorial on Introduction to Solidworks and Tutorial 1. Jessie started drawing pictures for the mechanical design of the system and editing the project proposal page. We realized that 3D printing could only print a maximum length of 8 inches so we decided to print three supportive stands on each side to make a strong base, and each stand will be made out of 2 pieces of 3D printings.

Week 4 (2/13-2/19)

Figure 1
  1. Proposal
    • Changed the stepper motor to servo motor to avoid from getting hot at zero speed.
    • Added the 2 double pulley system to cut the weight of the bottle (with soda) to 1/4 of its original weight as sensed by the motor.
    • Added the wooden cover idea to the proposal to separate the mechanical system from the electrical system. The mechanical system will be built on top of the electrical system and the wires to connect to the weight sensor is through the base (will not be out in air).
    • Researched various ways of supplying power to the servo motor, whether is it through the Arduino board portal, using two separate power supplies or connecting the Arduino board and the two motor in parallel or series, etc. We decided to use a single power supply and connecting the two motors and Arduino board all parallel to each other. The power supply would be 6V 3A wall power adaptor. The two motors can operate at the voltage of 4.8V to 6V(correspond to maximum stall torque) and the Arduino board can operate at a minimum of 6V. As we will not need the Arduino board to supply a lot of power (push button and weight sensor), we thought it should be fine.
  2. Mechanical System
    • Started building the model the part 1 of the base and learned to use the Ultimaker 2 Extended machine with Natalie and Nathan over the weekend.
    • Printed the first model of base 1.

Week 5 (2/20-2/26)

  1. Proposal
    • Went to Home Depot found a U-bolt that could serve as the bottle holder so that it can tilt more than 90 degrees.
    • Ordered the pulleys.
  2. Mechanical System:
    • Adjusted the part 1 base so that the attachment part to part 2 of the base will not interfere with the swing. The nut hole in base 1 was also adjusted.
    • Calculated exact parameters needed and designed part 2 of the base, the horizontal rotating axis.
    • Built the 3D model for base 2 and horizontal rotation axis.
    • Start printing out an initial model for base 2 and horizontal axis.
    • Had a rough sketch of the model for the bottle holder and the lever arm and how it will be attached to the horizontal arm.

Week 6 (2/27-3/5) First Evaluation

Picture of System
  1. Proposal
    • Decided to put the electrical system on top of the mechanical system with a wooden stage, then the fishing line from the motor will be pulling from the bottom of the bottle.
    • Decided to not let the glassware tilt but keep in on the table. This would make the weight sensor be more accurate in estimating the amount of soda in glassware. (as we will not be dealing with component forces of the weight of glassware with soda).
  2. Mechanical System
    • Adjusted hole parameters on base 2 so that it could fit with base 1 and horizontal axis better.
    • Redesigned the bottle holder and the swing so for the adjusted proposal.
    • Printed out two base 2s and assembled the initial mechanism system without the bottle holder.

Week 7 (3/6-3/12)

Picture of System
  1. Proposal
    • Ordered all parts.
    • Had a new picture representing the system (right) with target dimensions of the wooden frame.
    • Added the support system for the bottle so that the motor do not have to withstand a large amount of torque while the bottle is at rest (position 1).
  2. Mechanical System
    • Deleted the 45 degree angle to hold the bottle as it has a high chance of fracture.
    • Modified the bottle holder so that the fish lines would connect directly to the bottle holder base.
    • Printed the bottle base edition 2 and assembled the mechanical design. (picture shown below)
  3. Electrical System
    • Learned about Arduino board and breadboard.
    • Followed a simple tutorial to control an LED with toggle switches.

Week 8 (3/13-3/19) Spring Break

  1. Mechanical System
    • Designed the specific dimensions of the support system for the bottle.
    • Went to HomeDepot and decided to use the wood from there instead of the provided one from machine shop.
  2. Electrical System
    • Learned how to control the motor (turning at different directions and different speeds) using Arduino.

Week 9 (3/20-3/26)

  1. Mechanical System
    • Redesigned the bottle holder and swing so that it will be more stable and accommodate for two pair of holes for the two U bolts.
    • Printed out the bottle holder and swing. (picture shown below with only 1 U bolt used)
    • Decided to use two U bolts to keep the bottle in place better.
    • Resigned the motor holder and printed it out.
    • Designed the lower half of the IR distance sensor suspension system and printed out.
  2. Electrical System
    • Learned how to control the IR sensor using Arduino by following the link here.
    • Started Algorithm design of drawing a flowchart.

Cgif1.gif

Week 10 (3/27-4/2)

Calibration Curve for IR Infrared Sensor
  1. Mechanical System
    • Bought wood from HomeDepot to make the wooden frame.
    • Drilled holes and cut a piece off from the one of the wood to make room for pulley (took us total of 7 hours).
    • Designed the spool to affix on the accessory on the servo motor.
    • Designed the upper half of the IR distance sensor suspension system after have exact dimensions of the wooden frame.
  2. Electrical System
    • We calibrated the infrared distance sensor and generated a curve (shown on the right). We got a best fit line that translates to distance = 12293*(AnalogRead)^-1.148.
    • Adjusted the algorithm flow chart.
    • Write code to use the IR distance sensor as sensor and control the rotating speed of the servo motor.

Week 11 (4/3-4/9) Second Evaluation

  1. Proposal
    • After the second evaluation, we decided to try out the ultrasonic sensor and it was giving more stable outputs when dealing with liquid so we decided to switch the IR distance sensor to ultrasonic distance sensor.
  2. Mechanical System
    • Printed the spool and attached it to the servo motor.
    • Designed and printed pulley stabilizer.
    • Assembled the printed parts onto the wooden frame.
  3. Electrical System
    • Assembled the motor and IR distance sensor onto the wooden frame.
    • Learned how to use the ultrasonic sensor and experimented with it.
  4. Experiments
    • Conducted experiment to test if the IR distance sensor is correctly measuring its distance to the liquid level distance.
    • Conducted experiments to use the motor to tilt an empty coca cola bottle to an angle more than 90 degrees to the horizontal at varying speed and going back to its original position.
    • Put the toggle switch, ultrasonic sensor and motor in one system.

Week 12 (4/10-4/16)

  1. Proposal
    • Ordered a lifting platform in order to accommodate various glassware heights.
  2. Mechanical System
    • Designed Ultrasonic distance sensor holder.
    • Redesigned and printed a pulley holder as the previous stabilizer was not good enough that the fishing line keeps falling off the pulleys.
    • Redesigned Ultrasonic distance sensor suspension system.
  3. Electrical System
    • Measured the specific fast and low speed setting on the motor.
    • Write code for the entire system, found here.
  4. Experiments
    • Run the whole system, change some number setting in Arduino (speed of motor and delay times in distance sensor) and find set of values that work for out system.
  5. Demo
    • Start design poster.

Week 13 (4/17-4/24)

  1. Mechanical System
    • Printed Ultrasonic distance sensor holder.
    • Printed the glassware base to accommodate for the lifting platform.
    • Printed Ultrasonic distance sensor suspension system.
    • Designed and printed lifting platform base.
    • Designed and printed switch holder.
  2. Electrical System
    • Run the whole system with Ultrasonic distance sensor, modify code for motor.
    • Melting wire to Solder PC Bread Board.
  3. Experiments
    • Determined the restrictions on the height of glassware (7-17cm) and minimum height of glassware (7cm).
    • Make sure that they system can operate under given conditions:
      • the bottle has more liquid than the volume of glassware.
      • the bottle has less liquid than the volume of glassware.
  4. Demo
    • Finished poster and ready for demo.