Cov txheej txheem:

Zam Tsis Pom Kev Fidget Spinner: 8 Kauj Ruam (nrog Duab)
Zam Tsis Pom Kev Fidget Spinner: 8 Kauj Ruam (nrog Duab)

Video: Zam Tsis Pom Kev Fidget Spinner: 8 Kauj Ruam (nrog Duab)

Video: Zam Tsis Pom Kev Fidget Spinner: 8 Kauj Ruam (nrog Duab)
Video: Mus ua nyab rau yim hmoob tsis zoo 7/27/2017 2024, Kaum ib hlis
Anonim
Persistence ntawm Vision Fidget Spinner
Persistence ntawm Vision Fidget Spinner
Persistence ntawm Vision Fidget Spinner
Persistence ntawm Vision Fidget Spinner
Persistence ntawm Vision Fidget Spinner
Persistence ntawm Vision Fidget Spinner

Qhov no yog fidget spinner uas siv Persistence of Vision effect uas yog qhov muag tsis pom qhov twg ntau cov duab tsis sib xws sib xyaw ua ib qho duab hauv tib neeg lub siab.

Cov ntawv lossis cov duab tuaj yeem hloov pauv ntawm Bluetooth Tsawg Zog txuas los ntawm kev siv PC daim ntawv thov uas kuv tau ua haujlwm hauv LabVIEW lossis los ntawm kev siv lub xov tooj smartphone dawb BLE app.

Txhua cov ntaub ntawv muaj. Schematic thiab firmware tau txuas nrog Cov Lus Qhia no. Cov ntaub ntawv Gerber muaj nyob ntawm qhov txuas no txij li kuv tsis tuaj yeem rub cov ntawv zip ntawm no: Gerbers

Kauj Ruam 1: Qhov Sib Txawv Ntawm Lwm Cov POV Devices ntawm Kev Lag Luam

Qhov Sib Txawv Ntawm Lwm Cov POV Devices ntawm Kev Ua Lag Luam
Qhov Sib Txawv Ntawm Lwm Cov POV Devices ntawm Kev Ua Lag Luam

Ib qho ntawm cov yam ntxwv tseem ceeb tshaj plaws yog cov duab tso tawm tsis yog nyob ntawm qhov nrawm nrawm ua tsaug rau nws txoj kev daws teeb meem tshiab kom ua raws txoj kev tig ntawm lub kaum ntse ntse. Lub ntsiab lus tias cov duab pom tau pom zoo ib yam ntawm ob qho tib si, siab dua thiab qis dua kev sib hloov (piv txwv li, thaum fidget spinner qeeb qeeb thaum tuav hauv txhais tes). Xav paub ntau ntxiv txog qhov no hauv Kauj Ruam 3.

Qhov no kuj yog ib qho tseem ceeb sib txawv ntawm ntau yam POV ntaus ntawv hauv khw (POV moos, thiab lwm yam) uas yuav tsum muaj qhov nrawm nrawm nrawm txhawm rau txhawm rau ua kom pom cov duab kom raug. Nws kuj tseem tsim nyog sau cia tias txhua lub Cheebtsam tau xaiv kom muaj lub zog siv tau qis tshaj plaws hauv kev rau siab ua kom lub roj teeb nyob ntev.

Kauj Ruam 2: Cov Lus Qhia

Nqe lus piav qhia
Nqe lus piav qhia
Nqe lus piav qhia
Nqe lus piav qhia
Nqe lus piav qhia
Nqe lus piav qhia
Nqe lus piav qhia
Nqe lus piav qhia

Nws siv kev txhim kho Microchip PIC 16F1619 microcontroller ua nws qhov tseem ceeb. MCU tau tsim nrog Angular Timer ib puag ncig uas siv omnipolar Hall sensor DRV5033 thiab ib lub hlau nplaum kom ua raws txoj kab ntawm lub kaum ntse ntse tig tam sim no.

Cov duab tau nthuav tawm siv tag nrho ntawm 32 LEDs, 16 ntsuab thiab 16 lub teeb liab tso tawm lub teeb (lub npe tam sim no 2mA). Cov diodes tau tsav los ntawm ob 16 channel tsis tu ncua tam sim no hloov pauv rau npe tsav tsheb TLC59282 txuas nrog hauv daisy saw. Txhawm rau kom muaj kev nkag tau mus rau lub cuab yeej, muaj Bluetooth Low Energy module RN4871 uas sib txuas lus rau lub microcontroller ntawm UART interface. Cov cuab yeej tuaj yeem nkag los ntawm ob lub computer lossis lub xov tooj smartphone. Lub cuab yeej tau qhib los ntawm kev siv lub khawm kov lub ntsej muag uas tau kos rau hauv qab daim npog ntsej muag ntawm daim ntawv luam tawm Circuit Board. Cov zis los ntawm lub peev xwm IC PCF8883 tau pub rau LOSSIS lub qhov rooj logic BU4S71G2. Lwm qhov nkag mus rau OR rooj vag yog lub teeb liab los ntawm MCU. Cov zis los ntawm LOSSIS lub rooj vag txuas nrog rau Pab kom tus pin ntawm tus hloov pauv qis TPS62745. Los ntawm kev siv teeb tsa no kuv muaj peev xwm qhib/tua lub cuab yeej los ntawm kev siv tsuas yog ib qho kov khawm. Capacitive khawm kuj tseem tuaj yeem siv hloov pauv ntawm kev ua haujlwm sib txawv lossis piv txwv li qhib lub xov tooj cua bluetooth nkaus xwb thaum xav tau txhawm rau txhawm rau txuag hluav taws xob.

Kauj ruam nqis hloov pauv TPS62745 hloov 6V lub npe los ntawm cov roj teeb mus rau qhov ruaj khov 3.3V. Kuv tau xaiv qhov kev hloov pauv no vim tias nws muaj kev ua haujlwm siab nrog lub teeb ntsais, tsis tshua muaj suab nrov tam sim no, ua haujlwm nrog lub me me 4.7uH kauj, nws tau suav nrog kev hloov hluav taws xob uas kuv siv los ntsuas roj teeb lub peev xwm nrog qhov tsawg kawg siv tam sim no thiab cov zis hluav taws xob yog cov neeg siv- xaiv tau los ntawm plaub qhov kev nkag siab ntau dua li cov lus tawm tswv yim (txo BOM). Lub cuab yeej mus pw tsaug zog tom qab 5 feeb ntawm qhov tsis ua haujlwm. Kev siv tam sim no hauv kev pw tsaug zog tsawg dua 7uA.

Cov roj teeb nyob tom nraub qaum raws li qhia hauv daim duab.

Kauj Ruam 3: Khaws Txoj Kev Taug Kev Ntawm Kev Sib Hloov

Khaws Taug Kev Ntawm Kev Sib Hloov
Khaws Taug Kev Ntawm Kev Sib Hloov
Khaws Txoj Kev Taug Kev Ntawm Kev Sib Hloov
Khaws Txoj Kev Taug Kev Ntawm Kev Sib Hloov

Lub kaum sab xis tig tau taug qab "los ntawm kho vajtse" theej los ntawm software lub ntsiab lus tias CPU muaj sijhawm ntau dua ntawm nws qhov kev pov tseg los ua lwm txoj haujlwm.

Kev nkag mus rau Angular Timer yog lub teeb liab los ntawm Hall sensor DRV5033. Hall sensor yuav tsim cov mem tes txhua zaus cov hlau nplaum hla los ntawm nws. Hall sensor nyob ntawm qhov sib tw ntawm lub cuab yeej thaum lub hlau nplaum nyob ntawm ib sab zoo li qub uas tus neeg siv tuav lub cuab yeej. Txij li thaum kuv siv tsuas yog ib lub hlau nplaum uas txhais tau tias Hall sensor yuav tsim cov mem tes uas tau rov ua dua txhua 360 °. Txawm tib lub sijhawm Angular Timer yuav tsim 180 pulses rau ib lub kiv puag ncig uas txhua qhov mem tes sawv cev 2 ° ntawm kev sib hloov. Kuv xaiv 180 mem tes, thiab tsis yog 360 ° piv txwv li, vim tias kuv pom 2 ° yog qhov zoo tshaj plaws nrug ntawm ob kab ntawm cov ntawv luam tawm. Angular Timer ua haujlwm txhua qhov kev suav suav thiab yuav hloov kho tau yog tias lub sijhawm nruab nrab ntawm ob lub ntsuas hluav taws xob hloov pauv vim qhov kev hloov pauv nrawm. Cov positon ntawm cov hlau nplaum thiab Hall sensor tau qhia hauv daim duab txuas.

Kauj Ruam 4: Kev Nkag Mus Rau Chaw Nyob

Kev Nkag Mus Los
Kev Nkag Mus Los

Kuv xav tau ib txoj hauv kev los hloov cov ntawv nthuav tawm tau zoo thiab tsis yog los ntawm qhov nyuaj nkaus xwb nws mus rau hauv txoj cai. Kuv tau xaiv BLE vim tias nws siv lub zog me me thiab siv nti RN4871 tsuas yog 9x11.5 mm hauv qhov ntev.

Ntawm BT txuas nws tuaj yeem hloov pauv cov lus pom thiab nws cov xim - liab lossis ntsuab. Cov roj teeb kuj tseem tuaj yeem saib xyuas kom paub thaum nws txog sijhawm hloov lub roj teeb. Cov cuab yeej tuaj yeem tswj tau los ntawm kev siv lub khoos phis tawj programmed hauv LabVIEW cov duab tsim ib puag ncig lossis los ntawm kev siv lub xov tooj BLE muaj kev ywj pheej uas muaj peev xwm sau ncaj qha rau xaiv BLE Cov yam ntxwv ntawm cov khoom siv txuas. Txog kev xa cov ntaub ntawv los ntawm PC/smartphone mus rau lub cuab yeej Kuv siv ib qho Kev Pabcuam nrog peb Tus Cwj Pwm, txhua tus txheeb xyuas los ntawm Handle.

Kauj Ruam 5: Daim Ntawv Thov PC

Daim ntawv thov PC
Daim ntawv thov PC

Nyob rau sab saum toj-sab laug peb muaj kev tswj hwm rau kev pib ua Lub Tebchaws Kev Ntsuas BLE daim ntawv thov server. Ntawd yog daim ntawv thov kab lus los ntawm NI uas tsim tus choj ntawm BLE module ntawm lub khoos phis tawj thiab LabVIEW. Nws siv HTTP raws tu qauv los sib txuas lus. Qhov laj thawj rau kev siv daim ntawv thov no yog LabVIEW tsuas yog muaj kev txhawb nqa ib txwm rau Bluetooth Classic thiab tsis yog rau BLE.

Thaum ua tiav kev sib txuas, MAC chaw nyob ntawm cov khoom siv sib txuas tau nthuav tawm ntawm sab xis thiab qhov ntawd tsis muaj xim dub ntxiv lawm. Muaj peb tuaj yeem teeb tsa cov duab txav mus los thiab nws cov xim lossis tsuas yog xa qee cov qauv los tig lub LEDs los yog tua thaum lub cuab yeej tsis tig, Kuv tau siv qhov ntawd los ntsuas lub hom phiaj.

Kauj ruam 6: Font

Font
Font

Cov tsiaj ntawv Askiv tau tsim los siv dawb siv tau software "Lub Dot Factory" tab sis kuv yuav tsum tau hloov kho ob peb ua ntej xa nws mus rau lub microcontroller.

Qhov laj thawj rau qhov ntawd yog PCB txheej txheem uas "tsis tau xaj", lub ntsiab lus tso tawm 0 los ntawm LED tsav tsheb yog tej zaum tsis txuas nrog LED 0 ntawm PCB, QHOV 1 tsis txuas nrog LED 1 tab sis theej rau LED15 piv txwv, thiab lwm yam yog vim li cas tsuas yog software tso cai tsim 2x8bit font tab sis lub cuab yeej muaj 16 LED rau txhua xim yog li kuv xav tau 16 me ntsis font loj. thiab sib txuas ua ke rau ib qho 16 ntsis tus nqi. Txij li qhov liab thiab ntsuab LED PCB txheej txheem sib txawv kuv xav tau los siv ob daim fonts. Qhov tso tawm rau cov ntawv ntsuab tau qhia hauv daim duab hauv qab no.

Kauj ruam 7: Programming Jig

Programming Yog
Programming Yog

Ntawm daim duab koj tuaj yeem pom lub program jig uas tau siv los teeb tsa lub cuab yeej.

Txij li, tom qab txhua txoj haujlwm, kuv yuav tsum khaws lub cuab yeej thiab tig nws kom pom qhov kev hloov pauv Kuv tsis xav siv tus qauv txheej txheem lub taub hau lossis tsuas yog siv cov kab xaim hluav taws xob. Kuv siv Pogo tus pin uas muaj lub caij nplooj ntoo hlav me me hauv lawv yog li lawv haum nruj heev rau qhov vias ntawm PCB. Los ntawm kev siv qhov teeb tsa no kuv tuaj yeem tsim kho lub microcontroller nrawm heev thiab tsis tas yuav txhawj xeeb txog cov phiaj xwm xov hlau lossis cov laug laug laug tom qab desoldering cov xov hlau.

Kauj Ruam 8: Xaus

Xaus
Xaus

Txhawm rau xaus, kuv xav taw qhia tias los ntawm kev siv Angul Timer ib puag ncig kuv tau ua tiav POV ntaus ntawv uas tsis vam khom ntawm qhov nrawm nrawm, yog li qhov ua tau zoo ntawm cov duab tso tawm tau khaws zoo ib yam ntawm ob qho siab dua thiab qis dua.

Los ntawm kev ua tib zoo tsim nws tau tswj hwm los daws teeb meem lub zog qis uas yuav ua rau lub roj teeb nyob ntev. Raws li qhov tsis zoo ntawm txoj haujlwm no kuv xav taw qhia tias tsis muaj txoj hauv kev los them lub roj teeb uas siv, yog li hloov roj teeb txhua lub sijhawm tam sim no yog xav tau. Cov roj teeb uas tsis muaj npe los ntawm cov khw hauv cheeb tsam tau ntev txog 1 lub hlis nrog kev siv txhua hnub. Kev Siv: Cov cuab yeej no tuaj yeem siv rau hauv ntau lub hom phiaj txhawb nqa lossis qhia kev pab hauv hluav taws xob lossis chav kawm physics piv txwv. Nws kuj tseem tuaj yeem siv los ua kev kho mob txhawm rau txhawm rau saib xyuas rau cov uas muaj Kev Xiam Hlwb Tsis Taus Hyperactivity Disorder (ADHD) lossis cov tsos mob ntawm kev ntxhov siab.

PCB Tsim Kev Sib Tw
PCB Tsim Kev Sib Tw
PCB Tsim Kev Sib Tw
PCB Tsim Kev Sib Tw

Thawj qhov khoom plig hauv PCB Tsim Kev Sib Tw

Pom zoo: