One-stop Electronic Manufacturing Services, pab koj yooj yim ua tiav koj cov khoom siv hluav taws xob los ntawm PCB & PCBA

Puas tuaj yeem ib-chip microcomputer tsav relay thiab solenoid valve ncaj qha?

Txawm hais tias qhov teeb meem no tsis tsim nyog hais txog lub tshuab hluav taws xob qub dawb, tab sis rau cov phooj ywg pib microcontroller, muaj ntau tus neeg nug cov lus nug no. Txij li thaum kuv yog ib tug pib, kuv kuj yuav tsum tau qhia luv luv hais tias lub relay yog dab tsi.

txfd (1)

Lub relay yog hloov, thiab qhov hloov pauv no yog tswj los ntawm lub kauj hauv nws. Yog hais tias lub coil yog energized, lub relay rub mus rau hauv thiab hloov ua haujlwm.

txfd (2)

Ib txhia kuj nug tias dab tsi yog lub kauj? Saib daim duab saum toj no, tus pin 1 thiab tus pin 2 yog ob tus pins ntawm lub kauj, tus pin 3 thiab tus pin 5 yog tam sim no dhau los, thiab tus pin 3 thiab tus pin 2 tsis yog. Yog tias koj ntsaws tus pin 1 thiab tus pin 2, koj yuav hnov ​​​​cov relay tawm, thiab tus pin 3 thiab tus pin 4 yuav ploj mus.

Piv txwv li, yog tias koj xav tswj lub on-off ntawm ib txoj kab, koj tuaj yeem txhob txwm ua txhaum txoj kab, ib qho kawg txuas nrog 3 taw, ib kawg txuas rau 4 ko taw, thiab tom qab ntawd los ntawm kev siv hluav taws xob thiab hluav taws xob tawm ntawm lub kauj. , koj tuaj yeem tswj qhov on-off ntawm kab.

Qhov voltage npaum li cas yog siv rau tus pin 1 thiab tus pin 2 ntawm lub kauj?

Qhov teeb meem no yuav tsum tau saib rau pem hauv ntej ntawm lub relay koj siv, xws li ib tug kuv tab tom siv tam sim no, koj pom tau hais tias nws yog 05VDC, yog li ntawd koj yuav muab 5V rau lub kauj ntawm lub relay, thiab relay yuav kos.

Yuav ua li cas ntxiv coil voltage? Thaum kawg peb tau mus txog qhov kawg.

Koj tuaj yeem siv ob txhais tes ncaj qha los tuav 5V thiab GND xaim ncaj qha mus rau ob tus pins ntawm relay coil, koj yuav hnov ​​lub suab.

Yog li cas peb voltage nws nrog ib tug microcontroller? Peb paub tias tib lub nti microcomputer tus pin tuaj yeem tso tawm 5V, nws puas tsis ncaj qha txuas nrog tib lub nti microcomputer tus pin relay coil, nws puas yog?

Cov lus teb tsis yog lawm. Yog vim li cas?

Nws tseem yog Ohm txoj cai.

Siv ib tug multimeter los ntsuas qhov tsis kam ntawm relay coil.

txfd (3)

Piv txwv li, qhov tsis kam ntawm kuv relay coil yog hais txog 71.7 ohms, ntxiv 5V voltage, tam sim no yog 5 faib los ntawm 71.7 yog hais txog 0.07A, uas yog 70mA. Nco ntsoov, qhov tso zis ntau tshaj plaws ntawm tus pin zoo tib yam ntawm peb ib lub nti microcomputer yog 10mA tam sim no, thiab qhov siab tshaj plaws ntawm tus pin tam sim no loj yog 20mA tam sim no (qhov no tuaj yeem xa mus rau cov ntaub ntawv ntawm ib nti microcomputer).

Saib, txawm hais tias nws yog 5V, qhov tso zis tam sim no muaj peev xwm raug txwv, thiab nws tsis tuaj yeem ncav cuag qhov tam sim no ntawm kev tsav tsheb relay, yog li nws tsis tuaj yeem tsav lub relay ncaj qha.

Thaum ntawd yog thaum koj yuav tsum paub ib yam dab tsi tawm. Piv txwv li, siv lub triode S8050 tsav. Daim duab Circuit Court yog raws li nram no.

txfd (4)

Saib ntawm S8050 datasheet, S8050 yog NPN raj, qhov siab tshaj plaws tso cai tam sim no ntawm ICE yog 500mA, deb tshaj 70mA, yog li tsis muaj teeb meem kiag li nrog S8050 tsav relay.

Yog tias koj saib ntawm daim duab saum toj no, ICE yog qhov tam sim no ntws los ntawm C mus rau E, uas yog tam sim no nyob rau hauv ib txoj kab nrog relay coil. NPN triode, ntawm no yog qhov hloov pauv, MCU tus pin tso zis 5V qib siab, ICE ntawm tus relay yuav raug kos; SCM tus pin tso zis 0V qis qis, ICE raug txiav tawm, lub relay tsis kos.

Nyob rau hauv tib txoj kev, lub solenoid valve kuj yog ib qho load nrog me me tsis kam thiab lub zog loj, thiab nws tseem yuav tsum tau xaiv cov tsav tsheb tsim nyog raws li txoj cai Ohm saum toj no.


Post lub sij hawm: Lub Xya hli ntuj-12-2023