DSpower servo motor hangata e laoloa ka Pulse Width Modulation (PWM). Mokhoa ona oa ho laola o u lumella ho beha shaft ea tlhahiso ea servo hantle ka ho fetola bophara ba maqhubu a motlakase a rometsoeng ho servo. Mona ke kamoo e sebetsang kateng:
Pulse Width Modulation (PWM): PWM ke mokhoa o kenyelletsang ho romela letoto la maqhubu a motlakase ka lebelo le itseng. Paramethara ea bohlokoa ke bophara kapa nako ea molumo o mong le o mong, oo hangata o lekantsoeng ka li-microseconds (µs).
Boemo ba Bohareng: Sebakeng se tloaelehileng sa servo, sekhahla sa ho potoloha ha 1.5 milliseconds (ms) se bontša boemo bo bohareng. Sena se bolela hore shaft ea tlhahiso ea servo e tla ba bohareng ba eona.
Taolo ea Tataiso: Ho laola tsela eo servo e retelehang ho eona, o ka fetola bophara ba pulse. Mohlala:
Ho otla ka tlase ho 1.5 ms (mohlala, 1.0 ms) ho ka etsa hore servo e fetohele ka lehlakoreng le le leng.
Ho otla ho fetang 1.5 ms (mohlala, 2.0 ms) ho ka etsa hore servo e fetohele ka nqa e fapaneng.
Taolo ea Boemo: Bophara ba pulse bo itseng bo amana ka kotloloho le boemo ba servo. Ka mohlala:
Leqhubu la 1.0 ms le ka lumellana le likhato tse -90 (kapa angle e 'ngoe e khethehileng, ho itšetlehile ka litlhaloso tsa servo).
Lekhalo la 2.0 ms le ka lumellana le likhato tse +90.
Taolo e Tsoelang Pele: Ka ho lula u romella matšoao a PWM ka bophara bo fapaneng ba pulse, u ka etsa hore servo e potolohe ho ea ka lehlakoreng le leng le le leng le lakatsehang ka har'a mefuta e boletsoeng.
DSpower Servo Update Rate: Lebelo leo u romellang matšoao ana a PWM ka lona le ka ama tsela eo servo e arabelang ka eona le hore na e tsamaea hantle hakae. Hangata li-Servo li arabela hantle ho lipontšo tsa PWM tse nang le maqhubu a pakeng tsa 50 le 60 Hertz (Hz).
Microcontroller kapa Servo Driver: Ho hlahisa le ho romela lipontšo tsa PWM ho servo, u ka sebelisa microcontroller (joaloka Arduino) kapa module ea servo driver e inehetseng. Lisebelisoa tsena li hlahisa matšoao a hlokahalang a PWM a ipapisitse le kenyeletso eo u fanang ka eona (mohlala, angle e lakatsehang) le litlhaloso tsa servo.
Mona ke mohlala ho khoutu ea Arduino ho bontša hore na u ka laola servo joang u sebelisa PWM:
Mohlala ona, ntho ea servo e bōptjoa, e khomaretsoe pineng e itseng, ebe mosebetsi oa ho ngola o sebelisetsoa ho beha angle ea servo. Servo e fallela lehlakoreng leo ho arabela lets'oao la PWM le hlahisoang ke Arduino.
Nako ea poso: Oct-18-2023