Cov txheej txheem:

DIY Android Bluetooth Chaw Taws Teeb: 4 Kauj Ruam
DIY Android Bluetooth Chaw Taws Teeb: 4 Kauj Ruam

Video: DIY Android Bluetooth Chaw Taws Teeb: 4 Kauj Ruam

Video: DIY Android Bluetooth Chaw Taws Teeb: 4 Kauj Ruam
Video: 10 самых АТМОСФЕРНЫХ мест Дагестана. БОЛЬШОЙ ВЫПУСК #Дагестан #ПутешествиеПоДагестану 2024, Hlis ntuj nqeg
Anonim
DIY Android Bluetooth Chaw Taws Teeb
DIY Android Bluetooth Chaw Taws Teeb
DIY Android Bluetooth Chaw Taws Teeb
DIY Android Bluetooth Chaw Taws Teeb

Hauv Cov Lus Qhia no, ib tus tuaj yeem paub tswj hwm TV siv lub cuab yeej Android los ntawm Bluetooth. Kev siv cov chaw deb los tswj TV yog hnub qub. Lawv yog cov tsis muaj zog thiab ploj mus txhua lub sijhawm. Yog li, kuv xav tsim kuv tus kheej Txawb Xov Tooj Bluetooth nrog Custom App uas kuv tsim los ntawm MIT App Inventor. LINK: https://appinventor.mit.edu/explore/It yog kev lom zem los tsim thiab thaum nws ua haujlwm nws yuav txaus.

Kauj Ruam 1: Yam Koj Yuav Tsum Tau Pib

Yam Koj Yuav Tsum Tau Pib
Yam Koj Yuav Tsum Tau Pib
Yam Koj Yuav Tsum Tau Pib
Yam Koj Yuav Tsum Tau Pib
Yam Koj Yuav Tsum Tau Pib
Yam Koj Yuav Tsum Tau Pib

Qhov Loj: 1. ARDUINO NCO. 2. HC - 05 Bluetooth Module.3. 2N2222 NPN transistor.4. IR LED 950nm.5. IR Receiver (leej twg yuav ua, Kuv tau siv SM0038) Sub Parts: PCB boardResistors: 4.7K, 2.2K, 100R. Some txiv neej Jumper pins.

Kauj Ruam 2: DECODING …… IR REMOTE SIGNALS.

DECODING …… IR REMOTE SIGNALS. !!
DECODING …… IR REMOTE SIGNALS. !!
DECODING …… IR REMOTE SIGNALS. !!
DECODING …… IR REMOTE SIGNALS. !!
DECODING …… IR REMOTE SIGNALS. !!
DECODING …… IR REMOTE SIGNALS. !!

Txhawm rau pib nrog, koj yuav tsum rub Lub Tsev Kawm Ntawv Arduino-IRremote los ntawm GitHub. Kuv twb tau rub tawm thiab txuas cov ntawv hauv cov kauj ruam no koj tuaj yeem rub nws los ntawm no nkaus xwb. Rub tus lej Arduino txuas nrog hauv cov kauj ruam no thiab ua kom muaj kev sib txuas hauv Circuit Court raws li pom hauv cov duab. Arduino Uno Txuas GND ntawm IR Tus Txais Txais rau Arduino GND thiab Vs ntawm IR Tus Txais Txais rau Arduino VCC (5V) Tshaj tawm cov cai rau Arduino board thiab qhib Serial Monitor. NOW coj koj lub TV nyob deb thiab nias lub pob uas koj xav tau muaj kev tswj hwm thiab sau tseg nws qhov sib xws IR Code Hom (NEC hauv kuv qhov teeb meem) thiab HEX Code hauv qab no (piv txwv: 14EB18E7) thiab Tus lej ntawm Cov Khoom (32 hauv kuv qhov xwm txheej) uas txhua tus tau tshwm sim hauv cov saib xyuas thaum lub khawm Tom qab noj cov ntaub ntawv IR CODE ntawm txhua lub khawm xav tau khaws nws hauv daim ntawv ncoo nrog Cov Lus Qhia tshwj xeeb ntawm koj xaiv (Piv txwv li: Kuv tau siv SB_POW rau ON/OFF khawm ntawm Setup Box). Thiab mus rau kauj ruam tom ntej.

Kauj Ruam 3: MAIN CIRCUIT

MAIN CIRCUIT
MAIN CIRCUIT
MAIN CIRCUIT
MAIN CIRCUIT
MAIN CIRCUIT
MAIN CIRCUIT

Tam sim no lub rooj txais xov xwm tseem ceeb tau tsim los raws li qhia hauv daim duab. Ua cov kev sib txuas raws li qhia hauv daim duab. Rub tawm Txoj Cai txuas hauv cov kauj ruam no thiab xa mus rau Arduino (tsis txhob txuas Bluetooth Module thaum xa cov cai).

Bluetooth Module ua haujlwm ntawm qib kev xav ntawm 3.3V yog li thaum txuas tus pin kis ntawm Arduino mus rau Bluetooth module peb yuav siv tus Resistor Voltage Divider (4.7K thiab 2.2K).

Kuv tau ua qhov kev sib txuas ntawm Breadboard kom paub tseeb tias txhua yam ua haujlwm tau zoo thiab tom qab ntawd kuv tau ua qhov hloov pauv mus tas li ntawm ib qho ntawm Perforated PCB board. Kuv txiav cov laug cam rau qhov loj ntawm Arduino Uno ua ntej tes thiab drilled 3 hli qhov kom nws mus rau Arduino Uno.

Tom qab ntawd kuv tso lub rooj tsavxwm ze TV thiab taw qhia IR LED mus rau IR Tus Txais TV.

Tam sim no yuav luag Ua tiav tsuas yog ib kauj ruam Kawg.

Kauj ruam 4: App !

Cov App !!!
Cov App !!!
Cov App !!!
Cov App !!!

Ntawm no, Kuv tau tsim ib qho app rau Android ntaus ntawv kom xa cov cim rau Arduino los ntawm Bluetooth. Tsim ib qho app tsis nyuaj. Nrog MIT app tus tsim khoom ib tus tuaj yeem tsim tau ib qho app. Nws yooj yim heev. Kuv tau sim kuv qhov zoo tshaj plaws los ua lub app li Professional li sai tau.

Kuv tau tsim daim ntawv thov xa Cov Lus Qhia tshwj xeeb uas kuv tau siv hauv cov cai thaum lub khawm sib xws raug nias. Kuv tau txuas ob qho.apk thiab.aia cov ntaub ntawv hauv cov kauj ruam no. Cov uas tsis xav hloov ib yam dab tsi hauv Arduino Code thiab hauv app tuaj yeem rub tawm.apk file.

Lub app yog yooj yim heev rau siv. Tom qab Txhim Kho, thaum koj qhib App koj yuav pom qee cov nyees khawm. (NCO TSEG: Qhib Bluetooth ua ntej qhib lub app).

Ntawm cov nyees khawm nyem rau ntawm Blue Connect khawm.

Lub vijtsam tshiab nrog cov npe ntawm cov cuab yeej Bluetooth yuav tshwm sim. Nyem rau ntawm HC-05 thiab nws yuav txuas nrog lub cuab yeej. (tej zaum koj yuav tsum tau nkag tus password yog tias koj txuas rau thawj zaug. Lo lus zais feem ntau yog 0000 lossis 1234)

Tam sim no nws yuav rov qab mus rau lub vijtsam tseem ceeb.

Tam sim no sai li sai tau thaum koj nias lub pob hauv koj lub Android ntaus ntawv koj yuav pom qhov hloov pauv hauv koj lub TV.

Qhov ntawd yog nws! nws yog ua li cas.

Yog tias koj ntsib teeb meem hauv kev rov tsim txoj haujlwm no lossis yog tias koj muaj kev poob siab thov tawm tswv yim hauv qab no thiab yog tias koj nyiam qhov no thov qhia qhov haujlwm no thiab pov npav rau tib yam hauv kev sib tw.

Pom zoo: