Gesture controlled robotic Arm using Arduino UNO | Simulation |Potentiometer / Resistive Sensor
——————————————————————————————————————————————————————

? Tune with us so you never miss any update
————————————————————————————————————————————————————-
?️Telegram : https://t.me/electronicsdeveloper
?️Facebook : https://www.facebook.com/electronicsdeveloper/
?️Instagram : https://www.instagram.com/electronics_developer/
?️Tweeter : https://twitter.com/Electronics_Dev?s=09
?️LinkedIn : https://www.linkedin.com/company/electronics-with-shreyash
?️Pinterest : https://in.pinterest.com/electronics_developer/

——————————————————————————————————————————————————————
On this Channel we Upload Conceptual parts of Embedded systems in which Sensors, Modules, Transducer etc interfacing as a subpart of mega projects if you like this content or You want a help to do projects similar to that tutorial content, comment your Email Address I will share necessary documents which helps you.

Thank you !

, https://i.ytimg.com/vi/W3Ri5wuHuBE/hqdefault.jpg

source

5 Comments

  1. Source code:
    #include <Servo.h>

    #include<EEPROM.h>

    Servo servo1;

    Servo servo2;

    Servo servo3;

    Servo servo4;

    int pin1 = 0;

    int pin2 = 1;

    int pin3 = 2;

    int pin4= 3;

    int val;

    int data;

    void setup() {

    servo1.attach(11);

    servo2.attach(10);

    servo3.attach(9);

    servo4.attach(3);

    }

    void loop() {

    val = analogRead(pin1);

    val = map(val, 0, 1023, 0, 180);

    EEPROM.write(data,val);

    servo1.write(val);

    delay(1);

    val = analogRead(pin2);

    val = map(val, 0, 1023, 0, 180);

    EEPROM.write(data,val);

    servo2.write(val);

    delay(1);

    val = analogRead(pin3);

    val = map(val, 0, 1023, 0, 180);

    EEPROM.write(data,val);

    servo3.write(val);

    delay(1);

    val = analogRead(pin4);

    val = map(val, 0, 1023, 0, 180);

    EEPROM.write(data,val);

    servo4.write(val);

    delay(1);

    }

Leave a Reply

Your email address will not be published. Required fields are marked *