Cov txheej txheem:

Daim Npav Ntsuas Hluav Taws Xob Christmas Card: 10 Kauj Ruam (nrog Duab)
Daim Npav Ntsuas Hluav Taws Xob Christmas Card: 10 Kauj Ruam (nrog Duab)

Video: Daim Npav Ntsuas Hluav Taws Xob Christmas Card: 10 Kauj Ruam (nrog Duab)

Video: Daim Npav Ntsuas Hluav Taws Xob Christmas Card: 10 Kauj Ruam (nrog Duab)
Video: Tswv Yexus lub neej thaum pib txug thaum xaus 2024, Kaum ib hlis
Anonim
Electronic Quiz Christmas Card
Electronic Quiz Christmas Card

Xav ua qee yam ntxim nyiam rau Christmas?

Yuav ua li cas txog daim npav Christmas xeem ntawv hluav taws xob? Nws ua cov lus nug los ntawm nthwv dej cov ntaub ntawv tawm ntawm daim npav SD, yog li koj tuaj yeem hloov kho nws nrog kev xav thiab/lossis cov lus nug tsis txaus ntseeg. Yog tias cov ntawv xeem yog cov ntawv xeem, daim npav no yog qhov kev sim ntau dua.

Kauj Ruam 1: Qhov Kev Ntsuas Kev Ntsuas

Qhov Kev Ua Si
Qhov Kev Ua Si

Daim npav ua cov lus nug santee, thiab lawv yuav tsum teb los ntawm kev thawb A, B lossis C nyees khawm.

Yog tias lawv tau txais cov lus teb tsis raug lawv yuav tsum raug nplua (hauv qhov no mloog Boney M christmas carols thaum rov nias tus yuam sij kom paub tseeb tias lawv tsis cia li khiav tawm) Txhua lub sijhawm koj tau txais cov lus nug tsis raug lub txim raug nplua nce (piv txwv li koj yuav tsum mloog kom ntev dua Boney M clip)

Kauj Ruam 2: Nws Ua Haujlwm Li Cas

Nws Ua Haujlwm Li Cas
Nws Ua Haujlwm Li Cas

Lub microcontroller ua si 16KHz 8bit mono wav cov ntaub ntawv tawm ntawm SD daim npav. Cov ntaub ntawv tau teeb tsa ua ntau yam lus nug thiab lus teb. Qhov haujlwm tshaj plaws yog sau ua ke tag nrho cov lus nug.

Cov nyees khawm tau nruj ncaj nraim mus rau micro.

Tus hais lus tau tsav siv PWM tso tawm, uas kuv xav tias yog qhov tshiab. Nws muaj qee qhov yooj yim sab nrauv lim.

Daim npav SD tau ua haujlwm nyob rau hauv hom SPI nrog rau ISP lub cajmeem lub npe.

Kauj Ruam 3: Scrounging Parts

Scrounging Qhov
Scrounging Qhov

Kuv siv Atmel ATMEGA32 AVR microprocessor. Zoo nkauj npaum li ib qho AVR, lossis micro rau qhov teeb meem, yuav ua haujlwm. Kuv khiav ntawm 8Mhz siv lead ua sab nraud kom ua raws sijhawm rau qhov chaw nres nkoj.

Kuv tau tuav ntawm 64Mb SD Card qub- Nco ntsoov tias koj tau txais daim npav 64Mb lossis loj dua yog li windows yuav format nws rau FAT32.

Koj tseem yuav xav tau lub roj teeb- Kuv siv lub xov tooj ntawm tes-tawm lub roj teeb. Koj xav tau 3.3V LDO tus tswj hwm ib yam los txwv qhov hluav taws xob.

Kuv kuj pom lub qhov (socket) mini-usb rau them lub roj teeb

Lob tus neeg hais lus tawm ntawm ib khub qub ntawm lub mloog pob ntseg.

Thiab tau txais qee qhov microswitches ib yam

Koj tseem yuav xav tau qee qhov txawv txav transistors thiab passive tab sis koj yuav tsum muaj cov khoom no dag ib ncig!

Kauj Ruam 4: Lub Hwj Huam Circuit Court

Lub Hwj Huam Circuit Court
Lub Hwj Huam Circuit Court
Lub Hwj Huam Circuit Court
Lub Hwj Huam Circuit Court

Lub zog rau daim npav tau hloov pauv siv daim npav yooj yim uas qhib nruab nrab ntawm ob txoj kev sib txuas xov hlau. Thaum daim npog daim npav raug tshem tawm, daim npav rub rov qab thiab cov neeg tiv toj luv, txhawb nqa tus tswj hwm.

Tus tswj hwm xa 3.3V rau micro thiab SD card.

Lub roj teeb tau them los ntawm USB chaw nres nkoj siv qhov kev xav tsis txaus ntseeg.

Cov roj teeb theem yuav nyob nruab nrab ntawm 3 thiab 4 volts, tsim kev poob qis ntawm 1.3 thiab 0.3 volts hla tus tiv thaiv. Qhov no muab kev them nqi tam sim no ntawm 43 thiab 15mA uas yog qhov zoo nkauj qeeb, tab sis tsawg kawg nws tsis zoo li yuav tawg.

Kauj Ruam 5: Suab Circuit

Suab Circuit Court
Suab Circuit Court

Lub suab tau tsav los ntawm PWM channel khiav tawm ntawm lub moos moos ntawm 8MHz hauv "theem raug" hom (nce thiab nqis) uas siv 512 teev toj ib lub hlis.

Qhov no txhais tau tias tus qauv piv txwv zoo yog 15, 625Khz uas ze txaus rau lub suab ua piv txwv tus nqi ntawm 16Khz.

Cov resistor thiab capacitor ua ntej transistor yog lim qis. Lub lauj kaub kho qhov lus teb. Tus nqi 100K yog vim qhov no yog txhua yam kuv tuaj yeem pom!

Lub transistor ua haujlwm tsis muaj txiaj ntsig zoo hauv kev teeb tsa tus xa tawm.

Lub resistor/capacitor tom qab lub transistor yog nyob rau hauv vain kev cia siab ntawm suppressing transients. Kuv tsis paub yog nws ua haujlwm raws li lub hom phiaj. Daim npav ua haujlwm yog li kuv zoo siab …

Kauj Ruam 6: Siv Sab Hauv

Siv Sab Hauv
Siv Sab Hauv

Kuv pib los ntawm kev luam tawm daim npav hauv paus nrog txoj haujlwm ntawm cov khoom siv. Kuv tau theej thiab muab cov pinouts ntawm cov ntu los ntawm cov ntaub ntawv khaws tseg yog li kuv thiaj li muaj cov ntaub ntawv siv nyob ntawd.

Tack qhov seem nrog rab phom.

Solder deb!

Ntau cov kua nplaum!

Kauj ruam 7: Papercraft

Ntawv ntawv
Ntawv ntawv

Luam tawm ib lub thawv rau ntawm daim npav, quav nws thiab muab phom phom ua ke!

Kuv tau txiav tshwj xeeb tawm rau SD Card, USB them ntsaws ntsaws, lub taub hau chaw nres nkoj txuas thiab lub npe kab ntawv.

Kauj ruam 8: Software

Software
Software

Kuv nyiag SD Card nyeem software los ntawm CC Dharmani. Txheeb xyuas www.dharmanitech.com.

Kuv tsis tshaj tawm kuv tus lej vim nws tsis meej heev, thiab nws tsuas yog tweaked tawm tus txiv neej no txoj cai.

PWM timer hla dhau cuam tshuam rub tus qauv tshiab tawm ntawm qhov tsis thiab teeb tsa PWM tus nqi. Txoj haujlwm tseem ceeb sim ua kom tsis txhob nrawm li sai tau los ntawm SD daim npav. Nws zoo li zoo siv tau.

Kauj Ruam 9: Suab Clips

Suab Clips
Suab Clips

Txoj cai ua cov lus nug thiab raug nplua.

Cov lus nug suav nrog kev qhia, lus nug, peb qhov "tsab ntawv" kaw (piv txwv li "A", "B", "C"), peb "Kev Xaiv" (piv txwv li "nws yog", "lossis yog nws", "lossis yog teb "), peb qhov kev xaiv teb, tos lub voj," raug "clip thiab" tsis raug "clip.

Kuv pom tus uas xav ua tus neeg nplua nuj kaw qhov chaw thiab siv cov ntawd ua thim rov qab.

Kauj ruam 10: Tiav lawm

Tiav lawm
Tiav lawm

Xa nws mus rau qee tus phooj ywg uas tsis xav txog.

Pom zoo: