Cov txheej txheem:
- Kauj Ruam 1: Tau Txais Cov Cheeb Tsam
- Kauj Ruam 2: Paub Koj Cov Khoos Phis Tawj #1
- Kauj Ruam 3: Paub Koj Cov Khoos Phis Tawj #2
- Kauj Ruam 4: Txuas Txhua Qhov
- Kauj ruam 5: Qhov tshwm sim + Tsev qiv ntawv
Video: 3-Hlau HD44780 LCD rau Tsawg Tshaj 1 Daus: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:28
Hauv cov lus qhia no peb yuav kawm paub yuav ua li cas peb tuaj yeem txuas tus LCD raws li HD44780 chipset mus rau SPI npav thiab tsav nws nrog tsuas yog 3 xaim rau tsawg dua $ 1. Txawm hais tias kuv yuav tsom mus rau HD44780 cov lej lej hauv cov lus qhia no, tib lub hauv paus yuav ua haujlwm zoo ib yam rau lwm qhov LCD uas siv 8 lub npav me me cov ntaub ntawv tsheb npav, thiab nws tuaj yeem hloov kho tau yooj yim kom haum cov lus nrog 16 ntsis cov tsheb npav. HD44780 (thiab sib xws) raws cov lej lej feem ntau muaj nyob hauv 16x2 (2 kab suav nrog 16 tus cim) thiab 20x4 teeb tsa, tab sis tuaj yeem pom muaj ntau yam ntxiv. Qhov feem ntau 'nyuab' zaub yuav yog 40x4 zaub, cov zaub no tshwj xeeb raws li nws muaj 2 HD44780 tus tswj, ib qho rau ob kab sab saud thiab ib qho rau ob kab hauv qab. Qee cov duab LCDs muaj ob tus tswj ib yam nkaus. HD44780 LCDs zoo heev, lawv pheej yig heev, nyeem tau thiab yooj yim heev rau ua haujlwm nrog. Tab sis lawv kuj muaj qee qhov tsis zoo, cov lus qhia no siv ntau I/O pins thaum txuas nrog Arduino. Hauv cov phiaj xwm yooj yim qhov no tsis yog kev txhawj xeeb, tab sis thaum cov phiaj xwm loj dua, nrog ntau IO, lossis qhov twg xav tau tus pin rau yam xws li Analog nyeem lossis PWM, qhov tseeb cov LCD no xav tau yam tsawg kawg ntawm 6 tus pin tuaj yeem dhau los ua teeb meem. Tab sis peb tuaj yeem daws qhov teeb meem no hauv txoj kev pheej yig thiab nthuav.
Kauj Ruam 1: Tau Txais Cov Cheeb Tsam
Kuv siv TaydaElectronics rau feem ntau ntawm cov khoom kuv siv hauv txoj haujlwm no. Koj tuaj yeem tau txais cov khoom no ntawm eBay ib yam nkaus, tab sis kom yooj yim siv, Kuv yuav txuas koj rau Tayda. Shopping List2 - 74HC595 pob DIP161 - Cov txiv neej muaj txiv neej header - 2 pins. Qhov no tsis tas yuav tsum tau, Kuv siv qhov no los ua txoj hauv kev kom tsis muaj teeb pom kev tas mus li. 3 - Cov Khoom Siv Hluav Taws Xob - lub peev xwm 0.1µF; voltage 50V1 - Electrolytic Capacitor - muaj peev xwm 10µF; voltage 35V1 - Ceramic Capacitor - muaj peev xwm 220pF; voltage 50V1 - NPN -Transistor - ntu # PN2222A* 1 - 1k Ω Resistor1 - Trimmer Potentiometer - qhov siab tshaj 5kΩ1 - 470 Ω Resistor* Nrog NPN transistor lub teeb rov qab yuav nyob twj ywm kom txog thaum nws tau qhib los ntawm software. Yog tias koj xav kom muaj lub teeb pom kev zoo los ntawm lub neej ntawd, siv PNP hom transistor. Hloov pauv cov cai ntawm lub tsev qiv ntawv muab yuav tsum tau ua, txawm li cas los xij. Tag nrho sub rau cov npe no yog $ 0.744. Tus pin tus lej tseem tsis xav tau, yog li koj tuaj yeem txuag tau 15cents nyob ntawd thiab qhov suav tag nrho yuav yog $ 0.6.
Kauj Ruam 2: Paub Koj Cov Khoos Phis Tawj #1
Nov yog tus txheej txheem tus pin tawm ntawm HD44780 LCD, nws kuj zoo ib yam li qee cov duab LCD zoo ib yam. HD44780 tuaj yeem ua haujlwm hauv ob hom: 1. 4-ntsis hom, qhov twg txhua byte xa mus rau LCD suav nrog 2 4-ntu ntu. 2. 8-ntsis hom, uas peb yuav tsom mus. Cov LCD muaj 16 tus pin nyob rau hauv tag nrho, 3 tus tswj hwm tus pin thiab 8 tus pin cov ntaub ntawv: RS - Tswj seb peb puas xav xa cov lus txib lossis cov ntaub ntawv mus rau LCD. Qhov twg 'siab' txhais tau tias cov ntaub ntawv (tus cim) thiab 'qis' txhais tau tias yog lo lus txib byte. R/W - HD44780 maub los tso cai rau koj nyeem los ntawm nws RAM. Thaum tus pin no 'siab' peb tuaj yeem nyeem cov ntaub ntawv los ntawm nws cov ntaub ntawv pins. Thaum nws 'qis' peb tuaj yeem sau cov ntaub ntawv mus rau LCD. Txawm hais tias qhov kev xaiv nyeem los ntawm LCD tuaj yeem muaj txiaj ntsig hauv qee kis, peb yuav tsis hla nws hauv qhov kev qhia no, thiab peb yuav yooj yim rau tus pin no kom ntseeg tau tias nws ib txwm nyob hauv Hom Sau. E - E yog 'Pab kom' tus pin, tus pin no toggled 'siab' ces 'qis' los sau cov ntaub ntawv rau nws RAM thiab thaum kawg tso nws tawm ntawm qhov screen. DB0-7 - Cov no yog cov ntaub ntawv pins. Hauv 4 -ntsis hom peb tsuas yog siv 4 qhov siab DB4 -DB7, thiab hauv 8 ntsis hom txhua tus tau siv., peb tuaj yeem yooj yim pub nws lub zog los ntawm Arduino's + 5v tus pin. Vo - Qhov no yog tus pin uas tso cai rau koj teeb tsa qib sib piv rau cov zaub, nws xav tau lub zog siv zog, ib txwm siv 5K Ohm lauj kaub siv. LED + - Qhov no yog hwj chim qhov chaw rau lub teeb pom kev. Qee lub LCDs tsis tuaj nrog lub teeb pom kev zoo, thiab tsuas yog muaj 14 tus pin. Feem ntau tus pin no tseem xav tau kev txuas +5v. LED- - Qhov no yog lub hauv paus rau lub teeb pom kev zoo. ** Nws yog ib qho tseem ceeb los tshuaj xyuas cov ntawv teev npe lossis tshuaj xyuas nws PCB txhawm rau tshuaj xyuas lub teeb pom kev zoo, feem ntau LCDs yuav muaj lawv ua -in, qhov xwm txheej txhua yam koj yuav tsum ua yog siv lub zog rau LED+ thiab hauv av rau LED-. Tab sis nyob rau hauv rooj plaub koj lub LCD tsis muaj lub tshuab ua rau lub teeb pom kev, nws yog qhov tseem ceeb uas koj ntxiv ib qho, txwv tsis pub lub teeb pom kev zoo yuav siv ntau lub zog thiab nws thiaj li yuav hlawv tawm. Feem ntau txoj hauv kev no LCD tau txuas rau Arduino yog siv nws hauv 4-ntsis hom thiab tsaws R/W tus pin. Txoj kev no peb siv tus pin RS, E thiab DB4-DB7. Kev khiav hauv 4-ntsis hom muaj lwm qhov tsis zoo me me uas nws siv sijhawm ntev dua los sau cov ntaub ntawv rau lub vijtsam raws li nws yuav siv nyob rau hauv 8-ntsis teeb tsa. LCD muaj lub sijhawm 'teeb tsa' ntawm 37 microseconds, qhov no txhais tau tias koj yuav tsum tau tos 37 microseconds ua ntej xa cov lus txib tom ntej lossis cov ntaub ntawv-byte mus rau LCD. Txij li hauv 4-ntsis hom peb yuav tsum xa cov ntaub ntawv ob zaug rau txhua byte, tag nrho lub sijhawm nws yuav siv los sau ib qho byte nce mus txog 74microseconds. Qhov no tseem yoo txaus, tab sis kuv xav kom kuv tsim los tsim cov txiaj ntsig tau zoo tshaj plaws. Kev daws teeb meem rau peb cov teeb meem nrog tus lej pins siv nyob hauv Serial to Parallel converter…
Kauj Ruam 3: Paub Koj Cov Khoos Phis Tawj #2
Dab tsi peb yuav ua yog tsim cov adapter uas siv hom kev sib txuas lus tawm los ntawm Arduino thiab hloov cov ntaub ntawv mus rau hauv cov khoom sib luag uas tuaj yeem pub rau peb lub LCD. Hauv los ntawm 74HC595 nti. Nov yog qhov pheej yig heev thiab yooj yim rau kev khiav haujlwm hloov npe. Hauv qhov tseem ceeb nws ua dab tsi yog siv lub moos thiab cov ntaub ntawv qhia tawm uas nws siv los ua kom puv 8 me ntsis tsis nyob nrog 8 qhov khoom kawg uas tau 'teev hauv'. Thaum tus 'Latch' (ST_CP) tus pin tau coj 'siab' nws txav cov khoom no mus rau hauv nws 8 qhov kev tso tawm. 595 muaj qhov ua tau zoo heev, nws muaj cov ntaub ntawv xov xwm tawm tus pin (Q7 '), tus pin no tuaj yeem siv rau daisy saw 2 lossis ntau dua 595's ua ke los tsim Serial rau Parallel adapters uas yog 16 lossis ntau qhov ntxiv. Rau txoj haujlwm no peb yuav xav tau 2 ntawm cov chips no. Cov txheej txheem kuj tseem tuaj yeem hloov kho kom ua haujlwm nrog ib leeg 595 hauv 4-ntsis hom, tab sis qhov no yuav tsis raug npog los ntawm qhov kev qhia no.
Kauj Ruam 4: Txuas Txhua Qhov
Tam sim no peb paub tias peb cov cuab yeej ua haujlwm li cas peb tuaj yeem xaim nws tag nrho. Hauv qhov txheej txheem peb pom 2 595 daim kab xev daisy ua ke los ua ib qho 16 me ntsis tso zis. Hauv qab nti yog qhov tseem ceeb, thiab sab saud yog daisy txuas rau nws. Qhov peb pom ntawm no yog tias hauv qab 595 tab tom tsav lub LCD cov ntaub ntawv pins hauv 8-ntsis teeb tsa, sab saum toj nti tswj hwm RS teeb liab thiab teeb pom kev los ntawm tig lub transistor rau lossis tua. Nco ntsoov *nco txog LCD teeb pom kev zoo ntawm Paub koj lub khoos phis tawj #1 nplooj ntawv, hauv qhov xwm txheej koj lub LCD tsis muaj lub teeb pom kev rov qab, tsis txhob hnov qab ntxiv ib qho hauv koj lub Circuit Court. Hauv kuv rooj plaub LCDs kuv twb tau los nrog tus tiv thaiv ua-hauv, yog li kuv hla cov kauj ruam no. Qhov sib txawv tau siv los ntawm lub lauj kaub 5K Ohm, ib tus pin mus rau GND qhov thib ob mus rau VCC thiab lub wiper mus rau Vo tus pin ntawm LCD. Cov khoom siv hluav taws xob siv ntawm LCD's thiab 595's VCC kab yog decoupling capacitors, lawv nyob ntawd kom tshem tawm kev cuam tshuam. Lawv tsis yog qhov yuav tsum tau yog tias koj tab tom ua haujlwm ntawm lub khob cij, tab sis yuav tsum tau siv yog tias koj tsim koj tus kheej ntawm qhov kev hloov pauv no siv rau sab nraud ntawm "kev sim". R5 thiab C9 hauv qhov kev xaj tshwj xeeb tshwj xeeb no tsim RC ncua sijhawm, uas ua kom ntseeg tau tias cov ntaub ntawv hauv 595 cov txiaj ntsig tau muaj lub sijhawm ruaj khov ua ntej Enable pin ntawm LCD tau teeb tsa 'siab' thiab nyeem cov ntaub ntawv. Q7 'ntawm hauv qab 595 nkag mus rau hauv cov ntaub ntawv cov ntaub ntawv ntawm 595 nyob rau sab saum toj, qhov no tsim cov saw daisy ntawm 595s thiab yog li 16 ntsis interface. Kev txuas mus rau Arduino yog qhov yooj yim. Peb siv 3-kab teeb tsa, siv Arduino's SPI pins. Qhov no tso cai rau xa cov ntaub ntawv nrawm heev, xa 2 bytes mus rau LCD feem ntau siv sijhawm txog 8 microseconds. Qhov no nrawm heev, thiab nws yog qhov nrawm dua li lub sijhawm nws siv LCD los ua cov ntaub ntawv, yog li ncua 30 microseconds xav tau ntawm txhua qhov kev sau. Ib qhov txiaj ntsig loj heev ntawm kev siv SPI yog cov pins D11 thiab D13 tau qhia nrog lwm yam khoom siv SPI. Qhov no txhais tau tias yog tias koj twb muaj lwm tus tivthaiv uas siv SPI, xws li tus ntsuas hluav taws xob, qhov kev daws teebmeem no tsuas yog siv tus pin ntxiv rau lub teeb liab siv. Ntawm nplooj ntawv tom ntej peb yuav pom qhov tshwm sim. Kuv tau tsim lub hnab ev ntawv rau ntawm daim tawv ntoo thiab nws ua haujlwm zoo heev rau kuv txog tam sim no.
Kauj ruam 5: Qhov tshwm sim + Tsev qiv ntawv
"Daim duab muaj nqis ib txhiab lo lus", Kuv pom zoo nrog nqe lus no, yog li ntawm no yog qee cov duab ntawm qhov tshwm sim kawg rau txoj haujlwm no. Cov no yog cov duab ntawm cov khoom ua tiav, Fritzing PCB saib yog cov txheej txheem perfboard Kuv tau siv los tsim kuv lub hnab ev ntawv. Koj yuav pom nws muaj txiaj ntsig yog tias koj xav tsim koj tus kheej. Kuv nyiam nws heev uas kuv tsim PCB siv DipTrace thiab xaj ib pawg ntawm 10 PCBs. Kuv yuav xav tau 2 lossis 3 chav rau kuv tus kheej tab sis yuav ua rau seem muaj rau tus nqi cim thaum kuv tau txais lawv. Yog li yog leej twg txaus siab thov qhia rau kuv paub. * Kho kom raug: Cov PCBs nyob ntawm no, thiab lawv ua haujlwm. Nov yog daim duab tag nrho rau qhov haujlwm no, suav nrog PCBs tiag. https://imgur.com/a/mUkpw#0 Tau kawg kuv tsis hnov qab qhov tseem ceeb tshaj plaws, lub tsev qiv ntawv siv lub voj voog no nrog. Nws tau sib xws nrog lub tsev qiv ntawv LiquidCrystal suav nrog Arduino IDE, yog li koj tuaj yeem hloov pauv cov lus tshaj tawm saum toj ntawm koj daim duab thiab tsis tas yuav hloov dab tsi ntxiv hauv koj daim duab. Kuj tseem muaj qhov piv txwv piv txwv uas qhia pom tias txhua txoj haujlwm hauv lub tsev qiv ntawv ua haujlwm li cas, yog li txheeb xyuas nws.
Pom zoo:
Universal UFC rau Simulator Simulator rau Tsawg Tshaj 100 €: 7 Cov Kauj Ruam (nrog Duab)
Universal UFC rau Simulators Dav Hlau Rau Tsawg Tshaj 100 €: Thaum koj nkag mus rau hauv lub davhlau simulators, koj yeej tsis muaj cov tswj thiab khawm txaus.Ntawm li ib txwm siv lub dav hlau lo, lub qhov rooj thiab lub hauv pliaj pedals, koj ib txwm xav tau cov nyees khawm ntau dua thiab hloov pauv, tshwj xeeb nrog cov dav hlau dav hlau thiab dav hlau sib ntaus.Kuv thawj kauj ruam yog
Tsawg Yam Tsawg Tshaj Raspberry Pi Torrent Tshuab Tutorial: 4 Cov Kauj Ruam (nrog Duab)
Tsawg Yam Tsawg Tshaj Raspberry Pi Torrent Tshuab Tutorial: Hai neeg.Torrenting yog ib txwm txuag lub neej thiab cia siab tias tsis muaj lub taub hau txuas nrog Raspberry Pi ua qhov ntawd rau koj tuaj yeem ua tau zoo tiag tiag. Nrog yog qhia kuv yuav pab koj txhua tus los tsim Torrent Tshuab nrog Pi uas tuaj yeem khiav tsis tau taub hau thiab koj tuaj yeem siv peb Andro
Yuav Ua Li Cas Thiaj Li Tshaj Lij Tshaj Lij Tshaj Lij Tshaj Tawm Hauv Circuit Board: Phau Ntawv Qhia Ua tiav: 10 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Thiaj Li Tshaj Lij Tshaj Lij Tshaj Tawm Hauv Circuit Board: Phau Ntawv Qhia Tiav: Nyob zoo txhua tus, hnub no kuv yuav qhia koj yuav ua li cas thiaj ua tau PCB zoo, txhawm rau txhim kho koj cov phiaj xwm hluav taws xob. Cia peb pib
Ua DSLR Mount Stand Rau Tsawg Tshaj 6 $ Siv PVC Pipes (Monopod/Tripod rau Txhua Lub Koob Yees Duab): 6 Kauj Ruam
Ua DSLR Mount Stand rau Tsawg Tshaj 6 $ Siv PVC Pipes (Monopod/Tripod rau Txhua Lub Koob Yees Duab): Yog …. Koj tuaj yeem ua koj tus kheej nrog qee qhov PVC yeeb nkab thiab T's Nws lub teeb yuag … Nws zoo tag nrho … muaj zog … Nws yog kev kho tus kheej … Kuv yog Sooraj Bagal thiab kuv yuav qhia kuv qhov kev paub txog lub koob yees duab saum toj no kuv tsim rau
Hloov Bose QC25 rau Wireless suav nrog Microphone rau Tsawg dua 15 Daus las!: 4 Cov Kauj Ruam (nrog Duab)
Hloov Bose QC25 rau Wireless suav nrog Microphone rau Tsawg Tshaj 15 Daws!: Qhov no tsis yog qhov zoo tshaj hack, tab sis nws yog txoj kev pheej yig tshaj thiab ntxim nyiam tshaj plaws los ua kom txaus bose lub mloog pob ntseg QC25 wireless txawm tias nrog lub microphone ua haujlwm! Peb yuav xav yuav tsuas yog 2 daim pheej yig thiab ib yam dab tsi rau xuab zeb: 1: nokia adapter hloov