top of page
Arduino Automatic Coffee Stirrer.jpg
Arduino Automatic Coffee Stirrer

★ᴀʀᴅᴜɪɴᴏ ᴀᴜᴛᴏᴍᴀᴛɪᴄ ᴄᴏꜰꜰᴇᴇ ꜱᴛɪʀʀᴇʀ 

Arduino Automatic Coffee Stirrer 002.jpg
COMPONENTS AND SUPPLIES
Arduino Automatic Coffee Stirrer 001.jpg
Video 
Schematic
Download Button Ui 1.png
Circuit Diagram.jpg
Code
Download Button Ui 1.png
CODE Window 1.png

#include <Servo.h>

 

Servo myservo;  //Servo pin connect Digital Pin 2

 

int pos = 0;

void setup() {

       myservo.attach(2);

  }

 

void loop() {

       for(pos = 0;

       pos < 25; pos += 1)

    {

        myservo.write(pos);

            delay(20);

    }

        for(pos = 25;

        pos>=1; pos-=1)

      {

          myservo.write(pos);

       delay(20);

    }

 }

bottom of page