Cov txheej txheem:
Video: RIG CELL LITE INTRO: Digital I/O: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:29
Cov tswv yim digital thiab tso tawm (digital I/O) ntawm RIG CELL LITE yuav tso cai rau koj txuas nws mus rau cov ntsuas, tus ua haujlwm, thiab lwm yam ICs. Kawm paub siv lawv li cas yuav tso cai rau koj siv RIG CELL LITE los ua qee yam muaj txiaj ntsig tiag tiag, xws li nyeem cov ntawv hloov pauv, ntsuas qhov pom kev, thiab tswj kev xa tawm.
Cov cim qhia
Tsis zoo li cov cim sib piv, uas tuaj yeem siv tus nqi hauv ntau qhov txiaj ntsig, cov cim digital muaj ob qhov sib txawv: HIGH (1) lossis LOW (0). Koj siv cov cim digital hauv cov xwm txheej, qhov twg cov tswv yim lossis cov ntawv tso tawm yuav muaj ib qho ntawm ob qhov txiaj ntsig. Piv txwv li, ib txoj hauv kev uas koj tuaj yeem siv lub cim digital yog tig lossis qhib LED.
rau cov lus qhia no, peb yuav sim siv lub pob ua lub tswv yim, thiab LED ua qhov tso tawm.
Qhov Yuav Tsum Tau Ua Koj yuav xav tau cov hauv qab no:
- 1 x Breadboard
- 1x Rig Cell Lite
- 1 x LED
- 5x Jumper Xov
- 2x 220 ohm resistors
- 1x laub khawm
Kauj Ruam 1: Teem CIRCUIT (HARDWARE)
Kev sib txuas yooj yim ntawm lub khob cij, peb tuaj yeem txuas LED mus rau tus pin tso tawm ntawm Arduino.
Txuas cov hlua jumper los ntawm RIG CELL LITE tus pin txuas D8 rau tus pin zoo ntawm tus LED raws li qhia. Txuas lwm lub jumper hlau los ntawm RIG CELL LITE tus pin GND rau tus pin polarity tsis zoo ntawm LED. circuitit yuav tsis ua ib yam dab tsi txog thaum koj tau xa cov cai rau hauv pawg thawj coj, uas tau ua tiav nyob rau theem tom ntej
Kauj Ruam 2: DIGITAL I/O (CODE)
Peb yuav siv cov software arduino IDE los hlawv cov lej hauv, raws li peb tus piv txwv yav dhau los ntawm kev teeb tsa ib puag ncig rau kev sau coding. https://www.instructables.com/id/RIG-CELL-LITE-INT… ntawm no yog qhov txuas rau arduino IDE software teeb tsa.
Kuv tau txuas cov cai ntawm no.
- Txhua yam uas koj yuav tsum ua yog qhib nws nrog qhov program kos duab arduino.
- txuas koj lub xov tooj ntawm tes rig nrog lub khoos phis tawj.
- xyuas kom tseeb tias koj lub rig cell lite tau kuaj pom los ntawm koj lub computer
- teeb tsa koj lub rooj tsav xwm rau arduino nano hauv pawg tswj hwm xaiv.
- nyem upload rau lub tswv yim software.
Kauj Ruam 3: RESULTS: D
Tom qab ua tiav xa cov digital_IO.ino code ntawm RIG CELL LITE, sim thawb lub pob. yog tias txhua yam nyob rau hauv kev txiav txim, sai li sai tau thaum koj nias lub laub, koj yuav pom cov coj yuav ci. thaum koj tshem koj tus ntiv tes los ntawm kev thawb lub pob, cov coj yuav tua.
Yog tias nws tsis yog, xyuas kom koj tau teeb tsa lub Circuit kom raug thiab txheeb xyuas thiab muab cov lej tso rau hauv koj lub rooj tsavxwm, lossis saib ntu kev daws teeb meem.
Pom zoo:
Covid Kev Nyab Xeeb Kev Nyab Xeeb Ntu 1: Intro rau Tinkercad Circuits !: 20 Cov Kauj Ruam (nrog Duab)
Covid Kev Nyab Xeeb Kev Nyab Xeeb Ntu 1: Intro rau Tinkercad Circuits!: Nyob zoo, phooj ywg! Hauv ob ntu ntu no, peb yuav kawm paub siv Tinkercad Cov Kev Siv Hluav Taws Xob - lom zem, muaj zog, thiab cov cuab yeej siv rau kev kawm paub txog kev ua haujlwm li cas! Ib txoj hauv kev zoo tshaj los kawm, yog ua. Yog li, peb yuav xub tsim peb tus kheej txoj haujlwm: th
Intro rau IR Circuits: 8 Kauj Ruam (nrog Duab)
Intro rau IR Circuits: IR yog cov thev naus laus zis tsis yooj yim los ua haujlwm nrog. Tsis zoo li LEDs lossis LASERs, Infrared tsis tuaj yeem pom nrog tib neeg qhov muag. Hauv Cov Lus Qhia no, Kuv yuav qhia kev siv Infrared hla 3 qhov sib txawv hauv qhov sib txawv.Qhov kev sib txuas yuav tsis yog koj li
RIG CELL LITE INTRO: BLINK LED: 4 Kauj Ruam
RIG CELL LITE INTRO: BLINK LED: Taw qhia LEDs yog lub teeb me me, muaj zog uas tau siv rau hauv ntau daim ntawv thov sib txawv. Txhawm rau pib tawm, peb yuav ua haujlwm ntawm ntsais ib qho LED, Nyob Zoo Lub Ntiaj Teb ntawm microcontrollers. Qhov ntawd yog txoj cai - nws yog qhov yooj yim li tig lub teeb rau thiab tawm. Nws
RIG CELL LITE INTRO: Nrog ADAFRUIT SSD1306 THIAB JOYSTICK: 3 Kauj Ruam
RIG CELL LITE INTRO: NROG ADAFRUIT SSD1306 THIAB JOYSTICK: Lub vijtsam no tswj los ntawm microcontroller SSD1306 siv I2C npav thiab tuaj yeem sib tham nrog feem ntau ntawm microcontroller muaj hnub no. tab sis rau hnub no, peb yuav sim lub vijtsam no nrog peb rockin 'RIG CELL LITE microcontroller. Koj tuaj yeem pom qhov no O
RIG CELL LITE INTRO: INFRARED SENSOR: 3 Kauj Ruam
RIG CELL LITE INTRO: INFRARED SENSOR: Lub ntsuas hluav taws xob infrared yog lub tshuab hluav taws xob, uas tso tawm kom paub qee yam ntawm ib puag ncig. Ib qho IR sensor tuaj yeem ntsuas qhov kub ntawm ib yam khoom thiab txheeb xyuas cov lus tsa suab.Qhov hom kev ntsuas ntsuas tsuas yog siv hluav taws xob hluav taws xob, tsis yog