Portable Milk Fruther

Submitted by euiyoungkim on Tue, 03/12/2013 - 22:39

<Description>

- My product concept is to develop a handy milk frother consists of DC motor, twisted wire, bolt. It is easy to use, easy to carry on, and easy to clean up. You can simply turn on the button and adjust speed of twisted wire by using a potentiometer. The motor seems to be fast enough to stir milk and make form in a good condition for latte or cappuccino.  

*Please find the attached photos to see the steps that I made to build a prototype.

<Component>

 

- Arduino Uno

- Breadboard

- 20 ohm resistors

- 3v battery

- Potentiometer 

- DC Motor

- Hand-made Milk Frother (Bolt, Glue Gun, Thin wire)

 

 

<Code>

 

/*
 * Milk Frother Device
 * In this lab session, I use potentiometer to adjust speed of
 * a handy milk fruther device. 
    
 * modified version of AnalogInput
 * by DojoDave <http://www.0j0.org>
 * http://www.arduino.cc/en/Tutorial/AnalogInput
 * Modified again by dave
 */
 
int potPin = 0;   // select the input pin for the potentiometer
int motorPin = 9; // select the pin for the Motor
int val = 0;      // variable to store the value coming from the sensor
void setup() {
  Serial.begin(9600);
  pinMode(potPin, INPUT);
  pinMode(motorPin, OUTPUT);
  
}
void loop() {
  val = analogRead(potPin)/4;    // read the value from the sensor, between 0 - 255
  Serial.println(val);
  analogWrite(motorPin, val); // analogWrite can be between 0-1024
}
 

 

Screen Shot 2013-03-12 at 오후 11.31.02.png
Screen Shot 2013-03-12 at 오후 11.35.42.png
Screen Shot 2013-03-12 at 오후 11.37.53.png
Screen Shot 2013-03-12 at 오후 11.38.23.png
Screen Shot 2013-03-12 at 오후 11.39.07.png
0
Your rating: None
Drupal theme by Kiwi Themes.