Cov txheej txheem:

Tsim SHADES nrog SIERPINSKI TRIANGLE THIAB SMART PHONE: 11 Kauj Ruam
Tsim SHADES nrog SIERPINSKI TRIANGLE THIAB SMART PHONE: 11 Kauj Ruam

Video: Tsim SHADES nrog SIERPINSKI TRIANGLE THIAB SMART PHONE: 11 Kauj Ruam

Video: Tsim SHADES nrog SIERPINSKI TRIANGLE THIAB SMART PHONE: 11 Kauj Ruam
Video: 20 MOMENTS YOU WOULDN'T BELIEVE IF NOT FILMED 2024, Kaum ib hlis
Anonim
Tsim SHADES nrog SIERPINSKI TRIANGLE THIAB SMART PHONE
Tsim SHADES nrog SIERPINSKI TRIANGLE THIAB SMART PHONE

LED SHADES yog qhov txaus saib thiab lawv ua rau peb zoo li soothsim peb lub qhov muag thiab so peb lub paj hlwb. Yog li hauv kab lus no kuv yuav qhia koj li cas kuv tsim cov duab ntxoov ntxoo siv SIERPINSKI's TRIANGLE thiab koj lub xov tooj ntse ntawm daim ntawv thov uas koj tuaj yeem tsim siv HTML lossis CSS lossis lwm yam lus programming.

Yog li cia peb pib ua lub tsev

Koj tseem tuaj yeem mus ntsib kuv lub CHANNEL ntawm YOUTUBE: GO ELECTRONICS

Kauj Ruam 1: Tsis nkag siab SIERPINSKI TRIANGLE

Tsis nkag siab SIERPINSKI TRIANGLE
Tsis nkag siab SIERPINSKI TRIANGLE
Tsis nkag siab SIERPINSKI TRIANGLE
Tsis nkag siab SIERPINSKI TRIANGLE

Ua ntej cia nkag siab lub tswv yim tom qab sierpinski daim duab peb sab uas yog raws FRACTALS

Fractals tsis tau xaus qhov qauv uas yog SELF-SIMILIAR hla cov nplai sib txawv. Lawv tsim los ntawm kev rov ua dua

txheej txheem yooj yim dua thiab dhau mus hauv cov lus tawm tswv yim txuas mus.

Yooj yim hais cov fractals yog cov qauv tsis muaj qhov kawg thiab ua kom mus ntxiv. Raws li koj tuaj yeem pom hauv daim duab uas daim duab peb sab hauv ib daim duab peb sab hauv daim duab peb sab mus rau qhov qauv tsis paub kawg.

Tam sim no peb tab tom tawm lub ncauj lus yog li cia pib nrog kev tsim.

NCO TSEG; Muaj cov yeeb yaj kiab muab hauv cov vis dis aus ntawm kuv tus YouTube channel.

MUS ELECTRONICS

Kauj Ruam 2: Txiav cov ntoo thiab kos daim duab peb sab

Txiav ntoo thiab kos duab TRIANGLE
Txiav ntoo thiab kos duab TRIANGLE
Txiav ntoo thiab kos duab TRIANGLE
Txiav ntoo thiab kos duab TRIANGLE
Txiav ntoo thiab kos duab TRIANGLE
Txiav ntoo thiab kos duab TRIANGLE

Yog li Thawj Kauj Ruam ntawm kev tsim yog kom tau ib daim ntoo uas kuv tuaj yeem kos Sierpinski daim duab peb sab. Yog li kuv nqa kuv txhais tes SAW thiab 3mm tuab plywood thiab pib txiav ib daim ntoo 200 hli ntev thiab 180 hauv dav.

Thiab tom qab kuv ua tiav kuv tau npaj Sierpinski daim duab peb sab rau ntawm ib daim ntawv thiab tom qab ntawd ua raws cov kab lus qhia thiab kos nws rau ntawm daim ntoo uas kuv tau txiav tawm tsis ntev los no. Tom qab ntawv cim txhua qhov chaw uas kuv tuaj yeem kho lub teeb.

Kauj Ruam 3: Denting thiab Drilling lub HOLES

Denting thiab Drilling lub HOLES
Denting thiab Drilling lub HOLES

Nrog kuv tus neeg tsav tsheb Screw kuv dented txhua qhov chaw uas kuv tuaj yeem laum qhov yooj yim. Tom qab txhua lub qhov dented kuv pib txheej txheem ntawm qhov drilling.

Kauj Ruam 4: Siv LEDS (RGBS THIAB WHITE LEDS)

LEDS Siv (RGBS THIAB LOJ LEDS)
LEDS Siv (RGBS THIAB LOJ LEDS)
LEDS Siv (RGBS THIAB LOJ LEDS)
LEDS Siv (RGBS THIAB LOJ LEDS)
LEDS Siv (RGBS THIAB LOJ LEDS)
LEDS Siv (RGBS THIAB LOJ LEDS)

Tom qab cov txheej txheem ua tiav tiav. Nws yog lub sijhawm los nthuav qhia qhov tseem ceeb tshaj plaws ntawm RGB leds.

Thiab peb xav tau kwv yees li 30 RGB LEDS.

RGB coj muaj 4 Pins. Ib qho rau RED, Xiav, GREEN THIAB (VCC yog tias nws yog ib qho anode lossis GND yog cathode ntau)

Ntawm no peb tau siv 30 ib txwm RGB LEDS.

Tab sis peb kuj xav tau qee qhov coj dawb los ua peb daim duab peb sab zoo dua. Yog li kuv coj ib ncig 20 dawb leds.

Kauj Ruam 5: Npaj rau kho LEDS

ZOO TSHAJ FIXING LEDS
ZOO TSHAJ FIXING LEDS
ZOO TSHAJ FIXING LEDS
ZOO TSHAJ FIXING LEDS

Tom qab xaiv txhua tus coj hom nws yog lub sijhawm los nthuav qhia txoj kev npaj uas coj mus rau qhov twg.

Tam sim no cov coj dawb coj mus rau hauv daim duab peb sab rov qab thaum RGB coj mus rau txhua qhov chaw raws li qhia hauv txoj kev npaj.

qhov no ua rau peb daim duab peb sab saib zoo dua qub thiab muaj tswv yim.

Kauj Ruam 6: Txhim Kho Cov LEDS

Kho cov LEDS
Kho cov LEDS
Kho cov LEDS
Kho cov LEDS

Raws li txoj kev npaj tau ua tiav tam sim no kuv pib tso tag nrho cov leds nyob rau hauv qhov chaw thiab muab lawv sib dhos ua ke. Rau dawb leds Lub davhlau ya nyob twg zoo ntawm txhua lub leds thiab thiab lub davhlau ya nyob twg tsis zoo ntawm txhua lub leds tau txuas ua ke. Tab sis rau rgb leds Kuv siv Red wire rau liab pins xiav rau pins xiav thiab ntsuab rau pins ntsuab. Yog li peb tsis txhob cuam tshuam qhov kawg. Thiab tom qab tso txhua qhov RGB coj kuv pib ua rau lub siab ntxiv nrog rau txheej txheem ntev ntawm Kev Siv Hluav Taws Xob.

Kauj Ruam 7: QHOV TEEB MEEM

DOOMING WIRES
DOOMING WIRES
DOOMING WIRES
DOOMING WIRES

Kev Txuas Hluav Taws Xob tom qab txheej txheem txheej txheem ua haujlwm zoo li txaus ntshai me ntsis tab sis tsis txhob ntshai nws tsuas yog cov txheej txheem thaiv yooj yim tab sis nws ntev me ntsis thiab siv sijhawm ntau. Nws coj kuv ncig 3 teev. soldering thiab tswj cov txheej txheem thaiv. tam sim no cia txav mus rau daim ntawv thov.

Kauj Ruam 8: Txhim Kho APP

Tsim lub APP
Tsim lub APP
Tsim lub APP
Tsim lub APP
Tsim lub APP
Tsim lub APP
Tsim lub APP
Tsim lub APP

Koj tuaj yeem tsim lub app no siv HTML lossis CSS thiab nws daim ntawv thov yooj yim los tsim thiab ua haujlwm nrog

Thiab SIDE NOTE: txhawm rau rub tawm lub app mus tshawb xyuas cov lus piav qhia ntawm kuv cov vis dis aus hauv YouTube

MUS ELECTRONICS

Tam sim no ua ntej tshaj plaws nyob rau sab saum toj koj tuaj yeem pom lub logo Bluetooth thiab daim ntawv lo hu ua tsis txuas nrog thiab thaum koj nyem rau ntawm lub logo Bluetooth koj tuaj yeem pom ib qho taug qab ntawm cov cuab yeej Bluetooth nyob ze. Peb siv BLUETOOTH MODULE HC-05 yog li thaum peb nyem rau ntawm HC -05 cov ntawv TSIS TXAUS SIAB txuas rau txuas nrog xim liab. Thiab tam sim no thaum peb nyem rau qhov sib txawv ntxoov sierpinski daim duab peb sab qhia nws.

Kauj Ruam 9: PROGRAMMING PART

const int redPin = 3;

const int bluePin = 6;

const int greenPin = 5;

char xim = 0;

teeb tsa tsis muaj dab tsi () {// muab koj cov cai teeb tsa ntawm no, kom khiav ib zaug: pinMode (redPin, OUTPUT); tus pinMode (bluePin, OUTPUT);

tus pinMode (greenPin, OUTPUT);

Serial.begin (9600);

analogWrite (redPin, 0);

analogWrite (bluePin, 0);

analogWrite (greenPin, 0);

}

void loop () {// muab koj tus lej tseem ceeb ntawm no, kom rov ua dua: yog (Serial.available ()> 0) {color = Serial.read (); char tus nqi = char (xim); yog (tus nqi! = '0') {Serial.println (tus nqi); }}

yog (xim == 'Y') {analogWrite (redPin, 0); analogWrite (bluePin, 255); analogWrite (greenPin, 0); }

yog (xim == 'W') {analogWrite (redPin, 0); analogWrite (bluePin, 0); analogWrite (greenPin, 0); }

yog (xim == 'R') {analogWrite (redPin, 0); analogWrite (bluePin, 255); analogWrite (greenPin, 255); }

yog (xim == 'P') {analogWrite (redPin, 0); analogWrite (bluePin, 80); analogWrite (greenPin, 70); }

yog (xim == 'O') {analogWrite (redPin, 0); analogWrite (bluePin, 255); analogWrite (greenPin, 90); }

yog (xim == 'M') {analogWrite (redPin, 0); analogWrite (bluePin, 0); analogWrite (greenPin, 255); }

yog (xim == 'C') {analogWrite (redPin, 255); analogWrite (bluePin, 0); analogWrite (greenPin, 0); }

yog (xim == 'G') {analogWrite (redPin, 255); analogWrite (bluePin, 255); analogWrite (greenPin, 0); }

yog (xim == 'B') {analogWrite (redPin, 255); analogWrite (bluePin, 0); analogWrite (greenPin, 255); }}

Txoj cai no yooj yim heev los txhais ua ntej peb tshaj tawm cov koob thoob ntiaj teb. Tom qab ntawd pib sau txhua tus lej qis lossis 0 yog li thaum xub thawj lawv tseem nyob hauv qhov xwm txheej.

Tom qab ntawd hauv qhov khoob khoob peb txheeb xyuas seb puas muaj cov ntaub ntawv nkag thiab yog tias muaj cov ntaub ntawv muaj peb pib ua xim sib txawv raws li cov ntaub ntawv muaj. Yog li mus hla txoj cai kom zoo.

Kauj Ruam 10: Txhim Kho Koj Lub Qhov Muag thiab Kho Koj Lub Hlwb

SOOTH koj lub qhov muag thiab tshem tawm koj lub paj hlwb
SOOTH koj lub qhov muag thiab tshem tawm koj lub paj hlwb
SOOTH koj lub qhov muag thiab tshem tawm koj lub paj hlwb
SOOTH koj lub qhov muag thiab tshem tawm koj lub paj hlwb
SOOTH koj lub qhov muag thiab tshem tawm koj lub paj hlwb
SOOTH koj lub qhov muag thiab tshem tawm koj lub paj hlwb
SOOTH koj lub qhov muag thiab tshem tawm koj lub paj hlwb
SOOTH koj lub qhov muag thiab tshem tawm koj lub paj hlwb

Tam sim no cia soothsim peb lub qhov muag thiab so peb lub paj hlwb los ntawm kev saib cov duab ntxim nyiam uas tswj los ntawm daim ntawv thov peb nyuam qhuav tham txog

Tab sis yog xav paub ntau ntxiv VISIT MY YOUTUBE CHANNEL: GO ELECTRONICS

Kauj Ruam 11: Saib TSHIAB VIDEO

UA TSAUG NTAU NTAU

Pom zoo: