Cov txheej txheem:

LCD UI Module: 15 Kauj Ruam
LCD UI Module: 15 Kauj Ruam

Video: LCD UI Module: 15 Kauj Ruam

Video: LCD UI Module: 15 Kauj Ruam
Video: How to Use I2C LCD with Arduino | Very Easy Arduino LCD I2C Tutorial | Arduino 16x2 LCD I2C Tutorial 2024, Kaum ib hlis
Anonim
Lub LCD UI Module
Lub LCD UI Module

LCD UI module yog 8x2 backlit LCD nrog lub mini-joystick, ib qho ntxiv 'khawm liab loj', thiab bicolor LED rau kev tawm tswv yim ntxiv. Nws yog txoj hauv kev yooj yim los ntxiv kev sib cuam tshuam rau koj txoj haujlwm. LCD yog HD44780 sib xws thiab txuas rau 4-ntsis interface. Cov qauv no tau hais tshwj xeeb hauv Cuaj Hlis Lub Caij Nyoog Thiab Volts Spin Zone kem - koj tuaj yeem rub tawm pdf ntawm kab ntawv los ntawm Parallax (pdf), lossis rub cov qauv piv txwv (zip). muaj tus qauv sib nrug, yog li koj tuaj yeem ntxiv nws mus rau ib qho protoboard lossis lub khob cij. Koj tuaj yeem rub tawm cov txheej txheem & PCB tsim lossis yuav cov khoom ntawm Gadget Gangster. Lub sijhawm ua haujlwm yog li 45 feeb. Ua kom sov koj cov hlau txuas thiab mus rau theem tom ntej!

Kauj Ruam 1: Daim Ntawv Teev Npe

Daim Ntawv Teev Npe
Daim Ntawv Teev Npe

Thaum koj cov hlau txuas tau sov tuaj, xyuas kom paub tseeb tias koj muaj cov hauv qab no:

Daim ntawv teev npe

  • 1x 40 Pin header strip. Siv koj lub dikes, txiav qhov no rau hauv 2x16 tus lej ntu thiab 2x4 tus lej ntu.
  • 1x 2 x 8 Pin Pin.
  • 1 x 2 x 8 Pin header. Cov khoom siv los nrog lub thawv ntawv lub taub hau, tab sis tus pin taub hau liab ua haujlwm zoo xwb.
  • 1 x 2n3904 NPN transistor.
  • 1x Hloov Cap. Cov xim twg zoo, tab sis liab zoo li txias dua.
  • 1x 12mm tactile hloov.
  • 1x 4-kev taw qhia + nyuaj siab mini joystick. Qhov no yog qhov txawv me ntsis, tab sis koj tuaj yeem khaws nws los ntawm mouser.
  • 1x 8x2 Char LCD zaub nrog lub teeb pom kev zoo (HD44780 sib xws, uas yog qhov tseeb qhov qauv rau LCD tus cim qhia).
  • 1x Liab - Ntsuab Bicolor LED. Cov khoom siv los nrog 2 tus coj LED, tab sis pawg thawj coj tseem txhawb nqa 3 tus coj LED.
  • 1x Gadget Gangster LCD UI PCB. Koj tuaj yeem yuav cov PCB liab qab ntawm no.
  • 1 x 10k ohm thumbwheel potentiometer. Qhov no tswj hwm qhov sib txawv ntawm LCD
  • 1x 8pin bussed 10k ohm resistor network.
  • 1x 47 ohm resistor (Daj - Violet - Dub)
  • 8x 220 ohm resistors (Liab - Liab - Xim av)
  • 4x 2.2k ohm resistors (Liab - Liab - Liab)
  • 1x 470 ohm resistor (Daj - Violet - Xim av)

Kauj Ruam 2: 220 Ohm Resistors

220 Ohm resistors
220 Ohm resistors

Pib los ntawm kev ntxiv 220 ohm resistors (Liab - Liab - Xim av) ntawm qhov chaw R1 - R8. Resistors tsis yog polarized, yog li nws tsis muaj teeb meem qhov kev taw qhia koj ntxig rau lawv.

Kauj Ruam 3: 2.2k Ohm Resistors

2.2k Ohm Cov neeg tiv taus
2.2k Ohm Cov neeg tiv taus

Ntxiv tag nrho plaub ntawm 2.2k ohm resistors (liab - liab - liab) ntawm qhov chaw R11: R14.

Kauj Ruam 4: 47 Ohm Resistor

47 Ohm tus tiv thaiv
47 Ohm tus tiv thaiv

47 ohm resistor (Daj - Violet - Dub) mus ntawm R10. Qhov kev tiv thaiv no txwv qhov ntws tam sim no mus rau lub teeb pom kev ntawm LCD.

Kauj Ruam 5: 470 Ohm Resistor

470 Ohm tus tiv thaiv
470 Ohm tus tiv thaiv

Nov yog koj qhov kev txiav txim siab tsis sib xws zaum kawg, nws mus ntawm R9. Nws yog 470 ohms (Daj - Violet - Brown). Nws txuas rau P8. Yog tias koj xav tswj lub teeb pom kev ntawm lub LCD - nqa P8 siab kom qhib lub teeb pom kev. Koj tseem tuaj yeem hloov kho P8 kom hloov qhov ci ntawm lub teeb pom kev zoo lossis ua kom nws ploj mus / ploj mus.

Kauj Ruam 6: Kev Tswj Kom Zoo

Tswj kev sib piv
Tswj kev sib piv

Ntxiv cov potentiometer hauv qab 'sib piv', raws li qhia hauv daim duab. Kev tig lub lauj kaub no yuav tswj qhov sib txawv ntawm LCD.

Kauj Ruam 7: Bi-Xim LED

Bi-Xim LED
Bi-Xim LED

Ntxiv cov bicolor LED raws li qhia hauv daim duab. Cov hlau lead luv mus rau hauv qab, cov hlau lead ntev dua mus rau saum. Bicolor LED tiag tiag muaj 2 xim ua hauv. Ua kom LED ntsuab, nqa P16 siab thiab dab dej P17. Ua kom LED liab, tog P16 thiab nqa P17 siab. Los ntawm kev tig rov los nrawm nrawm, koj tuaj yeem ua rau nws daj.

Kauj Ruam 8: Teeb Tus Pin Headers

Teeb Tus Pin Headers
Teeb Tus Pin Headers

Lub taub hau tus pin yuav cia koj xaub lub LCD UI module ntawm lub khob cij lossis lwm qhov Gadget Gangster Platform module. Nws yog qhov muaj txiaj ntsig kom tau txais cov pins ncaj - txoj hauv kev yooj yim tshaj plaws kom lawv ncaj yog siv lwm tus qauv (lossis cov ntawv ci) ua jig. Hauv daim duab hauv qab no, Kuv tab tom swb tus pin headers rau hauv Propeller Platform module. Hauv cov kauj ruam tom ntej, Kuv yuav tso tus LCD UI module rau saum thiab muab tus pin txuas rau lub LCD UI module.

Kauj Ruam 9: Soldering ntawm Tus Pin Headers

Soldering ntawm tus Pin Headers
Soldering ntawm tus Pin Headers

Tam sim no tias tus pin tus lej nyob hauv 'jig', tso lub LCD UI board rau saum. Siv tus pin tus taub hau rau LCD UI lub rooj tsavxwm, cia tus laug txias thiab rub lub rooj tsavxwm tawm ntawm koj lub jig. Kev sib txuas ntawm cov qauv yog qhov zoo nkauj. Txhawm rau rub cov modules sib nrug, tsuas yog pob zeb sab saum toj module rov qab los.

Kauj ruam 10: Bussed Resistor

Bussed Resistor Cov
Bussed Resistor Cov

Tom ntej no yog bussed resistor. Txheeb xyuas tus thawj tus pin ntawm tus neeg tiv thaiv bussed - nws tau cim nrog tus xub me me nyob rau sab ntawm lub bussed resistor lub cev.

Kauj Ruam 11: Ntxiv Bussed Resistor

Ntxiv rau Bussed Resistor
Ntxiv rau Bussed Resistor

Tus lej PIN 1 yuav tsum hla lub qhov square, raws li qhia hauv daim duab hauv qab no

Kauj Ruam 12: Ntxiv Transistor

Ntxiv cov Transistor
Ntxiv cov Transistor

Lub transistor txuas nrog lub teeb pom kev zoo ntawm LCD thiab rau P8. Los ntawm kev nqa P8 siab, koj tuaj yeem tig lub teeb pom kev tom ntej. Txuas lub transistor raws li qhia hauv daim duab, sab tiaj ntawm lub transistor taw tes rau sab xis, raws li qhia hauv silkscreen ntawm lub rooj tsavxwm.

Kauj ruam 13: Box Header

Lub thawv Header
Lub thawv Header

Ntxiv lub npov taub hau raws li qhia hauv daim duab. Cov pins no yuav txuas rau LCD zaub. Lub npov taub hau hauv cov khoom muaj qhov thais ntawm ib sab - nws tsis muaj teeb meem sab twg lub ntsej muag thais ntsej muag. Koj kuj tseem tuaj yeem siv tus pin tus lej ib txwm tsis siv lub thawv headers.

Kauj Ruam 14: Ntxiv Cov Hloov

Ntxiv Qhov Hloov
Ntxiv Qhov Hloov

Muaj ob txoj hauv kev, 4 txoj kev + nyuaj siab thiab 12 hli thawb-khawm tactile hloov. P23 = 12 hli thawb-khawm tactile hloov P22 = nyuaj siab ntawm 4 txoj kev + khawm siab P21 = sab xis ntawm 4 txoj kev P20 = sab laug ntawm 4 txoj kev P19 = nqis rau ntawm 4 txoj kev P18 = nce ntawm 4 txoj kev Thaum cov pins mus siab, uas txhais tau tias lawv tau nyuaj siab.

Kauj ruam 15: Txhua yam ua tiav

Ua Tiav!
Ua Tiav!

Ntxiv qhov hloov pauv npog rau sab saum toj hloov pauv, raws li qhia hauv daim duab. Ntxiv 2x8 tus pin qhov rau hauv qab ntawm LCD module. Kuj ntxiv qhov hloov pauv npog rau 12mm hloov, raws li qhia hauv daim duab. Yog lawm, koj ua tiav lawm! Yog tias koj tab tom siv Propeller Platform Module, koj tuaj yeem rub tawm qhov program me me los ntawm Ceev thiab Volts los ntsuas nws. LCD UI module tau ua tiav nyob rau lub Cuaj Hli ntawm 'Spin Zone' hauv Ceev thiab Volts. Ib tus neeg tuaj yeem rub tawm kab ntawv los ntawm Parallax (ntawm no, txawm hais tias nws tseem tsis tau txog tam sim no), lossis Ceev thiab Cov neeg siv Volts tuaj yeem nyeem kab ntawv ntawm no.

Pom zoo: