Cov txheej txheem:

RIG CELL LITE INTRO: BLINK LED: 4 Kauj Ruam
RIG CELL LITE INTRO: BLINK LED: 4 Kauj Ruam

Video: RIG CELL LITE INTRO: BLINK LED: 4 Kauj Ruam

Video: RIG CELL LITE INTRO: BLINK LED: 4 Kauj Ruam
Video: Rick Astley - Never Gonna Give You Up (Official Music Video) 2024, Kaum ib hlis
Anonim
RIG CELL LITE INTRO: BLINK LED
RIG CELL LITE INTRO: BLINK LED

Taw qhia

LEDs yog lub teeb me me, muaj zog uas tau siv hauv ntau qhov kev thov sib txawv. Txhawm rau pib tawm, peb yuav ua haujlwm ntawm ntsais ib qho LED, Nyob Zoo Lub Ntiaj Teb ntawm microcontrollers. Yog lawm - nws yooj yim npaum li tig lub teeb rau thiab tawm. Nws yuav tsis zoo li ntau, tab sis tsim kom muaj lub hauv paus tseem ceeb no yuav ua rau koj muaj lub hauv paus ruaj khov thaum peb ua haujlwm rau kev sim ntau dua.

Qhov Yuav Tsum Tau Ua Koj yuav xav tau cov hauv qab no:

  • 1 x Breadboard
  • 1x Rig Cell Lite
  • 1 x LED
  • 2x Jumper Xov

Kauj Ruam 1: Teem CIRCUIT (HARDWARE)

Teem Teem CIRCUIT (HARDWARE)
Teem 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 lub xov hlau jumper los ntawm RIG CELL LITE tus pin txuas D8 rau tus pin polarity zoo ntawm LED raws li qhia.
  • txuas lwm lub xov hlau txuas los ntawm RIG CELL LITE tus pin GND rau tus pin tsis zoo ntawm tus LED
  • circuitit yuav tsis ua dab tsi txog thaum koj tau tso cov cai rau hauv pawg thawj coj, uas tau ua tiav nyob rau theem tom ntej

Kauj Ruam 2: Teem SOFTWARE

TSEEM NYEEM SOFTWARE
TSEEM NYEEM SOFTWARE

Mus rau Arduino nplooj ntawv rub tawm thiab rub tawm qhov tseeb version ntawm Arduino software rau koj tus kheej kev ua haujlwm ntawm qhov txuas no

  • Thaum rub tawm tiav, un-zip nws thiab qhib Arduino nplaub tshev kom paub meej tias yog, muaj tseeb qee cov ntaub ntawv thiab cov ntawv tais ceev tseg hauv. Cov qauv ntaub ntawv tseem ceeb heev yog li tsis txhob txav cov ntaub ntawv ib puag ncig tshwj tsis yog koj paub tiag tias koj tab tom ua dab tsi.
  • tom qab ua tiav kev teeb tsa software, rub tawm LED_BLINKING.ino
  • rub tawm cov no https://github.com/melloremell/rigcelllite RIG CELL LITE lub tsev qiv ntawv los teeb tsa ntawm koj li arduino IDE

yog tias koj muaj teeb meem txhim kho arduino, koj tuaj yeem ua raws qhov txuas ntawm no

Kauj Ruam 3: Tus LED Taws Teeb Txoj Cai

LED Txoj Kev Teeb Teeb
LED Txoj Kev Teeb Teeb
LED Txoj Kev Teeb Teeb
LED Txoj Kev Teeb Teeb

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 4: RESULTS: D

Koj yuav tsum pom koj lub LED ntsais thiab 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: