Ihe oru ngo a na-akọwa ka enwere ike ibugharị moto DC gaa n'ihu ma ọ bụ tụgharịa ntụgharị site na iji ihe njikwa TV ma ọ bụ DVD.Ebumnuche bụ iwulite ọkwọ ụgbọ ala bi-directional dị mfe nke na-eji ụgbọ oloko pulse infrared 38kHz modulated (IR) maka ebumnuche a na-ejighi microcontroller ma ọ bụ mmemme ọ bụla.
Egosiri ihe nlere anya nke odee na Fig. 1.
Circuit na arụ ọrụ
E gosipụtara eserese okirikiri nke ọrụ ahụ na Fig. 2. A na-ewu ya gburugburu IR receiver module TSOP1738 (IRRX1), afọ iri counter 4017B (IC2), ọkwọ ụgbọ ala L293D (IC3), transistor PNP BC557 (T1), transistor BC547 NPN abụọ ( T2 na T3), 5V ike ọkọnọ ike (IC1), na batrị 9V.
Ejikọrọ batrị 9V site na diode D1 na voltaji regulator 7805 iji mepụta 5V DC achọrọ maka ọrụ ahụ.A na-eji Capacitor C2 (100µF, 16V) maka ọjụjụ ripple.
N'okpuru ọnọdụ nkịtị, pin 3 nke IR modul IRRX1 dị na ezi uche dị elu, nke pụtara transistor T1 ejikọrọ na ya na-ebipụ ya ya mere ọnụ ọgụgụ onye nchịkọta ya dị ala.Onye na-anakọta nke T1 na-ebugharị elekere elekere nke afọ iri IC2.
N'ịtụ aka n'ebe dịpụrụ adịpụ kwupụta modul IR na ịpị igodo ọ bụla, modul ahụ na-enweta 38kHz IR pulses site na njikwa anya.A na-atụgharị mkpụrụ akụ ndị a na onye na-anakọta T1 ma nye ya na ntinye ntinye elekere 14 nke afọ iri IC2.
Mmụba IR na-abata na-abawanye counter afọ iri n'otu ọnụego (38kHz) mana n'ihi ọnụnọ RC nzacha (R2=150k na C3=1µF) na ntinye ntinye elekere 14 nke IC2, ụgbọ oloko na-apụta dị ka otu usu na counter.Ya mere, na ịpị igodo ọ bụla, counter na-aga n'ihu site na otu ọnụ ọgụgụ.
Mgbe ewepụtara igodo remote, capacitor C3 na-apụ site na resistor R2 na ahịrị elekere na-aghọ efu.Ya mere, oge ọ bụla onye ọrụ pịa ma wepụta igodo dị na ebe dịpụrụ adịpụ, counter na-enweta otu usu na ntinye elekere ya na LED1 na-egbuke egbuke iji gosi na anabatala usu ahụ.
N'oge arụ ọrụ, enwere ike inwe ohere ise:
Ikpe 1
Mgbe etinyere igodo remote, pulse nke mbụ na-abịarute na mmepụta O0 nke afọ iri (IC2) na-aga elu ebe ntụtụ O1 ruo O9 dị ala, nke pụtara transistors T2 na T3 nọ n'ọnọdụ ebipụ.A na-adọta ndị na-anakọta ma transistors na steeti dị elu site na 1-kilo-ohm resistors (R4 na R6), yabụ ma ntinye ntinye IN1 na IN2 nke ọkwọ ụgbọ ala L293D (IC3) dị elu.N'oge a, moto ahụ nọ n'èzí.
Ikpe 2
Mgbe ịpịrị igodo ọzọ, pulse nke abụọ rutere n'ahịrị CLK na-abawanye counter otu.Ya bụ, mgbe pulse nke abụọ rutere, mmepụta O1 nke IC2 na-aga elu, ebe ihe ndị fọdụrụnụ dị ala.Yabụ, transistor T2 na-eduzi na T3 ebipụla.Nke pụtara voltaji na onye na-anakọta T2 na-agbada ala (IN1 nke IC3) na voltaji na onye na-anakọta T3 na-adị elu (IN2 nke IC3) na ntinye IN1 na IN2 nke ọkwọ ụgbọ ala IC3 na-aghọ 0 na 1 n'otu n'otu.N'ọnọdụ a, moto na-atụgharị n'ihu n'ihu.
Ikpe 3
Mgbe ịpịrị igodo ọzọ, pulse nke atọ rutere n'ahịrị CLK na-abawanye counter otu ọzọ.Ya mere, mmepụta O2 nke IC2 na-aga elu.Ebe ọ bụ na ọ dịghị ihe jikọrọ ya na O2 pin na ntinye mmepụta O1 na O3 dị ala, ya mere ma transistors T2 na T3 na-aga na-ebipụ ala.
A na-adọta ọdụ ndị na-anakọta ọnụ nke ma transistors gaa na steeti dị elu site na 1-kilo-ohm resistors R4 na R6, nke pụtara ntinye ntinye IN1 na IN2 nke IC3 na-adị elu.N'oge a, moto ahụ adịkwaghị ala ọzọ.
Ikpe 4
Mgbe ịpịrị igodo ọzọ, pulse nke anọ rutere n'ahịrị CLK na-abawanye counter site na otu ugboro anọ.Ugbu a mmepụta O3 nke IC2 na-aga elu, ebe ihe ndị fọdụrụ dị ala, ya mere transistor T3 na-eduzi.Nke pụtara voltaji na onye na-anakọta T2 na-adị elu (IN1 nke IC3) na voltaji na onye na-anakọta T3 na-adị ala (IN2 nke IC3).Yabụ, ntinye IN1 na IN2 nke IC3 nọ na ọkwa 1 na 0, n'otu n'otu.N'ọnọdụ a, moto na-atụgharị na ntụgharị ntụgharị.
Ikpe 5
Mgbe ịpịrị igodo nke ugboro ise, pulse nke ise rutere n'ahịrị CLK na-abawanye counter otu ugboro ọzọ.Ebe ọ bụ na wired O4 (pin 10 nke IC2) ka etinyere pin 15 ntinye ntinye nke IC2, ịpị maka oge nke ise na-eme ka afọ iri IC laghachi na ọnọdụ nrụpụta ike na O0 dị elu.
Ya mere, sekit na-arụ ọrụ dị ka onye ọkwọ ụgbọ ala bi-directional nke ejiri njikwa infrared na-achịkwa.
Mwube na ule
Enwere ike ikpokọta sekit ahụ na Veroboard ma ọ bụ PCB nke egosipụtara n'ezie nha nha ya na Fig. 3. E gosipụtara okirikiri nhọrọ ukwuu maka PCB na Fig.
Budata PDFs PCB na nhazi akụrụngwa:pịa ebe a
Mgbe ikpokọta sekit, jikọọ batrị 9V gafee BATT.1.Rụtụ aka na Tebụl Eziokwu (Table 1) maka ịrụ ọrụ ma soro usoro ndị akọwara na Ikpe 1 ruo na nke 5 dị n'elu.
Lisa deziri
Oge nzipu: Sep-29-2021