Cov txheej txheem:
- Kauj ruam 1: Code
- Kauj ruam 2: Circuit Court
- Kauj Ruam 3: Txuas Bluetooth
- Kauj Ruam 4: Cov Kauj Ruam Ntxiv
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Txoj haujlwm no siv HC-05 Bluetooth module los hloov qhov kev sib txuas uas ib txwm siv los saib lub koob yees duab.
Cov ntaub ntawv:
- Arduino -
- Breadboard -
- Jumper xov hlau -
- HC -05 Bluetooth module -
Kauj ruam 1: Code
Txoj cai no yog ib qho piv txwv kev sib txuas lus yooj yim coj los ntawm cov piv txwv hauv Arduino IDE. Koj tuaj yeem pom nws hauv: Cov Ntaub Ntawv> Piv Txwv> Kev Sib Txuas> Ascii Table
/*
ASCII cov lus Luam tawm cov nuj nqis byte hauv txhua qhov ua tau: - raws li cov lej binary tseem ceeb - raws li ASCII -cim cov lej, hex, octal, thiab binary qhov tseem ceeb Rau ntau ntxiv ntawm ASCII, saib https://www.asciitable.com thiab https:// www.asciitable.com Lub Circuit: Tsis xav tau kho vajtse sab nraud. tsim xyoo 2006 los ntawm Nicholas Zambetti <https://www.asciitable.com> hloov kho 9 Plaub Hlis 2012 los ntawm Tom Igoe Cov piv txwv tus lej no yog nyob rau qhov chaw pej xeem. https://www.asciitable.com */void teeb () {Serial.begin (9600); thaum (! Serial) {; // tos rau qhov chaw nres nkoj txuas mus txuas. Xav tau rau ib txwm USB chaw nres nkoj nkaus xwb} Serial.println ("ASCII Table ~ Character Map"); } int thisByte = 33; lub voj void () {Serial.write (thisByte); Serial.print (", dec:"); Serial.print (thisByte); Serial.print (", hex:"); Serial.print (thisByte, HEX); Serial.print (", oct:"); Serial.print (thisByte, OCT); Serial.print (", rau hauv:"); Serial.println (thisByte, BIN); yog (thisByte == 126) {thaum (tseeb) {txuas ntxiv; }} thisByte ++; }
- Nco ntsoov koj tus nqi baud tau teeb tsa rau 9600
- Yuav luag txhua txoj cai uas siv txuas txuas mus rau lub khoos phis tawj yuav ua haujlwm, tab sis qhov no tsuas yog piv txwv yooj yim.
Kauj ruam 2: Circuit Court
Tom qab cov cai tau muab tso rau hauv pawg thawj coj, txiav lub hwj chim. Tom ntej no, Txuas lub Bluetooth module rau hauv Circuit Court raws li pom saum toj no:
- GND rau hauv av
- VCC to 5v pin
- TXD to PIN 0
- RXD to pin 1
Kauj Ruam 3: Txuas Bluetooth
- Hwj chim ntawm Arduino
- Qhib koj lub khoos phis tawj Bluetooth chaw
- Pair nrog HC-05 module
- Nrhiav tus module lub npe chaw nres nkoj hauv "khoom siv thiab tshuab luam ntawv":
- Hauv Arduino IDE, xaiv qhov chaw nres nkoj ntawm Bluetooth module (kuv yog COM10)
- Qhib tus saib xyuas raws li ib txwm los saib cov ntaub ntawv nkag
Kauj Ruam 4: Cov Kauj Ruam Ntxiv
Nov yog qee qhov kev xaiv uas koj yuav xav sim:
- Koj tuaj yeem siv cov chaw nres nkoj virtual hloov chaw, tab sis kuv pom tias siv qhov tiag tiag ua haujlwm tau sai dua (thiab feem ntau yooj yim dua).
- Koj kuj tseem tuaj yeem siv cov txheej txheem no nrog tus qauv Firmata piv txwv kom tso cai rau wireless tswj nrog Ua (teeb tsa nrawm rau 9600 ua ntej)
Pom zoo:
M5StickC Txias Saib Saib Nrog Cov Ntawv Qhia thiab Kev Tswj Lub Teeb: 8 Kauj Ruam
M5StickC Txias Nrhiav Saib Nrog Cov Ntawv Qhia thiab Kev Tswj Lub Teeb: Hauv qhov kev qhia no peb yuav kawm paub yuav ua haujlwm li cas ESP32 M5Stack StickC nrog Arduino IDE thiab Visuino kom tso saib lub sijhawm ntawm lub LCD thiab tseem teeb tsa lub sijhawm thiab qhov ci siv cov ntawv qhia zaub mov thiab StickC nyees khawm . Saib yeeb yaj kiab ua yeeb yam
ESP32 Raws M5Stack M5stick C Huab Cua Saib Nrog DHT11 - Saib Xyuas Qhov Kub Kub & Qhov Kub Kub ntawm M5stick-C Nrog DHT11: 6 Cov Kauj Ruam
ESP32 Raws M5Stack M5stick C Huab Cua Saib Nrog DHT11 | Saib Xyuas Qhov Kub thiab Qhov Ntsuas Kub ntawm M5stick-C Nrog DHT11: Nyob zoo cov neeg, hauv cov lus qhia no peb yuav kawm paub yuav ua li cas cuam tshuam DHT11 ntsuas kub nrog m5stick-C (pawg tswj hwm kev txhim kho los ntawm m5stack) thiab tso tawm ntawm cov zaub ntawm m5stick-C. Yog li hauv qhov kev qhia no peb yuav nyeem qhov ntsuas kub, av noo & heat kuv
Kev Saib Xyuas Tus Kheej Ntiag Tug Hacked Los Ntawm Cov Laus LCD Saib: 7 Kauj Ruam (nrog Duab)
Kev Saib Xyuas Tus Kheej Ntiag Tug Los Ntawm Lub Luag Qub LCD: Thaum kawg koj tuaj yeem ua qee yam nrog lub qub LCD saib uas koj muaj hauv lub nkas -las. Koj tuaj yeem tig nws mus ua tus saib xyuas ntiag tug! Nws zoo nkaus li dawb rau txhua tus neeg tshwj tsis yog koj, vim tias koj hnav "khawv koob" tsom iav! Txhua yam koj yuav tsum muaj yog pa
Kev Nyuaj Siab: Kev Saib Xyuas thiab Saib Xyuas Ntxiv rau Kev Teeb Meem: 9 Cov Kauj Ruam
Hard Drive: Kev Saib Xyuas thiab Kev Saib Xyuas Ntxiv Teeb Meem: Daim duab saum toj no yog Hard Drive ib txwm muaj. Cov no yog cov tsav tsheb feem ntau siv niaj hnub no, tab sis tsis tas yuav nrawm tshaj. Tib neeg siv tus tsav no rau nws tus nqi qis dua gigabyte thiab lub neej ntev dua. Phau ntawv qhia no yuav qhia koj txog qhov sib txawv
Kev Kawm Lub Plawv Tus Kheej Saib Xyuas Zaum Saib: 19 Cov Kauj Ruam (nrog Duab)
Kev cob qhia Lub Plawv Tus Kheej Saib Xyuas Zaum Saib: Tsev Kawm Qib Siab yog lub sijhawm nyuaj thiab ntxhov siab hauv ib tus neeg lub neej, yog vim li ntawd nws thiaj tseem ceeb heev kom koj qhov kev nyuaj siab nyob qis. Ib txoj hauv kev peb nyiam ua qhov no yog los ntawm kev ua haujlwm, nws pab ua kom koj lub siab meej thiab lub cev zoo. Tias yog vim li cas peb tsim lub portabl