Cov txheej txheem:

Wireless Doorbell Receiver: 3 Kauj Ruam (nrog Duab)
Wireless Doorbell Receiver: 3 Kauj Ruam (nrog Duab)

Video: Wireless Doorbell Receiver: 3 Kauj Ruam (nrog Duab)

Video: Wireless Doorbell Receiver: 3 Kauj Ruam (nrog Duab)
Video: $3600 TOS MAM CLAIM * NYIAJ ZAUM 4 NTSHE TSIS MUAJ * CHINESE American txhawb Proud Boys 05/04/2021 2024, Hlis ntuj nqeg
Anonim
Wireless Doorbell Txais
Wireless Doorbell Txais

Txoj haujlwm no piav qhia ntu thib ob ntawm ob txoj haujlwm hauv qab no:

  1. Lub qhov rooj kaw qhov rooj wireless raws li tau piav qhia hauv Wireless Doorbell Transmitter Qhia Qhia. Cov Lus Qhia no tseem muab qee qhov taw qhia rau cov haujlwm no.
  2. Lub wireless doorbell receiver piav qhia hauv Phau Ntawv Qhia no.

Tus neeg txais lub qhov rooj wireless yuav ua suab nrov thiab yuav ntsais lub LED 5 zaug tom qab nws tau txais cov lus siv tau los ntawm lub qhov rooj xa xov wireless. Lub suab tsim los ntawm tus txais no suab zoo li ding-dong txawm hais tias tab sis koj tuaj yeem hu nws '8-ntsis suab' vim nws yooj yim.

Cov cuab yeej siv los ntawm 230 Volt AC mains siv 5 Volt nqis nqis nqis hloov pauv uas ua rau 5 Volt DC voltage. Txawm hais tias nws tuaj yeem tsim los ua haujlwm ntawm lub roj teeb, Kuv tsis xav tau qhov ntawd. Nws yuav tsum muaj peev xwm ua kom nws nrog peb 1.5 AA roj teeb txij li ob qho tib si txais thiab microcontroller yuav tsum ua haujlwm zoo ntawm 4.5 Volt lossis txawm tias 3.6 Volt thaum muaj roj teeb rov tau.

Tsis tas li ntawm no kuv tau tsim txoj haujlwm no ib puag ncig kuv nyiam micro tswj lub PIC tab sis koj tseem tuaj yeem siv Arduino.

Kauj Ruam 1: Cov Cheeb Tsam Xav Tau

Yuav tsum tau Cheebtsam
Yuav tsum tau Cheebtsam

Koj yuav tsum muaj cov hauv qab no rau cov haujlwm no:

  • Ib daim ntawm daim ntawv qhia zaub mov
  • PIC microcontroller 12F617, saib yeej-qhov chaw
  • Electrolytic capacitor 47uF/16V
  • Cov khoom siv hluav taws xob: 2 * 100nF, 1 * 680 nF
  • 433 MHz ASK RF Txais
  • Resistors: 1 * 33k, 2 * 1k, 2 * 220 Ohm
  • 2 * diode 1N4148, saib yeej-qhov chaw
  • Transistors: BC639, BC640
  • LEDs: 1 Liab, 1 Amber
  • 1 lub suab nrov 8 Ohm
  • Lub tsev yas
  • Rau lub zog loj (tsis tau qhia ntawm daim duab qhia chaw):

    • 5 Volt fais fab mov
    • Fuse yas dhos + fuse 100mA qeeb
    • Hloov

Saib daim duab schematic ntawm yuav ua li cas txuas cov khoom siv.

Kauj Ruam 2: Tsim thiab Bulding Cov Khoom Siv Hluav Taws Xob

Tsim thiab Bulding Electronics
Tsim thiab Bulding Electronics
Tsim thiab Bulding Electronics
Tsim thiab Bulding Electronics
Tsim thiab Bulding Electronics
Tsim thiab Bulding Electronics

Txhua qhov kev tswj hwm yog ua los ntawm PIC12F617 hauv software. Raws li tau hais ua ntej kuv tsim txoj haujlwm no kom nws tau siv lub zog loj siv cov kauj ruam qis hloov pauv. Hauv qhov no yuav tsum ceev faj kom tsis txhob kov 230 V!

Lub suab nrov yooj yim yog siv los tsav lub 8 Ohm lub suab nrov.

Lub tsev tsim hluav taws xob tuaj yeem ua tiav tau yooj yim ntawm lub khob cij me me nrog lub tsev tsim nyog. Hauv cov duab koj tuaj yeem pom lub voj voog raws li kuv tau tsim nws ntawm lub khob cij nrog rau qhov kawg thaum muab tso rau hauv lub tsev yas. Cov tsev nyob no muaj qhov txuas uas tuaj yeem txuas ncaj qha mus rau lub ntsiab.

Kauj Ruam 3: Sofware thiab Ua Haujlwm Kawg

Raws li tau hais dhau los, software tau sau rau PIC12F617. Nws tau sau hauv JAL. Hauv qhov haujlwm no PIC khiav ntawm lub moos sab hauv zaus ntawm 8 MHz.

Lub software ua cov hauv qab no:

  • Txiav txim siab cov lus tau txais los ntawm RF txuas. Txij li lub wireless doorbell transmitter yuav rov hais dua tib cov lus 3 zaug, tus txais yuav tsuas siv ib qho ntawm cov lus los ntawm kev txheeb xyuas tus lej ntawm cov lus. Timer 2 yog siv los ntawm Lub Tsev Qiv Ntawv Virtual los txiav txim siab cov lus tau txais RF nrog tus nqi me ntsis ntawm 1000 bits/s.
  • Thaum tau txais cov lus raug, tsim lub suab ding-dong nrog zaus 1667 Hz thiab 1111 Hz thiab ntsais lub LED 5 zaug. Timer 1 yog siv los tsim lub suab ding-dong.

Hauv cov vis dis aus koj tuaj yeem pom thiab hnov lub wireless doorbell receiver ua haujlwm.

Cov ntaub ntawv JAL thiab cov ntaub ntawv Intel Hex tau txuas nrog. Yog tias koj xav siv PIC microcontroller nrog JAL - Pascal zoo li cov lus programming - thov mus saib JAL qhov chaw rub tawm

Muaj kev lom zem tsim koj tus kheej txoj haujlwm thiab tos ntsoov rau koj cov kev xav.

Pom zoo: