Friday, December 12, 2014

Fritzing and Arduino Code

The following is the final code for our project and the wiring.


#include <Servo.h>

Servo myservo;
int val;

void setup()
{
  Serial.begin(9600);
  myservo.attach(12);
  myservo.write(120);
}
void loop()
{
  Serial.println(analogRead(0));
  val = analogRead(0);
  
  if(val > 500)
  {
  myservo.write(60);
  delay(5000);
  myservo.write(120);
  while(1) { }
  }
  delay(1500);

Written by Brendan Ford

Presenting the Project

Although we ran into a problem with our relay and the coffee maker was not 100% working, we presented the final product at UCrossing today. Many people were interested in our coffee maker and wanted to know how it worked. Overall, the presentation went very well and we got to see a lot of other group's projects as well.

Presenting our project.


Final Product.

Written by: William Jacobson

Thursday, December 11, 2014

Final Hours

These are the total amount of hours everyone in the group has contributed to the project.

Alexander Cushing- 6 hours
William Jacobson- 14 hours
Brendan Ford- 13 hours
Corey Garrigan- 12 hours

Written by: Corey Garrigan

Finalizing the Project

We ran into some major speed bumps in creating the project, but it's done. It took a while to create all the parts, but we got them and assembled the support beams and the plates onto the coffee machine.

The coding ended up having too many problems and began consuming too much time. In order to complete the project on time it had to be altered slightly. Instead of being activated through a text message, it is now activated using a photo resistor. When there is enough light, the coffee machine will be turned on. This way when you turn the lights on in the morning, your coffee will begin brewing.


Written by: Brendan Ford

Parts Made

After running into a few problems and waiting in line for over an hour, we got our laser cut parts made. Due to problems with the 3D printer, we could not get our part printed. So we had to redesign the water reservoir door so it could be laser cut.

Mounting bracket (blue) and water reservoir door (green). 

Laser cutter used.

Written by: William Jacobson


Tuesday, December 9, 2014

Problems with Coding

Brendan and Alex sat down today to try and finish the coding for the Raspberry Pi and the Arduino. Without getting too technical we're having trouble getting the Raspberry Pi to read the text message and send an output message to the user. This is a major setback and is going to hold back the whole project if it can't be solved.

We're going to try to see if they can solve the problem tomorrow, but if we can't we may have to resort to Twitter controlling the Raspberry Pi. This would be a bit easier as most of this code has already been written and is known to be functional. It's not ideal, but at least it will work.

Brendan also wrote most of the Arduino code that will receive the code from the Pi and output power. All that's left is to write the code for the motors.




Written by: Brendan Ford

Monday, December 8, 2014

Coding is Almost Done

The Electrical Team worked on the code a little bit today. They've adapted some code taken from this source. This code is written for the Raspberry Pi that will automatically check a Google Voice inbox for messages.

Alex and Brendan have made some changes to the code so that it will check the inbox and output a serial to the Arduino. It still needs some work, but progress has been made.

Hours Worked:

Alex- 1 hour
Brendan 1 hour

Written by: Brendan Ford