Cov txheej txheem:

ZOO ZOO Alpha-numeric ZOO TSHAJ: 7 Kauj Ruam (nrog Duab)
ZOO ZOO Alpha-numeric ZOO TSHAJ: 7 Kauj Ruam (nrog Duab)

Video: ZOO ZOO Alpha-numeric ZOO TSHAJ: 7 Kauj Ruam (nrog Duab)

Video: ZOO ZOO Alpha-numeric ZOO TSHAJ: 7 Kauj Ruam (nrog Duab)
Video: Hmong New Song 2019 Xy Lee feat. SuabNag Yaj - Koj Yog Kuv Lub Neej (Official MV - 4K) 2024, Hlis ntuj nqeg
Anonim
ZOO ZOO Alpha-numeric DISPLAY
ZOO ZOO Alpha-numeric DISPLAY
ZOO ZOO Alpha-numeric DISPLAY
ZOO ZOO Alpha-numeric DISPLAY
ZOO ZOO Alpha-numeric DISPLAY
ZOO ZOO Alpha-numeric DISPLAY

Muaj qee qhov kev xaiv yog tias koj xav tau cov zaub uas tuaj yeem pom los ntawm thoob plaws hauv chav, cov zaub loj. Koj tuaj yeem ua ib qho zoo li kuv 'sijhawm sib npaug' lossis 'leds ntawm iav' tab sis qhov no yuav siv li 40 teev ntawm kev ua haujlwm nkees. Yog li ntawm no yog YOOJ YIM los ua cov zaub loj. Kev tsim muaj 4 qhov xov hlau yooj yim, 5 volts, hauv av, SDA, SCL. Txhua tus cim ua yeeb yam raug nqi txog ob txog peb daus las. Yog li 8x2 zaub yog kwv yees li $ 30. Tsis suav RTC, Arduino, 3d luam tawm, ntim khoom.

Cov duab kos yog qhov yooj yim thiab nkag siab yooj yim. Yooj yim hloov kho rau ib qho ntawv xov tooj. Cov ntawv yog 1/2 loj nrog 1/2 tus lej loj thiab txheej ntawm cov lej loj.

Qhov tsis zoo yog koj tsuas tuaj yeem ua cov zaub ntawm 64 char. TCA9548 khiav tawm ntawm chaw nyob (8). Hitachi lcd yog SLOW heev thiab cov duab loj dua thiab lub sijhawm sau yuav siv sijhawm txog ob teev los sau tag nrho cov zaub. Yog li yog tias koj xav tau cov phab ntsa loj zaub nws yuav qeeb. Muaj ntau txoj hauv kev los dag thiab siv ntau dua 64 lcds tab sis kuv yuav tsis npog qhov ntawd hauv kab ntawv no vim qhov no yog YOOJ YIM los ua zaub.

YOG cov duab ntawm LCD …… TSIS TXHOB tawm zoo. Cov lus qhia no saib GREAT hauv lub neej tiag tiag.

Khoom siv:

Ib qho uno 328… nano, pro-mini, uno…

nrov RTC ZS-042 module (DS3231)

TCA9548 I2c mux splitter

Hitachi 1602 nrog lub hnab ev I2c ntau li 64

3d luam tawm ntawm pcb npog. Kuv muaj 2 hom xaiv los ntawm

lub thawv ntoo zoo li daim duab thav duab ua los ntawm 1.5 nti ntoo txiav (Tshuag ntawm Lowes)

cov txuj ci yooj yim: cov laug, xaim, txuas, txuas, M2 txiv ntoo thiab ntsia liaj qhov rooj

Kauj Ruam 1: Xeem Xaj

XYOO TSHIAB
XYOO TSHIAB
XYOO TSHIAB
XYOO TSHIAB
XYOO TSHIAB
XYOO TSHIAB
XYOO TSHIAB
XYOO TSHIAB

qhov tseem ceeb rau kev tsim

Ntoo thav duab yog txheej txheem ntoo txiav ntawm Lowes. Koj tsis tuaj yeem pom sab hauv sab uas yog li 1/4 nti tob. Daim di ncauj no tso cai rau 3d npog kom haum sab hauv lub thav duab thiab kov pem hauv ntej yam tsis poob.

Kauj Ruam 2: TUS NEEG UA HAUJ LWM

YUAV UA LI CAS XWB
YUAV UA LI CAS XWB
YUAV UA LI CAS XWB
YUAV UA LI CAS XWB
YUAV UA LI CAS XWB
YUAV UA LI CAS XWB

qee qhov kev tsim kho yooj yim thiab cov lus qhia:

Kuv sib tshooj lcd pcb kom ua rau lawv ze dua ces ntsia los ntawm qhov sib tshooj. Muab daim kab xev lossis qee qhov rwb thaiv tsev ntawm ob qho tib si raws li lawv yuav luv. Kuv tau txais qee lub lcd nrog I2c lub hnab ev ntawv txuas thiab kuv yuav tsum tshem lub hnab ev thiab rov qab nws vim tias ob txhais ceg tob dhau thiab yuav tsis tso cai rau sib tshooj. Sim cais cais lcd thiab hnab ev. Tuav lub hnab ev ntawv kom yaug nrog lub lcd kom lawv sib tshooj.

Cov lcds tau sib cais rau hauv txhab nyiaj ntawm 8. Tab sis kuv lub tshuab luam ntawv 3d lub txaj tsis tau luam tawm qhov dav li ntawd kuv thiaj tau npog rau lub txhab nyiaj ntawm 6 lcds. tom qab ntawd kuv tau ua cov saw zoo li npog uas tuaj yeem yog qhov dav. Tsuas yog ntxiv daim kawg. Kuv siv cov xim hobby dub los npog lub lcd coj yog li cov coj yuav tsis ci dhau ntawm xub ntiag. Pleev xim rau hauv qab kom tso cai rau ib qho khiav tawm ntawm lub lcd es tsis txhob ntws mus rau hauv lub lcd thiab rhuav tshem nws.

Tshuav ntau lcds raws li koj xav tau. Daim duab 8x2 muaj cov duab zoo tshaj plaws tab sis koj tuaj yeem ua 16x2 lossis txhua qhov loj me uas koj nyiam.

Kauj Ruam 3: SCHEMATIC thiab 3d Luam Ntawv

SCHEMATIC thiab 3d Luam Ntawv
SCHEMATIC thiab 3d Luam Ntawv
SCHEMATIC thiab 3d Luam Ntawv
SCHEMATIC thiab 3d Luam Ntawv
SCHEMATIC thiab 3d Luam Ntawv
SCHEMATIC thiab 3d Luam Ntawv
SCHEMATIC thiab 3d Luam Ntawv
SCHEMATIC thiab 3d Luam Ntawv

Qhov sib txuas yog YOOJ YIM tsuas yog 4 xov hlau. Koj tuaj yeem siv jumper cables tab sis yog tias qhov no yog txoj haujlwm ntev kuv yuav siv cov xov hlau txuas dua.

A 6 coj nyiaj hauv txhab nyiaj yog txhua yam uas haum rau kuv lub tshuab luam ntawv yog li kuv ua tus qauv loj me me. Tsuas yog khaws ntxiv thiab tom qab ntawv xa daim kawg.

Kauj Ruam 4: YUAV TSUM PIC YUAV TSHWJ XEEB

TSUAS PIC YUAV TSHUAJ LI CAS
TSUAS PIC YUAV TSHUAJ LI CAS
TSUAS PIC YUAV TSHUAJ LI CAS
TSUAS PIC YUAV TSHUAJ LI CAS
TSUAS PIC YUAV TSHUAJ LI CAS
TSUAS PIC YUAV TSHUAJ LI CAS
TSUAS PIC YUAV TSHUAJ LI CAS
TSUAS PIC YUAV TSHUAJ LI CAS

Raws li qhia hauv kab lus txhua tus lcd mus rau qhov sib txawv 'S' tus pin ntawm 9548. Tsis khi rau lub ntsiab SDA, SCL kab. 9548 hloov I2c kab rau txhua lub lcd. Nco ntsoov qhov no.

Kuv tshem lub hwj chim liab ntawm coj los ntawm lub hnab ev ntawv vim tias nws tau ci heev Kuv tseem siv lub diode hla tus coj jumper es tsis txhob xoom ohm jumper. Lub diode yog tus qauv silicon diode thiab nws txo qhov hluav taws xob 0.7 kom ua rau lub teeb pom kev ncaj ncees. (tsis kaj heev thaum hmo ntuj)

Kauj ruam 5: SKETCH

Sketch yog yooj yim thiab ncaj nraim rau pem hauv ntej. Kuv tsis mloog yog tias ib tus neeg ua lub tsev qiv ntawv ntawm tus lej alphanumeric ib sab … tsuas yog muab qee qhov credit rau kuv, raws li tus lej lej ntawm Jim Jakubcin.

Siv rau lcd yog Hitachi 16x02 tus qauv lcd module. Nws muaj cc (cim cim) ntawm 8 txhua tus. CC tuaj yeem hloov kho txhua lub sijhawm tab sis yog 2 ntawm tib qhov chaw nyob tau luam tawm tib lub sijhawm qhov tseeb cc yuav sau dua lwm qhov. Yog li qhov pib koj tsuas tuaj yeem siv teeb tsa 8. Muaj txoj hauv kev me ntsis kom kov yeej qhov no tab sis nws tsis tshua muaj neeg txwv. Txhua tsab ntawv tau tsim los ntawm kab ntawv khaws cia hauv PROGMEM. Tom qab ntawd hu los ntawm lwm qhov 'cname' array siv lub luag haujlwm thiab 'xc' raws li kev hu sib txawv. Qhov 'displayChr (bank, #lcd, top/btm, cname)' yog siv los ua cov zaub. Hauv daim duab no kuv tsuas muaj 2 lub txhab nyiaj ntawm 8. Qhov siab tshaj plaws tuaj yeem yog 8x8. Tsuas yog ntxiv 'yog lub txhab nyiaj' rau lub displayChr () nrog qhov chaw nyob raug ntawm 9548. (saib cov lus tseeb qhov chaw nyob). Txhawm rau hloov kab I2c mus rau lwm tus 'S' tus pin ntawm 9548 hu yog sau (0-7). Hauv tsev qiv ntawv ntawm MUX I2c nws tsis nco qab hais tias B00000000 tua tag nrho cov khoom siv hloov pauv. Yog li siv lcd # 3 (0-7) B00000100 lossis 4. Qhov hloov pauv tau yooj yim heev uas kuv tshem lub tsev qiv ntawv los ntawm kuv daim duab tab sis koj yuav xav rub thiab pom yooj yim npaum li cas lub tsev qiv ntawv yog.

Txhawm rau luam tus lej tsuas yog hu rau displayChr (x, x1, x2, x3).

X = Qhov no yuav yog lub txhab nyiaj 0-7

X1 = lcd # 0-7 (sab laug rau sab xis)

X2 = topS lossis botS los luam cov tsiaj ntawv me hauv 1/2 lub lcd. Cov lej loj yuav cia li paub txhawm rau sau tag nrho lcd

X3 = yog lub npe ntawv lossis ARRAY PLACE hauv cname

RTC muaj qhov ntsuas kub nyob hauv thiaj li tuaj yeem siv nyeem ntawv sab hauv.

Kuv muaj DOW yooj yim uas kuv tau theej los ntawm ????

Txhawm rau pib lub moos txuas rau lub khoos phis tawj thiab nkag mus rau lub sijhawm raug ntawm 'SETUP ()' RTC muaj roj teeb yog li lub sijhawm yuav zoo. Cov xuaj moos yuav tsum tau hloov kho thaum khaws cia thaum nruab hnub yog li koj yuav txhim kho qhov hloov pauv yooj yim ntawm kev hloov kho tshiab ntawm lub khoos phis tawj.

| A2 | ib A1 | ib A0 | ib I2C Chaw Nyob ||: ---: |-| ib:-:: | | ib: ---: |-| ib: ---------: | | 0 | 0 | 0 | 0x70 ua | 0 | 0 | 1 | 0x71 ua | 0 | 1 | 0 | 0x72 ua | 0 | 1 | 1 | 0x73 ua | 1 | 0 | 0 | 0x74 ua | 1 | 0 | 1 | 0x75 ua | 1 | 1 | 0 | 0 tx76 | 1 | 1 | 1 | 0 tx77

Kauj Ruam 6: Lwm yam teeb tsa

LUS QHUAB QHIA
LUS QHUAB QHIA
LUS QHUAB QHIA
LUS QHUAB QHIA
LUS QHUAB QHIA
LUS QHUAB QHIA

Kuv thawj lcd array siv nand rooj vag thiab hloov lub lcd pab kom cais lcds. Tom qab ntawd kuv siv CD4051 nti uas tau tsim los hloov cov ntaub ntawv. Nws muaj ib qho hauv thiab hloov 8 kab tawm. Cia li zoo li qub zam rotor hloov. Kuv muaj pcb ntawm no. Nrog cov teeb tsa no koj tuaj yeem siv I2c thiab ua txhaum tus pin qhib thiab txuas iot rau cov tswv yim ntawm 4051 uas hloov qhov qhib rau lub lcd xaiv. Koj tuaj yeem khaws cascading qhov ua kom tas mus li rau lcds. Tab sis qhov no txwv 4051 rau tsuas yog 7 qhov hloov pauv thiab thib 8 mus rau tom ntej 4051. qhov no ua rau cov tsev txhab nyiaj = 7 tsis yog 8. Kuv siv tag nrho 8 thiab hloov chaw nyob ntawm lwm lub hnab ev khoom hauv lub txhab nyiaj thib ob. lub hnab ev ntawv thib ob muaj 4051 khi rau qhov ua haujlwm thiab ua tib qho kev hloov pauv ib yam li hauv thawj lub txhab nyiaj. Tsuas yog muaj chaw nyob thib ob ntawm SDA, SCL kab.

Qhov teeb tsa no xav tau TXHUA 6 cov ntaub ntawv kab ntawm lcd kom txuas nrog ua ke. RW rau hauv av. Qhov no siv sijhawm ntev dua thiab kuv xav kom lub ntsaws ntsaws txuas rau txhua lub lcd. Qhov teeb tsa no tsuas yog rau ib lub hnab ev ntawv ib lub txhab nyiaj es tsis siv lub hnab ev khoom rau txhua lub lcd.

Ntxiv cov lus pom yog tias koj xav paub ntau ntxiv txog kev teeb tsa no. nws nyuaj dua thiab koom nrog ntau dua li lwm qhov.

Kauj Ruam 7: KAWG PICs

FINAL PICs
FINAL PICs
FINAL PICs
FINAL PICs
FINAL PICs
FINAL PICs

Tsuas yog qee cov duab. Kuv muaj lub moos HC12 GPS sab nraum zoov uas xa hloov tshiab rau lwm lub vijtsam lcd (hauv cov duab). Tsuas yog qhia seb yuav ua dab tsi. Qhov no yog sab hnub tuaj los ua ib qho KIND ntawm LARGE DISPLAY.

ua tsaug rau kev nyeem ntawv…

Thov saib kuv lwm txoj haujlwm..oldmaninSC.

thiab koj yuav nyiam kuv "BUD BALL"

Pom zoo: