Motar DSpower servo ana sarrafa ta da yawa ta hanyar Tsarin Nisa na Pulse (PWM). Wannan hanyar sarrafawa tana ba ku damar daidaita madaidaicin magudanar fitarwa ta servo ta hanyar bambanta faɗin bugun bugun wutar lantarki da aka aika zuwa servo. Ga yadda yake aiki:
Modulation Width Pulse (PWM): PWM wata dabara ce da ta ƙunshi aika jerin bugun wutar lantarki a takamaiman mitar. Maɓallin maɓalli shine faɗi ko tsawon lokacin kowane bugun jini, wanda yawanci ana auna shi cikin microseconds (µs).
Matsayin Cibiyar: A cikin servo na yau da kullun, bugun jini na kusan millise seconds 1.5 (ms) yana nuna matsayin tsakiya. Wannan yana nufin mashin fitarwa na servo zai kasance a tsakiyar wurinsa.
Gudanar da Jagora: Don sarrafa jagorar da servo ya juya, zaku iya daidaita girman bugun jini. Misali:
Ƙunƙarar bugun jini ƙasa da 1.5 ms (misali, 1.0 ms) zai sa servo ya juya waje ɗaya.
Ƙwararren bugun jini fiye da 1.5 ms (misali, 2.0 ms) zai sa servo ya juya zuwa kishiyar hanya.
Sarrafa Matsayi: Ƙayyadadden ƙayyadaddun bugun bugun jini yana daidaita kai tsaye tare da matsayi na servo. Misali:
Ƙwararren bugun jini na 1.0 ms zai iya dacewa da digiri -90 (ko wani takamaiman kusurwa, ya danganta da ƙayyadaddun servo).
A 2.0 ms bugun jini na iya yin daidai da +90 digiri.
Ci gaba da Sarrafa: Ta ci gaba da aikawa da siginar PWM a kowane nisa daban-daban, zaku iya sanya servo ta juya zuwa kowane kusurwar da ake so a cikin kewayon kewayon sa.
Matsakaicin Sabunta DSpower Servo: Gudun da kuke aika waɗannan siginonin PWM na iya shafar yadda saurin servo ke amsawa da kuma yadda yake tafiya cikin sauƙi. Servos yawanci amsa da kyau ga siginar PWM tare da mitoci a cikin kewayon 50 zuwa 60 Hertz (Hz).
Microcontroller ko Servo Driver: Don samarwa da aika siginar PWM zuwa servo, zaku iya amfani da microcontroller (kamar Arduino) ko ƙwararren direban servo. Waɗannan na'urori suna haifar da mahimman alamun PWM dangane da shigarwar da kuka bayar (misali, kusurwar da ake so) da ƙayyadaddun servo.
Ga misali a cikin lambar Arduino don kwatanta yadda zaku iya sarrafa servo ta amfani da PWM:
A cikin wannan misali, an ƙirƙiri wani abu na servo, an haɗa shi zuwa takamaiman fil, sannan a yi amfani da aikin rubuta don saita kusurwar servo. Sabis ɗin yana motsawa zuwa wannan kusurwar don amsa siginar PWM da Arduino ya haifar.
Lokacin aikawa: Oktoba-18-2023