Cov txheej txheem:

Ntxiv Video & Suab rau Koj Txoj Haujlwm Microcontroller: 7 Kauj Ruam
Ntxiv Video & Suab rau Koj Txoj Haujlwm Microcontroller: 7 Kauj Ruam

Video: Ntxiv Video & Suab rau Koj Txoj Haujlwm Microcontroller: 7 Kauj Ruam

Video: Ntxiv Video & Suab rau Koj Txoj Haujlwm Microcontroller: 7 Kauj Ruam
Video: Hwm Pheej Thoj - Rov Mus Txog Vib Nais 2024, Kaum ib hlis
Anonim
Ntxiv Video & Suab rau Koj Txoj Haujlwm Microcontroller
Ntxiv Video & Suab rau Koj Txoj Haujlwm Microcontroller
Ntxiv Video & Suab rau Koj Txoj Haujlwm Microcontroller
Ntxiv Video & Suab rau Koj Txoj Haujlwm Microcontroller

7 Segment LED cov lus qhia muaj txiaj ntsig zoo rau tso saib tus lej thiab bitmap LCD tus tuaj yeem ua cov duab yooj yim, tab sis qee zaum qhov tseeb, xim tso tawm video yog txoj hauv kev yooj yim tshaj plaws mus:

  • Cov vis dis aus sib xyaw (aka, RCA Jack) muaj nyob thoob plaws, thiab ua haujlwm nrog 3 " - 60" cov lus
  • 640x480 xim tshuaj ntsuam tso cai rau koj tso tawm cov ntaub ntawv nyuaj, duab, kab kos thiab cov duab kos
  • Kev sib xyaw yog pheej yig, yooj yim rau txoj haujlwm, tuaj yeem ua haujlwm nrog lub cim xeeb me me, thiab siv cov xov tooj pheej yig

Cov lus qhia no yog rau ProtoPlus, lub rooj sib tham hauv Circuit Court Kuv tsim los ntxiv cov vis dis aus thiab suab txuas rau Propeller Platform. Vim tias Propeller twb muaj cov vis dis aus tsim tawm ntawm lub nti, tsim cov vis dis aus yooj yim heev. Kuv siv qhov seem ntawm qhov chaw ntawm lub rooj tsavxwm kom suav nrog 240 qhov 2-kab / 3-kab qhov chaw tsim qauv thiab txuas suab. Kuv siv tus pin ntev me ntsis ntev dua li ib txwm yog li nws tuaj yeem txuas nrog rau saum toj lossis hauv qab ntawm Propeller Platform. Kuv kuj tau cim cov cim hauv thaj chaw tsim qauv ntawm lub silkscreen kom yooj yim pom tias cov kab ke txuas nrog li cas. ProtoPlus muaj raws li cov khoom siv ntawm Gadget Gangster. Tus kiv cua tuaj yeem tso tawm PAL lossis NTSC, ntawm no yog ob peb qhov piv txwv ntawm qhov ua tau li cas: Fancy GraphicsReally Fancy 3D Graphics (Koj yuav tsum saib qhov no!) UI / Cov Lus Qhia

Kauj ruam 1: FAQ

FAQ
FAQ

ProtoPlus yog dab tsi? Nws yog qhov nthuav dav rau Propeller Platform, nws tso cai rau koj txuas cov vis dis aus thiab suab rau koj Prop thiab muaj thaj tsam ua qauv. Nws ua haujlwm nrog dab tsi? Nws tau teeb tsa los ua haujlwm Parallax Propeller, nws yuav haum rau sab saum toj (lossis hauv qab) Lub Propeller platform, lossis koj tuaj yeem tso nws rau ntawm lub khob cij. Yuav nws ua haujlwm nrog Arduino lossis PICaxe? Tsis yog Arduino thiab PICaxe yooj yim tsis nrawm los tsim cov vis dis aus ntawm lawv tus kheej, lawv xav tau 'tus pab' microcontroller mob siab rau video. Tellymate yog ib qho cuab yeej uas kuv paub txog, txawm hais tias nws yog B/W, ntawv nkaus xwb. NTSC lossis PAL? Txog rau koj - Tus Tshaj Tawm yog cov ntsiab lus zoo kawg nkaus los tsim ob lub teeb liab.

Kauj Ruam 2: Qhov Chaw thiab Cov Cuab Yeej

Qhov Chaw thiab Cov Cuab Yeej
Qhov Chaw thiab Cov Cuab Yeej

Nov yog ntu uas koj xav tau. Yog tias koj tau xaj cov khoom siv, kos ob zaug kom paub tseeb tias koj lub pob muaj txhua qhov khoom teev tseg. Yog tias muaj dab tsi ploj, tsuas yog email rau peb ntawm [email protected];

  • 0.01 uF Radial Ceramic Cap
  • 47 uF Radial Electrolytic Cap
  • 40 tus pin headers
  • 2x 1.1k Resistors (Xim av - Xim av - Liab)
  • 560 ohm Resistor (Ntsuab - Xiav - Xim av)
  • 270 ohm Resistor (Liab - Violet - Xim av)
  • 2 x RCA phono jacks
  • ProtoPlus PCB

Txhawm rau tsim nws, koj yuav xav tau 20-30 watt soldering hlau thiab ib khub ntawm dikes. Saib kuv qhov kev qhia Soldering yog tias qhov no yog koj thawj zaug soldering.

Kauj Ruam 3: Ua: Resistors

Ua: Resistors
Ua: Resistors
Ua: Resistors
Ua: Resistors

Cia peb pib los ntawm kev ntxiv 3 tus tiv thaiv uas tsim cov yeeb yaj kiab DAC;

R1 yog 1.1k ohms, nws yog xim av - xim av - Liab R2 yog 560 ohms, nws yog ntsuab - Xiav - Xim av R3 yog 270 ohms, nws yog Liab - Violet - Xim av Ntxiv R4. Qhov ntawd kuj yog 1.1k ohms (Xim av - xim av - Liab)

Kauj Ruam 4: Ua: Capacitors

Ua: Capacitors
Ua: Capacitors
Ua: Capacitors
Ua: Capacitors

Muaj 2 capacitors:

C2 yog cov ceramic.01uF capacitor, nws tsis yog polarized, yog li nws tsis muaj teeb meem txoj hauv kev nws mus rau hauv. C1 yog electrolytic 47uF capacitor. Nws yog polarized, cov hlau lead ntev mus dhau los ntawm lub xwmfab qhov ze rau '+'. Cov kab txaij ntawm lub cev ntawm lub capacitor mus rau sab ze rau ntawm ntug ntawm lub rooj tsavxwm.

Kauj Ruam 5: Ua: Cov Txuas Txuas

Ua: Connectors
Ua: Connectors

Ntxiv 2 RCA txuas. Lub cim txuas 'TV' yuav tso tawm TV, thiab Lub Suab txuas tawm cov kab tawm suab.

Kauj Ruam 6: Ua: Pin Headers

Ua: Pin Headers
Ua: Pin Headers
Ua: Pin Headers
Ua: Pin Headers

Txoj hauv kev yooj yim tshaj plaws los ntxiv tus pin lub taub hau yog ntxig lawv rau hauv lub khob cij (lossis Propeller Platform, raws li qhia hauv daim duab), muab lub rooj tsavxwm tso rau saum, thiab muab nws tso rau hauv. Thaum tus pin lub taub hau raug muag rau ProtoPlus, tsuas yog nqa nws tawm ntawm koj daim ntawv tais thiab koj tau txais tus pin ncaj ncaj.

Kauj Ruam 7: Siv Nws thiab Rub Tawm

Siv nws thiab rub tawm
Siv nws thiab rub tawm
Siv nws thiab rub tawm
Siv nws thiab rub tawm

Siv nws: Video

Ua yeeb yaj kiab nrog Propeller yog qhov ncaj:

  1. Tau Txais Cov Cuab Yeej Cuab Yeej. Nov yog kev txhim kho ib puag ncig rau Prop. Txuas rau Mac/Linux thiab lub qhov rais yog hauv ntu rub tawm hauv qab no.
  2. Suav nrog 'tv_text' yam khoom. Cov cuab yeej Propeller los nrog lub tsev qiv ntawv tsim nyog ntawm cov khoom, suav nrog TV khoom. Hauv ntu OBJ ntawm koj cov cai, tsuas suav nrog:

    text: "tv_text"

  3. Pib lub TV. Siv:

    ntawv.start (12)

  4. Muab cov khoom tso rau ntawm qhov screen nrog text.str, text.hex, text.out, thiab lwm yam Ntawm no yog qhov piv txwv:

    text.str (hlua (13, "Nyob Zoo Ntiaj Teb", $ C, 1))

Tag nrho txoj haujlwm yuav yog:

CON

_clkmode = xtal1 + pll16x 'teeb tsa Prop rau 16x xtal _xinfreq = 5_000_000' qhia rau Prop tias xtal tau ua haujlwm ntawm 5MHz OBJ ntawv: "tv_text" 'suav nrog cov khoom no PUB pib text.start (12)' pib TV nrog basepin 11 text.str (hlua (13, "Nyob Zoo Ntiaj Teb", $ C, 1)) 'siv txoj hauv kev' str 'los sau cov ntawv Nov tsuas yog cov ntsiab lus ntawm kev sau cov ntawv yooj yim. Cov duab yog nyuab dua me ntsis, tab sis tsis phem, saib ntawm Graphics_demo kom pom yuav ua li cas ua duab, duab, thiab duab.

Siv Nws: Suab

Suab tsuas yog ib qho yooj yim. Twb muaj cov khoom siv los ua si.wav cov ntaub ntawv, lub suab sib txuas, thiab kev sib xyaw ntau zaus. Yog tias koj tsuas xav tau tus piv txwv nrawm thiab qias neeg, Kwabena tus hais lus tsav tsheb yam khoom yooj yim. Lob cov khoom, hloov PWM_Pin tas mus li 11, thiab ntawm no yog qhov piv txwv siv:

CON

_clkmode = xtal1 + pll16x 'teeb tsa Prop rau 16x xtal _xinfreq = 5_000_000' qhia tus Prop the xtal khiav ntawm 5MHz OBJ tus hais lus: "PWMEngine" 'suav nrog cov khoom no PUB pib hais lus. PWMEngine' pib ua tus hais lus.changespeakerfrequency 1000) 'hloov pauv mus rau 1, 000 hertz hais lus.changespeakervolume (50)' ntim rau 50% waitcnt (clkfreq + cnt) 'cnt = lub sijhawm tam sim no lub sijhawm, clkfreq = zuam hauv 1 tus neeg hais lus thib ob.changespeakerfrequency (6000)' hloov zaus mus rau 6,000 hli

Rub tawm

Cov duab Hi-res tau nce ntawm flickr Lub rooj tsavxwm muaj nyob hauv MIT daim ntawv tso cai (pej xeem sau). Koj tuaj yeem rub tawm cov qauv tsim hauv DipTrace Format, pdf, lossis png. Cov cuab yeej Propeller (ib puag ncig lub phiaj xwm rau Propeller) rau Mac/Linux thiab Windows. Tsis tas li, tsis txhob hnov qab khaws ib daim PDF ntawm Phau Ntawv Qhia Tawm. Tau txais ProtoPlus lossis Propeller Platform ntawm Gadget Gangster

Pom zoo: