Cov txheej txheem:

RF Transmitter thiab Txais: 8 Kauj Ruam (nrog Duab)
RF Transmitter thiab Txais: 8 Kauj Ruam (nrog Duab)

Video: RF Transmitter thiab Txais: 8 Kauj Ruam (nrog Duab)

Video: RF Transmitter thiab Txais: 8 Kauj Ruam (nrog Duab)
Video: ? Что такое многополосный 6 атомный хронометраж ? То 2024, Kaum ib hlis
Anonim
RF Transmitter thiab Txais
RF Transmitter thiab Txais

Hauv txoj haujlwm no, Kuv yuav siv RF cov qauv nrog Pic 16f628a. Nws yuav yog kev qhia luv luv txog rf. Tom qab koj kawm ho rf modules sib tham nrog lwm tus koj tuaj yeem siv cov qauv no nrog pic microcontroller, ardunio lossis ib qho microcontroller. Kuv tswj tau RGB LEDs tab sis yog tias koj tuaj yeem tswj tau ntau yam khoom siv lub cav lossis xa tawm.

Kauj Ruam 1: Zaj Lus Qhia luv luv RF

Zaj lus qhia luv luv RF
Zaj lus qhia luv luv RF

RF yog dab tsi?

Hauv lub sijhawm luv, xov tooj cua zaus (RF) hais txog tus nqi ntawm cov oscillation ntawm cov xov tooj cua siv hluav taws xob hauv thaj tsam ntawm 3 kHz txog 300 GHz, nrog rau cov dej sib hloov uas nqa cov xov tooj cua.

Nws ua haujlwm li cas?

Peb xav tau ob tus qauv uas yog tus xa thiab txais. Peb tswj peb cov ntaub ntawv 1 thiab 0 (peb siv lub microcontroller hauv txoj haujlwm no) thiab cov xa tawm xa cov ntaub ntawv no hauv Seri txoj hauv kev hauv xov tooj cua. Tom qab nws tau pib tshaj tawm, tus txais xov tooj sau cov xov tooj cua no thiab nws muab ua 1 thiab 0 dua.

Vim li cas peb thiaj siv nws?

Yog tias peb xav sib txuas lus qee yam khoom siv yam tsis muaj xov hlau peb RF modules yog ib txoj hauv kev.

Kauj ruam 2: Schemas Circuit

Circuit Schemas
Circuit Schemas
Circuit Schemas
Circuit Schemas

Hauv thawj kab lus yog tus xa khoom thib ob yog tus txais. Kuv tau tswj 3 RGB coj los ntawm cov qauv no.

Kauj Ruam 3: Daim Ntawv Teev Npe

Daim Ntawv Teev Npe
Daim Ntawv Teev Npe

Qhov Tshaj Tawm:

  1. piv 16f628a
  2. 18pin dip qhov (socket)
  3. 1n4001 ib
  4. ib 7805
  5. 220 uf 16v electrolytic cap
  6. 1uf cav
  7. 330 hmo ^1
  8. 4.7k hmo
  9. Rf transmitter (433 MHZ)
  10. 10k hmo 4
  11. 4 laub khawm
  12. 5mm coj
  13. txiv neej header

Tau Txais Qhov:

Thawj yim yog tib yam

9. RF tus txais (433 MHZ)

10. 5mm RGB coj ^3

11.lub

12 tus txiv neej header

Nco tseg: RF cov qauv yuav tsum yog tib zaus.

Rf modules txuas ntawm rf modules

Kauj Ruam 4: Luam Circuit Board

Luam Circuit Board
Luam Circuit Board
Luam Circuit Board
Luam Circuit Board
Luam Circuit Board
Luam Circuit Board

Kuv nyiam siv PCB hloov pauv ntawm PCB tus qauv (suav nrog ntau qhov), Hauv kuv lub tswv yim, txoj hauv kev no muaj kev noj qab haus huv dua rau kev siv hluav taws xob. Tom qab tsim cov kab hluav taws xob kuv tau luam tawm ntawm cov laug cam tab sis muaj qee lub nets me me yog li kuv xav tau kho qee cov nets. Tom qab kho cov haujlwm lawv mus rau hauv cov kua qaub. Tom qab ntawd lawv tau npaj rau kauj ruam tom ntej.

Kauj Ruam 5: Daim npog ntsej muag

Daim npog qhov ncauj!
Daim npog qhov ncauj!
Daim npog qhov ncauj!
Daim npog qhov ncauj!

Nws xaiv tau ib feem.

Cov cim kab laug sab muaj qee qhov nyuaj tab sis tsis yog li ntawd, nws muaj qee cov txiaj ntsig. Koj PCB tuaj yeem noj qab nyob zoo ntev thiab luv Circuit Court txaus ntshai zuj zus. Koj tuaj yeem nrhiav ntau yam kev pab cuam txog yuav ua li cas koj tuaj yeem ua daim npog ntsej muag tom tsev. Tom qab siv cov npog ntsej muag, PCB's mus rau kev ua haujlwm drilling.

Kauj ruam 6: Soldering

Soldering
Soldering

Thaum kawg, peb muab cov khoom sib txuas ntawm PCB. Kuv cov lus qhia koj yuav tsum tau siv lub qhov ntsaws ntsaws ua ntej tab sis muab cov duab thiab rf modules tom qab siv tas Koj yuav tsum tau ceev faj heev txog luv Circuit Court. Dhau li, rf cov qauv tuaj yeem ua hluav taws xob zoo li qub tau yooj yim.

Kauj ruam 7: Codding

Codding
Codding
Codding
Codding
Codding
Codding

Kuv siv PIC CCS rau kev ua haujlwm. Yog tias koj muaj lus nug txog dab tsi tsuas yog nug nws, thov.

Ua ntej, peb xaiv baudrate koj yuav tsum saib qhov ntawd rau rf modules cov ntaub ntawv ces peb txhais cov xa tawm tus txais tus pin. Parity yog hais txog peb cov ntaub ntawv yog khib lossis txawm tias tab sis peb tsis siv nws hauv txoj haujlwm no, thaum kawg, peb xaiv 1 peb nres me ntsis.

Preamble muaj nuj nqi:

Yog tias peb sim siv tib yam ntau RF cov qauv nyob hauv ib cheeb tsam nws yuav yog qee qhov muab. Peb tiv thaiv qhov teeb meem no nrog preamble muaj nuj nqi. Peb txheeb xyuas tus cim rau peb cov qauv thiab xa nws tus qauv txais.

Peb tuaj yeem pom txoj haujlwm no ntawm oscilloscope. First ob daim duab yog tus xa khoom thiab tus qauv thib ob yog tus txais lub Circuit Court

Kauj ruam 8: RUN

Hauv txoj haujlwm no lub tswv yim tseem ceeb yog RF kev sib txuas lus yog li kuv tsis tau siv daim duab tsim nyog lossis oscillator. Yog tias koj xav kom tau txais kev sib txuas lus zoo dua koj yuav tsum siv cov siv lead ua oscillator ntau zaus thiab ntau zaus RF cov qauv. Koj yuav tsum siv tus kav hlau txais xov.

Pom zoo: