You are on page 1of 8

Home

Arduino
LEGO TECHNIC DIY

Tower Pro
9g SG90

SG90

Tower Pro 9g SG90



,
0
180 .

SG90 ( Micro
Servo 9g ):
: 3V 7.2V ()
:22mm x 11.5mm x 22.5mm
: 9
: -30 +60

( Ground,
GND Arduino )
+5 V (
5V Arduino )
(
Arduino )

Tower Pro 9g SG90

Tower Pro.


Servo,

.

1 #include <Servo.h>

, .

1 Servo myservo;

setup()
.
9.
1 void setup()
2 {
3 myservo.attach(9);
4 }

1 void loop()
2 {
3 myservo.write(60);
4 delay(100);
5 }


60 .

SG90
,
1
.

Tower Pro 9g SG90

1 #include <Servo.h>
2
3 Servo myservo;
4
5 void setup()
6 {
7 myservo.attach(9);
8 }
9
10 void servoslow( Servo num, int pos, int time, int start) // robotday.ru ***
11 {
12 num.write(start);
13
14 for ( int i=start; i<pos; i++)
15 { num.write(i);
16 delay(time);
17 }
18 }
19
20 void loop()
21 {
22
23 servoslow(myservo, 180, 10, 0);
24
25 }

servoslow.


:
1.
2. ( )
3. (
,
)
4. .


.
0 180
.
,
,
,
.

.
, 0
10-15
,
165-170 .

.

,
.

,


.
,
,

.

Arduino, SG90,

10
Bu4 says: March 12, 2017 at 11:35 pm


?
9v = 1.67a
5v = 2.0a

?
Reply

Anonymous says: January 11, 2017 at 2:21 pm

Reply

says: January 11, 2017 at 2:59 pm

.
. ?

Reply

says: December 25, 2016 at 6:54 am


:
, ,

1/. ?

Reply

says: January 4, 2017 at 1:24 pm

. , .
, , .

, .

Reply

says: October 30, 2016 at 8:19 pm

, , Class Servo
myServo.read()

Reply

says: October 30, 2016 at 8:09 pm

, ,
Tower Pro 9g SG90?

Reply

says: November 4, 2016 at 2:27 pm


. .

( ,
) .

.

Reply

Anonymous says: March 8, 2017 at 4:24 pm

Reply

| April 1, 2015 at 12:05 pm


says:
[] Tower Pro
9g SG90
[]

Reply

Leave a Reply
Your email address will not be published.
Comment

Name

Email

Website

Post Comment

Powered by WordPress | Fluxipress Theme