Cov txheej txheem:

CAR yooj yim CAR Arduino Bluetooth Tswj: 6 Cov Kauj Ruam
CAR yooj yim CAR Arduino Bluetooth Tswj: 6 Cov Kauj Ruam

Video: CAR yooj yim CAR Arduino Bluetooth Tswj: 6 Cov Kauj Ruam

Video: CAR yooj yim CAR Arduino Bluetooth Tswj: 6 Cov Kauj Ruam
Video: DIY: Fan Mask Tutorial in 4 minutes - How to make a fabric mask 2024, Hlis ntuj nqeg
Anonim
CAR yooj yim CAR Arduino Bluetooth Tswj
CAR yooj yim CAR Arduino Bluetooth Tswj

Hauv qhov haujlwm no kuv yuav qhia koj li cas siv Bluetooth module los tswj lub tsheb los ntawm cov lus txib los ntawm lub xov tooj smartphone.

Cov npe:

  • Bluetooth HC-06
  • Arduino ib
  • L293D lub cev muaj zog tiv thaiv
  • Plexi 17 cm x 10 cm
  • 4x TT iav Tsav
  • 4x tig
  • 4x Roj teeb AA
  • Lub roj teeb tuav
  • Hlau
  • Hloov

Kauj ruam 1: Tutorial Video

Image
Image

Kauj ruam 2: Montage

Montage
Montage
Montage
Montage

Kauj ruam 3: Schema

Schema
Schema

Yog tias koj Arduino ua haujlwm hauv 5 volt logic, txuas XWB TX rau tus pin S (servo 2). HC-06 bluetooth module ua haujlwm hauv 3.3 volt logic, txuas Rx tus pin tuaj yeem ua rau nws puas tsuaj. Yog tias koj cov arduino ua haujlwm hauv 3.3 volt logic, txuas Rx rau tus pin S (servo 1)

Kauj ruam 4: Arduino Sketch

Arduino Sketch
Arduino Sketch
Arduino Sketch
Arduino Sketch

Daim duab:

  1. Rub tawm FILES
  2. Qhib kos duab thiab ntxiv lub tsev qiv ntawv. Sketch-> suav nrog tsev qiv ntawv-> Ntxiv. ZIP Library thiab xaiv "Adafruit-Motor-Shield-library-master.zip"
  3. Upload

Kauj Ruam 5: Kho Kev Thov

Configure Aplication
Configure Aplication
Configure Aplication
Configure Aplication
Configure Aplication
Configure Aplication

Kev thov hauv Android:

  1. Pair HC-06 nrog koj lub xov tooj
  2. Nruab daim ntawv thov ntawm koj lub xov tooj
  3. Qhib daim ntawv thov thiab xaiv ntaus ntawv bluetooth HC-06
  4. Nkag mus rau Tus Tswj thiab qhib "teeb tsa khawm":

◄ = L

▲ = F

► = R ib

▼ = IB

5. Muaj kev lom zem

Pom zoo: