Cov txheej txheem:

Tsev Automation Nrog Infrared thiab Bluetooth Tswj Tus Qauv Relay: 10 Kauj Ruam
Tsev Automation Nrog Infrared thiab Bluetooth Tswj Tus Qauv Relay: 10 Kauj Ruam

Video: Tsev Automation Nrog Infrared thiab Bluetooth Tswj Tus Qauv Relay: 10 Kauj Ruam

Video: Tsev Automation Nrog Infrared thiab Bluetooth Tswj Tus Qauv Relay: 10 Kauj Ruam
Video: # 3 YouTube Video Marketing Tools и приложения для продвижения местно... 2024, Lub Xya hli ntuj
Anonim
Image
Image
Cov Cheeb Tsam Yuav Tsum Tau
Cov Cheeb Tsam Yuav Tsum Tau

Hauv qhov haujlwm ua haujlwm hauv tsev no, kuv tau qhia tias peb tuaj yeem tswj lub teeb, kiv cua thiab lwm yam khoom siv hauv tsev li cas los ntawm peb lub xov tooj smartphone thiab IR chaw taws teeb uas siv Arduino tswj kev xa xov hluav taws xob.

Qhov Arduino tswj lub ntse relay Circuit no muaj ob hom, Hom Infrared thiab Bluetooth hom yog li peb tuaj yeem tswj chav teeb, kiv cua nrog Txawb Bluetooth thiab IR chaw taws teeb.

Kauj Ruam 1: Cov Cheeb Tsam Yuav Tsum Tau:

1. TSOP 1738 IR Receiver

2. 100uF Capacitor

3. Arduino Nano

4. HC 05 Bluetooth Module

5. Optocoupler PC817 (4 tsis muaj)

6. Transistor BC547 (4 tsis muaj)

7. LEDs (1.5 - 3V) (7 tsis muaj)

8. Diode 1N4007 (4 tsis muaj)

9. SPDT Tshaj Tawm 5v (4 tsis muaj)

10. 220-ohm Resistors (8 tsis muaj)

11. 1 k Resistor (6 tsis muaj)

12. 2k Resistor (1 tsis muaj)

13. 4.7k Resistor (1 tsis muaj)

14. 10k Resistor (1 tsis muaj)

15. Txiv neej & Poj niam txuas (2 hli Suab Poj Niam BERG Sawb)

Kauj Ruam 2: IR Tswj Circuit Relay

IR Control Relay Circuit
IR Control Relay Circuit

Hauv ntu no, peb yuav tham txog Infrared tswj Circuit. Thaum peb nias ib qho IR tshem tawm khawm nws xa lub teeb liab Infrared (ntsais ntawm IR Led). Tus txais IR (TSOP 1738) tau txais thiab txiav txim siab lub teeb liab. Tom qab ntawd Arduino nyeem thiab sib piv Cov Cim nrog ua ntej Hexcode thiab ua raws li kev tswj hwm tus qauv xa tawm.

Txog cov vis dis aus cuam tshuam, koj tuaj yeem mus ntsib kuv tus youtube channel Tech StudyCell lossis nyem rau ntawm

Kauj Ruam 3: Bluetooth Control Relay Circuit:

Bluetooth Control Relay Circuit
Bluetooth Control Relay Circuit

Hauv Bluetooth tswj hwm ib feem, peb yuav txuas peb lub xov tooj smartphone nrog HC05 Bluetooth module. Koj tuaj yeem siv ib qho Bluetooth App muaj nyob hauv google play store. Peb tuaj yeem xa qee cov cim ua ntej ntawm lub xov tooj mus rau hc05 Bluetooth module. Tom qab ntawd Arduino nyeem thiab sib piv tus yam ntxwv tau txais los ntawm hc05 thiab ua raws li kev tswj hwm qhov txuas Relay Module.

Txog cov vis dis aus cuam tshuam, koj tuaj yeem mus ntsib kuv tus youtube channel Tech StudyCell lossis nyem rau ntawm

Kauj Ruam 4: IR thiab Bluetooth Tswj Relay Module

IR thiab Bluetooth Tswj Relay Module
IR thiab Bluetooth Tswj Relay Module

Tam sim no peb yuav siv ob qho kev tswj IR thiab Bluetooth tswj Circuit hauv ib PCB. Raws li lub voj voog tuaj yeem tswj tau los ntawm ob qho tib si IR thiab Bluetooth cov cim yog li peb yuav siv lub laub khawm kom xaiv IR lossis Bluetooth Hom.

Rub qhov txuas ntawm Arduino code thiab daim duab qhia chaw.https://drive.google.com/uc? Export = download & id = 1fj …

Tom qab rub tawm daim duab Arduino koj yuav tsum hloov kho qhov kos duab raws li IR chaw taws teeb thiab Bluetooth app koj yuav siv los tswj lub voj voog.

Kuv tau hais tag nrho cov ntsiab lus hauv cov vis dis aus cuam tshuam.

Kauj ruam 5: Xaiv Infrared Control Mode

Xaiv Infrared Control Mode
Xaiv Infrared Control Mode

Muaj ob qhov taw qhia LEDs hla PCB. Dawb LED rau hom IR thiab LED xiav rau hom Bluetooth.

Yog tias peb nias lub laub khawm ib zaug tom qab ntawd lub ntsej muag dawb LED yuav pib ci ci uas qhia tias lub voj voog nyob hauv hom Infrared. Ntawm Infrared hom, peb tuaj yeem tswj hwm qhov kev xa xov nrog ib qho IR chaw taws teeb (Piv txwv TV nyob deb).

Kauj Ruam 6: Xaiv Bluetooth Tswj Hom

Xaiv Bluetooth Tswj Hom
Xaiv Bluetooth Tswj Hom

Yog tias peb nias lub pob nyem ob zaug Bluetooth Mode yuav qhib thiab raws li qhov xiav LED yuav pib ci. Hauv Bluetooth hom, peb tuaj yeem tswj cov qauv xa tawm los ntawm peb lub xov tooj smartphone los ntawm Bluetooth.

Kauj Ruam 7: PCB rau Txoj Haujlwm

PCB rau Txoj Haujlwm
PCB rau Txoj Haujlwm

Raws li kuv yuav siv lub tshuab hluav taws xob hauv tsev hauv tsev niaj hnub no yog li kuv tau tsim cov txheej txheem PCB rau IR thiab Bluetooth tswj kev xa xov hluav taws xob.

Txhawm rau kom tau PCB rau IR thiab Bluetooth tswj kev xa xov module, koj ua raws cov theem hauv qab no:

1. Rub tawm Garber cov ntaub ntawv los ntawm qhov txuas hauv qab no:

drive.google.com/uc?export=download&id=1P2…

Kauj Ruam 8: Txiav txim rau PCB

Txiav txim rau PCB
Txiav txim rau PCB

Tom qab rub tawm Garber cov ntaub ntawv koj tuaj yeem yuam kom PCB ntawm $ 2 nkaus xwb

1. Mus ntsib https://jlcpcb.com thiab Kos Npe/Sau Npe

2. Nyem rau ntawm QUOTE NOW khawm.

Kauj Ruam 9: Tshaj Tawm Cov Ntaub Ntawv Gerber thiab Teeb Cov Qauv

Kev xa cov ntaub ntawv Gerber thiab teeb tsa Parameters
Kev xa cov ntaub ntawv Gerber thiab teeb tsa Parameters
Kev xa cov ntaub ntawv Gerber thiab teeb tsa Parameters
Kev xa cov ntaub ntawv Gerber thiab teeb tsa Parameters
Kev xa cov ntaub ntawv Gerber thiab teeb tsa Parameters
Kev xa cov ntaub ntawv Gerber thiab teeb tsa Parameters

3. Nyem rau ntawm "Ntxiv koj cov ntaub ntawv gerber". Tom qab ntawv xauj thiab xaiv Gerber cov ntaub ntawv uas koj tau rub tawm. Kuj teeb tsa qhov yuav tsum tau ntsuas xws li kom muaj nuj nqis, PCB xim thiab lwm yam

4. Tom qab xaiv tag nrho cov Parameters rau PCB nyem rau SAVE TO CART khawm.

Kauj Ruam 10: Xaiv Chaw Xa Khoom thiab Them Nyiaj

Xaiv Chaw Xa Khoom thiab Them Nyiaj
Xaiv Chaw Xa Khoom thiab Them Nyiaj

5. Ntaus Chaw Xa Khoom.

6. Xaiv Txoj Kev Xa Khoom uas haum rau koj.

7. Xa daim ntawv xaj thiab xa mus rau qhov kev them nyiaj.

Koj tseem tuaj yeem taug qab koj daim ntawv xaj los ntawm JLCPCB.com

Kuv cov PCBs tau siv 2 hnub los tsim khoom thiab tuaj txog hauv ib lub lis piam siv DHL qhov kev xaiv xa khoom. PCBs tau ntim tau zoo thiab qhov ua tau zoo tiag tiag ntawm tus nqi pheej yig no.

Pom zoo: