Cocktail Maker Log

From ESE205 Wiki
Jump to navigation Jump to search

Week of January 27th

Cj Wilson: ~2 hours~ Created trello, formed general Gantt Chart, edited wiki, found some materials.

Whole Group: ~2 hours~ Formatted and found material prices

Goals for Next week:

  • Order parts
  • Finalize project idea
  • Create drawing of prototype
  • Start designing 3D parts
  • Work on if not complete the night light challenge

Week of February 4

Whole group:~1.5 hours~ Brainstormed ideas for construction and solidified parts

Wika: Ordered parts - weight sensor, tubing, pump

Cj Wilson ~1hr~ Compiled list of 3D printed parts needed and designed spout

Tom ~1hr~ Work on presentation

Whole group: ~3hrs~ Worked on night light challenge (circuit), and completed blink with arduino

Whole group: ~3 hours~ Soldered the NL perfboard, designed and sent to printing for the NL 3D case, put parts in locker, created presentation

Diagram of perfboard
















Code for arduino on GitHub

Goals for next week:

Test out parts

Find Coding

Week of Febuary 11

Whole group: ~3hrs~: worked on design flaws, must return some parts. discussed compilation of parts

2/14 Cj Wilson: ~1.5 hr~ Sketched design for bottle holders and researched code for the pumps now on trello.

Design2.PNG

2/17/19 Whole Group: Flow Chart for arduino pins

Bib circuit 1.PNG



Goals for Next Week:

Complete arduino blinker

Test out materials

Solidify Flow chart

Decide on bottle size and purchase

3d print night light from different source

A/D converter testing


Week of February 18

2/18/19 CJ and Weronika: ~1 hr~ made external LED blink, team meeting


2/22/19 CJ ~4 hrs~ soldered the battery back onto the nightlight and put it together. Checked if Pump worked attached to 12V, connected to driver, pumps water, created code to pump water for certain times.

Screen Shot 2019-02-22 at 3.43.20 PM.png

Screen Shot 2019-02-24 at 2.10.28 PM.png

2/24/19 Cj~ 2hrs~ tested the photo resistor, need to do further testing with stronger LEDS. Tested with plastics cups and water. Results: slight change but need to confirm to see if they are drastic enough and consistent for accurate readings.

two yellow: with water~ 12 without water~12.5

two blue: with water~ 11 without water~ 15 blue light is better

2/24/19 Tom ~2hr~ Made code diagrams and worked on code

Goals for next week:

Start coding for drinks

Test weight sensor

Figure out our display

Week of February 25th

Tom ~ 2hr~ Changed code chart and worked on lcd display

Screen Shot 2019-02-25 at 12.44.56 PM.png

Cj~1.5hr~ 3/1 Worked on Photoresistor, stumbled upon the idea of using a sonar. did some basic research on how to hook up sonar. Tested with plastic and glass

Glass with water--2.8kiloohms Glass without water--2.3kiloohms

Plastic with water--3.1kiloohms Plastic without water-- 2.6 kiloohms

Cj~2.5hrs~Hooked up sonar and coded it to sense when an object is 6 inches away. once it is atleast 6 inches away an LED goes from green to red. I think that this will be a more accurate way to tell distance. I did test with water and it seems to work.

Goals for next week:

Have screen menu coded

Get bottles and create case for them

Test weight sensor

More testing on sonar

Startcode for motors

hook up relay with motor

Test the photoresistor with voltage divider

Week of March 4

Whole Group~1hr~ team meeting. discussed deliverables

Tom ~3hr~ Got LCD display working [1]

CJ: Ultra sonics vs Light Resistor, get holder modeled, How is the container going to look

Weronika: Get weight sensor working (if it comes in time), get the pump to stop pumping when a threshold is reached. Get motor and relay working the arduino can turn on the relay that will allow the motor to turn on.

Tom: Program LCD to be able to select thru different menus, feed back from LCD to arduino

Will: Show team how to use the 5V relay module, ref voltage

Cj Wilson ~2hrs~ 3/7/19

tester with LED BLue and 220k resistor:

plastic cup:

with water: 835

without water: 940

learned about analog reference, Reference voltage and the voltage divider. Attempted to calculate resistance need to get a factor of ten difference but every approach gave us negative numbers for the resistance. Will design case for both and discuss further with Jim.

Tom~1hr~ 3/7/19 Worked on LCD and got return to work for first drink.


Cj~longer than it should have been~ 3/10/19 Awkwardly asked flight attendant for bottles after they did concessions for everyone mission accomplished!


Cj Wilson~4hrs~3/13/19

Designed bottom and tops for bottles

BIB Sensor Top.JPG Sonar Top

BIB Sensor Base.JPG Sonar Bottom

BIB Photoresistor Base.JPG Photoresistor Base

Tom ~1.5hr~ 3/17/19 Added another failsafe to LCD Display

Tom ~1 hr~ 3/17/19 Cleaned up LCD and started to write a check method


LCD Display

Weronika ~2hr~ 3/14/2019 Connected load cell components, found code and measured weight with arduino. Need to find mass of known weight to find calibration factor (-270) and change units from lbs to grams. Calibration code and scale code on github

Weronika ~3hr~ 3/17/2019 Connected relay, two drivers, three pumps and arduino, need to troubleshoot

Weronika ~4hr~ 3/8/2019 Got pumps to alternate running on a timer (code on github), began working on code to make pumps run until threshold and then switch to next pump. Load cell is best used when mounted. Changed load cell units to grams.

Pumps alternating on a timer

Week of 3/18

To Do this week:

Meet with Jim with reference on Wednesday?

- need to meet with Weronika

Tom~2 hr~ 3/18/19 Finished LCD and worked on check supplies method

Cj WIlson~ 1 hr~ 3/18/19 worked with tom on screening.

Weronika ~2hr~ 3/19/19 rewired relay to use one driver

Tom~2hrs~ 3/19/19 Worked on weight sensor and empty method

Relay schematic.JPG

Cj Wilson~2hrs~ 3/20/19 Discussed with Jim next steps for Photoresistor. Calculated the ideal resistor by taking the voltage equation and maximizing it. The ideal resistor we need is 11.8k. Created the Arduino code for the Photoresistor to test if bottle is empty. I think.

Tom~1hrs~ 3/19/19 Worked on weight sensor

Weronika ~1hr~ with Will, modified arduino code to switch relay upon input. Cj, Will and I filmed this lovely video:

Relays switching upon 1, 2, 3, 0 input to serial monitor, with pump 3 pumping water. Code on Github.

Tom~ 1hr~ worked on weight sensor code to near completion and worked on integrating code

Week of 3/25

To Do this week:

Drink Code

Mount Calibration Factor

Cj Weronika Tom and Will 3-26-19 ~2hrs~ Decided on dimensions, added setup to the LCD code, planned out construction of the box. Concluded that we must work all together on drink code. Scheduled times to meet up and work on it. Broke down Drink code steps. 3-26-19 Enigneering time.jpg Cj Weronika 3-26-19 ~1hr~ Worked on mount for weight sensor

Tom 3-26-19 ~1hr~ added states to the state machine

Cj 3-26-19 ~1hr~ Constructed weight sensor

Cj 3-27-19 ~5 hours~ Constructed the drink code and Mount Calibration factor issues.

Tom 3-27-19 ~1/2 hr~ commented code and cleaned it up

Cj 3-28-19 ~1hr~ drew the holes for the weight sensor, Drilled holes in the wood and mounted the weight sensor onto boards. looks good.

Tom 3-29-19 ~1hr~ cleaned up code

Cj 3-29-19 ~3 hrs~ Worked on calibrating the load cell and running liquid tests. Having trouble finding consistent calibration factor due to the weight drifting. tenative calibration factor is around -1995?