Cov txheej txheem:

Ua Lub Sijhawm Tham: 10 Kauj Ruam (nrog Duab)
Ua Lub Sijhawm Tham: 10 Kauj Ruam (nrog Duab)

Video: Ua Lub Sijhawm Tham: 10 Kauj Ruam (nrog Duab)

Video: Ua Lub Sijhawm Tham: 10 Kauj Ruam (nrog Duab)
Video: Tus Neeg Ruam - R-Lin Thoj | New Song [ Official MV ] Nkauj Tawm Tshiab 2023 Hmong Song 2023 2024, Kaum ib hlis
Anonim
Ua Lub Sijhawm Tham
Ua Lub Sijhawm Tham

Lub moos no tshaj tawm lub sijhawm siv koj lub suab!

Kuv muab tso ua ke ua khoom plig rau cov paj kws qub nyob rau yav qaum teb California. Koj tuaj yeem hu xov tooj rau POPCORN los ntawm txhua lub xov tooj, thiab cov ntaubntawv povthawj yuav qhia koj lub sijhawm ntawm ib hnub. Thaum xub thawj, kuv xav siv Joanne Daniels lub suab (nws yog lub suab paj nruas), tab sis kuv tsis tuaj yeem tau txais cov qauv txaus ntawm nws hais txhua tus lej. Pat Fleet (tus poj niam uas hais tias "A, T, thiab T") yeej muaj cov kaw suab, tab sis koj yuav tsum them rau lawv. Yog li kuv tau txiav txim siab siv kuv lub suab, thiab nws yooj yim los hloov koj tus kheej. Ua ntej, me me demo, tom qab ntawd tig mus rau nplooj ntawv tom ntej thiab kuv yuav qhia koj yuav ua li cas thiaj ua rau ntawm lub khob cij.

Kauj ruam 1: FAQ

FAQ
FAQ
FAQ
FAQ

Q: Nws ua haujlwm li cas? Cov qauv suab tau khaws cia ntawm SD daim npav. Lub sijhawm tau taug qab nrog DS1307 RTC. Tus tswj hwm microcontroller pov npav RTC txhua thib ob txhawm rau hloov kho cov duab thiab saib cov liab loj 'tshaj tawm' khawm. Thaum koj tsoo lub pob, lub microcontroller ua cov qauv tsim nyog raws li lub sijhawm tam sim no. Q: Kuv yuav siv kuv lub suab li cas? Koj tsuas yog kaw koj lub suab thiab luam rau SD daim npav. Kuv yuav qhia koj li cas me ntsis, tab sis nws yooj yim. Q: Kuv puas tuaj yeem ua nws x? Tej zaum. Koj tuaj yeem rub tawm cov cai ntawm cov kauj ruam tom ntej - koj tuaj yeem hla nws thiab hloov pauv yam yooj yim yooj yim. Q: Cov lus qhia ntxaws yog dab tsi? Nws yog Parallax Propeller khiav ntawm 80Mhz txuas nrog DS1307 Lub Sijhawm Sijhawm Tiag thiab HD44780 8x2 Character LCD (4-ntsis interface). Tus kiv cua tswj hwm txhua yam suav nrog kev rov ua suab siv rayman cov khoom siv yav tom ntej zoo nkauj ua si. 16kHz mono lossis stereo wav playback tau txais kev txhawb nqa. Nov yog taug kev ntawm nws ua haujlwm li cas. Nco ntsoov tias kuv tab tom siv LCD UI module thiab Propeller Platform SD, tab sis cov lus qhia no yuav qhia koj yuav ua li cas thiaj tsim nws nrog lub khob cij.

Kauj ruam 2: Cov ntaub ntawv

Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv
Khoom siv

Kuv tsim kuv lub moos nrog Propeller Platform SD thiab LCD module UI. Yog tias koj tau txais cov ntawd, tsuas yog qhov koj yuav xav tau yog lub mloog pob ntseg txuas lub moos rau tus hais lus. Teeb yog txawv me ntsis, thiab kuv yuav qhia koj yuav ua li cas tom qab.

Ua ntej kuv yuav qhia koj li cas tsim koj lub moos ntawm lub khob cij - thiab ntawm no yog yam koj yuav xav tau rau qhov ntawd; Code Ntawm no yog qhov chaws. Txhua yam muaj nyob hauv qab daim ntawv tso cai MIT. SD daim npav qhov kuv tau teeb tsa kuv li ntawm tus protoboard thiab txiav kom loj me nrog dremel. Kuv tab tom siv lub qhov los ntawm mouser, Koj tseem tuaj yeem txuas rau cov ntaub qhwv ntawm ib qho ntawm cov microSD - SD adapters. Kuv tau tso kuv tus protoboard los ua kom yooj yim dua txuas. 8x2 Cim LCD Qhia lub sijhawm. Sparkfun muaj 16x2 LCD uas yuav ua haujlwm, cov cuab yeej hais lus me me kuv ripped qhov no tawm ntawm cov teeb tsa me me uas kuv muaj. Koj kuj tseem tuaj yeem siv lub mloog pob ntseg3xAA lub thawv roj teeb Mouser Tshooj #12BH331/CS-GRParallax Propeller Muaj ntawm ParallaxDS1307 RTC Mouser Tshooj #700-DS1307N5Mhz Crystal Muaj ntawm Parallax 32.768 KHz Crystal Mouser Tshooj #73-XT26232kb EEPROM Mouser Part #579 IK25 /P 10k Pot Muaj Ntawm Parallax5x Tactile Switches Mouser Part #653-B3F-1000 3.3v Voltage Regulator Mouser Part #511-LD1117V33Around 10 10k ohm Resistors 4x 4.7k ohm Resistors3 lossis 4.1uF Ceramic Caps3 47uF Electrolytic CapsA Prop Plug Yog tias koj xav tau txhawm rau ntxiv roj teeb thaub qab rau RTC, koj yuav xav tau lub roj teeb 3v, lossis lub hau loj thiab diode Breadboard thiab ib pawg ntawm cov hlua txuas. Ib daim npav SD lossis microSD.

Kauj Ruam 3: Sau Koj Lub Suab

Sau Koj Lub Suab
Sau Koj Lub Suab

Cia peb pib los ntawm kev ntes koj lub suab piv txwv. Yog tias koj xav hla qhov no, koj tuaj yeem siv cov qauv uas kuv tau ua (rub tawm ntawm no). Audacity yog ib txoj haujlwm zoo rau kaw suab. Koj tuaj yeem rub tawm Audacity ntawm no. Thaum siv Audacity, nco ntsoov teeb tsa cov khoom siv rau 16-ntsis PCM, 16khz tus nqi. Mono zoo, lub tso suab yuav ua haujlwm, tab sis kuv tsuas yog txuas ib tus neeg hais lus (thiab vim li cas koj lub moos yuav tsum nyob hauv lub tso suab?). Txhua tus lej tau txais nws tus kheej wav. ntaub ntawv. Koj yuav xav tau cov piv txwv hauv qab no: Cov lej

  • 00. wb
  • 01. wb
  • 02. wb
  • 03. wb
  • 04. wb
  • 05. wb
  • 06. wb
  • 07. wb
  • 08. wb
  • 09. wb
  • 11. wb
  • 12. wb
  • 13. wb
  • 14. wb
  • 15. wb
  • 16. wb
  • 17. wb
  • 18. wb
  • 19. wb
  • 20. wb
  • 30. wb
  • 40. wb
  • 50. wb

lus

  • am.wav
  • pm.wav ua
  • geve.wav (nyob zoo yav tsaus ntuj)
  • morn.wav (nyob zoo sawv ntxov)
  • anoon.wav (nyob zoo tav su)
  • thiab.wav (thiab)
  • oclock.wav (O'Clock)
  • secs.wav (vib nas this)
  • exact.wav (raws nraim)
  • beep.wav, lub suab beep
  • standard.wav (Pacific lub sijhawm yuav yog)
  • dlight.wav (Pacific hnub nruab hnub yuav yog)

Sau txhua tus ntawm lawv ua cov ntaub ntawv cais thiab khaws rau hauv cov npe hauv paus ntawm koj daim npav SD. Kuv kaw tag nrho lawv raws li ib nthwv dej, tom qab ntawd txiav lawv mus rau hauv cov ntawv cais. Nws zoo li yooj yim los tswj cov ntim ntim li ntawd. Tsis tas li, yog tias koj muaj lub khoos phis tawj, koj yuav tau txais txiaj ntsig zoo dua siv lub microphone sab nraud. Nyob ntawm koj lub khoos phis tawj, koj yuav hnov qee yam nrov nrov lossis nrov nrov.

Kauj Ruam 4: Ua Nws: Schematic

Ua nws: Schematic
Ua nws: Schematic

Ua ntej, tshuaj xyuas cov txheej txheem hauv qab no kom nkag siab tias txhua yam txuas nrog li cas. Lub npov ntawm sab laug yog daim npav SD daim npav, thiab lub npov saum toj yog Prop Plug. Kuv yuav taug kev los ntawm breadboarding nws, tab sis cov phiaj xwm yog koj phau ntawv qhia zoo tshaj plaws. Nov yog hi-res version, lo-res version yog hauv qab no.

Kauj Ruam 5: Ua Nws: Lub Hwj Chim thiab Tus Kheej

Ua nws: Fais fab thiab Propeller
Ua nws: Fais fab thiab Propeller
Ua nws: Fais fab thiab Propeller
Ua nws: Fais fab thiab Propeller
Ua nws: Fais fab thiab Propeller
Ua nws: Fais fab thiab Propeller
Ua nws: Fais fab thiab Propeller
Ua nws: Fais fab thiab Propeller

Txuas lub roj teeb lub thawv rau lub khob cij thiab tsim lub zog theem.

Tom qab ntawd ntxiv Prop, txuas Vdd thiab Vss ntawm ob sab ntawm lub nti. Daim ntawv ceeb toom kuv tau ntxiv 2.1uF Ceramic caps rau txhua lub tsheb ciav hlau. Tam sim no ntxiv EEPROM thiab 2 10k resistors, txoj cai saum toj no Prop Thaum kawg, ntxiv tus pin taub hau thiab xov hlau txuas rau lub taub hau rau RST thiab P30 thiab P31.

Kauj Ruam 6: Ua Nws: Kuaj

Ua nws: Xeem
Ua nws: Xeem
Ua nws: Xeem
Ua nws: Xeem

Koj qhov teeb tsa Propeller yooj yim tam sim no ua tiav. Txuas koj Cov Txuas Txuas mus rau hauv lub taub hau, txuas lub usb cable thiab tua hluav taws xob rau Cov Cuab Yeej Siv. Ntaus F7 thiab xyuas kom koj tuaj yeem sib txuas lus nrog Prop

Kauj Ruam 7: Ua Nws: RTC

Ua nws: RTC
Ua nws: RTC
Ua nws: RTC
Ua nws: RTC

Tam sim no, cia ntxiv Propeller's 5Mhz siv lead ua (ntawm Xo thiab Xi). Tus Prop xav tau cov siv lead ua kom khiav ntawm 80mhz, uas yuav tsum tau ua ua play wav.

Ntxiv DS1307, txuas nws rau P29 thiab P28, tus pin tib yam li eeprom. Tsis tas li ntxiv lub moos siv lead ua rau DS1307's P1 thiab P2.

Kev xaiv, koj tuaj yeem muab DS1307 lub roj teeb thaub qab los ntawm kev txuas lub roj teeb 3v rau P3, lossis siv lub hau super thiab diode. Super cap yuav them txhua lub sijhawm siv lub zog rau hauv Circuit Court, thiab cov diode me me yuav ua kom nws tsuas yog tso rau DS1307 (tsis txhob siv lub zog tag nrho)

Kauj Ruam 8: Ua Nws: SD Card, Hais Lus, Zaub

Ua Nws: SD Card, Hais Lus, Zaub
Ua Nws: SD Card, Hais Lus, Zaub
Ua Nws: SD Card, Hais Lus, Zaub
Ua Nws: SD Card, Hais Lus, Zaub
Ua Nws: SD Card, Hais Lus, Zaub
Ua Nws: SD Card, Hais Lus, Zaub
Ua Nws: SD Card, Hais Lus, Zaub
Ua Nws: SD Card, Hais Lus, Zaub

Txuas tus neeg hais lus rau Propeller, tom qab ntawd SD Card. Nco ntsoov tias txhua kab ntawm daim npav SD muaj rub tawm 10k resistor.

Txuas lub LCD Zaub. Qhov no yog qhov kev sib txuas nyuaj - xa mus rau cov txheej txheem rau txhua tus pin. Nco ntsoov tias DB4-DB7 mus txog 4.7k resistors.

Thaum kawg ntxiv cov hloov pauv koj yuav siv rau kev nkag.

Kauj Ruam 9: Ua Nws: Programming

Ua nws: Programming
Ua nws: Programming

Thaum koj tau txais txhua yam txuas nrog, rub tawm tus lej cim (ntawm no), txuas koj li Prop Plug thiab teeb tsa lub Propeller. Nov yog yam nws yuav zoo li;

Kauj Ruam 10: Ua Nws: Siv LCD UI thiab Propeller Platform SD

Ua Nws: Siv LCD UI thiab Propeller Platform SD
Ua Nws: Siv LCD UI thiab Propeller Platform SD
Ua Nws: Siv LCD UI thiab Tus Kws Tshaj Tawm Platform SD
Ua Nws: Siv LCD UI thiab Tus Kws Tshaj Tawm Platform SD

Yog tias koj siv Propeller Platform SD thiab LCD UI, teeb tsa sib txawv me ntsis;

1 - Propeller Platform SD tau npaj ua ntej. 2 - Ua raws li cov lus qhia no kom ua ke ua ke LCD UI. 3 - Koj tsis xav tau Prop Plug. Propeller Platform SD muaj lub bootloader, yog li koj tsuas yog unzip cov ntawv no thiab luam rau hauv paus ntawm koj daim npav SD. 4 - Koj yuav tsum tau ntxiv lub mloog pob ntseg lossis tsuas yog txuas cov xov txuas rau tus hais lus me me ntawm LCD UI. Koj tuaj yeem pom hauv cov duab kuv tau ua li cas. Qhov ntawd yog nws! Muaj kev lom zem nrog koj lub moos tham tshiab!

Pom zoo: