Cov txheej txheem:
- Kauj Ruam 1: Qhov Yuav Tsum Tau
- Kauj ruam 2: Txoj kev xav
- Kauj Ruam 3: Txuas Arduino Bluetooth Hardware
- Kauj ruam 4: Txheej txheem
- Kauj ruam 5: Tam sim no, Nws Ua Haujlwm
Video: Tswj LEDs Nrog Koj Hauv - Arduino-Bluetooth Module: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Cov ntawv qhia yuav pab peb tsim lub Circuit Court thiab tswj nws los ntawm mobile app
Cia peb hais tias koj yuav tuaj yeem tswj teeb ntawm koj lub tsev? Yog li, tsis yog lub teeb tiag tiag tab sis rau qhov ua rau lub siab xav peb yuav tswj hwm ib qho LED rau tam sim no thiab koj tuaj yeem ntxiv txhua yam kev siv hluav taws xob tom qab!
Saib cov vis dis aus kom pom kev ua haujlwm ntawm lub app
Kauj Ruam 1: Qhov Yuav Tsum Tau
Ua ntej peb pib, ntawm no yog cov npe ntu ntawm txhua yam peb yuav xav tau rau Cov Lus Qhia no. Koj tseem tuaj yeem yuav cov khoom los ntawm koj tus neeg muag khoom hauv online lossis online los ntawm Amazon lossis ebay.
- Pawg Arduino
- HC-05 Bluetooth Sensor
- BreadBoard
- Cov kab
- LED
Thaum tsim cov phiaj xwm no peb tau ua kom xaiv cov khoom sib xws uas tuaj yeem nrhiav pom nyob txhua qhov chaw uas muag cov khoom siv hluav taws xob. Txuas rau kev yuav khoom los ntawm Amazon.in tau kaw.
Yuav los ntawm Amazon.in
Kauj ruam 2: Txoj kev xav
Nws ua haujlwm li cas?
HC 05/06 ua haujlwm ntawm kev sib txuas lus txuas. Android app yog tsim los xa cov ntaub ntawv txuas mus rau Arduino Bluetooth module thaum lub pob nyem rau ntawm lub app. Arduino Bluetooth module ntawm lwm qhov kawg tau txais cov ntaub ntawv thiab xa nws mus rau Arduino los ntawm TX tus pin ntawm Bluetooth module (txuas nrog RX tus pin ntawm Arduino). Cov cai tso rau Arduino tshawb xyuas cov ntaub ntawv tau txais thiab muab piv rau nws. Yog tias cov ntaub ntawv tau txais yog 1, LED tig ON. LED tig OFF thaum cov ntaub ntawv tau txais yog 0. Koj tuaj yeem qhib cov ntawv xov xwm thiab saib cov ntaub ntawv tau txais thaum txuas.
Kauj Ruam 3: Txuas Arduino Bluetooth Hardware
Qhov Circuit Court no yooj yim thiab me me.
Ua raws cov kev sib txuas kom ua ntawm Arduino thiab Bluetooth module!
Kev Sib Txuas Ntawm Bluetooth module HC05:-
- VCC - rau VCC ntawm Arduino.
- GND - rau GND ntawm Arduino.
- RX - rau tus lej digital 0 (TX pin) ntawm Arduino.
- TX - rau tus lej digital 1 (RX tus pin) ntawm Arduino. (txuas RX & TX tus pin tom qab xa cov cai)
Ntawm LED
- Lub davhlau ya nyob twg zoo - rau tus pin 13 ntawm Arduino.
- Lub dav hlau tsis zoo - GND ntawm Arduino.
Kauj ruam 4: Txheej txheem
- Ua cov kev sib txuas raws li qhia hauv daim duab saum toj no.
-
Rub tawm lub app hu ua Arduino Bluetooth Control los ntawm Play store/ App store (Nws pub dawb).
- Qhib lub app (Nws yuav cia li qhib lub cuab yeej Bluetooth).
- Mus rau cov kev xaiv. Nyem thiab Xaiv lub cuab yeej - HC 05.
- Thaum koj txuas rau Bluetooth module thawj zaug, nws yuav nug koj tus password.
- Sau 0000 LOS YOG 1234.
- Thaum lub cuab yeej ua tiav ua ke nrog lub ntsuas hluav taws xob, lub teeb LED ntawm lub sensor yuav pib ntsais muag ntawm tus nqi qeeb dua li ib txwm.
- Txheeb cov vis dis aus kom ua haujlwm tau zoo
- Luam cov cai hauv qab no hauv daim duab. Rub mus rau arduino thiab sim nws!
Nco tseg: Tsis txhob txuas RX rau RX thiab TX rau TX ntawm Bluetooth thiab Arduino. Koj yuav tsis tau txais cov ntaub ntawv. Ntawm no, TX txhais tau tias xa thiab RX txhais tau tias tau txais
Kauj ruam 5: Tam sim no, Nws Ua Haujlwm
Yog li, tam sim no peb muaj peb app thiab kho vajtse ua haujlwm.
Koj lub app muaj 2 lub nyees khawm thiab lawv hloov lub teeb rau thiab tawm thiab tseem tso cai rau koj tswj koj qhov kev sib txuas nrog bluetooth module. Ua si nrog cov no, koj txoj haujlwm tiav lawm.
Cov kauj ruam tom ntej yuav yog txhawm rau ntxiv kev hloov chaw tsis yog LED thiab tswj koj lub tsev lub teeb los ntawm kev tswj chaw taws teeb lossis hais kom lub suab hais.
Muaj kev lom zem!
Pom zoo:
Kev Yooj Yim Yooj Yim Tswj - Tswj Koj Cov Khoom Ua Si RC Nrog Kev txav ntawm Koj Tes: 4 Kauj Ruam (nrog Duab)
Kev Yooj Yim Yooj Yim Tswj - Tswj Koj Cov Khoom Ua Si RC Nrog Kev txav ntawm Koj Lub Cev: Txais tos rau kuv 'ible' #45. Ib pliag dhau los kuv tau ua tiav RC version ntawm BB8 siv Lego Star Wars qhov chaw … https://www.instructables.com/id/Whats-Inside-My-R..Thaum kuv pom nws txias heev Force Band ua los ntawm Sphero, kuv xav tias: " Ok, kuv c
Kev Tswj Dej Hauv Dej Hauv Dej Hauv Dej: 10 Kauj Ruam (nrog Duab)
Underwater Remote Control Drone: Kuv txiav txim siab los tsim ROV no rau lub hom phiaj ntawm kev tshawb fawb thiab kev qhuas ntawm lub ntiaj teb hauv qab dej vim tias tsis muaj ntau tus nqi tsim txiaj hauv cov drones hauv qab. Txawm hais tias nws siv sijhawm ntau, tshawb fawb, thiab autodidacticism, nws yog qhov kev lom zem
ESP8266 RGB LED Sawb WIFI Tswj - NODEMCU Raws li IR Chaw Taws Teeb rau Led Sawb Tswj Hauv Wifi - RGB LED Sawb Smartphone Tswj: 4 Cov Kauj Ruam
ESP8266 RGB LED Sawb WIFI Tswj | NODEMCU Raws li IR Chaw Taws Teeb rau Led Sawb Tswj Hauv Wifi | RGB LED Sawb Smartphone Tswj: Nyob zoo cov neeg hauv qhov kev qhia no peb yuav kawm paub siv nodemcu lossis esp8266 li IR chaw taws teeb los tswj RGB LED sawb thiab Nodemcu yuav raug tswj los ntawm smartphone dhau wifi. Yog li hauv paus koj tuaj yeem tswj RGB LED Sawb nrog koj lub xov tooj
Ntse Suab Nkauj hauv Chav Dej thiab Da Dej Nrog Raspberry Pi - Sib Koom Ua Ke Hauv Chav, Tswb, Khawm Tswj thiab Kev Siv Tsev Hauv Tsev: 7 Kauj Ruam
Ntse Suab Nkauj hauv chav pw thiab Da Dej Nrog Raspberry Pi - Sib Koom Ua Ke Hauv Chav, Tswb, Khawm Tswj thiab Kev Siv Tsev Hauv Tsev: Niaj hnub no peb xav muab ob qho piv txwv txog yuav ua li cas koj tuaj yeem siv Raspberry Pi nrog peb Max2Play software rau hauv tsev automation: hauv chav dej thiab chav pw . Ob txoj haujlwm zoo ib yam nyob hauv cov suab paj nruag siab ncaj los ntawm ntau qhov chaw tuaj yeem rub tawm los
Tswj Teeb hauv Koj Lub Tsev Nrog Koj Lub Computer: 3 Kauj Ruam (nrog Duab)
Tswj Teeb hauv Koj Lub Tsev Nrog Koj Lub Khoos phis Tawj: Koj puas tau xav tswj lub teeb hauv koj lub tsev los ntawm koj lub khoos phis tawj? Nws yog qhov ncaj ncees pheej yig ua li ntawd. Koj tuaj yeem tswj hwm lub tshuab txau dej, tsis siv neeg qhov rai qhov muag tsis pom, lub tshuab ntsuas lub vijtsam, thiab lwm yam. Koj xav tau ob daim hardwar