Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Ntxig BreadShield rau hauv Arduino Uno
- Kauj Ruam 2: Ntxig BreadShield rau hauv Breadboard
- Kauj Ruam 3: Ntxig lub LCD rau hauv Breadboard
- Kauj Ruam 4: Rub LCD tus R/W Pin rau GND
- Kauj Ruam 5: Ntxig rau Potentiometer
- Kauj Ruam 6: Ua Haujlwm Koj Arduino, Nrog Potentiometer Nruab Nrab Tus Pin Txuas
Video: Arduino thiab Cim LCD Hookup hauv BreadShield: 6 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Ntau lub phiaj xwm Arduino koom nrog cov cim LCDs, uas siv ntau dhau HD44780 raws tu qauv kom tau txais cov ntaub ntawv los ntawm Arduino. Txuas Arduino rau HD44780 feem ntau (hauv 4-ntsis hom) siv 12 xov hlau! Qhov ntawd yuav xaus rau qhov tsis meej pem loj ntawm jumper hlau spaghetti. Nws yuav siv sijhawm koj los txuas lawv. Nws nyuaj rau debug. Thiab nws nquag cuam tshuam los ntawm koj cov ntiv tes tsis meej pem.
Hauv qhov kev qhia no, peb yuav pom tias lub neej tuaj yeem yooj yim dua hauv BreadShield, Arduino daim ntaub thaiv rau lub khob cij.
Khoom siv
- Ib daim ntawv qhia zaub mov
- Ib Arduino Uno
- Ib qho BreadShield
Kauj Ruam 1: Ntxig BreadShield rau hauv Arduino Uno
Ntxig BreadShield rau hauv Arduino Uno ib yam li koj ib txwm ua los siv lwm daim thaiv npog.
Kauj Ruam 2: Ntxig BreadShield rau hauv Breadboard
Ntxig cov kab tawg ntawm BreadShield rau hauv lub khob cij, ib yam li koj ib txwm ntxig kab ntawm cov pins rau hauv lub khob cij.
Kauj Ruam 3: Ntxig lub LCD rau hauv Breadboard
Kuv xav tias koj lub LCD tau muag nrog txiv neej tus pinheaders, xws li hauv qhov kev qhia no los ntawm SparkFun. Tam sim no ntxig lub LCD (thev naus laus zis tus txiv neej tus pin) rau hauv lub khob cij, nrog GND tus pin ntawm LCD sib piv GND tus pin ntawm BreadShield. Qhov no yuav cia li tsim cov lus sib txuas tus pin-to-pin hauv qab no ntawm Arduino Uno thiab LCD (ntawm sab laug, tus pin LCD; ntawm sab xis, BreadShield tus pin):
VSS/GND ---- GNDVDD ---- 5VRS ---- TX E/pab kom ---- D3 D4 ---- D8D5 ---- D9D6 ---- D10D7 ---- D11 backlight anode- --- D12 backlight kathode ---- D13
Txoj kev khiav mus los yog pom hauv daim duab saum toj no.
Kauj Ruam 4: Rub LCD tus R/W Pin rau GND
Siv ib lub xaim jumper - tsuas yog lub xaim jumper xav tau hauv txoj haujlwm no, txhawm rau rub LCD tus R/W tus pin rau GND. Yog, qhov no kuj txhais tau tias txuas D2 ntawm Arudino rau GND. Tab sis qhov ntawd tsis yog teeb meem tsuav koj tsis siv D2.
Kauj Ruam 5: Ntxig rau Potentiometer
Ntxig lub potentiometer ua qhov faib hluav taws xob. Ntxig lub davhlau ya nyob twg xaus ntawm lub hwj chim ntsuas rau hauv 5V thiab GND sib txuas ua ke ntawm lub khob cij. Thiab tus naj npawb nruab nrab ntawm tus pin rau hauv kev sib txuas ntawm RX. Cov kab hluav taws xob tshwm sim tau qhia hauv daim duab saum toj no. Kuv xav tias tus potentiometer muaj qee lub xov hlau txuas rau nws ob txhais ceg lossis koj siv cov xov hlau txuas mus rau txoj kab 3 pins ntawm nws los ntawm lwm qhov chaw ntawm lub khob cij.
Kauj Ruam 6: Ua Haujlwm Koj Arduino, Nrog Potentiometer Nruab Nrab Tus Pin Txuas
Tam sim no koj tuaj yeem program koj Arduino. Ib qho piv txwv code yog nyob ntawm
github.com/forrestbao/BreadShield/blob/master/demo/HelloWorld/HelloWorld.ino
Txhawm rau ua haujlwm, nco ntsoov tias RX tus pin raug txuas los ntawm tus pin nruab nrab ntawm lub hwj chim. Tsuas yog maj mam nqa tus pin nruab nrab ntawm lub hwj chim tawm ntawm txoj hlua khi ntawm lub khob cij. Tom qab lub program, ntxig nws rov qab. Tom qab ntawd koj yuav pom cov ntawv cov ntsiab lus pom ntawm LCD. Yog tsis yog, kho lub hwj chim.
Xav tias tawm lus lossis lus nug ntawm no thiab kuv yuav teb sai li sai tau.
Txaus siab rau ntau qhov piv txwv ntawm BreadShield hauv qhov vis dis aus no.
Tam sim no BreadShield tab tom ua haujlwm sib sau ua ke. Ua kom zoo dua ntawm cov phiaj xwm luv nqi-tsuas yog tus nqi ntawm
Pom zoo:
Ua kom muaj kev sib nrug deb ntawm lub dav hlau tooj liab thiab Cov Cim Cim: 3 Kauj Ruam
Ua kom pom kev deb ntawm lub dav hlau tooj liab thiab Cov Cim Cim: Kuv yog tus nyiam ua haujlwm thiab kuv tsim Cov Ntawv Luam Circuit Court (PCB) rau kuv cov blog thiab Youtube Videos. Kuv xaj kuv li PCB online los ntawm LionCircuits. Nws yog lub tuam txhab Indian thiab lawv muaj lub tshuab siv tshuab rau kev tsim khoom. Nws cia li tshuaj xyuas koj Ger
"Ntiaj Teb Yooj Yim" Neuralizer-build (Txiv neej hauv Cov Cim Cim Dub): 10 Kauj Ruam (nrog Duab)
"Ntiaj Teb Yooj Yim" Neuralizer-tsim (Txiv neej hauv Cov Cim Cim Dub): Koj puas yuav mus rau kev hnav khaub ncaws hauv ob peb hnub xwb, tab sis tseem tsis muaj khaub ncaws? Tom qab ntawv qhov kev tsim no yog rau koj! Nrog looj tsom iav dub thiab looj tsom iav dub, qhov kev txhawb nqa no ua tiav koj Cov Txiv Neej hauv Cov ris tsho dub. Nws yog raws qhov yooj yim tshaj plaws tau hluav taws xob Circuit
Micro: ntsis MU Vision Sensor rau Cov Pib Tshiab - Cov Ntawv Cim Tus Nqi thiab Tus lej Tus lej Cim: 6 Cov Kauj Ruam
Micro: me ntsis MU Kev Pom Kev Pom Zoo rau Cov Pib Tshiab - Cov Ntawv Cim Tus Nqi thiab Tus lej Cim Cim: Qhov no yog kuv phau ntawv qhia thib ob rau MU lub zeem muag pom kev. Hauv qhov haujlwm no peb yuav ua haujlwm micro: ntsis kom paub txog daim npav sib txawv los ntawm kev siv daim ntawv lo qhov tseem ceeb
LCD Invaders: Qhov Chaw Invaders Zoo Li Kev Ua Si ntawm 16x2 LCD Cov Cim Cim: 7 Kauj Ruam
LCD Invaders: Qhov Chaw Invaders Zoo Li Kev Ua Si ntawm 16x2 LCD Cov Cim Cim: Tsis tas yuav tsum qhia txog zaj dab neeg "Space Invaders" kev ua si. Qhov ntxim nyiam tshaj plaws ntawm txoj haujlwm no yog tias nws siv cov ntawv nyeem rau cov duab tso tawm. Nws tau ua tiav los ntawm kev siv 8 tus cim tshwj xeeb.Koj tuaj yeem rub tawm tiav Arduino
HV Insulator Pendant Teeb thiab Lwm Yam Cim Cim Teeb: 8 Kauj Ruam (nrog Duab)
HV Insulator Pendant Teeb thiab Lwm Yam Cim Cim Teeb: Kuv tau tawm ntawm qhov tangent ib hnub thiab pib ua cov teeb sib txawv. Kuv 3D luam tawm qee qhov thiab tau txais ntau qhov seem los ntawm Lowes thiab lub khw muag duas nyiaj.Qhov zoo tshaj plaws yog thaum kuv pom lub thoob ntawm lub hwj chim ncej insulators ntawm lub tsev muag khoom. Lawv tau $ 3 txhua. Tom qab ntawd