Cov txheej txheem:

Kev pab rau cov lag ntseg: 5 Kauj Ruam
Kev pab rau cov lag ntseg: 5 Kauj Ruam

Video: Kev pab rau cov lag ntseg: 5 Kauj Ruam

Video: Kev pab rau cov lag ntseg: 5 Kauj Ruam
Video: Txiv Txooj Neeb lag ntseg tua niam tais tus npua 7 cheej 3/18/2023 2024, Kaum ib hlis
Anonim
Image
Image

Kuv txiav txim siab luam thiab hloov kho qhov kev tsim no kuv pom ntawm Instructables tsim los ntawm arna_k. Nov yog cov cuab yeej zoo rau cov neeg lag ntseg, zoo li kuv txiv, uas tawm mus rau tom khw, khw noj mov, lossis txhua qhov chaw nrog kev sib tham yooj yim yam tsis tuaj yeem nkag siab ib leeg. Thaum kuv, leej twg tuaj yeem hnov, mus txhua qhov chaw nrog kuv txiv Kuv yog tus saib xyuas txhais lus txhua tus neeg yuav hais rau nws. Nws yooj yim heev yog tias kuv nyob ntawd, tab sis yuav ua li cas yog tias nws nyob ib leeg? Muaj ntau txoj kev xaiv nws tuaj yeem siv, txawm li cas los xij, kuv ntseeg tias cov cuab yeej no tuaj yeem muaj txiaj ntsig rau nws. Nws yooj yim heev rau siv tab sis nyuaj rau tsim. Nov yog qhov kuv hloov kho thiab tuaj nrog lub cuab yeej no …

Kauj ruam 1: Cov ntaub ntawv

Khoom siv
Khoom siv
Khoom siv
Khoom siv

1. Arduino Uno R32. LCD Zaub 3. Bluetooth Module4. Android ntaus ntawv 5. Nkag mus rau lub tshuab luam ntawv 3D 6. Potentiometer 7. 2 resistors- ib 10K ohms thiab ib qho 330 ohms resistor 8. Ntau Jumper xov hlau 9. Roj teeb tuav 10. Plaub 5mm screws

Kauj ruam 2: App

Lub App
Lub App
Lub App
Lub App

Siv appinventor, Kuv tsim ib qho app uas kuv muaj peev xwm tham nrog thiab qhov kuv hais tau pom tshwm ntawm qhov screen. Nov yog cov kauj ruam yooj yim dua:

1. Kuv tsim lub pob rau "txuas rau lub cuab yeej" (txuas rau Bluetooth), "coj mus hais lus" (tso cai rau kuv tham hauv app), thiab "xa ntawv" (xa cov ntawv mus rau lub vijtsam LCD ntawm Arduino pawg thawj coj saib)

2. Kuv mam li tsim lub thawv ntawv rau txhua ntawm cov nyees khawm ntawd. Hauv qab "txuas rau ntaus ntawv" khawm, nws yuav qhia kuv yog tias Bluetooth tau "txuas" lossis tsis (dawb paug). Cov ntawv hauv qab "coj mus tham" yuav qhia kuv txhua yam kuv tau hais rau hauv lub app, thiab tseem "xa ntawv" lub thawv ntawv yuav qhia kuv yog tias cov ntawv "xa" lossis tsis xa (dawb paug).

3. Cov blocks kuv tsim kawg. (Koj tuaj yeem luam nws los ntawm daim duab)

Kauj ruam 3: Lub Circuit Court thiab Code Nrog Bluetooth

Circuit thiab Code Nrog Bluetooth
Circuit thiab Code Nrog Bluetooth

A. Lub voj voog yuav yooj yim ua raws li siv daim duab saum toj no. (tinkercad)

B. Txoj cai:

#suav nrog

#suav nrog LiquidCrystal lcd (13, 12, 11, 10, 9, 8); SoftwareSerial EEBlue (5, 6); teeb tsa tsis muaj dab tsi () {Serial.begin (9600); lcd.begin (16, 2); lcd.clear (); EEBlue.begin (9600); Serial.println ("Lub qhov rooj bluetooth tau qhib. / N Txuas mus rau HC-05 los ntawm lwm yam khoom siv bluetooth nrog 1234 ua tus yuam sij ua ke!"); } tsis muaj dab tsi voj () {lcd.setCursor (0, 1); lcd.print (millis ()/1000); yog (EEBlue.available ()) {lcd.setCursor (0, 0); lcd.print (EEBlue.readString ()); } yog (Serial.available ()) EEBlue.write (Serial.read ()); }

Kauj Ruam 4: Tus tuav 3D

3D tuav
3D tuav

Tus tuav tsuas yog rau Arduino teeb tsa nkaus xwb tsis yog lub cuab yeej Android.

Kuv siv lub vev xaib tinkercad.

** Koj yuav tsum ntsuas koj li Arduino + siab npaum li cas jumper xov hlau yog + ntxiv qhov siab rau lub roj teeb pob txuas rau hauv qab + ntxiv qhov chaw rau plaub 5mm ntsia hlau los txuas lub hau rau hauv qab ntawm tus tuav + ntxiv chav nyob ib puag ncig ntxiv rau ntxiv qhov chaw

Kuv STL. cov ntaub ntawv:

Kauj ruam 5: Ua tiav

Ua tiav !!
Ua tiav !!
Ua tiav !!
Ua tiav !!

YOG KOJ MUS!

Muab nws rau qee tus neeg uas yuav tau txais txiaj ntsig los ntawm nws!

Pom zoo: