8. Build Dispenser

Objectives

This module provides necessary steps to build and test your drink dispenser

Steps to Complete

Follow each step in order and use the Open for detailed step-by-step instructions if required.

Bill of Materials

Verify that you have all the necessary parts. Some parts may already be installed from the previous labs, such as the 9V battery lead and ESP32-DevKitC development board into the controller board.

- Base plate
- 1/2" PVC Cap (white)
- 1/2"x1' PVC pipe (orange)
- Top, middle (with LED ring), and bottom plates for top assembly
- 8 M3-6mm 25mm standoffs
- 9 M3 Cap nylon nuts
- 4 M3-6mm nylon screws
- 4 M3-8mm nylon screws
- 2 M3-12mm stainless steel screws
- 1 M3 hex nut
- Pump motor
- 9V battery
- 9v battery clip with JST-2 connector
- Electronics controller board
- ESP32-DevKitC development board

Consult with image below for the material list:

![DispenserParts.jpg](/images/lab8_materials.jpg)

Base Plate Build

  1. Build base plate:

    BasePlate-s1.jpg

  2. Place M3x12mm stainless steel screw from inside of PVC cap as shown on the pictures below:

    BasePlate-s2.jpg

  3. Thread it through the base plate hole closest to the edge and tighten with nylon cap nut from the bottom:

    BasePlate-s3.jpg BasePlate-s4.jpg BasePlate-s5.jpg

  4. Place the hex nut inside PVC cap and align to the both holes (PVC and base plate):

    BasePlate-s6.jpg

  5. Thread the M3x12mm stainless steel screw from the bottom and tighten (ask for help as this is the only step you will need a screwdriver):

    BasePlate-s7.jpg

  6. It should look like this:

    BasePlate-s8.jpg

  7. Take M3x6mm screws(the shorter ones):

    BasePlate-s9.jpg

  8. Place them as show on the picture:

    BasePlate-s10.jpg

  9. Tighten them by hand using M3 cap nuts from the bottom:

    BasePlate-s11.jpg

That completes the base assembly, now to build the top assembly.

Top Assembly Build

  1. Build top assembly stating with the motor:

    TopAssembly-s1.jpg

  2. Insert the motor as shown on the picture (make sure of mounting slots!)

    TopAssembly-s2.jpg

  3. Insert the M3x8mm hex standoff screws (longer ones) as show on the picture:

    TopAssembly-s3.jpg

  4. Tighten the M3x6mm-25mm standoffs from the bottom (do not over tighten it):

    TopAssembly-s4.jpg

  5. Take the middle plate with mounted LED ring and make sure that orientation is correct:

    TopAssembly-s5.jpg

  6. If not already attached, connect the 9 Volt batter cable’s JST-2 connector (the small white connector at the end of the cable) to the JST-2 socket marked GND 9V. (Make sure you are not using LiPo socket!!!):

    TopAssembly-s6.jpg TopAssembly-s7.jpg

  7. Assemble controller board, middle plate and top plate with motor as shown:

    TopAssembly-s8.jpg TopAssembly-s9.jpg

  8. Attach pump motor cable to the right pins on the controller board (furthest from the 9V connector):

    TopAssembly-s10.jpg TopAssembly-s11.jpg

  9. Place ESP32-DevKitC back on the controller board as in the earlier labs:

    TopAssembly-s12.jpg

  10. Attach the other M3x6mm-25mm standoffs to secure motor and middle plate:

    TopAssembly-s13.jpg

  11. Align controller board in the slots on the top and bottom plate, attach bottom plate, and secure with nylon M3 cap nuts

    TopAssembly-s14.jpg

  12. Final result should look like this:

    TopAssembly-s15.jpg

  13. Thread vinyl tubes through bottle cap as shown. You might need to fold and squeeze the end of the tube to push it through:

    TopAssembly-s16.jpg

  14. Thread the larger vinyl tube from the bottom, middle plates to form a spigot and attach the smaller tube to the pump motor:

    TopAssembly-s17.jpg

  15. Very carefully insert 1/2” PVC pipe through top assembly (It is very tight to hold the top assembly by friction - ask for help if needed):

    TopAssembly-s18.jpg

  16. Fill the water bottle to approximately 50-75% full. Then attach the bottle to the assembly (vertical so as not to spill water) and adjust height as needed (again, there will be a lot of resistance when moving, be careful!):

    TopAssembly-s19.jpg TopAssembly-s20.jpg

  17. Your drink dispenser is ready and should look similar to this:

TopAssembly-s21.jpg

Checkpoints

Please ensure the following checkpoints are validated before moving on to the next module:

  • Both vinyl tubes are airtight on the bottle cap
  • The orientation of your microcontroller
  • 9V cable connected to socket marked GND 9V
Copyright © 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.