Starting the Automatic Cocktail Maker and Making Drinks!

Starting the Automatic Cocktail Maker and Making Drinks!

With the wiring completed for the automatic cocktail maker it’s time to connect the app, and start making drinks!  If your SirMixABot came pre-assembled this is a good reference point for connecting to your bot.

Starting Up and Making Drinks!

Step 0: Important Note – Do NOT Load Bottles During Setup / Testing

  • While setting up SirMixABot please do not load any bottles, allowing it to find all of its ingredient locations, zero position, etc.
  • Any changes in the wiring will require access underneath your SirMixABot, and keeping the bot unloaded allows easier turning onto its back.
SirMixABot on back
SirMixABot lying on its back

Step 1: Connect SirMixABot to a Power Source

  • Note: Before connecting the power make sure the drink platform is at least 1” away from the “zero position” limit switch.  This will allow the automatic cocktail maker to “home” correctly.
  • Make sure your SirMixABot is connected to a 120V outlet.
  • Your power supply should be set to 9 volts, which can be adjusted using a flat-head screwdriver.
sirmixabot power cable
SirMixABot’s power cable

Step 2: Zero the Drink Actuator on the Lower Limit Switch

  • Manually adjust your drink actuator down the drive rod by spinning with your fingers.  Lower it until resting on the bottom limit switch – the red light should illuminate.
lowered drink actuator
Lowered drink actuator (lower limit switch is on)

Step 3: Manually Adjust Upper Rail Guides and Drink Dispenser Height

  • Attach one of the drink dispensers, and manually roll the drink platform underneath.
  • First twist the drive rod so that the actuator is hitting the lower limit switch,  Make sure there is clearance for the actuator to safely clear underneath.
  • Second (and more technical), twist the drive rod moving the actuator all the way up.  The 3D printed upper rail guides / limit switch holder should be at a level where full extension (hitting the upper limit switch) aligns with the drink dispenser being fully compressed.  Typically you will have to push or tap down the 3D part until it reaches that level.  Also note the dispenser has a somewhat two-stage compression, so make sure it compresses fully.
Drink actuator down
Drink actuator at lowest position, testing clearance
drink actuator up
Drink actuator in upper position (limit switch light is on). Dispenser should be fully compressed.

Step 4: Download Arduino Libraries and Sketch

  • Before moving forward, remember to install the Arduino Software.
  • You can install the pull package here.
  • After doing do, please download the Arduino Sketch itself:

Step 5: Install the Arduino Libraries using the Library Installer

  • To install the libraries, open the Arduino software and then select “Sketch” and “Include Library” then Add .ZIP library (the zip libraries are located wherever you downloaded the libraries above)
install arduino library
Installing the Arduino library

Step 6: Connect Arduino to Laptop Using USB & Set Up WiFi Network

  • Using the supplied USB connector, connect your laptop to the Arduino board.
  • Then open the MixABotHost Sketch, and locate the code-block that includes the wifi credentials that looks like below:
change wifi credentials
Changing the WiFi network credentials
  • Locate the mySSID line and enter your Network Name in the exact alphanumerics. Also ensure that you do the same for your Wifi Network password.
  • To upload the sketch, ensure you’ve selected Arduino MEGA 2560 under Tools – Board – Arduino Mega 2560
arduino mega 2560 selection
Select Arduino Mega 2560
  • Then select the appropriate Serial Port (it should generally identify the port as a USB port, and include a name similar to Arduino or 2560. On Macs it is NOT the ttl or BlueTooth port shown below. If you can not identify the port, you may need to install the appropriate Arduino drivers).
Select port
Select the correct port

Step 7: Upload the Modified Sketch and Watch the Serial Monitor

  • To upload the sketch simply click the Green Arrow Facing Right.
serial monitor green arrow
Green arrow icon
  • After the Sketch has been uploaded, ensure you can see the Arduino processing by clicking on “Tools”, “Serial” monitor.

Step 8: Connect the Power Supply

  • Plug in the  master power supply. The bot should sweep from right to left and stop at the right right limit switch
  • CAUTION: Be Prepared to Unplug the Bot if Wires are NOT plugged in properly.

Step 9: Calibrate Hall Sensor

  • The Hall Sensor at the back of the bot can be VERY sensitive. The Flat section should be as close as possible to the magnets when properly calibrated.
  • If the Hall Sensor is NOT in the appropriate position the serial monitor will print “Can’t pour because there’s no magnet at this location!”. This is a notice that the hall sensor is either not appropriately wired OR that the step size calibration is off.

Step 10: Adjust Brightness on LCD

  • Using a small Phillips head screwdriver you can adjust the brightness of the LCD screen on a screw on the rear of the display.  The screw is housed in a small blue part.
LCD before contrast
LCD before contrast adjustment
adjust LCD contrast
Adjusting the LCD contrast with the rear screw
LCD contrast completed
LCD after contrast is adjusted

Step 11: Adjust Infrared Sensor Sensitivity

  • Using a small Phillips head screwdriver you can adjust the sensitivity of the IR sensor on a screw on the side of the sensor.
  • The second (bottom) light should only come on when a glass is present in front of the sensor.  You can use your hand as a test while adjusting the screw.
IR sensor top light
Top light is for power, bottom light is for IR detection
both lights on IR sensor
Increased, over-sensitive setting (bottom light is triggered with no glass present)

Step 12: Open the App, Set your IP, and Set your Ingredients (but do NOT load bottles yet)

  • With your bottles physically loaded, it’s time to set the ingredients in your app.
  • In the “Setup” section first add your IP address in the “Host Name” field – this can be found on the automatic cocktail maker LCD screen.
  • In the “Setup” section use the drop-downs to add the ingredients you have loaded.
  • Click “Save Settings” and return to the “Home” section.
app IP setup
Setting up the IP in the app

Step 13: Order a Test Drink!

  • Now back on the “Home Screen” click “Available Drinks” to see what cocktails you can make using the loaded ingredients.
  • For any bitters, garnishes, etc. that you may not have, use the “Filter” button on the right to eliminate that from your ingredients.
  • Note the ESP8266 is VERY sensitive. Sometimes it requires several resets before entering a stable voltage mode. We are working on a supplier alternative.
  • Once you hit “Mix It” SirMixABot should move through the various positions and up and down pours to make the cocktail.
app cocktail test
Testing out the app!

Step 14: Load your Bottles and Make a Real Drink

  • Now that your SirMixABot is calibrated, it’s time to load your bottles.  Please watch the User Video (refer to step 1) of how to load your bottles, and get started with the real thing!
loading bottle sirmixabot
Loading a bottle, it’s time for a drink!

 

And at long last, your SirMixABot is assembled and ready to entertain.  Grab your friends, grab your glasses, and get pouring!

Leave a Reply

Your email address will not be published.