9. Dispense a Drink!

Objectives

Okay, this is the moment of truth. You have:

  1. Setup your laptop to flash the dispenser.
  2. From Cloud9 compiled the firmware specific for your dispenser.
  3. Flashed the microcontroller and tested the cloud capabilities and built up enough credits to operate.
  4. Optionally built the dispenser and are ready to test.

With all that completed, let’s dispenser a real liquid drink.

Steps to Complete

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

The following steps are if you are using your own dispenser. If you elect to use one of the pre-built ones, bring your microcontroller (the ESP32) to one of the pre-built stations. Be careful when removing from the controller board as its easy to bend the pins on the ESP32.

1. Power On the Dispenser

After completing the build step, ensure there is liquid in the bottle, an empty cup underneath, then connect the 9 Volt battery instead of the USB cable for power. Wait until the dispenser is online by viewing the LED status. Now. from 6 inches or 6 feet away click DISPENSE! to pour yourself a drink!

If you wish to record this event for posterity, have someone else video you clicking DISPENSE! and having the dispenser pour the drink. Workshop assistants are glad to be your personal videographer if needed!

If something goes wrong or doesn’t work, review the build steps from the previous lab, or ask a workshop assistant for help.

Click to open for detailed step-by-step instructions

Checkpoints

There is only one checkpoint to verify, and that is you successfully dispensed a drink!

Outcomes

Congratulations! You have successfully completed the Connected Drink Dispenser workshop. We hope that you enjoyed the session and came away with a general understanding in how you can incorporate AWS IoT services into an overall multi-user or multi-tenant AWS workload.

Copyright © 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.