Cov txheej txheem:

Indigo Led Cube 3*3*3 Nrog Adxl35 thiab Potentiometer: 8 Kauj Ruam
Indigo Led Cube 3*3*3 Nrog Adxl35 thiab Potentiometer: 8 Kauj Ruam

Video: Indigo Led Cube 3*3*3 Nrog Adxl35 thiab Potentiometer: 8 Kauj Ruam

Video: Indigo Led Cube 3*3*3 Nrog Adxl35 thiab Potentiometer: 8 Kauj Ruam
Video: Indigo Cube 2024, Kaum ib hlis
Anonim
Indigo Led Cube 3*3*3 Nrog Adxl35 thiab Potentiometer
Indigo Led Cube 3*3*3 Nrog Adxl35 thiab Potentiometer

Nov yog thawj zaug rau kuv tshaj tawm Cov Lus Qhia.

Kuv tau ua 3*3*3 coj lub voos xwmfab nrog Arduino uno

Cov yam ntxwv ntxiv ntawm qhov no yog tias cov coj tuaj yeem txav mus raws li kev txav ntawm nws lub platform.

Thiab tus qauv ntawm tus coj tuaj yeem sib txawv raws li peb xav tau los ntawm kev siv lub zog ntsuas.

Cov xim indigo zoo siab saib hauv lub voos xwmfab coj.

Ua si thiab muaj kev lom zem.

Kauj Ruam 1: Cheeb Tsam

Cheebtsam
Cheebtsam
Cheebtsam
Cheebtsam
Cheebtsam
Cheebtsam
  • 27 x 5mm xiav Led
  • 3 x NPN transistor (kuv siv bc 548)
  • Arduino ib
  • 3x1k tiv
  • ADXL345 Accelerometer
  • 1 k potentiometer
  • Txiv neej header pins
  • Cov khoom siv hluav taws xob
  • Jumper xaim raws li xav tau

Kauj Ruam 2: QHOV TSEEM CEEB

QHOV TSEEM CEEB
QHOV TSEEM CEEB
QHOV TSEEM CEEB
QHOV TSEEM CEEB
  • Nqa ib daim duab los qhia thiab kos duab square nrog 5cm square thiab cais nws li 4 square nrog sab 2..5cm.
  • Laum qhov ntawm qhov taw tes hauv daim duab.

Kauj Ruam 3: ZOO SIAB LED CUBE

QHOV LED CUBE
QHOV LED CUBE
QHOV LED CUBE
QHOV LED CUBE
QHOV LED CUBE
QHOV LED CUBE
QHOV LED CUBE
QHOV LED CUBE
  • Muab cov leds tso rau hauv qhov zoo li qhov cathode (qhov tsis zoo) ntawm tus pin coj los khoov kom kov cov cathode ntawm tus coj tom ntej.
  • Solder cov cathode thiab xyuas kom tseeb tias ntawm kev siv cov cathode-anode tsis sib chwv ib leeg.

  • Ua lub hauv paus txheej los ntawm cov laug.
  • Ua lwm 2 txheej txheej zoo ib yam li ua tiav..
  • Khaws cov txheej saum toj no ib leeg thiab tuav nws nruj siv qee cov yeeb yaj kiab.
  • Solder anode ntawm tus coj hauv txheej txheej thiab txheej nruab nrab.
  • Tom qab ntawd ua tib yam rau txheej txheej saum toj nrog txheej nruab nrab
  • Cov coj lub voos xwmfab yog tsim.
  • Muab cov voos xwmfab coj coj los tso rau ntawm lub rooj tsav tsheb ntawm cov ntsiab lus (9 ntsiab lus).

Kauj Ruam 4: Txuas lub LED

Ntev LED
Ntev LED
Ntev LED
Ntev LED
Ntev LED
Ntev LED
  • Txuas cov ntsiab lus los ntawm cov cathode coj (9 cov ntsiab lus) los ntawm kev siv xaim thiab muab tshuaj txhuam rau nws.
  • Los ntawm txhua txheej ntawm cathode txuas cov xov hlau mus rau lub rooj tsav tsheb perf thiab muab nws tso rau.
  • Tam sim no txhua qhov anode (9) thiab cathode (3) tau muab muag.

Kauj Ruam 5: Ntxiv TRANSISTORS

Ntxiv TRANSISTORS
Ntxiv TRANSISTORS
Ntxiv TRANSISTORS
Ntxiv TRANSISTORS
Ntxiv TRANSISTORS
Ntxiv TRANSISTORS
  • Txuas lub transistor raws li ntawm daim duab.
  • Ntxiv lub hauv paus tus pin rau arduino tus lej digital los ntawm 1k resistor.
  • Txuas tus Emitter tus pin rau GND.
  • Txuas tus pin tus pin mus rau cathode ntawm txheej txheej.

Kauj Ruam 6: TSHUAJ TIV THAIV QHOV TSEEB TSHIAB

TSHAWB TSHWJ XEEB ntxiv
TSHAWB TSHWJ XEEB ntxiv
TSHAWB TSHWJ XEEB ntxiv
TSHAWB TSHWJ XEEB ntxiv
TSHAWB TSHWJ XEEB ntxiv
TSHAWB TSHWJ XEEB ntxiv
TSHAWB TSHWJ XEEB ntxiv
TSHAWB TSHWJ XEEB ntxiv
  • Txuas tus accelerometer raws li qhia hauv daim duab.
  • Txuas qhov kawg ntawm Potentiometer mus rau 5v thiab Gnd ntawm arduino thiab lub davhlau ya nyob twg nruab nrab mus rau cov lus sib piv A0.
  • Txuas SDA ntawm kev ntsuas tus ntsuas mus rau A4 ntawm arduino thiab SCL ntawm lub ntsuas cua mus rau A5.

Kauj Ruam 7: CODING THIAB UA SI

  • Los ntawm kev sib txawv lub lauj kaub tus qauv sib txawv.
  • Ua si nrog arduino thiab muaj kev lom zem.
  • ledcube_adxl345 cov ntaub ntawv yog rau lub lauj kaub thiab led_all yog rau lub lauj kaub.

Kauj Ruam 8: Ua Tiav kawg …

KAWG KAWG …
KAWG KAWG …
  • Ua si nrog nws muaj kev lom zem.
  • FEEL DAWB NUG QUERIES.
  • YOG HAIS TIAS YUAV TSUM MUAJ NTAWV THOV KEV PAB THIAB XEEM DAWB DAWB NUG.
  • NCO NTSOOV LINK kom pom tias nws ua haujlwm li cas.
  • drive.google.com/open?id=1NdRfirh9iTmCD2Wu…

  • drive.google.com/open?id=10N_4g8JtBwxq0VS2…
  • UA TSAUG

Pom zoo: