Cov txheej txheem:

Txhim Kho Lub Cev Tsav Tsheb rau SMARS Robot Arduino - Tshaj Tawm Txoj Cai Hla Bluetooth: 20 Cov Kauj Ruam
Txhim Kho Lub Cev Tsav Tsheb rau SMARS Robot Arduino - Tshaj Tawm Txoj Cai Hla Bluetooth: 20 Cov Kauj Ruam

Video: Txhim Kho Lub Cev Tsav Tsheb rau SMARS Robot Arduino - Tshaj Tawm Txoj Cai Hla Bluetooth: 20 Cov Kauj Ruam

Video: Txhim Kho Lub Cev Tsav Tsheb rau SMARS Robot Arduino - Tshaj Tawm Txoj Cai Hla Bluetooth: 20 Cov Kauj Ruam
Video: Лучшие 15 часов Casio G Shock до $ 500 | Лучшие часы G-Shock ниже $ 500... 2024, Hlis ntuj nqeg
Anonim
Txhim Kho Lub Cev Tsav Tsheb rau SMARS Robot Arduino - Tshaj Tawm Txoj Cai Hla Bluetooth
Txhim Kho Lub Cev Tsav Tsheb rau SMARS Robot Arduino - Tshaj Tawm Txoj Cai Hla Bluetooth

Muaj ntau qhov kev tiv thaiv kev tiv thaiv lub cev uas koj tuaj yeem siv nrog Arduino Uno ntawm qhov haujlwm SMARS neeg hlau no, feem ntau siv Tsav Tsheb Shield V1 ua los ntawm Adafruit lossis sib xws (clone los ntawm Tuam Tshoj), tab sis qhov tsis zoo ntawm daim ntaub thaiv no tsis muaj Bluetooth txuas xav tau rau SMARS neeg hlau txoj haujlwm tswj hwm los ntawm lub xov tooj Android.

Hauv cov lus qhia no koj yuav raug qhia ib qib zuj zus kho koj li Shield V1 lub cev muaj zog. Cia peb pib!.

Kauj Ruam 1: Tshooj Npe

Daim Ntawv Teev Npe
Daim Ntawv Teev Npe

Koj Yuav Xav Tau Cov Cheeb Tsam Hauv qab no

  • Tsav Tsheb V1
  • Bluetooth Module HC-05
  • Active Buzzer
  • 1uF/50V bipolar capacitor
  • 100 Ohm 1/8W resistor
  • Swb Hloov SPDT
  • 1x6 txiv neej tus pin header (3 pcs)
  • 6 Dupont cable 20cm

Kauj Ruam 2: Kho Bluetooth HC-05

Kho lub Bluetooth HC-05
Kho lub Bluetooth HC-05

Ua ntej pib tsim kho lub cev muaj zog hloov pauv, thawj kauj ruam koj yuav tsum tau ua yog teeb tsa Bluetooth HC-05 module nrog cov hauv qab no:

AT+Npe = Bluino#01 AT+BAUD = 115200, 0, 0 AT+POLAR = 1.0

Txhawm rau ua kom tiav cov lus qhia, ua raws txhua qib hauv cov lus qhia ntawm no.

Kauj Ruam 3: Daim duab Circuit Court

Daim duab Circuit Court
Daim duab Circuit Court

Txhawm rau tsim kom yooj yim koj tuaj yeem xa mus rau cov phiaj xwm hauv qab no.

Kauj Ruam 4: Tshem Jumper Header

Tshem tawm Jumper Header
Tshem tawm Jumper Header
Tshem tawm Jumper Header
Tshem tawm Jumper Header

Ua ntej, Txhawm rau nruab qhov hloov pauv koj yuav tsum tshem lub jumper header ua ntej.

Kauj Ruam 5: Txiav Hloov Taw

Txiav Hloov Taw
Txiav Hloov Taw

Txiav ib sab ntawm ko taw hloov taw.

Kauj Ruam 6: Hloov Hloov

Solder Hloov
Solder Hloov

Txuas thiab txuas qhov hloov mus rau qhov chaw ntawm jumper header.

Kauj Ruam 7: Solder Pin Header

Solder Pin Header
Solder Pin Header
Solder Pin Header
Solder Pin Header

Txuas thiab txuas 3 pcs tus 1x6 txiv neej tus pin header.

Kauj Ruam 8: Muab daim kab xev

Muab daim kab xev
Muab daim kab xev

Siv daim kab xev ob tog lossis rab phom kub los txuas lub Bluetooth module rau sab saum toj ntawm lub cev tiv thaiv kab mob.

Kauj Ruam 9: Muab HC-05

Muab HC-05
Muab HC-05

Muab lub Bluetooth module raws li qhia hauv daim duab.

Kauj ruam 10: Txiav Cable

Txiav Cable
Txiav Cable

Txuas lub dupont cable ces txiav txog 10cm.

Kauj Ruam 11: Solder 5V & GND

Cov laug 5V & GND
Cov laug 5V & GND

Txuas ntawm Bluetooth module HC-05 nrog Lub Cev Tsav Tsheb, koj yuav tsum tau muab VCC txuas rau 5V thiab GND rau GND.

Kauj Ruam 12: Solder Capacitor

Solder Capacitor
Solder Capacitor

Cov laug txuas txuas STATE tus pin rau positif tus pin ntawm lub capacitor, tom qab ntawd tus lej tsis zoo ntawm lub capacitor txuas rau RESET tus pin.

Kauj Ruam 13: Solder TX & RX

Solder TX & RX
Solder TX & RX

Cov laug los txuas RX ntawm HC-05 rau TX ntawm lub cev tiv thaiv kab mob los ntawm kev ntxiv tus tiv thaiv hauv koob, tom qab ntawd TX ntawm HC-05 rau RX ntawm lub cev tiv thaiv kab mob los ntawm kev ntxiv tus tiv thaiv hauv koob.

Kauj Ruam 14: Khoov Buzzer Taw

Khoov Buzzer Taw
Khoov Buzzer Taw

Tom ntej nruab lub buzzer, ua ntej koj yuav tsum khoov taw raws li qhia hauv daim duab.

Kauj Ruam 15: Tus Neeg Siv Buzzer Cable

Solder Buzzer Cable
Solder Buzzer Cable

Solder txog li 8 cm cable ntawm tus pin tsis zoo ntawm buzzer.

Kauj Ruam 16: Buzzer Solder

Solder Buzzer
Solder Buzzer

Txuas thiab txuas tus lej zoo ntawm lub suab nrov rau lub qhov nyob ib sab ntawm tus pin D2 ntawm lub cev tiv thaiv kab mob.

Kauj Ruam 17: Cov Kab Hluav Taws Xob

Kab laug sab
Kab laug sab

Thaum kawg tau txuas qhov txuas txuas ntxiv los ntawm tus lej tsis zoo ntawm lub suab nrov mus rau GND.

Kauj Ruam 18: Finnish

Finnish
Finnish
Finnish
Finnish

Koj tau ua tiav txhua qib thiab koj daim ntawv tiv thaiv lub cev hloov kho tshiab yuav zoo li daim duab. Txuas cov ntaub thaiv npog txhim kho ntawm Arduino Uno nrog SMARS neeg hlau.

Kauj Ruam 19: Npaj rau Txoj Haujlwm & Tswj

Npaj rau Program & Control
Npaj rau Program & Control
Npaj rau Program & Control
Npaj rau Program & Control

Tam sim no, koj lub SMARS neeg hlau twb tau tsim kho & tswj dhau bluetooth, koj tuaj yeem siv Arduino IDE hauv computer lossis siv SMARS App ntawm Android.

Kauj ruam 20: Txaus siab rau

Txaus siab rau
Txaus siab rau

Vam tias koj txaus siab rau nws. Yog tias koj ua thiab ua tiav, thov qhia "Kuv Ua Nws!" qhia rau kuv paub ntau npaum li cas ua haujlwm. Qhia qhov link, nyiam thiab sau npe yuav. Raws li ib txwm, yog tias koj muaj lus nug thov qhia rau kuv paub!

Pom zoo: