Cov txheej txheem:

Yooj Yim Arduino Tsheb BT Chaw Taws Teeb: 3 Cov Kauj Ruam (nrog Duab)
Yooj Yim Arduino Tsheb BT Chaw Taws Teeb: 3 Cov Kauj Ruam (nrog Duab)

Video: Yooj Yim Arduino Tsheb BT Chaw Taws Teeb: 3 Cov Kauj Ruam (nrog Duab)

Video: Yooj Yim Arduino Tsheb BT Chaw Taws Teeb: 3 Cov Kauj Ruam (nrog Duab)
Video: qhia nqi Adobe Premiere Pro CC 2017_siv txiav Video tso Youtube 2018 2024, Kaum ib hlis
Anonim
Image
Image
Bluetooth
Bluetooth

Qhov "Easy Arduino Car BT Remote" yog Android daim ntawv thov. Cov app no pab koj tsim lub tsheb bluetooth yam tsis muaj Android programming. Hauv qhov kev qhia no, Kuv pab tsim koj tus kheej lub tsheb Arduino, thiab kuv tau sau Arduino code. Yog tias koj ua raws cov theem, koj yuav muaj lub tsheb zoo li hauv daim vis dis aus.

Koj xav tau dab tsi los tsim lub tsheb no?

  1. Arduino (Arduino Nano hauv video)
  2. Bluetooth modul (HC-06 lossis HC-05)
  3. Tsav H-Choj (L298)
  4. 2x5V Tsav
  5. 2 x 9V Roj teeb
  6. Hlau

Koj puas npaj tau? Mus

Kauj ruam 1: Bluetooth

Bluetooth
Bluetooth

Txuas lub Bluetooth rau koj lub Arduino board!

Bluetooth -> Arduino board

VCC -> VCCGND -> GNDRXD -> D10TXD -> D11

Thaum koj ua tiav, koj tuaj yeem sim txuas nrog Android daim ntawv thov.

Rub tawm Android app:

androidappsapk.co/download/com.kecsot.btar…

  1. Mus rau Joystick
  2. Bluetooth chaw
  3. Bluetooth ON
  4. Bluetooth chaw
  5. Pair ntaus ntawv: Default HC-06 Password: 1234 lossis 0000
  6. Rov qab khawm, Sau npe tshiab
  7. Xaiv Bluetooth
  8. Txuas

Yog hais tias coj flashes tshaj koj tseem tsis tau txuas nrog.

Koj puas tau txuas? Mus tom ntej Kauj ruam!

Kauj Ruam 2: Tsav H-Choj

Tsav H-Choj
Tsav H-Choj
Tsav H-Choj
Tsav H-Choj

Tsav H -Brigde -> Arduino

  1. ENA (Tsuas yog qhov chaw nres nkoj no, tom qab tus pin DAWB!) -> D4
  2. IN1 -> D5
  3. IN2 -> D6
  4. IN3 -> D7
  5. IN4-> D8
  6. ENB (Tsuas yog qhov chaw nres nkoj no, tom qab tus pin DAWB!) -> D9
  7. GND -> GND

Tsav H -Brigde -> Roj Teeb

  1. VCC-> VCC
  2. GND-> GND

Txuas cov cav mus rau H-Choj

9V rau ArduinoNegative (-) -> GND Zoo (+) -> VIN (nyob ib sab ntawm GND)

Ua tiav? Mus tom ntej Kauj ruam

Kauj ruam 3: Txoj Cai:)

Txoj Cai:)
Txoj Cai:)

Thawj zaug rub tawm thiab Unzip Motor.zip.

Luam daim nplaub tshev mus rau qhov chaw tom ntej: (Rau cov neeg siv windows: C: / Program Files (x86) Arduino / libraries / Motor)

Koj puas tau theej? Yog tias koj Arduino IDE twb tau khiav lawm, thov rov pib dua.

OK, Tam sim no rub tawm Example.ino

Qhib nws, thiab xa mus rau lub cuab yeej arduino.

KAWG !!! Sijhawm ua si

Txuas rau koj arduino thiab tsav nws!

Yees duab

Thov tawm tswv yim duab yog tias koj tsim nws! Ua tsaug!:)

Pom zoo: