ICarino uhlelo lokusebenza lweBluetooth RC Car. ICarino ilawula imoto yeRC ngokuxhuma kweBluetooth. Ine-interface elula futhi elula ukuyisebenzisa.
Lolu hlelo lokusebenza; Nge-microcontroller (kunconyiwe i-Arduino), ungashintsha futhi usebenzise isekethe yokulawula imoto noma imoto yokudlala ozenzele yona.
Izinkinobho azenzi lutho ekuqaleni kokuvulwa. Izinkinobho ziyasebenza uma uxhumano lwe-Bluetooth lusungulwa. Ngakho-ke ungaqala ukulawula imoto yakho. Ungayilawula futhi usebenzisa imiyalo yezwi uma ufuna.
Kulolu hlelo lokusebenza, idatha ithunyelwa ngezinkinobho zokuqondisa noma imiyalo yezwi. Uhlu lwamagama luyakhonjiswa uma usebenzisa umyalo wezwi. Uma kunomunye wemiyalo ozothinta ithuluzi kulolu hlu lwamagama, lo myalo uyasetshenziswa. Isibonelo, uthe "buyela". Lokhu kunikeza amagama afana ne- "beck", "bek", "back" ngokusho kokubiza kwakho. Uma kukhona "emuva" kulawa magama, ithumela uhlamvu 'B', okusho umsebenzi ongemuva, bese imoto ibuya.
Imininingwane ethunyelwe:
Dlulisa: F noma "hamba"
Emuva: B noma "emuva"
Jikela ngakwesokunxele: L noma "ngakwesokunxele"
Jikela ngakwesokudla: R noma "kwesokudla"
Misa: S noma "misa"
Misa ukuphotha: C noma "umbuthano" (ukuma kwesiyingi)
Uphondo: O noma "uphondo"
Kude: H noma "vula", h (ikesi elincane) noma "vala"
Izinkinobho zomcibisholo ziphendula ukuthinta, hhayi chofoza. Ngakho-ke, uhlelo lokusebenza luthumela i-Stop (S), Kwesobunxele (L) nangakwesokudla (R) ngemuva kwezinhlamvu Phambili (F) no-Emuva (B), naku-Stop Spinning (C). Ngamanye amagama, ithuluzi lihamba inqobo nje uma okhiye bethintwa, futhi lima lapho lingathintwa.
Ngizokwabelana ngekhodi yomthombo we-Arduino Maduze.
Ukugqwayiza "Infinite Road" kwenziwe uMustafa Ameri.
https://lottiefiles.com/28593-an-infinite-road
Kubuyekezwe ngo-
Aga 30, 2024