E 'ngoe-stop Electronic Manufacturing Services, e u thusa ho fumana lihlahisoa tsa hau tsa elektroniki habonolo ho tsoa ho PCB & PCBA

Na microcomputer e le 'ngoe e ka tsamaisa relay le valve ea solenoid ka kotloloho?

Le hoja bothata bona bo sa lokela ho boleloa bakeng sa 'mala o mosoeu oa khale oa elektronike, empa ho metsoalle e qalang ea microcontroller, ho na le batho ba bangata haholo ba botsang potso ena. Kaha ke motho ea qalang, ke boetse ke hloka ho hlahisa ka bokhutšoanyane hore na relay ke eng.

dtrfd (1)

Relay ke sesebelisoa, 'me sesebelisoa sena se laoloa ke khoele ka hare ho sona. Haeba khoele e matlafalitsoe, relay e hula kahare mme switch e sebetsa.

dtrfd (2)

Batho ba bang ba boetse ba botsa hore na khoele ke eng? Sheba setšoantšo se ka holimo, pin 1 le pin 2 ke lipini tse peli tsa khoele, pin 3 le pin 5 li se li felile, 'me pin 3 le pin 2 ha li joalo. Ha o kenya pin 1 le pin 2, o tla utlwa hore relay e tima, ebe pin 3 le 4 e tla tima.

Ka mohlala, haeba u batla ho laola ho theoha ha mohala, u ka senya mohala ka boomo, ntlha e 'ngoe e hokahane le maoto a 3, ntlha e' ngoe e hokahane le maoto a 4, ebe ka ho matlafatsa le ho tima coil. , o ka laola ho theoha ha mohala.

Ke motlakase o kae o sebelisoang ho pin 1 le pin 2 ea khoele?

Bothata bona bo hloka ho sheba ka pele ho relay eo u e sebelisang, joalo ka eo ke e sebelisang hona joale, u ka bona hore ke 05VDC, kahoo u ka fana ka 5V ho khoele ea relay ena, 'me relay e tla hula.

Mokhoa oa ho eketsa voltage ea coil? Qetellong re ile ra fihla ntlheng.

U ka sebelisa matsoho a mabeli ka ho toba ho tšoara mohala oa 5V le GND ka ho toba ho lithapo tse peli tsa coil ea relay, u tla utloa molumo.

Joale re mo kenya motlakase joang ka microcontroller? Rea tseba hore pin ea microcomputer e le 'ngoe e ka hlahisa 5V, na ha e kopane ka kotloloho le coil e le 'ngoe ea microcomputer pin relay, ho lokile?

Ka sebele karabo ha e joalo. Hobaneng ha ho le joalo?

E ntse e le molao oa Ohm.

Sebelisa multimeter ho lekanya ho hanyetsa ha coil ea relay.

dtrfd (3)

Ka mohlala, ho hanyetsa ha coil ea ka ea relay ke hoo e ka bang 71.7 ohms, ho eketsa 5V voltage, hona joale ke 5 e arotsoe ke 71.7 e ka bang 0.07A, e leng 70mA. Hopola, tlhahiso e phahameng ea phini e tloaelehileng ea chip microcomputer ea rona ke 10mA ea hajoale, 'me tlhahiso e phahameng ea phini e kholo ea hajoale ke 20mA ea hajoale (sena se ka lebisa ho database ea "single chip microcomputer".

Bona, le hoja e le 5V, matla a hona joale a hlahisoang a lekanyelitsoe, 'me a ke ke a fihla hona joale a relay ea ho khanna, kahoo e ke ke ea khanna ka ho toba relay.

Ke nako eo u lokelang ho nahana ka eona. Ka mohlala, sebelisa koloi ea triode S8050. Setšoantšo sa potoloho ke se latelang.

dtrfd (4)

Sheba database ea S8050, S8050 ke tube ea NPN, boholo bo lumelletsoeng ba ICE ke 500mA, bo boholo ho feta 70mA, kahoo ha ho na bothata ho hang ka S8050 drive relay.

Haeba u sheba setšoantšo se ka holimo, ICE ke hona joale e phallang ho tloha ho C ho ea ho E, e leng hona joale moleng o nang le coil ea relay. NPN triode, mona ke switch, MCU pin output 5V high level, ICE ho relay e tla huloa; SCM pin e hlahisoang 0V boemo bo tlase, ICE e khaotsoe, relay ha e hule.

Ka mokhoa o ts'oanang, valve ea solenoid e boetse ke mojaro o nang le khanyetso e nyane le matla a maholo, hape hoa hlokahala ho khetha likarolo tse loketseng tsa ho khanna ho latela mokhoa o ka holimo oa molao oa Ohm.


Nako ea poso: Jul-12-2023