Cov txheej txheem:

Tsuas Kab, Tsuas Yog Teeb! (Hom 1): 19 Cov Kauj Ruam
Tsuas Kab, Tsuas Yog Teeb! (Hom 1): 19 Cov Kauj Ruam

Video: Tsuas Kab, Tsuas Yog Teeb! (Hom 1): 19 Cov Kauj Ruam

Video: Tsuas Kab, Tsuas Yog Teeb! (Hom 1): 19 Cov Kauj Ruam
Video: Lig Pob tsuas xyooj nkauj tawm tshiab 2022-2023 2024, Hlis ntuj nqeg
Anonim
Tsuas yog Kab, Tsuas Yog Teeb! (Hom 1)
Tsuas yog Kab, Tsuas Yog Teeb! (Hom 1)
Tsuas yog Kab, Tsuas Yog Teeb! (Hom 1)
Tsuas yog Kab, Tsuas Yog Teeb! (Hom 1)

Nws yog kev ua haujlwm ntawm kev hais tawm lub teeb ntawm daim phiaj acrylic kos nrog cov qauv ntawm kab kos duab. raws li qhov sib nrug ntawm kab thiab zoo nkauj sawv cev.

Kauj ruam 1: Tsuas yog Kab! Tsuas yog Teeb! (Hom 1)

Image
Image
Txog Txoj Haujlwm (Hom 1)
Txog Txoj Haujlwm (Hom 1)

Nws yog kev ua haujlwm ntawm kev hais tawm lub teeb ntawm daim phiaj acrylic kos nrog cov qauv ntawm kab kos duab. raws li qhov sib nrug ntawm kab thiab zoo nkauj sawv cev.

Kauj Ruam 2: Txog Txoj Haujlwm (Hom 1)

Tom qab kos tus qauv ntawm kab kos duab ntawm lub dav hlau acrylic, ua ke thiab nkag mus rau lub teeb nyob nruab nrab thiab sab nraum ntawm acrylic

Qauv

Tus neeg siv tuaj yeem hloov kho lub teeb kom ruaj khov los ntawm kev txhim kho lub zog ntsuas hauv 3 daim phiaj qub thiab tuav cov neophixels ntawm ntug.

Yuav siv li cas

Tus neeg siv tig peb daim phaj nrog lub duav los tswj cov xim ntawm lub teeb (Hawj txawm) thiab cov hauv paus pib LEDs siv Hawj Hawj, Saturation, thiab Qhov Ntsuas Qhov Ntsuas kom coj cov neeg tuaj saib txaus siab rau hauv cov qauv, xim ntawm lub teeb, thiab cov duab kos.

Kauj Ruam 3: Khoom (Kho Vajtse)

Khoom (Kho vajtse)
Khoom (Kho vajtse)
Khoom (Kho vajtse)
Khoom (Kho vajtse)
Khoom (Kho vajtse)
Khoom (Kho vajtse)
Khoom (Kho vajtse)
Khoom (Kho vajtse)

1. LED sawb.

: Adafruit NeoPixel Digital RGB LED Sawb (WS2812) (144 LED/1m) - 2m

: Adafruit NeoPixel Digital RGB LED Sawb (WS2812) (60 LED/1m) - 2m

2 Acrylic.

10t - 600*600 (hli)

3. Formex.

12t (10+2t) - 800*800 (hli)*2

2t - 800*800 (hli)*2

4. Ntoo txiag

5t - 850*850 (hli)

Kauj Ruam 4: Khoom (tswj)

Khoom siv (tswj)
Khoom siv (tswj)
Khoom siv (tswj)
Khoom siv (tswj)

1. ARDUINO MEGA 2560

ARDUINO MEGA 2560 * 2

2.10k Potentiometer

10k Potentiometer * 3

Kauj Ruam 5: Kauj Ruam 3: Cov Khoom (lub zog)

Kauj Ruam 3: Khoom (lub zog)
Kauj Ruam 3: Khoom (lub zog)
Kauj Ruam 3: Khoom (lub zog)
Kauj Ruam 3: Khoom (lub zog)

1. Fais fab mov

SMPS Fais fab mov 5V 40A (200W)

SMPS Fais fab mov 5V 2A (10W)

2. Cov xaim hluav taws xob

14awg (3 xim) - 10m/txhua

Kauj Ruam 6: Kauj Ruam: Khoom (thiab lwm yam)

Kauj ruam: Khoom siv (thiab lwm yam)
Kauj ruam: Khoom siv (thiab lwm yam)
Kauj ruam: Khoom siv (thiab lwm yam)
Kauj ruam: Khoom siv (thiab lwm yam)
Kauj ruam: Khoom siv (thiab lwm yam)
Kauj ruam: Khoom siv (thiab lwm yam)

1. Xim pleev xim (Matt Dub)

*Yog tias koj xav tau txais txiaj ntsig zoo dua hauv qhov tsaus ntuj, siv Vanta Dub Xim

2. Ntsia Hlau

3. Sten kaum hlau

4. Dril

5. Glugan

6. Qhov khov kho

*Npaj cov cuab yeej raws li koj qhov xwm txheej

Kauj Ruam 7: Ua Ntej Kos Duab

Ua ntej Kos Txawv
Ua ntej Kos Txawv

*Daim duab saum toj no yog Arnout Meijer "Ua Tsaug Rau Cov Ntiaj Teb" uas txhawb kuv lub zog.

Ua ntej nkag mus rau qhov haujlwm, kuv xav tias xim ntawm cov xim sib sib zog ua los ntawm kev nqus ntawm lub teeb pom kev rau hauv cov qauv uas tau cog rau hauv acrylic zoo nkauj heev.

Yeej, ob lossis ntau xim yuav tsum sib tshooj kom dhau los ua gradient.

Txhawm rau kom ob lossis ntau xim ua kom zoo nkauj, txiav txim siab qhov ntom ntom ntom ntom, lub kaum ntse ntse, lossis qib ntawm lub teeb tsim raws li txoj kab nkhaus.

Kauj Ruam 8: Ua Khoom Kho Mob (Txiav Acrylic)

Ua Khoom Siv (Txiav Acrylic)
Ua Khoom Siv (Txiav Acrylic)
Ua Khoom Siv (Txiav Acrylic)
Ua Khoom Siv (Txiav Acrylic)

*Xa mus. KAUJ RUAM 7: Qauv (ntu 5)

Acrylic tej tshuab teeb tsa

Acrylic (10t)

*Txiav - teeb tsa kab plaub hau

ceev - zog

(5 - 50)

*Engraving

ceev - zog

(20 - 35)

*Koj tuaj yeem hloov kho qhov uas tus qauv tau muab txua kom haum rau koj nyiam

Kauj Ruam 9: Ua (qauv)

Ua (qauv)
Ua (qauv)

1.2t - npog

2. 10t - Tswj Kov

3. 10t - LEDstrip / Potensiometer

4. 12t - LED Sawb (2 + 10) t

5. 10t - Txawv (Acrylic)

6. 2t - Keeb Kwm

7. 10t - Qhov chaw hauv Circuit

*Tsuas yog tsis muaj. 5 - Cov khoom siv Formex.

Kauj Ruam 10: Kho vajtse thiab sib dhos ntawm Software

Kho vajtse thiab sib dhos ntawm Software
Kho vajtse thiab sib dhos ntawm Software
Kho vajtse thiab sib dhos ntawm Software
Kho vajtse thiab sib dhos ntawm Software
Kho vajtse thiab sib dhos ntawm Software
Kho vajtse thiab sib dhos ntawm Software

Thawj. Npaj 3.4.6.7.

Thib ob. Muab tshuaj txhuam nws ua 7.6.4 ntu nrog cov nplaum zoo.

Peb. Txhim kho lub tshuab hluav taws xob 3 ntu nrog rab yaj phom.

Plaub. Txuas 3part nrog lub zog ntsuas mus rau 4.6.7part nrog cov nplaum muaj zog.

Thib tsib Txuas ws2812b rau ntawm ntug 3.4.6.7 (thaj chaw liab) siv cov nplaum zoo.

Thib rau. Xaiv daim ntawv txiav acrylic rau hauv 3.4.6.7 ua ke thiab kho nws nrog cov kua nplaum.

Xya Ntxig 2 ntu rau hauv qhov chaw tswj hwm lub zog thiab kho nws nrog kua nplaum.

Yim. Npog ntu 1 thiab kho nrog cov nplaum ua tiav.

* Koj tuaj yeem xa mus rau PDFfiles

Kauj Ruam 11: Ua Khoom Siv (Txiav Formex)

Ua Khoom Siv (Txiav Formex)
Ua Khoom Siv (Txiav Formex)

(Kho cov cuab yeej kom tsuas yog cov qauv tuaj yeem pom hauv chav tsaus ntuj)

1.2t - npog

2. 10t - Tswj Kov

3. 10t - LEDstrip / Potensiometer

4. 12t - LED Sawb (2 + 10) t

6. 2t - Keeb Kwm

7. 10t - Qhov chaw hauv Circuit

*Koj yuav tsum xa mus rau STEP7 (duab)

Kauj Ruam 12: Ua Khoom Siv (Ntoo Txiav & Xim Xim)

Image
Image
Ua Khoom Siv (Ntoo Txiav & Xim Xim)
Ua Khoom Siv (Ntoo Txiav & Xim Xim)
Ua Khoom Siv (Ntoo Txiav & Xim Xim)
Ua Khoom Siv (Ntoo Txiav & Xim Xim)

Kauj Ruam 13: * Yog tias Koj Xav Kom Dai Daim Duab no ntawm Phab Ntsa, Ua Tib Yam Li Qauv Hauv Duab

* Yog tias Koj Xav Dai Daim Duab Ntawm Phab Ntsa, Ua Tib Yam Qauv Zoo Li Daim Duab
* Yog tias Koj Xav Dai Daim Duab Ntawm Phab Ntsa, Ua Tib Yam Qauv Zoo Li Daim Duab
* Yog tias Koj Xav Dai Daim Duab Ntawm Phab Ntsa, Ua Tib Yam Qauv Zoo Li Daim Duab
* Yog tias Koj Xav Dai Daim Duab Ntawm Phab Ntsa, Ua Tib Yam Qauv Zoo Li Daim Duab
* Yog tias Koj Xav Dai Daim Duab Ntawm Phab Ntsa, Ua Tib Yam Qauv Zoo Li Daim Duab
* Yog tias Koj Xav Dai Daim Duab Ntawm Phab Ntsa, Ua Tib Yam Qauv Zoo Li Daim Duab

*Hoob no yog xaiv tau, thiab koj tuaj yeem hla nws yog tias koj tsis xav tau.

*Cov qauv saum toj no yog kuv tus kheej lub tswv yim, thiab nrog koj cov tswv yim ntxiv, nws yuav yog haujlwm tshwj xeeb dua.

*Thiab thaum kuv tab tom tsim cov qauv no, kuv tsis xav pom cov ntoo ntoo thiab phab ntsa.

Kauj Ruam 14: Ua Software (Daim Duab Duab Circuit)

Ua Software (Daim Duab Circuit)
Ua Software (Daim Duab Circuit)
Ua Software (Daim Duab Circuit Court)
Ua Software (Daim Duab Circuit Court)
Ua Software (Daim Duab Circuit)
Ua Software (Daim Duab Circuit)

Thaum tsim lub Circuit Court, ua tib zoo teeb tsa GND / DIN / 5v ntawm ws2818b sawb thiab cov lus qhia ntawm qhov ntws tam sim no (xub taw qhia).

GND = roj teeb - (Kab dub)

5v = roj teeb + (Kab liab)

DIN = Kab teeb liab (Kab ntsuab)

Kauj Ruam 15: Khoos Phis Tawj Ua Ke & Rov Qab Vaj Huam Sib Luag Circuit Configuration

Khoos phis tawj ua ke & Rov qab vaj huam sib luag Circuit Configuration
Khoos phis tawj ua ke & Rov qab vaj huam sib luag Circuit Configuration
Khoos phis tawj ua ke & Rov qab vaj huam sib luag Circuit Configuration
Khoos phis tawj ua ke & Rov qab vaj huam sib luag Circuit Configuration
Khoos phis tawj ua ke & Rov qab vaj huam sib luag Circuit Configuration
Khoos phis tawj ua ke & Rov qab vaj huam sib luag Circuit Configuration
Khoos phis tawj ua ke & Rov qab vaj huam sib luag Circuit Configuration
Khoos phis tawj ua ke & Rov qab vaj huam sib luag Circuit Configuration

Koom nrog kho vajtse thiab ruaj ntseg Circuit Court nrog cov ntsia hlau tom qab

Kauj Ruam 16: Sau Txoj Cai Rau Hauv Software (A-a Arduino Mega Board)

// Koj yuav tsum tawm tswv yim A-a arduino mega board

#suav nrog

#suav nrog #define LED_PIN 0 #txhais NUM_OF_LEDS 120

int j = 0;

Adafruit_NeoPixel strip = Adafruit_NeoPixel (NUM_OF_LEDS, LED_PIN, NEO_GRB + NEO_KHZ800);

// rampUnsignedChar RAMPh [NUM_OF_LEDS];

rampUnsignedChar RAMPv [NUM_OF_LEDS];

void teeb tsa () {

// muab koj cov cai teeb tsa ntawm no, kom khiav ib zaug: strip.begin (); strip.show ();

}

void voj () {

// muab koj cov cai tseem ceeb ntawm no, kom rov ua dua:

valueSet ();

// LEDSet ();

rau (int i = 0; i <num_of_leds; i ++) {= "" = "" 현재 = "" 값 을 = "" 얻 습니다 = "" uint8_t = "" h = "RAMPh .update (); " v = "RAMPv .update ();" strip.setpixelcolor (i, = "" strip.colorhsv (j*65535 = "" 360, = "" 230, = "" v)); = ""} = "" strip.show ();

}

void valueSet () {

zoo li qub uint32_t oldTime = 0; uint32_t nowTime = millis ();

// 00.3 초 에 번씩 코드 를 를 실행 합니다 합니다

yog (nowTime - oldTime> 300) {rau (int kuv = 0; kuv = 360) {j = 0; }}}

Kauj Ruam 17: Sau Txoj Cai Rau Hauv Software (B-b Arduino Mega Board)

// Koj yuav tsum nkag siab B-b arduino mega board

#suav nrog

#include #define LED_PIN_A 2 #define LED_PIN_B 1 #define LED_PIN_C 0 #define NUM_OF_LEDS 52

#define POT_A A10

#define POT_B A9 #define POT_C A8

int j [3] = {0};

Adafruit_NeoPixel sawb [3] = {

Adafruit_NeoPixel (NUM_OF_LEDS, LED_PIN_A, NEO_GRB + NEO_KHZ800), Adafruit_NeoPixel (NUM_OF_LEDS, LED_PIN_B, NEO_GRB + NEO_KHZ800), Adafruit_NeoPixel (NUM_OF_LEDS, LED_PIN_C, NE_GR)

rampUnsignedChar RAMPv [3] [NUM_OF_LEDS];

void teeb tsa () {

// muab koj cov cai teeb tsa ntawm no, kom khiav ib zaug: rau (int i = 0; i <3; i ++) {strip .begin (); strip [kuv].show (); }

Serial.begin (9600);

}

void voj () {

// muab koj cov cai tseem ceeb ntawm no, kom rov ua dua:

valueSet ();

// map () 범위 를 바꿔 주는 함수

// 0 ~ 1023 을 0 ~ 359 j 줌 줌 // j = daim ntawv qhia (analogRead (POT_B), 0, 1023, 0, 359); j [0] = daim ntawv qhia (analogRead (POT_A), 0, 1023, 0, 359); j [1] = daim ntawv qhia (analogRead (POT_B), 0, 1023, 0, 359); j [2] = daim ntawv qhia (analogRead (POT_C), 0, 1023, 0, 359); rau (int i = 0; i <3; i ++) yog (j <0) j += 360;

rau (int k = 0; k <3; k ++) {

rau (int i = 0; kuv <NUM_OF_LEDS; kuv ++) {// 값 값 을 얻 int uint8_t v = RAMPv [k] .update (); strip [k].setPixelColor (i, strip [k]. ColorHSV (j [k] * 65535 /360, 255, v));

}

kab [k].show ();

}

}

void valueSet () {

zoo li qub uint32_t oldTime = 0; uint32_t nowTime = millis ();

// 00.3 초 에 번씩 코드 를 를 실행 합니다 합니다

yog (nowTime - oldTime> 300) {rau (int k = 0; k <3; k ++) {rau (int i = 0; kuv <NUM_OF_LEDS; kuv ++) {// 다음 값 을 설정 합니다 // 다음 값, 다음 P 까지 걸리는 시간, 방법 방법)) RAMPv [k] .go (random (0, 255), 300, LINEAR); }} oldTime = tam sim no lub sijhawm;

}

}

Kauj ruam 18: Txaus siab rau

Pom zoo: