Cov txheej txheem:

Tsob Ntoo Maker Tswb: 4 Kauj Ruam
Tsob Ntoo Maker Tswb: 4 Kauj Ruam

Video: Tsob Ntoo Maker Tswb: 4 Kauj Ruam

Video: Tsob Ntoo Maker Tswb: 4 Kauj Ruam
Video: Zoo Siab Nrog Koj - Paj Tsua Thoj [ Official MV ] Nkauj Tawm Tshiab 2022 2024, Kaum ib hlis
Anonim
Tswb Muas Tswb
Tswb Muas Tswb
Tswb Muas Tswb
Tswb Muas Tswb
Tsoo Kas Fes Tswb
Tsoo Kas Fes Tswb
Tsoo Kas Fes Tswb
Tsoo Kas Fes Tswb

Lub tswb ntsuas lub tshuab kas fes tso cai rau koj los tswj koj lub tshuab kas fes nyob deb ntawm lub app thiab hloov lub tshuab tawm tom qab nws ua tiav (tam sim no teeb tsa rau 6 feeb). Koj tseem tuaj yeem teeb tsa lub tswb uas ua rau lub kas fes kub hnyiab thiab npaj kom nws nyob rau lub sijhawm kom lub tswb nrov tawm.

Nws tau muab faib ua ob ntu, daim ntawv thov uas koj tuaj yeem teeb tsa hauv Android ntaus ntawv, thiab tus txais uas qhib koj lub tshuab kas fes.

Khoom siv

Lub tshuab kas fes

Ib pawg Arduino thiab USB cable (Kuv siv Arduino Nano tab sis Arduino UNO yuav tsum ua haujlwm zoo)

HC-05 Bluetooth tus txais

SG05 servo motor

Jumper xov hlau thiab lub khob cij

Qee daim kab xev thiab duab los qhia

Kauj Ruam 1: Txuas Cov Khoom Siv Hluav Taws Xob

Txuas Cov Khoom Siv Hluav Taws Xob
Txuas Cov Khoom Siv Hluav Taws Xob

Txuas koj Arduino, Sg-90 servo motor, thiab HC-5 Bluetooth module ua ke raws li cov lus qhia saum toj no. Koj yuav tsum tau siv lub khob cij los txuas ob VCC tus pin los ntawm Bluetooth module thiab servo motor rau koj 5V tus pin ntawm Arduino.

Nco ntsoov tias cov txiv kab ntxwv/daj ntawm koj lub cev yuav tsum yog tus PWM tus pin, thaum VCC yuav yog xaim liab thiab GND dub/xim av xaim.

Kauj Ruam 2: Coding Arduino Receiver

Coding Arduino Txais
Coding Arduino Txais

Qhib Arduino Tsim thiab ntshuam coffee_maker.rar.

Koj tuaj yeem hloov kho lub kaum sab xis ntawm kev ua haujlwm servo los ntawm kev hloov tus lej hauv myservo.write (). Kuv tau teeb tsa los ntawm 100 (tawm) mus rau 50 (ntawm) lub kaum ntse ntse.

Sau thiab xa nws nws cov cai rau hauv koj li Arduino Board.

Nco tseg: Yog tias koj tab tom siv Arduino Nano hloov ntawm Uno, nco ntsoov hloov qhov kev xaiv compiler (Koj kuj tseem yuav xav hloov bootloader rau ATmega328p (qub) yog tias nws tsis suav)

Kauj ruam 3: Txhim Kho Mobile App

Txhim kho Mobile App
Txhim kho Mobile App
Txhim kho Mobile App
Txhim kho Mobile App
Txhim kho Mobile App
Txhim kho Mobile App

Rub tawm coffee_maker.apk thiab nruab nws rau koj lub cuab yeej Android.

Kuv kuj suav nrog daim ntawv thov rau cov uas txaus siab, uas kuv tau sau hauv MIT App Inventor.

Kauj Ruam 4: Txuas Lub Tsav Tsheb rau Lub Tshuab Kas Fes

Txuas lub tshuab mus rau Lub Tshuab Kas Fes
Txuas lub tshuab mus rau Lub Tshuab Kas Fes

Nov yog qhov uas koj yuav tsum tau coj tawm koj cov txuj ci tsim khoom, vim tias txhua lub tshuab kas fes tsim qauv sib txawv.

Kuv tau kaw qee daim ntawv tawv tawv rau ntawm caj npab lub cev, uas kuv txuas rau sab ntawm lub thawv ntawv ntawv. Kuv tso lub kas fes txiag tso rau saum thiab kho qhov siab ntawm lub cav mus rau qhov hloov ntawm lub tshuab kas fes.

Kuv txuas lwm daim duab los qhia khoov thiab lo rau hauv daim duab C thiab kub lo rau nws mus rau qhov hloov pauv, kom nws zoo dua qhov txav ntawm lub cev muaj zog.

Tab sis vim yog qhov sib txawv tsim, koj yuav tsum tso siab rau koj txoj kev ntse.

Pom zoo: