fcw
Published © Apache-2.0

Mali Robotik Testere

Best school project of ybfl.

IntermediateProtip737
Mali Robotik Testere

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
USB-A to Mini-USB Cable
USB-A to Mini-USB Cable
o kullandığımız küçük kabloların ismini unuttum bunlar onlar
×23
SG90 Micro-servo motor
SG90 Micro-servo motor
her bir eklem için birer tane kullandım
×3
DC motor (generic)
testere olarak kullandım
×1
9V battery (generic)
9V battery (generic)
×1
AA Batteries
AA Batteries
piller i pil yataklarıyla birleştirerek 15 v enerji kaynağı oluşturur.
×4
Circular Shell, Brass Body
Circular Shell, Brass Body
yukarıdaki geçersiz.vücut olarak 2 çubuk kullandım bir karton kestim
×1

Hand tools and fabrication machines

Hot glue gun (generic)
Hot glue gun (generic)

Story

Read more

Code

bilg_projesi.ino

Arduino
kodlar kesin doğru
#include<Servo.h>
Servo s1;
Servo s2;
Servo s3;
void setup() {
s1.attach(9);
s2.attach(10);
s3.attach(11);

 Serial.begin(9600);
}

void loop() {
   int p1=analogRead(A0);
 int p2=analogRead(A1);
 int p3=analogRead(A2);
int a1=map(p1,0,1023,0,180);
  int a2=map(p2,0,1023,0,180);
  int a3=map(p3,0,1023,0,180);
  s1.write(a1);
  s2.write(a2);
    s3.write(a3);
    Serial.println(a3);
       Serial.println(a2);
          Serial.println(a1);
}

Credits

fcw
1 project • 0 followers

Comments