Cov txheej txheem:

Yuav Ua Li Cas Bluetooth Shields rau Upload Sketch rau Arduino: 9 Cov Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Bluetooth Shields rau Upload Sketch rau Arduino: 9 Cov Kauj Ruam (nrog Duab)

Video: Yuav Ua Li Cas Bluetooth Shields rau Upload Sketch rau Arduino: 9 Cov Kauj Ruam (nrog Duab)

Video: Yuav Ua Li Cas Bluetooth Shields rau Upload Sketch rau Arduino: 9 Cov Kauj Ruam (nrog Duab)
Video: Qhia lub hwj chim rau koj (lub hwj chim nyob rau sab twg yuav tau tig mus kom ncaj thiaj muaj yeej) 2024, Kaum ib hlis
Anonim
Yuav Ua Li Cas Bluetooth Shields rau Upload Sketch rau Arduino
Yuav Ua Li Cas Bluetooth Shields rau Upload Sketch rau Arduino

Koj tuaj yeem xa cov duab kos rau Arduino los ntawm hauv xov tooj ntawd lossis pc dhau bluetooth, ua nws koj xav tau qee qhov ntxiv me me ntxiv xws li bluetooth module, capacitor, resistor, beardboard thiab jumper xov tom qab ntawd koj txuas ua ke thiab txuas rau Arduino tus pin. Tab sis qee lub sijhawm muaj teeb meem nrog xaim xaim txuas, ua yuam kev thaum txuas. Ib qho kev daws teeb meem zoo rau qhov teeb meem no yog ua kom nws yog ntaub thaiv npog.

Los ntawm kev ntxiv cov khoom ntxiv xws li leds, buzzer, RGB coj, cov nyees khawm, lub ntsuas pa thiab lwm yam..

Kauj Ruam 1: Cov Cuab Yeej Uas Koj Yuav Xav Tau

Cov Cuab Yeej Uas Koj Yuav Xav Tau
Cov Cuab Yeej Uas Koj Yuav Xav Tau

Nov yog cov cuab yeej uas koj yuav xav tau los ua qhov haujlwm no.

Cov Cuab Yeej:

  • (1) Soldering Iron thiab Lead
  • (1) Hlau Cutter
  • (1) Koob Ntshav Qhov ntswg
  • (1) Hlau Strippers
  • (1) Cov cuab yeej pab
  • (1) Pom/Cutter rau txiav PCB (tsis tau hais tseg hauv daim duab)

Kauj Ruam 2: Cov Cheeb Tsam Uas Koj Yuav Xav Tau

Cov Cheeb Tsam Uas Koj Yuav Xav Tau
Cov Cheeb Tsam Uas Koj Yuav Xav Tau

Nov yog cov khoom uas koj yuav xav tau los ua qhov haujlwm no.

Cheebtsam:

  • (1) Module Bluetooth HC05
  • (1) Ob txheej txheej Protoboard 6cm x 8cm
  • (1) Trimpot nrog pob qhov rooj 10k ohm
  • (4) Coj 5mm
  • (1) RGB coj 10mm ntau cathode
  • (1) Buzzer 5v
  • (7) Resistor 1k ohm 1/4w
  • (1) Capacitor 1uf/16v
  • (4) Khawm hloov 2 tus pin
  • (1) Kub sensor TMP36 (tsis txhais ntawm daim duab)
  • (1) Poj niam lub taub hau - lub kaum sab xis 6pin (lub qhov ntsaws bluetooth)
  • Poj niam lub taub hau: 10pin (1), 8pin (2), 6pin (1).
  • Txiv neej lub taub hau: 10pin (1), 8pin (2), 6pin (1).
  • Qee qhov tseem ceeb ntawm cable (jumper los ntawm tus pin rau tus pin ntawm protoboard)
  • Jumper xaim (jumper rau qhov nrug deb)

Kauj ruam 3: Schematic thiab thaiv

Schematic thiab thaiv
Schematic thiab thaiv
Schematic thiab thaiv
Schematic thiab thaiv

Kauj Ruam 4: Cia Peb Pib

Cia Peb Pib
Cia Peb Pib
Cia Peb Pib
Cia Peb Pib

Feem ntau ntawm cov phiaj xwm hluav taws xob yuav ua haujlwm los ua daim thaiv npog. Hom kev yooj yim tshaj plaws ntawm cov laug cam siv yog ob tog sib tshooj ntawm cov laug cam. Cov no muaj cov cim ntawm ob sab. Qhov no cia koj ua koj qhov kev sib txuas ntawm ob tog kom haum rau qhov ua haujlwm zoo tshaj plaws rau koj tus qauv. Yog tias koj tsis muaj kev nkag mus rau ob tog sib tshooj ntawm lub rooj sib tham, feem ntau nws muaj peev xwm ua ob daim phiaj ib sab thiab teeb lawv rov qab rau tom qab. Qhov no yuav cia koj ua kev sib txuas ntawm ob sab tab sis nws siv sijhawm ntau dua qhov chaw. Kuv tus kheej nyiam siv cov laug cam ncaj ncees vim tias lawv cia koj ua txhua qhov kev sib txuas koj tus kheej.

Txiav PCB rau hauv qhov ntev uas tshuav 20 qhov, txhawm rau txiav PCB koj tuaj yeem siv rab riam ntse, tab sis kuv xav qhia qhov pom tias nws nrawm dua.

Kauj Ruam 5: Ua Shield Header Pins Match Nrog Arduino Pins

Ua Shield Header Pins Match Nrog Arduino Pins
Ua Shield Header Pins Match Nrog Arduino Pins
Ua Shield Header Pins Match Nrog Arduino Pins
Ua Shield Header Pins Match Nrog Arduino Pins
Ua Shield Header Pins Match Nrog Arduino Pins
Ua Shield Header Pins Match Nrog Arduino Pins

Koj tsuas yog yuav tsum tau ua ib qho kev hloov pauv rau lub header pins ua ntej koj tuaj yeem muab lawv tso rau ntawm lub rooj tsav xwm hauv Circuit Court. Feem ntau ntawm tus pin qhov ntawm Arduino muaj tus qauv 0.1 nti sib nrug nruab nrab ntawm txhua lub qhov. Txawm li cas los xij, qhov no tsis muaj tseeb ntawm qhov sib nrug ntawm tus pin 7 thiab 8. Qhov kev sib nrug me me. Txhawm rau them rau qhov no, koj yuav tsum khoov ntawm txhua tus pins me ntsis. Los ntawm kev khoov tus pin koj tuaj yeem ua rau saum sib phim nrog tus qauv 0.1 ntiv tes sib nrug ntawm daim txiag ntoo thiab hauv qab sib phim nrog qhov sib nrug me me ntawm Arduino. Rau txiv neej header pins, koj yuav xav khoov qhov saum toj ntawm txhua tus pin. Rau kev teeb tsa lub taub hau taub hau koj yuav xav khoov hauv qab ntawm txhua tus pin. Txhawm rau kom ntseeg tau tias txhua yam ua kab kom raug, kuv pom zoo tso cov pins rau hauv Arduino ua ntej yuav khoom siv.

Kauj Ruam 6: Sib Sau Ua Ke

Sib Sau Ua Ke
Sib Sau Ua Ke
Sib Sau Ua Ke
Sib Sau Ua Ke
Sib Sau Ua Ke
Sib Sau Ua Ke
Sib Sau Ua Ke
Sib Sau Ua Ke

Txhawm rau sib dhos txhua feem rau pcb koj tuaj yeem ua raws daim duab kom tau txais txoj haujlwm raug, tom qab ntawd txhuam tag nrho cov ceg ntawm cov khoom siv hauv pcb. Kuv siv ib qho ntawm cov tub ntxhais cable los ua kev sib txuas ntawm ob txhais ceg ntawm cov khoom siv rau lwm lossis rau arduino tus pin header. Thawj qhov kev sib txuas hlau uas kuv tau ua yog zoo li hauv daim duab, siv ib qho ntawm cov tub ntxhais cable, khoov nws thiab ua kom nws ua raws txoj hauv kev xav tau.

Kauj Ruam 7: Soldering Poj Niam Header Pins

Soldering Poj Niam Header Pins
Soldering Poj Niam Header Pins
Soldering Poj Niam Header Pins
Soldering Poj Niam Header Pins

Poj niam lub taub hau tus pin yog ib qho ntxiv tivthaiv, yog tias koj xav tau daim ntaub thaiv no zoo li yooj yim koj tsis tas yuav teeb tsa tus poj niam header pin. Hauv daim thaiv no qee tus pins twb tau txuas nrog cov khoom siv xws li leds, khawm, buzzer thiab lwm yam, tab sis yog tias koj tseem xav siv lwm tus pin uas tseem dawb (D2, D8, D12, D13, VCC thiab GND), koj tuaj yeem siv tus poj niam lub taub hau txuas. Ua ntej txhim kho tus poj niam lub taub hau tus pin yuav tsum ua txuas jumper raws li qhia hauv daim duab.

Kauj Ruam 8: Tsim Txoj Kev Txuas Hluav Taws Xob

Tsim Txoj Kev Txuas Hluav Taws Xob
Tsim Txoj Kev Txuas Hluav Taws Xob
Tsim Txoj Kev Txuas Hluav Taws Xob
Tsim Txoj Kev Txuas Hluav Taws Xob

Tom qab koj tau ua tiav cov khoom sib txuas tag nrho, ua kom koj daim ntaub thaiv ua tiav cov kauj ruam kawg yog ua kom cov xaim txuas ua raws txoj hauv kev liab raws li hauv daim duab nrog siv rau schematic hauv kauj ruam 3. Txhawm rau jumper qhov ncaj ncaj taw tes siv kab.

Kauj ruam 9: Tiav lawm

Tiav lawm
Tiav lawm
Tiav lawm
Tiav lawm

Koj ua tiav!

Ua ntej siv daim thaiv koj yuav tsum xub teeb tsa HC05 bluetooth module ua raws cov lus qhia no:

Qhov ntawd yooj yim npaum li cas nws yog ua Bluetooth Shields rau upload cov duab kos rau Arduino.

Tam sim no peb yuav tsum tau npaj los siv daim thaiv npog.

Koj tuaj yeem sim/ua si daim ntaub thaiv no nrog App teeb tsa los ntawm google ua si kom kawm Arduino yooj yim thiab rub cov duab kos los ntawm Android siv Bluino Loader App.

play.google.com/store/apps/dev?id=7460940026245372887

Ua tsaug rau koj mloog!

Kuv vam tias koj nyiam qhov Instructables. Yog tias koj muaj lus nug dab tsi qhia lawv hauv cov lus thiab kuv yuav teb lawv sai li sai tau.

Pom zoo: