Cov txheej txheem:

RoverBluetooth: Arduino-based Bluetooth Tsheb: 5 Kauj Ruam
RoverBluetooth: Arduino-based Bluetooth Tsheb: 5 Kauj Ruam

Video: RoverBluetooth: Arduino-based Bluetooth Tsheb: 5 Kauj Ruam

Video: RoverBluetooth: Arduino-based Bluetooth Tsheb: 5 Kauj Ruam
Video: Arduino bluetooth controlled Rover 2024, Hlis ntuj nqeg
Anonim
Image
Image
RoverBluetooth: Arduino-based Bluetooth Tsheb
RoverBluetooth: Arduino-based Bluetooth Tsheb

RoverBluetooth yog lub npe kuv muab rau Arduino-based Bluetoothcar Kuv tau ua rau kuv qhov kev xeem tsev kawm ntawv thaum kuv tsuas yog kaum peb xyoos. Kuv kuj tau qhia nws ntawm Maker Faire Rome nrog FabLab (thiab kuv yog ib tus hluas tshaj plaws nyob ntawd)! Nws yooj yim heev los ua (tsuas yog qee qhov khoom siv hluav taws xob qis thiab pob Meccano) thiab tswj hwm, ua tsaug rau Android app uas kuv tau ua haujlwm. Nws nta kev tswj kom nrawm, rov qab iav, lub ntsuas hluav taws xob ultrasonic nrog lub suab nres thiab nres thaum muaj xwm ceev, qis-qis latency chaw taws teeb thiab lub teeb pem hauv ntej.

Qhov project nplooj ntawv tseem ceeb

Kauj ruam 1: App

Lub App
Lub App
Lub App
Lub App
Lub App
Lub App
Lub App
Lub App

Kuv tau tsim cov app nrog MIT App Inventor, tab sis tom qab ntawd kuv txiav txim siab sau nws los ntawm kos siv Android Studio. Yog tias koj yog tus pib Android, Kuv xav kom koj siv thawj daim ntawv thov (tso tawm hauv App Inventor gallery), vim nws yooj yim rau program thiab kho kom raug. Txwv tsis pub, lub app tshiab tuaj yeem pom ntawm GitHub.

Download MIT App Inventor project thiab APK

Kauj ruam 2: Chassis

Lub Chassis
Lub Chassis
Lub Chassis
Lub Chassis
Lub Chassis
Lub Chassis
Lub Chassis
Lub Chassis

Yog tias koj xav theej kuv, yuav qee cov pob Meccano, ua tibzoo saib cov duab thiab pib ntswj! Ua tib zoo saib xyuas lub kauj tsheb, uas yuav tsum muaj kev sib txuas rau lub cav servo, tig yam tsis muaj kev sib txhuam thiab tsis muaj lub hau ntswj! Lub cev tseem ceeb yuav tsum tsis txhob yoog ntau thiab yuav tsum hnyav, thaum lub tshuab Meccano yuav tsum muaj lub zog txo kom txaus kom muaj zog.

Kauj ruam 3: Circuit Court

Qhov Circuit
Qhov Circuit
Qhov Circuit
Qhov Circuit

Qhov xav tau:

  • Tus txais Bluetooth (Kuv siv BlueSMiRF Silver modem los ntawm Sparkfun, tab sis koj tseem tuaj yeem sim cov classic HC-06, uas pheej yig dua)
  • Arduino UNO lossis zoo sib xws
  • H-choj (Kuv siv L6203)
  • Ultrasonic sensor
  • Servo motor (muaj zog, nrog hlau zog yog ua tau)
  • Buzzer
  • LED rau lub teeb pem hauv ntej
  • 9V roj teeb pob
  • Ob-sided matrix board

Nco ntsoov tias servo motor kuv siv xav tau 6V, yog li kuv ntxiv LM317 rau hauv Circuit Court. Xav tias tshem tawm nws yog tias koj lub servo xav tau 5V. Ua siab ntev, xaiv tus muag thiab ua koj tus kheej Arduino daim thaiv!

Rub tawm Autodesk Eagle 9.3.0 schematic

Kauj Ruam 4: Arduino Sketch

Cov duab me me tau txais cov ntaub ntawv, tig rau thiab tawm ntawm lub tshuab thiab tshawb xyuas qhov deb ntawm phab ntsa. RoverBluetooth tau txais cov ntaub ntawv los ntawm Bluetooth modem thiab koom nrog cov lej rau cov lus txib. Piv txwv li, "21" txhais tias "tua lub cav". Nov yog cov npe:

  • 0-20 position servo lub cev muaj zog txoj haujlwm
  • 21 → motor tawm
  • 22 → teeb rau
  • 23 → teeb tawm
  • 1000-1255 → lub cev muaj zog, nrawm
  • 1500-1755 → lub cev muaj zog, thim rov qab iav, nrawm

Rub tawm Arduino Sketch

Kauj ruam 5: Txaus siab rau

Npaj tsav tsheb?

Pom zoo: