Cov txheej txheem:

Quiz Game Buzzer Bluetooth Edition: 7 Kauj Ruam (nrog Duab)
Quiz Game Buzzer Bluetooth Edition: 7 Kauj Ruam (nrog Duab)

Video: Quiz Game Buzzer Bluetooth Edition: 7 Kauj Ruam (nrog Duab)

Video: Quiz Game Buzzer Bluetooth Edition: 7 Kauj Ruam (nrog Duab)
Video: Fake iPhone 11 Pro Max 😡😠😡 2024, Kaum ib hlis
Anonim
Image
Image

Yog li kuv tau ua qhov Quiz Buzzer ib pliag dhau los …

www.instructables.com/id/Quiz-Game-Show-Bu…

Tom qab siv nws ib pliag kuv tau txais qee cov lus tawm tswv yim thiab txiav txim siab txhim kho nws.

Txhawm rau pom cov cai… nws yuav tsum ua haujlwm zoo…

bitbucket.org/Clapoti/triviabuzzer_arduino…

bitbucket.org/Clapoti/quizzer_xamarin/src/…

Kauj Ruam 1: Lub Circuit Court Prototype

Txuas
Txuas

Nov yog tsab ntawv foob tshiab nrog txhua daim tshiab.

Kauj ruam 2: Txuas

Txuas
Txuas

Ua ntej kuv hloov cov khoom sib txuas rau lub thawv khawm kom lawv tsis txhob xauv rau hauv lub thawv.

Kuv kuj tseem siv cov xov hlau me kom nws tsis loj li thaum khaws cia.

Kauj ruam 3: Suab

Suab
Suab

Kuv ntxiv qhov kev hloov pauv rau lub suab vim nws tsis nrov txaus.

www.sparkfun.com/products/11044

Kuv kuj tau ntxiv lub pob ntim kom nws tuaj yeem hloov kho raws li lub suab nrov ntawm ib puag ncig.

Kuv siv lub ??? nti uas tau muab txhua qhov muaj peev xwm uas kuv xav tau.

Kauj Ruam 4: Kev Txhim Kho Txoj Cai

Kuv ua kom zoo dua cov cai hauv micro tswj, tshwj xeeb tshaj yog li cas cov tswv yim tau nyeem, siv cov ntawv sau npe ncaj qha es tsis txheeb xyuas txhua qhov nkag ib zaug.

Koj yuav tsum txheeb xyuas qhov tseeb me ntsis hauv kev sau npe raws li pom hauv cov piv txwv hauv qab no …

B00000001 rau A0

B00000010 rau A1

B00000100 rau A2

lwm yam …

Thiab koj tuaj yeem tshawb xyuas ntau dua ib qho kev nkag mus rau tib lub sijhawm

B00110000 rau A5 thiab A6

Qhov no ua rau txoj cai nrawm dua, tab sis kuj tseem txo qhov kev pheej hmoo ntawm ib txwm muaj tib pab neeg teb.

void teeb () {DDRC = DDRC | B00000000; // teeb tsa PORTC (analog 0 txog 5) rau cov khoom nkag bitsPortC = 0;

}

lub voj void () {bitsPortC = PINC;

yog (bitsPortC == B00000001)

}

Kauj ruam 5: Mobile App

Txawb App
Txawb App
Txawb App
Txawb App
Txawb App
Txawb App

Qhov loj tshaj ntawm txhua qhov kev hloov pauv no yog ntxiv HM-10 Bluetooth nti rau hauv Circuit Court.

Nrog rau qhov no, tuaj ib daim ntawv thov Android los tswj lub thawv los ntawm lub xov tooj ntawm tes. Daim ntawv thov mobile tuaj yeem pom qhov pab pawg twg ua haujlwm zoo (LEDs nyob rau hauv pem hauv ntej ntawm lub cuab yeej), cov qhab nia thiab nws txiav txim siab yog tias cov lus teb raug lossis raug.

Kauj ruam 6: Chaw

Chaw
Chaw

Nrog rau daim ntawv thov mobile tuaj, muaj peev xwm hloov kho qhov kev paub me ntsis nrog kev teeb tsa … hloov lub suab, ntxiv hom nyuaj uas cov lus teb tsis raug tshem tawm cov ntsiab lus, xaiv yog tias tib neeg tuaj yeem teb txhua lub sijhawm lossis yog tus tswv game xav tau qhia lub tshuab nws yog "Npaj" … kom tsis txhob muaj tib neeg khawm cov khawm thiab tsis paub cov lus teb.

Kauj Ruam 7: Xaus

Xaus
Xaus
Xaus
Xaus
Xaus
Xaus
Xaus
Xaus

Nws yog qhov lom zem heev los kawm yuav ua li cas rau txhua qhov no yog li nws ua haujlwm ntawm Bluetooth … Bluetooth Tsawg Zog kom raug.

Tam sim no kuv tos ntsoov yuav siv qhov kev paub no rau lwm qhov haujlwm.

Pom zoo: