Cov txheej txheem:

Tswj PC Wirelessly Nrog Qhov Muag Pom;): 9 Cov Kauj Ruam (nrog Duab)
Tswj PC Wirelessly Nrog Qhov Muag Pom;): 9 Cov Kauj Ruam (nrog Duab)

Video: Tswj PC Wirelessly Nrog Qhov Muag Pom;): 9 Cov Kauj Ruam (nrog Duab)

Video: Tswj PC Wirelessly Nrog Qhov Muag Pom;): 9 Cov Kauj Ruam (nrog Duab)
Video: Yuav ua li cas txhaj tshuaj tiv thaiv rau cov hluas? 2024, Kaum ib hlis
Anonim
Image
Image
Cov Ntaub Ntawv: Yam Koj Yuav Tsum Tau
Cov Ntaub Ntawv: Yam Koj Yuav Tsum Tau

Dab tsi txog kev mus dhau koj tus cwj pwm ?? Dab tsi txog kev sim qee yam tshiab ?? !!!!

Dab tsi txog kev tswj hwm koj lub PC thiab ua txhua yam uas koj xav tau yam tsis siv koj lub keyboard thiab nas!

Hmm … Tab sis qhov no ua tau li cas ???

Tsuas yog ntsais muag ntawm koj lub qhov muag !! Tsis ntseeg nws ???

Ok, yog li cia li nyeem thiab koj yuav pom tias qhov no tshwm sim li cas !!;)

Kauj Ruam 1: Cov Ntaub Ntawv: Yam Koj Yuav Tsum Xav Tau

  • 2x Mini breadboards
  • 2x HC-05 Bluetooth modules
  • 1 x Arduino Uno
  • 1 x Arduino Micro
  • 1 x Arduino Nano
  • 1x SparkFun Kab Sensor QRE1113
  • 1x Mini usb-USB cable (rau Arduino Nano)
  • 1x Micro usb-USB cable (rau Arduino Micro)
  • 1x USB 2.0 cable A/B (rau Arduino Uno)
  • 1x Potentiometer 10Kοhm
  • Jumper xov hlau (Txiv neej rau Txiv neej & Txiv neej rau Poj Niam)
  • 1 x 9V Roj teeb
  • 1x Roj teeb tuav
  • 1x Toggle hloov
  • 1x Pair iav
  • 1x Insulating daim kab xev
  • 1x Soldering Iron (xaiv tau)

Kauj ruam 2: Bluetooth AT Mode & Commands

Bluetooth AT Hom & Cov Lus txib
Bluetooth AT Hom & Cov Lus txib
Bluetooth AT Hom & Cov Lus txib
Bluetooth AT Hom & Cov Lus txib

Txog cov txheej txheem no kuv tab tom siv Arduino Uno board

1. Txuas GND thiab Vcc ntawm Bluetooth module rau GND thiab 5V ntawm Arduino pawg thawj coj saib.

2. Nias lub khawm ntawm HC-05 Bluetooth thiab thaum koj ua kom nws nias, ntsaws Arduino rau koj lub PC. Koj yuav pom cov coj ntawm Bluetooth module ntsais muag nrog lub sijhawm 2 vib nas this uas txhais tau tias koj tau nkag mus rau AT hom.

3. Qhib Arduino IDE thiab Tshaj tawm qhov kos duab khoob rau Arduino Board.

4. Txuas Rx thiab Tx ntawm Bluetooth module rau Rx (pin0) thiab Tx (pin1) ntawm Arduino board feem.

Tseem ceeb: Thaum rub tawm daim duab, tshem Rx thiab Tx txuas thiab txuas lawv rov qab rau lawv txoj haujlwm tom qab rub tawm tiav!

HC -05 -> Arduino

Vcc -> 5V

GND -> GND

Rx -> Rx (pin 0)

Tx -> Tx (pin1)

Txhua qhov kev sib txuas tau qhia hauv daim duab.

5. HC 05 Bluetooth module xav tau Kev Thauj Khoom Rov Qab & Kab Pub tom qab txhua lo lus txib.

Yog li qhib, Serial Monitor thiab xaiv "Ob NL & CR" thiab 38400 baud.

Ntaus hauv: AT thiab tom qab ntawd nyem Xa.

Tam sim no koj yuav tsum tau txais OK ua lub ntsiab lus teb uas koj tau ua tiav nkag mus rau AT Commands!

Kauj Ruam 3: AT Cov Lus Hais rau SLAVE Module

AT Commands rau SLAVE Module
AT Commands rau SLAVE Module
AT Commands rau SLAVE Module
AT Commands rau SLAVE Module
AT Commands rau SLAVE Module
AT Commands rau SLAVE Module

1. Ntaus AT+NAME? kom pom lub npe ntawm tus qauv.

Koj tuaj yeem hloov nws raws li koj nyiam, los ntawm kev ntaus piv txwv: AT+NAME = SLAVE

2. Txhawm rau pom tus lej tus lej hauv AT+PSWD? (default yog: 1234)

3. Ntaus AT+ROLE = 0 kom nws ua qhev

4. Ntaus hauv AT+ADDR =? kom tau nws qhov chaw nyob. Koj yuav tsum paub qhov chaw nyob ntawm tus qauv no txhawm rau muab nws nrog lwm tus.

Nco ntsoov tias qhov chaw nyob yuav zoo ib yam li:: 21: 13: 19E8

5. Tshem nws ntawm lub PC kom tawm ntawm AT hom.

Nco tseg: Qhov chaw nyob kuj tseem tuaj yeem pom ntawm Bluetooth cov cuab yeej, ntxiv cov cuab yeej, nyem rau ntawm SLAVE (lub npe ntawm Bluetooth), Cov Khoom, Bluetooth -> Cim Cim.

Kauj Ruam 4: AT Cov Lus Hais rau Master Module

AT Commands rau Master Module
AT Commands rau Master Module
AT Commands rau Master Module
AT Commands rau Master Module

1. Ntaus AT+NAME? kom pom lub npe ntawm tus qauv.

Koj tuaj yeem hloov nws raws li koj nyiam, los ntawm kev ntaus piv txwv: AT+NAME = MASTER

2. Txhawm rau pom tus lej tus lej hauv AT+PSWD? (default yog: 1234)

3. Ntaus AT+ROLE = 1 kom nws ua tus tswv

4. Ntaus hauv AT+CMODE = 0 los ua tus qauv txuas mus rau qhov chaw nyob Bluetooth tshwj xeeb.

5. Ntaus AT+BIND = 0021, 13, 0109E8 (muab qhov chaw nyob ntawm koj tus qhev module) los ua ke nrog tus qhev module.

Nco tseg: Hauv AT Commands cov kab ntawv yuav tsum tau hloov nrog tus lej thiab kuj tias qhov chaw nyob tag nrho ntawm qhov no

": 21: 13: 19E8" yog "00: 21: 13: 01: 09: e8" vim tias "0" raug rho tawm thaum pib.

Kauj Ruam 5: Arduino Micro Kev Sib Txuas

Arduino Micro Kev Sib Txuas
Arduino Micro Kev Sib Txuas
Arduino Micro Kev Sib Txuas
Arduino Micro Kev Sib Txuas

Ua cov kev sib txuas raws li qhia hauv daim duab:

HC -05 -> Arduino

Vcc -> 5V

GND -> GND

Tx -> pin 11

Potentiometer -> Arduino

V -> 5V

GND -> GND

Tus lej nkag -> tus pin A2

Upload cov duab kos hauv qab no:

Tseem ceeb: Thaum rub tawm daim duab, tshem Rx thiab Tx txuas thiab txuas lawv rov qab rau lawv txoj haujlwm tom qab rub tawm tiav!

Kauj Ruam 6: Kev Sib Txuas Arduino Nano

Arduino Nano Kev Sib Txuas
Arduino Nano Kev Sib Txuas
Arduino Nano Kev Sib Txuas
Arduino Nano Kev Sib Txuas
Arduino Nano Kev Sib Txuas
Arduino Nano Kev Sib Txuas

Ua cov kev sib txuas raws li qhia hauv daim duab:

HC -05 -> Arduino

Vcc -> 5V

GND -> GND

Tx -> pin 10

Rx -> pin 11

QRE1113 -> Arduino

VCC -> 5V

GND -> GND

OUT -> pin A0

Roj teeb -> Arduino

9V -> Toggle hloov

GND -> GND

Toggle Hloov -> Arduino

V -> Vin

Upload cov duab kos hauv qab no:

Kauj Ruam 7: Kev hloov kho

Kev hloov kho
Kev hloov kho
Kev hloov kho
Kev hloov kho
Kev hloov kho
Kev hloov kho

Nrog koj zoo siab! Koj tau ua tiav qhov xav tau tshaj plaws!;):)

Tam sim no lub sijhawm rau kev hloov kho!

1. Txuas Arduino Micro rau koj lub PC. Koj yuav pom cov coj ntawm Bluetooth module ntsais muag ntau zaus.

2. Tau qhov hloov pauv ntawm Arduino Nano kom txhawb nws. Tom qab qee lub sijhawm koj yuav pom ob lub bluetooth modules zoo ib yam (ib ntsais muag tom qab 2 vib nas this). Qhov no txhais tau tias koj cov laug cam Arduino tau ua khub thiab tuaj yeem sib tham sib tham tau.

3. Qhib Arduino IDE. Xaiv koj lub rooj tsavxwm (Arduino Micro) thiab qhov tsim nyog COM chaw nres nkoj thiab qhib Serial Plotter. Koj yuav pom cov phiaj xwm nrog kev ntsuas ntawm lub ntsuas thiab tus nqi ntawm lub zog ntsuas. Nrog rau xim xiav yog qhov muaj txiaj ntsig los ntawm lub zog ntsuas (qhov pib) thiab nrog liab qhov txiaj ntsig los ntawm lub ntsuas.

4. Tshem lub lens tawm ntawm lub tsom iav kom thiaj li muaj cov thav duab nkaus xwb.

5. Txuas lub Spark Fun kab sensor mus rau tus ncej hauv txoj haujlwm zoo ib yam li cov duab.

6. Kev tsom iav thiab kho lub ntsuas kom nyob ib sab ntawm koj lub qhov muag. Los ntawm kev ua qee qhov ntsais nrog koj lub qhov muag koj yuav pom qee qhov siab nyob hauv kab ntawm Serial Plotter. Kho tus nqi ntawm lub hwj chim ntsuas kom siab dua qhov siab thiab qis dua lwm qhov txiaj ntsig raws li qhia hauv daim duab. Tam sim no koj tau ua tiav teeb tsa koj qhov pib!

Nco tseg: Los ntawm qhov pib hloov pauv koj tseem tuaj yeem xaiv hom ntsais muag (txhob txwm lossis tsis xav tau) koj yuav lees txais. Txoj hauv kev no koj tuaj yeem tswj hwm tag nrho thaum 'ENTER' hais kom ua yuav xa.

Thiab …… Thaum kawg: D

Qhov tsuas yog koj yuav tsum ua tam sim no tsuas yog BLINK (kaw thiab qhib koj lub qhov muag);)

Ib qho "Nkag mus" yuav raug xa mus rau koj lub PC !!

Yog, tab sis puas muaj txoj hauv kev los sau thiab ua txhua yam uas kuv xav tau yam tsis tau kov kuv lub PC ???

Yeeaaahhh … Txuas mus rau ntu kawg kom pom koj tus kheej !!;)

Kauj Ruam 8: 3D Sijhawm Luam Ntawv !!!: D

Lub Sijhawm Luam Ntawv 3D !!!: D
Lub Sijhawm Luam Ntawv 3D !!!: D
Lub Sijhawm Luam Ntawv 3D !!!: D
Lub Sijhawm Luam Ntawv 3D !!!: D
Lub Sijhawm Luam Ntawv 3D !!!: D
Lub Sijhawm Luam Ntawv 3D !!!: D
Lub Sijhawm Luam Ntawv 3D !!!: D
Lub Sijhawm Luam Ntawv 3D !!!: D

Cov kauj ruam no yog kauj ruam xaiv tau los muab kev xav zoo dua thiab txav mus rau qhov haujlwm no !!;)

Koj tuaj yeem sim nrog koj tus kheej thiab tsim koj tus kheej lub thaiv nrog txhua tus qauv tsim uas koj nyiam! Hauv qab no koj tuaj yeem pom kuv cov qauv, ib yam nkaus!

Txog qhov haujlwm no kuv siv FDM txheej txheem nrog PLA ua cov khoom siv. PLA yog qhov kev xaiv zoo rau tus nqi qis thiab kev tsim qauv sai thiab los hauv ntau qhov xim.

Tom qab luam ntawv 3D tiav koj tuaj yeem siv cov ntawv xuab zeb los ua kom lawv du thiab zoo thiab tseem tuaj yeem pleev xim rau lawv cov xim uas koj xav tau!

Yog tag nrho !!!!: D: D: kuv

Txaus siab rau koj lub cuab yeej tshiab thiab siv LESS keyboard thiab nas thiab NTAWV qhov muag ntsais muag!;)

Kauj Ruam 9: Tswj Koj Lub PC;)

Image
Image

Tam sim no nws txog sijhawm pom nws ua haujlwm !!!!

Thov koj xav qhia tawm nrog kuv cov lus lossis lus qhia uas koj muaj !!!

Thiab tsis txhob hnov qab …… !!

Ua Ntau Nrog EYE BLINKING !!!;)

Yog tias koj nyiam qhov haujlwm no thov pov npav rau kev sib tw! Ua tsaug!

PS. Rau cov vis dis aus kuv siv On-Screen keyboard los ntawm windows uas txhawb nqa tsis siv neeg scanning thiab scanbuddy software los ntawm ahf.

Kev Sib Tw Tswj Chaw Taws Teeb 2017
Kev Sib Tw Tswj Chaw Taws Teeb 2017

Thawj qhov khoom plig hauv Kev Tswj Chaw Taws Teeb 2017